Home
last modified time | relevance | path

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

/PHP-8.0/sapi/embed/
H A Dphp_embed.c177 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
178 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
179 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg.h65 #ifndef O_BINARY
66 # define O_BINARY 0 macro
H A Dphpdbg.c1354 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in main()
1355 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in main()
1356 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in main()
/PHP-8.0/ext/session/
H A Dmod_files.c137 #ifndef O_BINARY
138 # define O_BINARY 0 macro
184 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY | O_NOFOLLOW, data->filemode); in ps_files_open()
191 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY, data->filemode); in ps_files_open()
/PHP-8.0/sapi/cli/
H A Dphp_cli.c105 #ifndef O_BINARY
106 #define O_BINARY 0 macro
1207 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1208 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1209 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/PHP-8.0/ext/fileinfo/libmagic/
H A Dfile.h570 #ifndef O_BINARY
571 #define O_BINARY 0 macro
/PHP-8.0/ext/oci8/
H A Doci8_lob.c42 #ifndef O_BINARY
43 #define O_BINARY 0 macro
717 if ((fp = VCWD_OPEN(filename, O_RDONLY|O_BINARY)) == -1) { in php_oci_lob_import()
/PHP-8.0/ext/standard/
H A Dproc_open.c744 desc->mode_flags |= O_BINARY; in set_proc_descriptor_to_pipe()
1261 case O_WRONLY|O_BINARY: in PHP_FUNCTION()
1264 case O_RDONLY|O_BINARY: in PHP_FUNCTION()
/PHP-8.0/ext/opcache/
H A Dzend_file_cache.c107 #ifndef O_BINARY
108 # define O_BINARY 0 macro
988 fd = zend_file_cache_open(filename, O_CREAT | O_EXCL | O_RDWR | O_BINARY, S_IRUSR | S_IWUSR);
1664 fd = zend_file_cache_open(filename, O_RDONLY | O_BINARY);
/PHP-8.0/sapi/cgi/
H A Dcgi_main.c1784 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
1785 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */
1786 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
/PHP-8.0/main/streams/
H A Dplain_wrapper.c107 #if defined(_O_TEXT) && defined(O_BINARY) in php_stream_parse_fopen_modes()
111 flags |= O_BINARY; in php_stream_parse_fopen_modes()
/PHP-8.0/TSRM/
H A Dtsrm_win32.c521 mode = ((type_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT; in popen_ex()
/PHP-8.0/ext/soap/
H A Dphp_sdl.c30 #ifndef O_BINARY
31 # define O_BINARY 0 macro
1552 f = open(fn, O_RDONLY|O_BINARY); in get_sdl_from_cache()
2121 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache()
2123 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache()
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch670 - 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 */
3020 - _setmode(STDIN_FILENO, O_BINARY);
3023 - int flags = O_RDONLY|O_BINARY|O_NONBLOCK;

Completed in 61 milliseconds