| /freebsd/contrib/expat/xmlwf/ |
| H A D | readfilemap.c | 75 #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 D | xmlfile.c | 76 #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 D | krbfileio.c | 43 #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 D | mkstemp.c | 51 #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 D | passtest.c | 33 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 D | copy.pl | 68 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 D | stdio.c | 93 #ifdef O_BINARY 95 oflags |= O_BINARY; 433 #ifdef O_BINARY 435 oflags |= O_BINARY;
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_read_open_filename.c | 66 #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 D | archive_write_open_filename.c | 51 #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 D | bspatch.c | 47 #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 D | rec_open.c | 69 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 D | randfile.c | 206 #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 D | filtertest.c | 85 #ifndef O_BINARY 86 #define O_BINARY 0 macro 96 fd = open(fname, O_RDONLY|O_BINARY); in read_infile()
|
| H A D | valgrindtest.c | 133 #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 D | t.c | 25 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 D | test_read_large.c | 77 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 D | test_read_data_large.c | 95 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 D | test_open_fd.c | 47 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 D | bsdiff.c | 43 #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 D | db-int.h | 280 #ifndef O_BINARY 281 #define O_BINARY 0 /* Needed for Win32 compiles */ macro
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
| H A D | InstrProfilingPort.h | 136 #ifndef O_BINARY 137 #define O_BINARY 0 macro
|
| H A D | GCDAProfiling.c | 305 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 D | krb5_locl.h | 208 #ifndef O_BINARY 209 #define O_BINARY 0 macro
|
| H A D | fcache.c | 258 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 D | file_io.c | 64 #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()
|