Searched defs:O_BINARY (Results 1 - 25 of 35) sorted by relevance

12

/external/qemu/android/utils/
H A Dpath.h21 /* 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 macro
/external/expat/xmlwf/
H A Dreadfilemap.c33 #ifndef O_BINARY
35 #define O_BINARY _O_BINARY macro
37 #define O_BINARY 0 macro
54 fd = open(name, O_RDONLY|O_BINARY);
H A Dxmlfile.c40 #ifndef O_BINARY
42 #define O_BINARY _O_BINARY macro
44 #define O_BINARY 0 macro
160 fd = topen(filename, O_BINARY|O_RDONLY);
/external/openssl/crypto/rc4/
H A Drc4.c149 setmode(fileno(in),O_BINARY); local
150 setmode(fileno(out),O_BINARY); local
/external/protobuf/src/google/protobuf/
H A Dmessage_unittest.cc62 #ifndef O_BINARY
64 #define O_BINARY _O_BINARY macro
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/
H A Ddbus-file-unix.c40 #ifndef O_BINARY
41 #define O_BINARY 0 macro
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,
H A Ddbus-sysdeps-util-unix.c55 #ifndef O_BINARY
56 #define O_BINARY 0 macro
176 fd = open (cfilename, O_WRONLY|O_CREAT|O_EXCL|O_BINARY, 0644);
/external/jpeg/
H A Dcdjpeg.c154 setmode(fileno(stdin), O_BINARY); local
172 setmode(fileno(stdout), O_BINARY); local
H A Drdjpgcom.c478 setmode(fileno(stdin), O_BINARY); local
H A Dwrjpgcom.c492 setmode(fileno(stdin), O_BINARY); local
524 setmode(fileno(stdout), O_BINARY); local
/external/openssl/crypto/rand/
H A Drandfile.c205 #ifndef O_BINARY
206 #define O_BINARY 0 macro
210 int fd = open(file, O_WRONLY|O_CREAT|O_BINARY, 0600);
/external/qemu/distrib/jpeg-6b/
H A Dcdjpeg.c154 setmode(fileno(stdin), O_BINARY); local
172 setmode(fileno(stdout), O_BINARY); local
H A Drdjpgcom.c478 setmode(fileno(stdin), O_BINARY); local
H A Dwrjpgcom.c492 setmode(fileno(stdin), O_BINARY); local
524 setmode(fileno(stdout), O_BINARY); local
/external/qemu/slirp-android/
H A Dslirp.h39 # define O_BINARY 0 macro
/external/protobuf/src/google/protobuf/testing/
H A Dgoogletest.cc59 #ifndef O_BINARY
61 #define O_BINARY _O_BINARY macro
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/
H A Dslirp.h47 # define O_BINARY 0 macro
/external/libpng/contrib/gregbook/
H A Dwpng.c110 # include <fcntl.h> /* O_BINARY for fdopen() without text translation */
308 setmode(fileno(stdin), O_BINARY); local
309 setmode(fileno(stdout), O_BINARY); local
/external/protobuf/src/google/protobuf/io/
H A Dzero_copy_stream_unittest.cc80 #define pipe(fds) _pipe(fds, 4096, O_BINARY)
83 #ifndef O_BINARY
85 #define O_BINARY _O_BINARY macro
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/
H A Darm-semi.c60 #ifndef O_BINARY
61 #define O_BINARY 0 macro
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/qemu/elff/
H A Delf_file.cc24 #ifndef O_BINARY
25 #define O_BINARY 0 macro
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/stlport/src/details/
H A Dfstream_stdio.cpp77 # define O_BINARY _O_BINARY macro
/external/stlport/stlport/stl/config/
H A D_mwerks.h155 # define O_BINARY 0 macro
/external/tcpdump/
H A Dutil.c467 * On UNIX, that's not necessary. O_BINARY is defined on Windows;
470 #ifndef O_BINARY
471 #define O_BINARY 0 macro
481 fd = open(fname, O_RDONLY|O_BINARY);
/external/icu4c/tools/genrb/
H A Dderb.c44 #ifndef O_BINARY
45 #define O_BINARY _O_BINARY macro
297 if (setmode(fileno(out), O_BINARY) == -1) {

Completed in 880 milliseconds

12