/external/qemu/android/utils/ |
path.h | 21 /* O_BINARY is required in the MS C library to avoid opening file 24 #if !defined(_WIN32) && !defined(O_BINARY) 25 # define O_BINARY 0
|
/dalvik/libdex/ |
CmdUtils.cpp | 29 #ifndef O_BINARY 30 #define O_BINARY 0 177 fd = open(fileName, O_RDONLY | O_BINARY);
|
/external/expat/xmlwf/ |
readfilemap.c | 33 #ifndef O_BINARY 35 #define O_BINARY _O_BINARY 37 #define O_BINARY 0 54 fd = open(name, O_RDONLY|O_BINARY);
|
xmlfile.c | 40 #ifndef O_BINARY 42 #define O_BINARY _O_BINARY 44 #define O_BINARY 0 160 fd = topen(filename, O_BINARY|O_RDONLY);
|
/external/openssl/crypto/rc4/ |
rc4.c | 149 setmode(fileno(in),O_BINARY); 150 setmode(fileno(out),O_BINARY);
|
/external/protobuf/src/google/protobuf/ |
message_unittest.cc | 62 #ifndef O_BINARY 64 #define O_BINARY _O_BINARY 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/dbus/dbus/ |
dbus-file-unix.c | 40 #ifndef O_BINARY 41 #define O_BINARY 0 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/jpeg/ |
cdjpeg.c | 154 setmode(fileno(stdin), O_BINARY); 172 setmode(fileno(stdout), O_BINARY);
|
rdjpgcom.c | 478 setmode(fileno(stdin), O_BINARY);
|
wrjpgcom.c | 492 setmode(fileno(stdin), O_BINARY); 524 setmode(fileno(stdout), O_BINARY);
|
/external/openssl/crypto/rand/ |
randfile.c | 205 #ifndef O_BINARY 206 #define O_BINARY 0 210 int fd = open(file, O_WRONLY|O_CREAT|O_BINARY, 0600);
|
/external/qemu/slirp-android/ |
slirp.h | 39 # define O_BINARY 0
|
/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/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);
|
/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);
|
/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/bluetooth/glib/gio/ |
glocalfileoutputstream.c | 52 #ifndef O_BINARY 53 #define O_BINARY 0 511 fd = g_open (filename, O_CREAT | O_EXCL | O_WRONLY | O_BINARY, mode); 556 fd = g_open (filename, O_CREAT | O_APPEND | O_WRONLY | O_BINARY, mode); 682 open_flags = O_RDWR | O_CREAT | O_BINARY; 684 open_flags = O_WRONLY | O_CREAT | O_BINARY; 850 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 942 fd = g_open (filename, O_WRONLY | O_CREAT | O_BINARY, mode); 1008 fd = g_open (filename, O_CREAT | O_EXCL | O_WRONLY | O_BINARY, mode);
|
/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/ |
arm-semi.c | 60 #ifndef O_BINARY 61 #define O_BINARY 0 89 O_RDONLY | O_BINARY, 91 O_RDWR | O_BINARY, 93 O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 95 O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 97 O_WRONLY | O_CREAT | O_APPEND | O_BINARY, 99 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 | 467 * On UNIX, that's not necessary. O_BINARY is defined on Windows; 470 #ifndef O_BINARY 471 #define O_BINARY 0 481 fd = open(fname, O_RDONLY|O_BINARY);
|
/frameworks/base/libs/utils/ |
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);
|