Home
last modified time | relevance | path

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

1234567

/third_party/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()
/third_party/skia/third_party/externals/expat/expat/xmlwf/
Dreadfilemap.c73 #ifndef O_BINARY
75 # define O_BINARY _O_BINARY macro
77 # define O_BINARY 0 macro
94 fd = topen(name, O_RDONLY | O_BINARY); in filemap()
Dxmlfile.c65 #ifndef O_BINARY
67 # define O_BINARY _O_BINARY macro
69 # define O_BINARY 0 macro
189 fd = topen(filename, O_BINARY | O_RDONLY); in processStream()
/third_party/expat/xmlwf/
Dreadfilemap.c73 #ifndef O_BINARY
75 # define O_BINARY _O_BINARY macro
77 # define O_BINARY 0 macro
94 fd = topen(name, O_RDONLY | O_BINARY); in filemap()
Dxmlfile.c65 #ifndef O_BINARY
67 # define O_BINARY _O_BINARY macro
69 # define O_BINARY 0 macro
189 fd = topen(filename, O_BINARY | O_RDONLY); in processStream()
/third_party/ffmpeg/libavutil/
Dfile_open.c131 # ifndef O_BINARY in avpriv_tempfile()
132 # define O_BINARY 0 in avpriv_tempfile() macro
137 fd = open(*filename, O_RDWR | O_BINARY | O_CREAT | O_EXCL, 0600); in avpriv_tempfile()
177 #ifdef O_BINARY in av_fopen_utf8()
178 access |= O_BINARY; in av_fopen_utf8()
/third_party/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()
/third_party/libsnd/tests/
Dwin32_test.c71 #define O_BINARY 0 macro
117 mode = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY ; in show_fstat_error()
127 mode = O_RDWR | O_BINARY ; in show_fstat_error()
177 mode = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY ; in show_lseek_error()
187 mode = O_RDWR | O_BINARY ; in show_lseek_error()
238 mode = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY ; in show_stat_fstat_error()
/third_party/skia/third_party/externals/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()
/third_party/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()
273 #if defined(O_BINARY) && (O_BINARY != 0) in png2pnm()
274 setmode (fileno (pnm_file), O_BINARY); in png2pnm()
/third_party/flutter/skia/third_party/externals/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()
/third_party/pulseaudio/src/pulsecore/
Dauthkey.c67 #ifndef O_BINARY
68 #define O_BINARY 0 macro
86 …if ((fd = pa_open_cloexec(fn, (create ? O_RDWR|O_CREAT : O_RDONLY)|O_BINARY, S_IRUSR|S_IWUSR)) < 0… in load()
88 if (!create || errno != EACCES || (fd = open(fn, O_RDONLY|O_BINARY)) < 0) { in load()
/third_party/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()
/third_party/ntfs-3g/include/ntfs-3g/
Dcompat.h87 #ifndef O_BINARY
88 #define O_BINARY 0 /* unix is binary by default */ macro
/third_party/glib/gio/
Dglocalfileoutputstream.c62 #ifndef O_BINARY
63 #define O_BINARY 0 macro
701 open_flags = O_BINARY; in _g_local_file_output_stream_open()
738 open_flags = O_CREAT | O_EXCL | O_BINARY; in _g_local_file_output_stream_create()
763 return output_stream_open (filename, O_CREAT | O_APPEND | O_WRONLY | O_BINARY, mode, in _g_local_file_output_stream_append()
866 open_flags = O_RDWR | O_CREAT | O_BINARY; in handle_overwrite_open()
868 open_flags = O_WRONLY | O_CREAT | O_BINARY; in handle_overwrite_open()
1012 tmpfd = g_mkstemp_full (tmp_filename, (readable ? O_RDWR : O_WRONLY) | O_BINARY, mode); in handle_overwrite_open()
1085 O_WRONLY | O_CREAT | O_EXCL | O_BINARY, in handle_overwrite_open()
1179 open_flags = O_RDWR | O_CREAT | O_BINARY; in handle_overwrite_open()
[all …]
/third_party/openssl/util/
Dcopy.pl68 sysopen(IN, $_, O_RDONLY|O_BINARY) || die "Can't Open $_";
69 sysopen(OUT, $dfile, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY)
/third_party/mesa3d/src/util/
Dos_file.c119 #ifndef O_BINARY
121 #define O_BINARY 0 macro
134 int fd = open(filename, O_RDONLY | O_BINARY); in os_read_file()
/third_party/curl/lib/vquic/
Dvquic.c35 #ifdef O_BINARY
36 #define QLOGMODE O_WRONLY|O_CREAT|O_BINARY
/third_party/openssl/crypto/rand/
Drandfile.c196 # ifndef O_BINARY in RAND_write_file()
197 # define O_BINARY 0 in RAND_write_file() macro
203 int fd = open(file, O_WRONLY | O_CREAT | O_BINARY, 0600); in RAND_write_file()
/third_party/ffmpeg/tools/
Dffhash.c82 #ifdef O_BINARY in check()
83 flags |= O_BINARY; in check()
/third_party/libjpeg-turbo/
Dcdjpeg.c118 setmode(fileno(stdin), O_BINARY); in read_stdin()
136 setmode(fileno(stdout), O_BINARY); in write_stdout()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dcdjpeg.c118 setmode(fileno(stdin), O_BINARY); in read_stdin()
136 setmode(fileno(stdout), O_BINARY); in write_stdout()
/third_party/skia/third_party/externals/libjpeg-turbo/
Dcdjpeg.c129 setmode(fileno(stdin), O_BINARY); in read_stdin()
147 setmode(fileno(stdout), O_BINARY); in write_stdout()
/third_party/gettext/gettext-runtime/intl/
Dloadmsgcat.c402 #if !defined O_BINARY && defined _O_BINARY
404 # define O_BINARY _O_BINARY macro
409 # undef O_BINARY
413 #ifndef O_BINARY
414 # define O_BINARY 0 macro
754 fd = open (domain_file->filename, O_RDONLY | O_BINARY); in _nl_load_domain()
762 fd = _wopen (domain_file->wfilename, O_RDONLY | O_BINARY); in _nl_load_domain()

1234567