Home
last modified time | relevance | path

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

/PHP-7.1/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.1/sapi/embed/
H A Dphp_embed.c186 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
187 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
188 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/PHP-7.1/sapi/phpdbg/
H A Dphpdbg.h67 #ifndef O_BINARY
68 # define O_BINARY 0 macro
H A Dphpdbg.c1423 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in main()
1424 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in main()
1425 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in main()
/PHP-7.1/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.1/sapi/cli/
H A Dphp_cli.c113 #ifndef O_BINARY
114 #define O_BINARY 0 macro
1255 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1256 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1257 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/PHP-7.1/ext/fileinfo/libmagic/
H A Dfile.h527 #ifndef O_BINARY
528 #define O_BINARY 0 macro
/PHP-7.1/ext/oci8/
H A Doci8_lob.c44 #ifndef O_BINARY
45 #define O_BINARY 0 macro
723 if ((fp = VCWD_OPEN(filename, O_RDONLY|O_BINARY)) == -1) { in php_oci_lob_import()
/PHP-7.1/ext/opcache/
H A Dzend_file_cache.c91 #ifndef O_BINARY
92 # define O_BINARY 0 macro
805 fd = open(filename, O_CREAT | O_EXCL | O_RDWR | O_BINARY, S_IRUSR | S_IWUSR); in zend_file_cache_script_store()
807 fd = open(filename, O_CREAT | O_EXCL | O_RDWR | O_BINARY, _S_IREAD | _S_IWRITE); in zend_file_cache_script_store()
1348 fd = open(filename, O_RDONLY | O_BINARY); in zend_file_cache_script_load()
/PHP-7.1/ext/standard/
H A Dproc_open.c598 descriptors[ndesc].mode_flags |= O_BINARY; in PHP_FUNCTION()
956 case O_WRONLY|O_BINARY: in PHP_FUNCTION()
959 case O_RDONLY|O_BINARY: in PHP_FUNCTION()
/PHP-7.1/sapi/litespeed/
H A Dlsapi_main.c1019 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in cli_main()
1020 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in cli_main()
1021 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in cli_main()
/PHP-7.1/sapi/fpm/fpm/
H A Dfpm_main.c1629 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
1630 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */
1631 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
/PHP-7.1/main/streams/
H A Dplain_wrapper.c111 #if defined(_O_TEXT) && defined(O_BINARY) in php_stream_parse_fopen_modes()
115 flags |= O_BINARY; in php_stream_parse_fopen_modes()
/PHP-7.1/sapi/cgi/
H A Dcgi_main.c1873 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
1874 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */
1875 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
/PHP-7.1/TSRM/
H A Dtsrm_win32.c550 mode = ((type_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT; in popen_ex()
/PHP-7.1/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.1/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.1/ext/sqlite3/libsqlite/
H A Dsqlite3.c32808 #ifndef O_BINARY
32809 # define O_BINARY 0
36181 fd = robust_open(zDirname, O_RDONLY|O_BINARY, 0);
38534 openFlags |= (O_LARGEFILE|O_BINARY);

Completed in 459 milliseconds