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

12

/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-unix.c87 #ifndef O_BINARY
88 #define O_BINARY 0 macro
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);
H A Ddbus-sysdeps-win.c87 #ifndef O_BINARY
88 #define O_BINARY 0 macro
/external/e2fsprogs/intl/
H A Dloadmsgcat.c477 O_BINARY is usually declared in <fcntl.h>. */
478 #if !defined O_BINARY && defined _O_BINARY
480 # define O_BINARY _O_BINARY macro
484 /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
485 # undef O_BINARY macro
489 #ifndef O_BINARY
490 # define O_BINARY 0 macro
940 fd = open (domain_file->filename, O_RDONLY | 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/icu4c/extra/uconv/
H A Duconv.cpp55 #ifndef O_BINARY
56 #define O_BINARY _O_BINARY macro
635 if (setmode(fileno(stdin), O_BINARY) == -1) {
1336 if (setmode(fileno(outfile), O_BINARY) == -1) {
/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) {
/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/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/openssl/crypto/des/
H A Ddes.c310 setmode(fileno(DES_IN),O_BINARY); local
312 setmode(fileno(DES_OUT),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/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/compiler/
H A Dcommand_line_interface.cc89 #ifndef O_BINARY
91 #define O_BINARY _O_BINARY macro
93 #define O_BINARY 0 // If this isn't defined, the platform doesn't need it.
315 open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666);
375 open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666);
1296 O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666);
/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/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/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/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/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/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

Completed in 618 milliseconds

12