Home
last modified time | relevance | path

Searched refs:O_BINARY (Results 1 – 18 of 18) sorted by relevance

/PHP-7.0/ext/zip/lib/
H A Dmkstemp.c47 #ifndef O_BINARY
48 #define O_BINARY 0 macro
128 if ((fd=open(path, O_CREAT|O_EXCL|O_RDWR|O_BINARY, 0600)) >= 0) in _zip_mkstemp()
/PHP-7.0/sapi/embed/
H A Dphp_embed.c188 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
189 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
190 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/PHP-7.0/sapi/phpdbg/
H A Dphpdbg.h64 #ifndef O_BINARY
65 # define O_BINARY 0 macro
H A Dphpdbg.c1391 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in main()
1392 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in main()
1393 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in main()
/PHP-7.0/ext/session/
H A Dmod_files.c139 #ifndef O_BINARY
140 # define O_BINARY 0 macro
186 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY | O_NOFOLLOW, data->filemode); in ps_files_open()
193 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY, data->filemode); in ps_files_open()
/PHP-7.0/sapi/cli/
H A Dphp_cli.c109 #ifndef O_BINARY
110 #define O_BINARY 0 macro
1234 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1235 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1236 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/PHP-7.0/ext/fileinfo/libmagic/
H A Dfile.h527 #ifndef O_BINARY
528 #define O_BINARY 0 macro
/PHP-7.0/ext/oci8/
H A Doci8_lob.c44 #ifndef O_BINARY
45 #define O_BINARY 0 macro
719 if ((fp = VCWD_OPEN(filename, O_RDONLY|O_BINARY)) == -1) { in php_oci_lob_import()
/PHP-7.0/ext/standard/
H A Dproc_open.c597 descriptors[ndesc].mode_flags |= O_BINARY; in PHP_FUNCTION()
911 case O_WRONLY|O_BINARY: in PHP_FUNCTION()
914 case O_RDONLY|O_BINARY: in PHP_FUNCTION()
/PHP-7.0/ext/opcache/
H A Dzend_file_cache.c88 #ifndef O_BINARY
89 # define O_BINARY 0 macro
752 fd = open(filename, O_CREAT | O_EXCL | O_RDWR | O_BINARY, S_IRUSR | S_IWUSR); in zend_file_cache_script_store()
754 fd = open(filename, O_CREAT | O_EXCL | O_RDWR | O_BINARY, _S_IREAD | _S_IWRITE); in zend_file_cache_script_store()
1270 fd = open(filename, O_RDONLY | O_BINARY); in zend_file_cache_script_load()
/PHP-7.0/sapi/litespeed/
H A Dlsapi_main.c996 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in cli_main()
997 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in cli_main()
998 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in cli_main()
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_main.c1630 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
1631 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */
1632 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
/PHP-7.0/sapi/cgi/
H A Dcgi_main.c1791 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
1792 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */
1793 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
/PHP-7.0/main/streams/
H A Dplain_wrapper.c109 #if defined(_O_TEXT) && defined(O_BINARY) in php_stream_parse_fopen_modes()
113 flags |= O_BINARY; in php_stream_parse_fopen_modes()
/PHP-7.0/TSRM/
H A Dtsrm_win32.c509 mode = ((type_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT; in popen_ex()
/PHP-7.0/ext/soap/
H A Dphp_sdl.c33 #ifndef O_BINARY
34 # define O_BINARY 0 macro
1542 f = open(fn, O_RDONLY|O_BINARY); in get_sdl_from_cache()
2113 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache()
2115 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache()
/PHP-7.0/ext/fileinfo/
H A Dlibmagic.patch690 - if ((fd = open(dbname, O_RDONLY|O_BINARY)) == -1)
851 - if ((fd = open(dbname, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0644)) == -1)
853 + /* wb+ == O_WRONLY|O_CREAT|O_TRUNC|O_BINARY */
2638 - _setmode(STDIN_FILENO, O_BINARY);
2648 - int flags = O_RDONLY|O_BINARY;
/PHP-7.0/ext/sqlite3/libsqlite/
H A Dsqlite3.c29623 #ifndef O_BINARY
29624 # define O_BINARY 0
32847 fd = robust_open(zDirname, O_RDONLY|O_BINARY, 0);
35079 openFlags |= (O_LARGEFILE|O_BINARY);

Completed in 438 milliseconds