/external/libpcap/tests/ |
filtertest.c | 64 * On UNIX, that's not necessary. O_BINARY is defined on Windows; 67 #ifndef O_BINARY 68 #define O_BINARY 0 78 fd = open(fname, O_RDONLY|O_BINARY);
|
valgrindtest.c | 97 * On UNIX, that's not necessary. O_BINARY is defined on Windows; 100 #ifndef O_BINARY 101 #define O_BINARY 0 111 fd = open(fname, O_RDONLY|O_BINARY);
|
/external/protobuf/src/google/protobuf/testing/ |
googletest.cc | 59 #ifndef O_BINARY 61 #define O_BINARY _O_BINARY 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/qemu/slirp/ |
slirp.h | 47 # define O_BINARY 0
|
/ndk/sources/host-tools/ndk-stack/elff/ |
elf_file.cc | 24 #ifndef O_BINARY 25 #define O_BINARY 0 96 MapFile* file_handle = mapfile_open(path, O_RDONLY | O_BINARY, 0); 172 elf_handle_ = mapfile_open(elf_file_path_, O_RDONLY | O_BINARY, 0);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
fcntl.h | 44 #define O_BINARY _O_BINARY
|
/system/extras/f2fs_utils/ |
f2fs_ioutils.c | 83 #define O_BINARY 0
|
/build/libs/host/ |
CopyFile.c | 38 #ifndef O_BINARY 39 # define O_BINARY 0 243 srcFd = open(src, O_RDONLY | O_BINARY, 0); 251 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644); 281 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644); 561 tmpFd = open(src, O_RDONLY | O_BINARY, 0);
|
/external/bison/darwin-lib/ |
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 610 /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */ 611 # undef O_BINARY 615 #ifndef O_BINARY 616 # define O_BINARY 0
|
/external/bison/linux-lib/ |
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 610 /* BeOS 5 and Haiku have O_BINARY and O_TEXT, but they have no effect. */ 611 # undef O_BINARY 615 #ifndef O_BINARY 616 # define O_BINARY 0
|
/external/chromium_org/third_party/libjpeg_turbo/ |
rdjpgcom.c | 497 setmode(fileno(stdin), O_BINARY);
|
wrjpgcom.c | 492 setmode(fileno(stdin), O_BINARY); 524 setmode(fileno(stdout), O_BINARY);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
zero_copy_stream_unittest.cc | 81 #define pipe(fds) _pipe(fds, 4096, O_BINARY) 84 #ifndef O_BINARY 86 #define O_BINARY _O_BINARY 88 #define O_BINARY 0 // If this isn't defined, the platform doesn't need it. 684 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); 715 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777);
|
/external/jpeg/ |
rdjpgcom.c | 478 setmode(fileno(stdin), O_BINARY);
|
wrjpgcom.c | 492 setmode(fileno(stdin), O_BINARY); 524 setmode(fileno(stdout), O_BINARY);
|
/external/libpng/contrib/gregbook/ |
wpng.c | 110 # include <fcntl.h> /* O_BINARY for fdopen() without text translation */ 308 setmode(fileno(stdin), O_BINARY); 309 setmode(fileno(stdout), O_BINARY);
|
/external/protobuf/src/google/protobuf/io/ |
zero_copy_stream_unittest.cc | 80 #define pipe(fds) _pipe(fds, 4096, O_BINARY) 83 #ifndef O_BINARY 85 #define O_BINARY _O_BINARY 87 #define O_BINARY 0 // If this isn't defined, the platform doesn't need it. 461 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); 492 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777);
|
/external/qemu/distrib/jpeg-6b/ |
rdjpgcom.c | 478 setmode(fileno(stdin), O_BINARY);
|
wrjpgcom.c | 492 setmode(fileno(stdin), O_BINARY); 524 setmode(fileno(stdout), O_BINARY);
|
/external/qemu/target-arm/ |
arm-semi.c | 61 #ifndef O_BINARY 62 #define O_BINARY 0 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/stlport/src/details/ |
fstream_stdio.cpp | 77 # define O_BINARY _O_BINARY
|
/external/stlport/stlport/stl/config/ |
_mwerks.h | 155 # define O_BINARY 0
|
/external/tcpdump/ |
util.c | 544 * On UNIX, that's not necessary. O_BINARY is defined on Windows; 547 #ifndef O_BINARY 548 #define O_BINARY 0 558 fd = open(fname, O_RDONLY|O_BINARY);
|
/frameworks/base/libs/androidfw/ |
Asset.cpp | 44 #ifndef O_BINARY 45 # define O_BINARY 0 128 fd = open(fileName, O_RDONLY | O_BINARY); 189 fd = open(fileName, O_RDONLY | O_BINARY); 635 return open(fname, O_RDONLY | O_BINARY); 642 return open(mFileName, O_RDONLY | O_BINARY);
|
/ndk/sources/cxx-stl/stlport/src/details/ |
fstream_stdio.cpp | 77 # define O_BINARY _O_BINARY
|