HomeSort by relevance Sort by last modified time
    Searched defs:O_BINARY (Results 1 - 25 of 63) sorted by null

1 2 3

  /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 _WIN32 /* 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 117 setmode(fileno(stdin), O_BINARY);
135 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/curl/tests/libtest/
first.c 137 #ifdef O_BINARY
139 _setmode(stdout, O_BINARY);
141 setmode(fileno(stdout), O_BINARY);
  /external/pdfium/core/fxcrt/
fx_stream.h 29 #ifndef O_BINARY
30 #define O_BINARY 0
31 #endif // O_BINARY
  /system/extras/ext4_utils/
make_ext4fs_main.c 46 #ifndef _WIN32 /* O_BINARY is windows-specific flag */
47 #define O_BINARY 0
254 fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
  /external/libcups/cups/
file-private.h 53 * Some operating systems don't define O_BINARY, which is used by Microsoft
57 # ifndef O_BINARY
58 # define O_BINARY 0
59 # endif /* !O_BINARY */
request.c 28 #ifndef O_BINARY
29 # define O_BINARY 0
30 #endif /* O_BINARY */
58 if ((infile = open(filename, O_RDONLY | O_BINARY)) < 0)
  /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/protobuf/src/google/protobuf/
message_unittest.cc 65 #ifndef O_BINARY
67 #define O_BINARY _O_BINARY
69 #define O_BINARY 0 // If this isn't defined, the platform doesn't need it.
113 int file = open(filename.c_str(), O_RDONLY | O_BINARY);
126 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.
171 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777);
186 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 41 #ifndef O_BINARY
42 #define O_BINARY 0
269 fd = TEMP_FAILURE_RETRY(open(name, O_RDONLY | O_BINARY));
274 fd = TEMP_FAILURE_RETRY(open(conf[which][dir], O_RDONLY | O_BINARY));
  /build/make/tools/libhost/
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);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
main.c 471 _setmode(fileno(stdin), O_BINARY);
472 _setmode(fileno(stdout), O_BINARY);

Completed in 675 milliseconds

1 2 3