/system/core/base/include/android-base/ |
file.h | 23 #if !defined(_WIN32) && !defined(O_BINARY) 24 #define O_BINARY 0
|
/system/core/libsparse/ |
simg2img.c | 29 #ifndef O_BINARY 30 #define O_BINARY 0 50 out = open(argv[argc - 1], O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0664); 60 in = open(argv[i], O_RDONLY | O_BINARY);
|
img2simg.c | 32 #ifndef O_BINARY 33 #define O_BINARY 0 72 in = open(argv[1], O_RDONLY | O_BINARY); 82 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);
|
append2simg.c | 32 #ifndef O_BINARY 33 #define O_BINARY 0 79 output = open(output_path, O_RDWR | O_BINARY); 91 input = open(input_path, O_RDONLY | O_BINARY); 114 tmp_fd = open(tmp_path, O_WRONLY | O_CREAT | O_BINARY, 0664);
|
/toolchain/binutils/binutils-2.25/include/ |
binary-io.h | 22 define O_BINARY in <fcntl.h>, and the MSVC7 <stdio.h> doesn't 28 #if !defined O_BINARY && defined _O_BINARY 30 # define O_BINARY _O_BINARY 34 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */ 35 # undef O_BINARY 38 #if O_BINARY 51 # define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0) 53 # define SET_BINARY(fd) setmode (fd, O_BINARY) 57 # undef O_BINARY 58 # define O_BINARY [all...] |
/system/extras/f2fs_utils/ |
make_f2fs_main.c | 32 #ifndef USE_MINGW /* O_BINARY is windows-specific flag */ 33 #define O_BINARY 0 76 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
|
f2fs_ioutils.c | 82 #define O_BINARY 0
|
/toolchain/binutils/binutils-2.25/ld/ |
sysdep.h | 96 #ifndef O_BINARY 97 #define O_BINARY 0
|
/dalvik/libdex/ |
CmdUtils.cpp | 29 #ifndef O_BINARY 30 #define O_BINARY 0 57 fd = open(outFileName, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600); 176 fd = open(fileName, O_RDONLY | O_BINARY);
|
/external/libjpeg-turbo/ |
cdjpeg.c | 116 setmode(fileno(stdin), O_BINARY); 134 setmode(fileno(stdout), O_BINARY);
|
/toolchain/binutils/binutils-2.25/libiberty/ |
mkstemps.c | 52 #ifndef O_BINARY 53 # define O_BINARY 0 126 fd = open (pattern, O_BINARY|O_RDWR|O_CREAT|O_EXCL, 0600);
|
/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/curl/tests/libtest/ |
first.c | 132 #ifdef O_BINARY 134 _setmode(stdout, O_BINARY); 136 setmode(fileno(stdout), O_BINARY);
|
/system/extras/ext4_utils/ |
ext2simg.c | 38 #ifndef USE_MINGW /* O_BINARY is windows-specific flag */ 39 #define O_BINARY 0 180 outfd = open(out, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
|
make_ext4fs_main.c | 46 #ifndef USE_MINGW /* O_BINARY is windows-specific flag */ 47 #define O_BINARY 0 247 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
|
/external/libpcap/tests/ |
filtertest.c | 67 * On UNIX, that's not necessary. O_BINARY is defined on Windows; 70 #ifndef O_BINARY 71 #define O_BINARY 0 81 fd = open(fname, O_RDONLY|O_BINARY);
|
valgrindtest.c | 95 * On UNIX, that's not necessary. O_BINARY is defined on Windows; 98 #ifndef O_BINARY 99 #define O_BINARY 0 109 fd = open(fname, O_RDONLY|O_BINARY);
|
/external/pdfium/core/include/fxcrt/ |
fx_stream.h | 28 #ifndef O_BINARY 29 #define O_BINARY 0
|
/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/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);
|
/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/core/libcutils/ |
fs_config.c | 40 #ifndef O_BINARY 41 #define O_BINARY 0 178 fd = TEMP_FAILURE_RETRY(open(name, O_RDONLY | O_BINARY)); 183 fd = TEMP_FAILURE_RETRY(open(dir ? conf_dir : conf_file, O_RDONLY | O_BINARY));
|
/build/libs/host/ |
CopyFile.c | 37 #ifndef O_BINARY 38 # 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);
|
/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
|