/external/curl/src/ |
H A D | tool_binmode.c | 40 #ifdef O_BINARY 42 _setmode(stream, O_BINARY); 44 (void)setmode(fileno(stream), O_BINARY);
|
/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
|
H A D | spawn-pipe.c | 139 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 D | test_helpers.h | 9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/external/lzma/CPP/Common/ |
H A D | C_FileIO.cpp | 18 #ifdef O_BINARY
19 flags |= O_BINARY;
|
/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/curl/tests/libtest/ |
H A D | first.c | 137 #ifdef O_BINARY 139 _setmode(stdout, O_BINARY); 141 setmode(fileno(stdout), O_BINARY); local
|
/external/libjpeg-turbo/ |
H A D | cdjpeg.c | 116 setmode(fileno(stdin), O_BINARY); local 134 setmode(fileno(stdout), O_BINARY); local
|
/external/dbus/dbus/ |
H A D | dbus-file-unix.c | 40 #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 D | tif_unix.c | 183 #ifdef O_BINARY 184 m |= O_BINARY; 222 #ifdef O_BINARY 223 m |= 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-trace/catapult/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/libmtp/examples/ |
H A D | thumb.c | 88 if ( (fd = open(path, O_RDONLY|O_BINARY) == -1) ) {
|
H A D | albumart.c | 108 if ( (fd = open(path, O_RDONLY|O_BINARY) == -1) ) {
|
/external/libpcap/tests/ |
H A D | filtertest.c | 67 * 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 D | valgrindtest.c | 95 * 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 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/boringssl/src/tool/ |
H A D | digest.cc | 30 #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 D | fxcrt_posix.cpp | 20 nFlags = O_BINARY | O_LARGEFILE;
|
/external/zlib/src/contrib/puff/ |
H A D | pufftest.c | 26 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/external/ImageMagick/MagickCore/ |
H A D | studio.h | 319 #if !defined(O_BINARY) 320 #define O_BINARY 0x00 macro
|
/external/ImageMagick/MagickWand/ |
H A D | studio.h | 301 #if !defined(O_BINARY) 302 #define O_BINARY 0x00 macro
|