Home
last modified time | relevance | path

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

/PHP-5.5/sapi/embed/
H A Dphp_embed.c183 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
184 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
185 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in php_embed_init()
/PHP-5.5/ext/session/
H A Dmod_files.c104 #ifndef O_BINARY
105 # define O_BINARY 0 macro
148 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY | O_NOFOLLOW, data->filemode); in ps_files_open()
155 data->fd = VCWD_OPEN_MODE(buf, O_CREAT | O_RDWR | O_BINARY, data->filemode); in ps_files_open()
/PHP-5.5/ext/fileinfo/libmagic/
H A Dfile.h494 #ifndef O_BINARY
495 #define O_BINARY 0 macro
/PHP-5.5/sapi/cli/
H A Dphp_cli.c102 #ifndef O_BINARY
103 #define O_BINARY 0 macro
1265 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1266 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in WinMain()
1267 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in WinMain()
/PHP-5.5/ext/oci8/
H A Doci8_lob.c48 #ifndef O_BINARY
49 #define O_BINARY 0 macro
736 if ((fp = VCWD_OPEN(filename, O_RDONLY|O_BINARY)) == -1) {
/PHP-5.5/ext/standard/
H A Dproc_open.c627 descriptors[ndesc].mode_flags |= O_BINARY; in PHP_FUNCTION()
943 case O_WRONLY|O_BINARY: in PHP_FUNCTION()
946 case O_RDONLY|O_BINARY: in PHP_FUNCTION()
/PHP-5.5/sapi/litespeed/
H A Dlsapi_main.c795 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */ in cli_main()
796 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */ in cli_main()
797 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */ in cli_main()
/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_main.c1619 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
1620 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */
1621 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c1807 setmode(_fileno(stdin), O_BINARY); /* make the stdio mode be binary */
1808 setmode(_fileno(stdout), O_BINARY); /* make the stdio mode be binary */
1809 setmode(_fileno(stderr), O_BINARY); /* make the stdio mode be binary */
/PHP-5.5/main/streams/
H A Dplain_wrapper.c97 #if defined(_O_TEXT) && defined(O_BINARY) in php_stream_parse_fopen_modes()
101 flags |= O_BINARY; in php_stream_parse_fopen_modes()
/PHP-5.5/TSRM/
H A Dtsrm_win32.c508 mode = ((type_len == 2) && (type[1] == 'b')) ? O_BINARY : O_TEXT; in popen_ex()
/PHP-5.5/ext/soap/
H A Dphp_sdl.c33 #ifndef O_BINARY
34 # define O_BINARY 0 macro
1548 f = open(fn, O_RDONLY|O_BINARY); in get_sdl_from_cache()
2125 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache()
2127 f = open(fn,O_CREAT|O_WRONLY|O_EXCL|O_BINARY,S_IREAD|S_IWRITE); in add_sdl_to_cache()
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch604 - if ((fd = open(dbname, O_RDONLY|O_BINARY)) == -1)
748 - if ((fd = open(dbname, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY, 0644)) == -1)
750 +/* wb+ == O_WRONLY|O_CREAT|O_TRUNC|O_BINARY */
2448 - int flags = O_RDONLY|O_BINARY;
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c25726 #ifndef O_BINARY
25727 # define O_BINARY 0
28987 fd = robust_open(zDirname, O_RDONLY|O_BINARY, 0);
31236 openFlags |= (O_LARGEFILE|O_BINARY);

Completed in 536 milliseconds