/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)
|
H A D | fcntl.c | 68 || (mode = setmode (oldfd, O_BINARY)) == -1)
|
/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 | 14 #ifdef O_BINARY
15 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/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);
|
H A D | valgrindtest.c | 97 * On UNIX, that's not necessary. O_BINARY is defined on Windows; 100 #ifndef O_BINARY 101 #define O_BINARY 0 macro 111 fd = open(fname, O_RDONLY|O_BINARY);
|
/external/jpeg/ |
H A D | cdjpeg.c | 154 setmode(fileno(stdin), O_BINARY); local 172 setmode(fileno(stdout), O_BINARY); local
|
H A D | wrjpgcom.c | 492 setmode(fileno(stdin), O_BINARY); local 524 setmode(fileno(stdout), O_BINARY); local
|
/external/openssh/openbsd-compat/ |
H A D | bsd-cygwin_util.c | 51 return (open(filename, flags | O_BINARY, mode));
|
/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/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/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/zlib/src/contrib/puff/ |
H A D | pufftest.c | 26 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|
/external/libpcap/ |
H A D | savefile.c | 71 * Setting O_BINARY on DOS/Windows is a bit tricky 77 #define SET_BINMODE(f) setmode(f, O_BINARY) 79 #define SET_BINMODE(f) setmode(fileno(f), O_BINARY)
|
/external/pdfium/core/include/fxcrt/ |
H A D | fx_stream.h | 28 #ifndef O_BINARY 29 #define O_BINARY 0 macro
|
/external/tcpdump/ |
H A D | util.c | 544 * On UNIX, that's not necessary. O_BINARY is defined on Windows; 547 #ifndef O_BINARY 548 #define O_BINARY 0 macro 558 fd = open(fname, O_RDONLY|O_BINARY);
|
/external/pdfium/core/src/fxcrt/ |
H A D | fxcrt_posix.cpp | 16 nFlags = O_BINARY | O_LARGEFILE;
|
/external/zlib/src/examples/ |
H A D | zpipe.c | 23 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
|