Home
last modified time | relevance | path

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

1234567

/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()
Dtool_cb_wrt.c42 #ifndef O_BINARY
43 #define O_BINARY 0 macro
78 fd = open(name, O_CREAT | O_WRONLY | O_EXCL | O_BINARY, OPENMODE); in tool_create_output_file()
/external/expat/xmlwf/
Dreadfilemap.c68 #ifndef O_BINARY
70 # define O_BINARY _O_BINARY macro
72 # define O_BINARY 0 macro
89 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
183 fd = topen(filename, O_BINARY | O_RDONLY); in processStream()
/external/protobuf/src/google/protobuf/testing/
Dgoogletest.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. macro
206 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStdout()
221 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, 0777); in CaptureTestStderr()
/external/libpng/contrib/pngminus/
Dpng2pnm.c113 #if defined(O_BINARY) && (O_BINARY != 0) in main()
116 setmode (fileno (stdin), O_BINARY); in main()
118 setmode (fileno (stdout), O_BINARY); in main()
263 #if defined(O_BINARY) && (O_BINARY != 0) in png2pnm()
264 setmode (fileno (pnm_file), O_BINARY); in png2pnm()
Dpnm2png.c113 #if defined(O_BINARY) && (O_BINARY != 0) in main()
118 setmode (fileno (stdin), O_BINARY); in main()
120 setmode (fileno (stdout), O_BINARY); in main()
/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/fsverity-utils/common/
Dwin32_defs.h17 #ifndef O_BINARY
18 # define O_BINARY 0 macro
/external/libcups/cups/
Dfile-private.h49 # ifndef O_BINARY
50 # define O_BINARY 0 macro
/external/pdfium/core/fxcrt/
Dcfx_fileaccess_posix.cpp18 #ifndef O_BINARY
19 #define O_BINARY 0 macro
29 nFlags = O_BINARY | O_LARGEFILE; in GetFileMode()
/external/erofs-utils/include/erofs/
Dio.h15 #ifndef O_BINARY
16 #define O_BINARY 0 macro
/external/libgsm/inc/
Dtoast.h53 #ifdef O_BINARY
54 # define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL|O_BINARY
/external/curl/lib/vquic/
Dvquic.c35 #ifdef O_BINARY
36 #define QLOGMODE O_WRONLY|O_CREAT|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/lzma/CPP/Common/
DC_FileIO.cpp18 #ifdef O_BINARY in OpenBinary()
19 flags |= O_BINARY; in OpenBinary()
/external/libpcap/testprogs/
Dfiltertest.c87 #ifndef O_BINARY
88 #define O_BINARY 0 macro
98 fd = open(fname, O_RDONLY|O_BINARY); in read_infile()
Dvalgrindtest.c135 #ifndef O_BINARY
136 #define O_BINARY 0 macro
146 fd = open(fname, O_RDONLY|O_BINARY); in read_infile()
/external/libjpeg-turbo/
Dcdjpeg.c129 setmode(fileno(stdin), O_BINARY); in read_stdin()
147 setmode(fileno(stdout), O_BINARY); in write_stdout()
/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingPort.h134 #ifndef O_BINARY
135 #define O_BINARY 0 macro
DGCDAProfiling.c332 fd = open(filename, O_RDWR | O_BINARY); in llvm_gcda_start_file()
336 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644); in llvm_gcda_start_file()
342 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644); in llvm_gcda_start_file()
348 fd = open(filename, O_RDWR | O_BINARY); in llvm_gcda_start_file()
/external/flac/src/share/grabbag/
Dfile.c174 setmode(fileno(stdin), O_BINARY); in grabbag__file_get_binary_stdin()
189 setmode(fileno(stdout), O_BINARY); in grabbag__file_get_binary_stdout()
/external/ImageMagick/MagickWand/
Dstudio.h297 #if !defined(O_BINARY)
298 #define O_BINARY 0x00 macro
/external/chromium-trace/catapult/third_party/pyserial/serial/
Dsermsdos.py147 os.O_RDONLY | os.O_BINARY)
155 os.O_WRONLY | os.O_BINARY)
/external/grpc-grpc/third_party/nanopb/tests/common/
Dtest_helpers.h9 #define SET_BINARY_MODE(file) setmode(fileno(file), O_BINARY)

1234567