Home
last modified time | relevance | path

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

/PHP-7.3/ext/zip/lib/
H A Dmkstemp.c50 #ifndef O_BINARY
51 #define O_BINARY 0 macro
131 if ((fd=open(path, O_CREAT|O_EXCL|O_RDWR|O_BINARY, 0600)) >= 0) in _zip_mkstemp()
/PHP-7.3/sapi/embed/
H A Dphp_embed.c185 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
186 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
187 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg.h67 #ifndef O_BINARY
68 # define O_BINARY 0 macro
H A Dphpdbg.c1412 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in main()
1413 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in main()
1414 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in main()
/PHP-7.3/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.3/sapi/cli/
H A Dphp_cli.c112 #ifndef O_BINARY
113 #define O_BINARY 0 macro
1266 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1267 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1268 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/PHP-7.3/ext/fileinfo/libmagic/
H A Dfile.h554 #ifndef O_BINARY
555 #define O_BINARY 0 macro
/PHP-7.3/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.3/ext/standard/
H A Dproc_open.c588 descriptors[ndesc].mode_flags |= O_BINARY; in PHP_FUNCTION()
898 case O_WRONLY|O_BINARY: in PHP_FUNCTION()
901 case O_RDONLY|O_BINARY: in PHP_FUNCTION()
/PHP-7.3/ext/opcache/
H A Dzend_file_cache.c99 #ifndef O_BINARY
100 # define O_BINARY 0 macro
834 fd = zend_file_cache_open(filename, O_CREAT | O_EXCL | O_RDWR | O_BINARY, S_IRUSR | S_IWUSR);
1368 fd = zend_file_cache_open(filename, O_RDONLY | O_BINARY);
/PHP-7.3/sapi/cgi/
H A Dcgi_main.c1821 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
1822 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */
1823 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
/PHP-7.3/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.3/TSRM/
H A Dtsrm_win32.c524 mode = ((type_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT; in popen_ex()
/PHP-7.3/ext/soap/
H A Dphp_sdl.c32 #ifndef O_BINARY
33 # define O_BINARY 0 macro
1545 f = open(fn, O_RDONLY|O_BINARY); in get_sdl_from_cache()
2114 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache()
2116 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache()
/PHP-7.3/ext/fileinfo/
H A Dlibmagic.patch960 - if ((fd = open(dbname, O_RDONLY|O_BINARY)) == -1)
1126 - if ((fd = open(dbname, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0644)) == -1)
1128 + /* wb+ == O_WRONLY|O_CREAT|O_TRUNC|O_BINARY */
3535 - _setmode(STDIN_FILENO, O_BINARY);
3544 - int flags = O_RDONLY|O_BINARY;
/PHP-7.3/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 435 milliseconds