Searched refs:O_BINARY (Results 1 - 25 of 87) sorted by relevance

1234

/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Dfileutils.py33 msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
/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/llvm/lib/Support/
H A DDataStream.cpp74 #ifdef O_BINARY
75 OpenFlags |= O_BINARY; // Open input file in binary mode on win32.
H A Draw_ostream.cpp446 #ifdef O_BINARY
448 OpenFlags |= O_BINARY;
475 #ifdef O_BINARY
479 setmode(fd, O_BINARY);
/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/clang/lib/Basic/
H A DFileSystemStatCache.cpp62 #ifdef O_BINARY
63 OpenFlags |= O_BINARY; // Open input file in binary mode on win32.
/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/openssl/crypto/rc4/
H A Drc4.c149 setmode(fileno(in),O_BINARY); local
150 setmode(fileno(out),O_BINARY); local
/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,
/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/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);
H A Drand_unix.c269 #ifdef O_BINARY
270 |O_BINARY
/external/jpeg/
H A Dcdjpeg.c154 setmode(fileno(stdin), O_BINARY); local
172 setmode(fileno(stdout), O_BINARY); local
/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
H A Dloader.c57 fd = open(filename, O_RDONLY | O_BINARY);
70 fd = open(filename, O_RDONLY | O_BINARY);
217 fd = open(filename, O_RDONLY | O_BINARY);
313 fd = open(filename, O_RDONLY | O_BINARY);
466 fd = open(filename, O_RDONLY | O_BINARY);
/external/qemu/distrib/jpeg-6b/
H A Dcdjpeg.c154 setmode(fileno(stdin), O_BINARY); local
172 setmode(fileno(stdout), O_BINARY); local
/external/openssh/openbsd-compat/
H A Dbsd-cygwin_util.c56 return (open(filename, flags | O_BINARY, mode));
/external/libmtp/examples/
H A Dthumb.c88 if ( (fd = open(path, O_RDONLY|O_BINARY) == -1) ) {
H A Dalbumart.c108 if ( (fd = open(path, O_RDONLY|O_BINARY) == -1) ) {
/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/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/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/zlib/src/contrib/puff/
H A Dpufftest.c26 # define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
/external/qemu/block/
H A Dcow.c239 cow_fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
250 fd = open(image_filename, O_RDONLY | O_BINARY);

Completed in 567 milliseconds

1234