Home
last modified time | relevance | path

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

/php-src/sapi/embed/
H A Dphp_embed.c197 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
198 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
199 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/php-src/sapi/phpdbg/
H A Dphpdbg.h61 #ifndef O_BINARY
62 # define O_BINARY 0 macro
H A Dphpdbg.c1157 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in main()
1158 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in main()
1159 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in main()
/php-src/ext/session/
H A Dmod_files.c135 #ifndef O_BINARY
136 # define O_BINARY 0 macro
182 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY | O_NOFOLLOW, data->filemode); in ps_files_open()
189 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY, data->filemode); in ps_files_open()
/php-src/sapi/cli/
H A Dphp_cli.c106 #ifndef O_BINARY
107 #define O_BINARY 0 macro
1243 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1244 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1245 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/php-src/ext/fileinfo/libmagic/
H A Dfile.h643 #ifndef O_BINARY
644 #define O_BINARY 0 macro
/php-src/ext/standard/
H A Dproc_open.c865 desc->mode_flags |= O_BINARY; in set_proc_descriptor_to_pipe()
1446 case O_WRONLY|O_BINARY: in PHP_FUNCTION()
1449 case O_RDONLY|O_BINARY: in PHP_FUNCTION()
/php-src/ext/opcache/
H A Dzend_file_cache.c108 #ifndef O_BINARY
109 # define O_BINARY 0 macro
1087 fd = zend_file_cache_open(filename, O_CREAT | O_EXCL | O_RDWR | O_BINARY, S_IRUSR | S_IWUSR);
1789 fd = zend_file_cache_open(filename, O_RDONLY | O_BINARY);
/php-src/sapi/cgi/
H A Dcgi_main.c1782 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
1783 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */
1784 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
/php-src/main/streams/
H A Dplain_wrapper.c116 #if defined(_O_TEXT) && defined(O_BINARY) in php_stream_parse_fopen_modes()
120 flags |= O_BINARY; in php_stream_parse_fopen_modes()
/php-src/TSRM/
H A Dtsrm_win32.c520 mode = ((type_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT; in popen_ex()
/php-src/ext/fileinfo/
H A Dlibmagic.patch609 - if ((fd = open(dbname, O_RDONLY|O_BINARY)) == -1)
784 - if ((fd = open(dbname, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0644)) == -1)
786 + /* wb+ == O_WRONLY|O_CREAT|O_TRUNC|O_BINARY */
2604 - _setmode(STDIN_FILENO, O_BINARY);
2607 - int flags = O_RDONLY|O_BINARY|O_NONBLOCK|O_CLOEXEC;
/php-src/ext/soap/
H A Dphp_sdl.c31 #ifndef O_BINARY
32 # define O_BINARY 0 macro
1567 f = open(fn, O_RDONLY|O_BINARY); in get_sdl_from_cache()

Completed in 62 milliseconds