/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
|
/system/core/libsparse/ |
simg2img.c | 29 #ifndef O_BINARY 30 #define O_BINARY 0 51 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 61 in = open(argv[i], O_RDONLY | O_BINARY);
|
img2simg.c | 32 #ifndef O_BINARY 33 #define O_BINARY 0 73 in = open(argv[1], O_RDONLY | O_BINARY); 83 out = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
|
simg2simg.c | 33 #ifndef O_BINARY 34 #define O_BINARY 0 61 in = open(argv[1], O_RDONLY | O_BINARY); 98 out = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664);
|
/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/qemu/distrib/jpeg-6b/ |
cdjpeg.c | 154 setmode(fileno(stdin), O_BINARY); 172 setmode(fileno(stdout), O_BINARY);
|
/system/extras/ext4_utils/ |
make_ext4fs_main.c | 33 #ifndef USE_MINGW /* O_BINARY is windows-specific flag */ 34 #define O_BINARY 0 169 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
|
ext2simg.c | 38 #ifndef USE_MINGW /* O_BINARY is windows-specific flag */ 39 #define O_BINARY 0 241 outfd = open(out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
|
/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/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);
|