Searched defs:O_BINARY (Results 1 - 25 of 33) sorted by relevance

12

/external/libjpeg-turbo/
H A Dcdjpeg.c116 setmode(fileno(stdin), O_BINARY); local
134 setmode(fileno(stdout), O_BINARY); local
H A Drdjpgcom.c491 setmode(fileno(stdin), O_BINARY); local
H A Dwrjpgcom.c500 setmode(fileno(stdin), O_BINARY); local
532 setmode(fileno(stdout), O_BINARY); local
/external/dbus/dbus/
H A Ddbus-file-unix.c40 #ifndef O_BINARY
41 #define O_BINARY 0 macro
69 /* O_BINARY useful on Cygwin */
70 fd = open (filename_c, O_RDONLY | O_BINARY);
215 fd = open (tmp_filename_c, O_WRONLY | O_BINARY | O_EXCL | O_CREAT,
363 fd = open (filename_c, O_WRONLY | O_BINARY | O_EXCL | O_CREAT,
H A Ddbus-sysdeps-util-unix.c58 #ifndef O_BINARY
59 #define O_BINARY 0 macro
179 fd = open (cfilename, O_WRONLY|O_CREAT|O_EXCL|O_BINARY, 0644);
/external/curl/tests/libtest/
H A Dfirst.c137 #ifdef O_BINARY
139 _setmode(stdout, O_BINARY);
141 setmode(fileno(stdout), O_BINARY); local
/external/libpcap/tests/
H A Dfiltertest.c67 * On UNIX, that's not necessary. O_BINARY is defined on Windows;
70 #ifndef O_BINARY
71 #define O_BINARY 0 macro
81 fd = open(fname, O_RDONLY|O_BINARY);
H A Dvalgrindtest.c95 * On UNIX, that's not necessary. O_BINARY is defined on Windows;
98 #ifndef O_BINARY
99 #define O_BINARY 0 macro
109 fd = open(fname, O_RDONLY|O_BINARY);
/external/pdfium/core/include/fxcrt/
H A Dfx_stream.h28 #ifndef O_BINARY
29 #define O_BINARY 0 macro
/external/protobuf/src/google/protobuf/
H A Dmessage_unittest.cc62 #ifndef O_BINARY
64 #define O_BINARY _O_BINARY macro
66 #define O_BINARY 0 // If this isn't defined, the platform doesn't need it.
110 int file = open(filename.c_str(), O_RDONLY | O_BINARY);
123 int file = open(filename.c_str(), O_RDONLY | O_BINARY);
/external/protobuf/src/google/protobuf/testing/
H A Dgoogletest.cc59 #ifndef O_BINARY
61 #define O_BINARY _O_BINARY macro
63 #define O_BINARY 0 // If this isn't defined, the platform doesn't need it.
159 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777);
174 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777);
/external/ImageMagick/MagickCore/
H A Dstudio.h319 #if !defined(O_BINARY)
320 #define O_BINARY 0x00 macro
/external/ImageMagick/MagickWand/
H A Dstudio.h301 #if !defined(O_BINARY)
302 #define O_BINARY 0x00 macro
/external/bison/darwin-lib/
H A Dfcntl.h602 O_BINARY is usually declared in fcntl.h */
603 #if !defined O_BINARY && defined _O_BINARY
605 # define O_BINARY _O_BINARY macro
610 /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */
611 # undef O_BINARY macro
615 #ifndef O_BINARY
616 # define O_BINARY 0 macro
/external/bison/linux-lib/
H A Dfcntl.h602 O_BINARY is usually declared in fcntl.h */
603 #if !defined O_BINARY && defined _O_BINARY
605 # define O_BINARY _O_BINARY macro
610 /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */
611 # undef O_BINARY macro
615 #ifndef O_BINARY
616 # define O_BINARY 0 macro
/external/libpng/contrib/gregbook/
H A Dwpng.c110 # include <fcntl.h> /* O_BINARY for fdopen() without text translation */
308 setmode(fileno(stdin), O_BINARY); local
309 setmode(fileno(stdout), O_BINARY); local
/external/boringssl/src/tool/
H A Ddigest.cc30 #if !defined(O_BINARY)
31 #define O_BINARY 0 macro
84 int fd = open(filename.c_str(), O_RDONLY | O_BINARY);
/external/opencv3/3rdparty/libjasper/jasper/
H A Djas_stream.h98 /* On most UNIX systems, we probably need to define O_BINARY ourselves. */
99 #ifndef O_BINARY
100 #define O_BINARY 0 macro
/external/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_unittest.cc81 #define pipe(fds) _pipe(fds, 4096, O_BINARY)
84 #ifndef O_BINARY
86 #define O_BINARY _O_BINARY macro
88 #define O_BINARY 0 // If this isn't defined, the platform doesn't need it.
685 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777);
716 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777);
/external/curl/src/
H A Dtool_operate.c94 #ifndef O_BINARY
95 /* since O_BINARY as used in bitmasks, setting it to zero makes it usable in
97 # define O_BINARY 0 macro
660 infd = open(uploadfile, O_RDONLY | O_BINARY);
663 infd = open(uploadfile, O_RDONLY | O_BINARY,
669 infd = open(uploadfile, O_RDONLY | O_BINARY);
/external/harfbuzz_ng/util/
H A Doptions.cc493 setmode (fileno (stdin), O_BINARY); local
675 setmode (fileno (stdout), O_BINARY); local
/external/tcpdump/
H A Dutil.c810 * On UNIX, that's not necessary. O_BINARY is defined on Windows;
813 #ifndef O_BINARY
814 #define O_BINARY 0 macro
824 fd = open(fname, O_RDONLY|O_BINARY);
/external/ceres-solver/examples/
H A Dlibmv_bundle_adjuster.cc104 // O_BINARY is not defined on unix like platforms, as there is no
106 #define O_BINARY 0 macro
280 file_descriptor_ = open(file_name.c_str(), O_RDONLY | O_BINARY);
/external/curl/tests/server/
H A Dsockfilt.c1447 setmode(fileno(stdin), O_BINARY); local
1448 setmode(fileno(stdout), O_BINARY); local
1449 setmode(fileno(stderr), O_BINARY); local
/external/e2fsprogs/intl/
H A Dloadmsgcat.c477 O_BINARY is usually declared in <fcntl.h>. */
478 #if !defined O_BINARY && defined _O_BINARY
480 # define O_BINARY _O_BINARY macro
484 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
485 # undef O_BINARY macro
489 #ifndef O_BINARY
490 # define O_BINARY 0 macro
940 fd = open (domain_file->filename, O_RDONLY | O_BINARY);

Completed in 745 milliseconds

12