/external/bison/lib/ |
H A D | binary-io.h | 21 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 D | pipe2.c | 70 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 D | fcntl.in.h | 290 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 D | test_helpers.h | 9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/external/qemu/distrib/libsparse/src/ |
H A D | img2simg.c | 32 #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 D | simg2img.c | 29 #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 D | simg2simg.c | 33 #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 D | ot-sanitise.cc | 23 #define ADDITIONAL_OPEN_FLAGS O_BINARY 61 ::setmode(fileno(stdout), O_BINARY); local
|
/external/lzma/CPP/Common/ |
H A D | C_FileIO.cpp | 14 #ifdef O_BINARY
15 flags |= O_BINARY;
|
/external/qemu/android/utils/ |
H A D | path.h | 24 /* 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 D | googletest.cc | 59 #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 D | googletest.cc | 59 #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 D | rc4.c | 149 setmode(fileno(in),O_BINARY); local 150 setmode(fileno(out),O_BINARY); local
|
/external/protobuf/src/google/protobuf/ |
H A D | message_unittest.cc | 62 #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 D | filtertest.c | 64 * 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 D | randfile.c | 208 #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 D | cdjpeg.c | 154 setmode(fileno(stdin), O_BINARY); local 172 setmode(fileno(stdout), O_BINARY); local
|
/external/jpeg/ |
H A D | cdjpeg.c | 154 setmode(fileno(stdin), O_BINARY); local 172 setmode(fileno(stdout), O_BINARY); local
|
/external/qemu/distrib/jpeg-6b/ |
H A D | cdjpeg.c | 154 setmode(fileno(stdin), O_BINARY); local 172 setmode(fileno(stdout), O_BINARY); local
|
/external/qemu/target-arm/ |
H A D | arm-semi.c | 61 #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 D | fcntl.h | 602 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 D | fcntl.h | 602 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 D | message_unittest.cc | 62 #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 D | sermsdos.py | 147 os.O_RDONLY | os.O_BINARY) 155 os.O_WRONLY | os.O_BINARY)
|
/external/qemu/distrib/ext4_utils/src/ |
H A D | make_ext4fs_main.c | 43 #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);
|