Home
last modified time | relevance | path

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

12345

/freebsd/contrib/expat/xmlwf/
H A Dreadfilemap.c75 #ifndef O_BINARY
77 # define O_BINARY _O_BINARY macro
79 # define O_BINARY 0 macro
96 fd = topen(name, O_RDONLY | O_BINARY); in filemap()
H A Dxmlfile.c76 #ifndef O_BINARY
78 # define O_BINARY _O_BINARY macro
80 # define O_BINARY 0 macro
196 fd = topen(filename, O_BINARY | O_RDONLY); in processStream()
/freebsd/crypto/krb5/src/lib/krb5/os/
H A Dkrbfileio.c43 #ifndef O_BINARY
44 #define O_BINARY 0 macro
59 fd = THREEPARAMOPEN(pathname, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0600); in k5_create_secure_file()
/freebsd/crypto/krb5/src/util/support/
H A Dmkstemp.c51 #ifndef O_BINARY
52 #define O_BINARY 0 macro
114 open(path, O_CREAT|O_EXCL|O_RDWR|O_BINARY, 0600)) >= 0)
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/test/hash2.tests/
H A Dpasstest.c33 db = dbopen("/usr/tmp/passwd.db", O_RDWR|O_CREAT|O_TRUNC|O_BINARY, 0664, DB_HASH, in main()
69 db = dbopen("/usr/tmp/passwd.db", O_RDWR|O_BINARY, 0664, DB_HASH, &passwd); in main()
126 db = dbopen("/usr/tmp/passwd.db", O_RDWR|O_BINARY, 0664, DB_HASH, &passwd); in main()
154 db = dbopen("/usr/tmp/passwd.db", O_RDWR|O_BINARY, 0664, DB_HASH, &passwd); in main()
/freebsd/crypto/openssl/util/
H A Dcopy.pl68 sysopen(IN, $_, O_RDONLY|O_BINARY) || die "Can't Open $_";
69 sysopen(OUT, $dfile, O_WRONLY|O_CREAT|O_TRUNC|O_BINARY)
/freebsd/contrib/sendmail/libsm/
H A Dstdio.c93 #ifdef O_BINARY
95 oflags |= O_BINARY;
433 #ifdef O_BINARY
435 oflags |= O_BINARY;
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_open_filename.c66 #ifndef O_BINARY
67 #define O_BINARY 0 macro
287 setmode(0, O_BINARY); in file_open()
292 fd = open(filename, O_RDONLY | O_BINARY | O_CLOEXEC); in file_open()
302 fd = _wopen(wfilename, O_RDONLY | O_BINARY); in file_open()
307 fd = _wopen(fullpath, O_RDONLY | O_BINARY); in file_open()
H A Darchive_write_open_filename.c51 #ifndef O_BINARY
52 #define O_BINARY 0 macro
144 flags = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY | O_CLOEXEC; in file_open()
/freebsd/usr.bin/bsdiff/bspatch/
H A Dbspatch.c47 #ifndef O_BINARY macro
48 #define O_BINARY 0
135 if ((oldfd = open(argv[1], O_RDONLY | O_BINARY, 0)) < 0) in main()
147 O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0666)) < 0) in main()
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/recno/
H A Drec_open.c69 if (fname != NULL && (rfd = open(fname, flags | O_BINARY, mode)) < 0) in __rec_open()
91 O_RDWR | O_BINARY, S_IRUSR | S_IWUSR, &btopeninfo, dflags); in __rec_open()
93 dbp = __bt_open(NULL, O_RDWR | O_BINARY, S_IRUSR | S_IWUSR, NULL, dflags); in __rec_open()
/freebsd/crypto/openssl/crypto/rand/
H A Drandfile.c206 #ifndef O_BINARY in RAND_write_file()
207 #define O_BINARY 0 in RAND_write_file() macro
213 int fd = open(file, O_WRONLY | O_CREAT | O_BINARY, 0600); in RAND_write_file()
/freebsd/contrib/libpcap/testprogs/
H A Dfiltertest.c85 #ifndef O_BINARY
86 #define O_BINARY 0 macro
96 fd = open(fname, O_RDONLY|O_BINARY); in read_infile()
H A Dvalgrindtest.c133 #ifndef O_BINARY
134 #define O_BINARY 0 macro
144 fd = open(fname, O_RDONLY|O_BINARY); in read_infile()
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/test/SEQ_TEST/
H A Dt.c25 if ((dbp = dbopen("test.db",O_RDWR | O_CREAT | O_BINARY, 0664 in main()
45 if ((dbp = dbopen("test.db", O_RDWR | O_BINARY, 0664 in main()
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_read_large.c77 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY); in DEFINE_TEST()
79 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0755); in DEFINE_TEST()
H A Dtest_read_data_large.c95 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY); in DEFINE_TEST()
97 tmpfilefd = open(tmpfilename, O_WRONLY | O_CREAT | O_BINARY, 0777); in DEFINE_TEST()
H A Dtest_open_fd.c47 fd = open("test.tar", O_RDWR | O_CREAT | O_BINARY); in DEFINE_TEST()
49 fd = open("test.tar", O_RDWR | O_CREAT | O_BINARY, 0777); in DEFINE_TEST()
/freebsd/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c43 #ifndef O_BINARY macro
44 #define O_BINARY 0
140 if(((fd=open(argv[1],O_RDONLY|O_BINARY,0))<0) || in main()
161 if(((fd=open(argv[2],O_RDONLY|O_BINARY,0))<0) || in main()
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/include/
H A Ddb-int.h280 #ifndef O_BINARY
281 #define O_BINARY 0 /* Needed for Win32 compiles */ macro
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPort.h136 #ifndef O_BINARY
137 #define O_BINARY 0 macro
H A DGCDAProfiling.c305 fd = open(filename, O_RDWR | O_BINARY); in llvm_gcda_start_file()
309 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644); in llvm_gcda_start_file()
315 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_BINARY, 0644); in llvm_gcda_start_file()
321 fd = open(filename, O_RDWR | O_BINARY); in llvm_gcda_start_file()
/freebsd/crypto/heimdal/lib/krb5/
H A Dkrb5_locl.h208 #ifndef O_BINARY
209 #define O_BINARY 0 macro
H A Dfcache.c258 fd = open(filename, O_RDWR | O_BINARY); in _krb5_erase_file()
430 ret = fcc_open(context, id, &fd, O_RDWR | O_CREAT | O_EXCL | O_BINARY | O_CLOEXEC, 0600); in fcc_initialize()
505 ret = fcc_open(context, id, &fd, O_WRONLY | O_APPEND | O_BINARY | O_CLOEXEC, 0); in fcc_store_cred()
552 ret = fcc_open(context, id, &fd, O_RDONLY | O_BINARY | O_CLOEXEC, 0); in init_fcc()
979 ret = fcc_open(context, from, &fd1, O_RDONLY | O_BINARY | O_CLOEXEC, 0); in fcc_move()
986 O_WRONLY | O_CREAT | O_EXCL | O_BINARY | O_CLOEXEC, 0600); in fcc_move()
1055 ret = fcc_open(context, id, &fd, O_RDONLY | O_BINARY | O_CLOEXEC, 0); in fcc_lastchange()
/freebsd/contrib/xz/src/xz/
H A Dfile_io.c64 #ifndef O_BINARY
65 # define O_BINARY 0 macro
520 setmode(STDIN_FILENO, O_BINARY); in io_open_src_real()
561 int flags = O_RDONLY | O_BINARY | O_NOCTTY; in io_open_src_real()
857 setmode(STDOUT_FILENO, O_BINARY); in io_open_dest_real()
967 int flags = O_WRONLY | O_BINARY | O_NOCTTY in io_open_dest_real()

12345