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

12345

/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
/external/nanopb-c/tests/common/
H A Dtest_helpers.h9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
/external/qemu/distrib/libsparse/src/
H A Dimg2simg.c32 #ifndef O_BINARY
33 #define O_BINARY 0 macro
72 in = open(argv[1], O_RDONLY | O_BINARY);
82 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
H A Dsimg2img.c29 #ifndef O_BINARY
30 #define O_BINARY 0 macro
51 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
61 in = open(argv[i], O_RDONLY | O_BINARY);
H A Dsimg2simg.c33 #ifndef O_BINARY
34 #define O_BINARY 0 macro
61 in = open(argv[1], O_RDONLY | O_BINARY);
98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
/external/chromium_org/third_party/ots/test/
H A Dot-sanitise.cc23 #define ADDITIONAL_OPEN_FLAGS O_BINARY
61 ::setmode(fileno(stdout), O_BINARY); local
/external/lzma/CPP/Common/
H A DC_FileIO.cpp14 #ifdef O_BINARY
15 flags |= O_BINARY;
/external/qemu/android/utils/
H A Dpath.h24 /* O_BINARY is required in the MS C library to avoid opening file
27 #if !defined(_WIN32) && !defined(O_BINARY)
28 # define O_BINARY 0 macro
/external/chromium_org/third_party/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/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/openssl/crypto/rc4/
H A Drc4.c149 setmode(fileno(in),O_BINARY); local
150 setmode(fileno(out),O_BINARY); local
/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/libpcap/tests/
H A Dfiltertest.c64 * On UNIX, that's not necessary. O_BINARY is defined on Windows;
67 #ifndef O_BINARY
68 #define O_BINARY 0 macro
78 fd = open(fname, O_RDONLY|O_BINARY);
/external/openssl/crypto/rand/
H A Drandfile.c208 #ifndef O_BINARY
209 #define O_BINARY 0 macro
213 int fd = open(file, O_WRONLY|O_CREAT|O_BINARY, 0600);
/external/chromium_org/third_party/libjpeg_turbo/
H A Dcdjpeg.c154 setmode(fileno(stdin), O_BINARY); local
172 setmode(fileno(stdout), O_BINARY); local
/external/jpeg/
H A Dcdjpeg.c154 setmode(fileno(stdin), O_BINARY); local
172 setmode(fileno(stdout), O_BINARY); local
/external/qemu/distrib/jpeg-6b/
H A Dcdjpeg.c154 setmode(fileno(stdin), O_BINARY); local
172 setmode(fileno(stdout), O_BINARY); local
/external/qemu/target-arm/
H A Darm-semi.c61 #ifndef O_BINARY
62 #define O_BINARY 0 macro
90 O_RDONLY | O_BINARY,
92 O_RDWR | O_BINARY,
94 O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
96 O_RDWR | O_CREAT | O_TRUNC | O_BINARY,
98 O_WRONLY | O_CREAT | O_APPEND | O_BINARY,
100 O_RDWR | O_CREAT | O_APPEND | 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_org/third_party/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/chromium_org/tools/telemetry/third_party/pyserial/serial/
H A Dsermsdos.py147 os.O_RDONLY | os.O_BINARY)
155 os.O_WRONLY | os.O_BINARY)
/external/qemu/distrib/ext4_utils/src/
H A Dmake_ext4fs_main.c43 #ifndef USE_MINGW /* O_BINARY is windows-specific flag */
44 #define O_BINARY 0 macro
194 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);

Completed in 479 milliseconds

12345