Home
last modified time | relevance | path

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

/PHP-7.4/sapi/embed/
H A Dphp_embed.c184 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
185 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
186 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg.h67 #ifndef O_BINARY
68 # define O_BINARY 0 macro
H A Dphpdbg.c1417 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in main()
1418 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in main()
1419 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in main()
/PHP-7.4/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.4/sapi/cli/
H A Dphp_cli.c105 #ifndef O_BINARY
106 #define O_BINARY 0 macro
1230 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1231 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1232 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/PHP-7.4/ext/fileinfo/libmagic/
H A Dfile.h552 #ifndef O_BINARY
553 #define O_BINARY 0 macro
/PHP-7.4/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.4/ext/standard/
H A Dproc_open.c716 descriptors[ndesc].mode_flags |= O_BINARY; in PHP_FUNCTION()
1123 case O_WRONLY|O_BINARY: in PHP_FUNCTION()
1126 case O_RDONLY|O_BINARY: in PHP_FUNCTION()
/PHP-7.4/ext/opcache/
H A Dzend_file_cache.c101 #ifndef O_BINARY
102 # define O_BINARY 0 macro
905 fd = zend_file_cache_open(filename, O_CREAT | O_EXCL | O_RDWR | O_BINARY, S_IRUSR | S_IWUSR);
1536 fd = zend_file_cache_open(filename, O_RDONLY | O_BINARY);
/PHP-7.4/sapi/cgi/
H A Dcgi_main.c1813 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
1814 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */
1815 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
/PHP-7.4/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.4/TSRM/
H A Dtsrm_win32.c523 mode = ((type_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT; in popen_ex()
/PHP-7.4/ext/soap/
H A Dphp_sdl.c32 #ifndef O_BINARY
33 # define O_BINARY 0 macro
1554 f = open(fn, O_RDONLY|O_BINARY); in get_sdl_from_cache()
2123 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache()
2125 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch718 - if ((fd = open(dbname, O_RDONLY|O_BINARY)) == -1)
896 - if ((fd = open(dbname, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0644)) == -1)
898 + /* wb+ == O_WRONLY|O_CREAT|O_TRUNC|O_BINARY */
2926 - _setmode(STDIN_FILENO, O_BINARY);
2929 - int flags = O_RDONLY|O_BINARY|O_NONBLOCK;

Completed in 77 milliseconds