Home
last modified time | relevance | path

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

123456

/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/expat/xmlwf/
Dreadfilemap.c68 #ifndef O_BINARY
70 # define O_BINARY _O_BINARY macro
72 # define O_BINARY 0 macro
90 fd = topen(name, O_RDONLY|O_BINARY); in filemap()
Dxmlfile.c59 #ifndef O_BINARY
61 #define O_BINARY _O_BINARY macro
63 #define O_BINARY 0 macro
196 fd = topen(filename, O_BINARY|O_RDONLY); in processStream()
/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.
171 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStdout()
186 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStderr()
/external/curl/tests/libtest/
Dfirst.c137 #ifdef O_BINARY in main()
139 _setmode(stdout, O_BINARY); in main()
141 setmode(fileno(stdout), O_BINARY); in main()
/external/pdfium/core/fxcrt/
Dcfx_fileaccess_posix.cpp13 #ifndef O_BINARY
14 #define O_BINARY 0 macro
28 nFlags = O_BINARY | O_LARGEFILE; in GetFileMode()
/external/libcups/cups/
Dfile-private.h54 # ifndef O_BINARY
55 # define O_BINARY 0 macro
/external/libgsm/inc/
Dtoast.h49 #ifdef O_BINARY
50 # define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL|O_BINARY
/external/python/cpython2/Lib/plat-os2emx/
D_emx_link.py48 s = os.open(source, os.O_RDONLY | os.O_BINARY)
54 t = os.open(target, os.O_WRONLY | os.O_BINARY | os.O_CREAT | os.O_EXCL)
/external/protobuf/src/google/protobuf/
Dmessage_unittest.cc65 #ifndef O_BINARY
67 #define O_BINARY _O_BINARY macro
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); in TEST()
126 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/testprogs/
Dfiltertest.c84 #ifndef O_BINARY
85 #define O_BINARY 0 macro
95 fd = open(fname, O_RDONLY|O_BINARY); in read_infile()
Dvalgrindtest.c117 #ifndef O_BINARY
118 #define O_BINARY 0 macro
128 fd = open(fname, O_RDONLY|O_BINARY); in read_infile()
/external/libjpeg-turbo/
Dcdjpeg.c118 setmode(fileno(stdin), O_BINARY); in read_stdin()
136 setmode(fileno(stdout), O_BINARY); in write_stdout()
/external/u-boot/tools/
Dimagetool.c75 dfd = open(file_name, O_RDWR | O_CREAT | O_TRUNC | O_BINARY, in imagetool_save_subimage()
100 fd = open(fname, O_RDONLY | O_BINARY); in imagetool_get_filesize()
/external/u-boot/include/
Dcompiler.h40 #ifndef O_BINARY /* should be define'd on __WIN32__ */
41 #define O_BINARY 0 macro
/external/ImageMagick/MagickWand/
Dstudio.h303 #if !defined(O_BINARY)
304 #define O_BINARY 0x00 macro
/external/python/cpython2/Modules/
Dbsddbmodule.c70 #ifdef O_BINARY in newdbhashobject()
71 flags |= O_BINARY; in newdbhashobject()
120 #ifdef O_BINARY in newdbbtobject()
121 flags |= O_BINARY; in newdbbtobject()
170 #ifdef O_BINARY in newdbrnobject()
171 flags |= O_BINARY; in newdbrnobject()
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dsermsdos.py147 os.O_RDONLY | os.O_BINARY)
155 os.O_WRONLY | os.O_BINARY)
/external/swiftshader/third_party/LLVM/lib/Support/
Draw_ostream.cpp445 #ifdef O_BINARY in raw_fd_ostream()
447 OpenFlags |= O_BINARY; in raw_fd_ostream()
474 #ifdef O_BINARY in raw_fd_ostream()
478 setmode(fd, O_BINARY); in raw_fd_ostream()
/external/boringssl/src/tool/
Ddigest.cc31 #if !defined(O_BINARY)
32 #define O_BINARY 0 macro
88 int fd = BORINGSSL_OPEN(filename.c_str(), O_RDONLY | O_BINARY); in OpenFile()
/external/ImageMagick/MagickCore/
Dstudio.h324 #if !defined(O_BINARY)
325 #define O_BINARY 0x00 macro
Drandom.c470 setmode(file,O_BINARY); in GenerateEntropicChaos()
543 file=open_utf8(filename,O_RDONLY | O_BINARY,0); in GenerateEntropicChaos()
561 file=open_utf8(filename,O_RDONLY | O_BINARY,0); in GenerateEntropicChaos()
568 file=open_utf8(filename,O_RDONLY | O_BINARY,0); in GenerateEntropicChaos()
/external/nanopb-c/tests/common/
Dtest_helpers.h9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)
/external/grpc-grpc/third_party/nanopb/tests/common/
Dtest_helpers.h9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)

123456