Searched refs:O_BINARY (Results 1 - 25 of 96) sorted by relevance

1234

/external/curl/src/
H A Dtool_binmode.c40 #ifdef O_BINARY
42 _setmode(stream, O_BINARY);
44 (void)setmode(fileno(stream), O_BINARY);
/external/bison/lib/
H A Dbinary-io.h21 O_BINARY is guaranteed by the gnulib <fcntl.h>. */
35 (must be O_BINARY or O_TEXT) and returns the previous mode. */
36 #if O_BINARY
54 return O_BINARY;
65 # define SET_BINARY(fd) ((void) (!isatty (fd) ? (set_binary_mode (fd, O_BINARY), 0) : 0))
67 # define SET_BINARY(fd) ((void) set_binary_mode (fd, O_BINARY))
H A Dpipe2.c70 if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_BINARY | O_TEXT)) != 0)
138 # if O_BINARY
139 if (flags & O_BINARY)
141 setmode (fd[1], O_BINARY);
142 setmode (fd[0], O_BINARY);
H A Dfcntl.in.h290 O_BINARY is usually declared in fcntl.h */
291 #if !defined O_BINARY && defined _O_BINARY
293 # define O_BINARY _O_BINARY
298 /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */
299 # undef O_BINARY
303 #ifndef O_BINARY
304 # define O_BINARY 0
H A Dspawn-pipe.c139 if (pipe2_safer (ifd, O_BINARY | O_CLOEXEC) < 0)
142 if (pipe2_safer (ofd, O_BINARY | O_CLOEXEC) < 0)
/external/nanopb-c/tests/common/
H A Dtest_helpers.h9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
/external/lzma/CPP/Common/
H A DC_FileIO.cpp18 #ifdef O_BINARY
19 flags |= 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/curl/tests/libtest/
H A Dfirst.c137 #ifdef O_BINARY
139 _setmode(stdout, O_BINARY);
141 setmode(fileno(stdout), O_BINARY); local
/external/libjpeg-turbo/
H A Dcdjpeg.c116 setmode(fileno(stdin), O_BINARY); local
134 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,
/external/opencv3/3rdparty/libtiff/
H A Dtif_unix.c183 #ifdef O_BINARY
184 m |= O_BINARY;
222 #ifdef O_BINARY
223 m |= O_BINARY;
/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/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
H A Dsermsdos.py147 os.O_RDONLY | os.O_BINARY)
155 os.O_WRONLY | os.O_BINARY)
/external/libmtp/examples/
H A Dthumb.c88 if ( (fd = open(path, O_RDONLY|O_BINARY) == -1) ) {
H A Dalbumart.c108 if ( (fd = open(path, O_RDONLY|O_BINARY) == -1) ) {
/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/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/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/pdfium/core/src/fxcrt/
H A Dfxcrt_posix.cpp20 nFlags = O_BINARY | O_LARGEFILE;
/external/zlib/src/contrib/puff/
H A Dpufftest.c26 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
/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

Completed in 564 milliseconds

1234