Home
last modified time | relevance | path

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

1234

/external/bison/lib/
Dbinary-io.h36 #if O_BINARY
54 return O_BINARY;
65 # define SET_BINARY(fd) ((void) (!isatty (fd) ? (set_binary_mode (fd, O_BINARY), 0) : 0))
67 # define SET_BINARY(fd) ((void) set_binary_mode (fd, O_BINARY))
Dpipe2.c70 if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_BINARY | O_TEXT)) != 0) in pipe2()
138 # if O_BINARY in pipe2()
139 if (flags & O_BINARY) in pipe2()
141 setmode (fd[1], O_BINARY); in pipe2()
142 setmode (fd[0], O_BINARY); in pipe2()
Dfcntl.in.h291 #if !defined O_BINARY && defined _O_BINARY
293 # define O_BINARY _O_BINARY
299 # undef O_BINARY
303 #ifndef O_BINARY
304 # define O_BINARY 0
Dspawn-pipe.c139 if (pipe2_safer (ifd, O_BINARY | O_CLOEXEC) < 0) in create_pipe()
142 if (pipe2_safer (ofd, O_BINARY | O_CLOEXEC) < 0) in create_pipe()
/external/curl/src/
Dtool_binmode.c40 #ifdef O_BINARY in set_binmode()
42 _setmode(stream, O_BINARY); in set_binmode()
44 (void)setmode(fileno(stream), O_BINARY); in set_binmode()
/external/protobuf/src/google/protobuf/testing/
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); in CaptureTestStdout()
174 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStderr()
/external/dbus/dbus/
Ddbus-file-unix.c40 #ifndef O_BINARY
41 #define O_BINARY 0 macro
70 fd = open (filename_c, O_RDONLY | O_BINARY); in _dbus_file_get_contents()
215 fd = open (tmp_filename_c, O_WRONLY | O_BINARY | O_EXCL | O_CREAT, in _dbus_string_save_to_file()
363 fd = open (filename_c, O_WRONLY | O_BINARY | O_EXCL | O_CREAT, in _dbus_create_file_exclusively()
/external/curl/tests/libtest/
Dfirst.c132 #ifdef O_BINARY in main()
134 _setmode(stdout, O_BINARY); in main()
136 setmode(fileno(stdout), O_BINARY); in main()
/external/opencv3/3rdparty/libtiff/
Dtif_unix.c183 #ifdef O_BINARY in TIFFOpen()
184 m |= O_BINARY; in TIFFOpen()
222 #ifdef O_BINARY in TIFFOpenW()
223 m |= O_BINARY; in TIFFOpenW()
/external/bison/linux-lib/
Dfcntl.h603 #if !defined O_BINARY && defined _O_BINARY
605 # define O_BINARY _O_BINARY macro
611 # undef O_BINARY
615 #ifndef O_BINARY
616 # define O_BINARY 0 macro
/external/bison/darwin-lib/
Dfcntl.h603 #if !defined O_BINARY && defined _O_BINARY
605 # define O_BINARY _O_BINARY macro
611 # undef O_BINARY
615 #ifndef O_BINARY
616 # define O_BINARY 0 macro
/external/protobuf/src/google/protobuf/
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); in TEST()
123 int file = open(filename.c_str(), O_RDONLY | O_BINARY); in TEST()
/external/lzma/CPP/Common/
DC_FileIO.cpp18 #ifdef O_BINARY in OpenBinary()
19 flags |= O_BINARY; in OpenBinary()
/external/libpcap/tests/
Dfiltertest.c70 #ifndef O_BINARY
71 #define O_BINARY 0 macro
81 fd = open(fname, O_RDONLY|O_BINARY); in read_infile()
Dvalgrindtest.c98 #ifndef O_BINARY
99 #define O_BINARY 0 macro
109 fd = open(fname, O_RDONLY|O_BINARY); in read_infile()
/external/libjpeg-turbo/
Dcdjpeg.c116 setmode(fileno(stdin), O_BINARY); in read_stdin()
134 setmode(fileno(stdout), O_BINARY); in write_stdout()
/external/chromium-trace/catapult/telemetry/third_party/pyserial/serial/
Dsermsdos.py147 os.O_RDONLY | os.O_BINARY)
155 os.O_WRONLY | os.O_BINARY)
/external/nanopb-c/tests/common/
Dtest_helpers.h9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
/external/boringssl/src/tool/
Ddigest.cc30 #if !defined(O_BINARY)
31 #define O_BINARY 0 macro
84 int fd = open(filename.c_str(), O_RDONLY | O_BINARY); in OpenFile()
/external/pdfium/core/include/fxcrt/
Dfx_stream.h28 #ifndef O_BINARY
29 #define O_BINARY 0 macro
/external/opencv3/3rdparty/libjasper/jasper/
Djas_stream.h99 #ifndef O_BINARY
100 #define O_BINARY 0 macro
/external/e2fsprogs/intl/
Dloadmsgcat.c478 #if !defined O_BINARY && defined _O_BINARY
480 # define O_BINARY _O_BINARY macro
485 # undef O_BINARY
489 #ifndef O_BINARY
490 # define O_BINARY 0 macro
940 fd = open (domain_file->filename, O_RDONLY | O_BINARY); in _nl_load_domain()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc81 #define pipe(fds) _pipe(fds, 4096, O_BINARY)
84 #ifndef O_BINARY
86 #define O_BINARY _O_BINARY macro
88 #define O_BINARY 0 // If this isn't defined, the platform doesn't need it.
685 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); in TEST_F()
716 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); in TEST_F()
/external/libpcap/
Dsavefile.c72 #define SET_BINMODE(f) setmode(f, O_BINARY)
74 #define SET_BINMODE(f) setmode(fileno(f), O_BINARY)
/external/curl/lib/
Dfile.c234 fd = open_readonly(actual_path, O_RDONLY|O_BINARY); in file_connect()
326 #ifdef O_BINARY in file_upload()
327 #define MODE_DEFAULT O_WRONLY|O_CREAT|O_BINARY in file_upload()

1234