bin/dd/args.c
431
oflag = f_ioflag(arg, C_OFLAG);
bin/dd/dd.c
208
if ((oflag & O_TRUNC) && (ddflags & C_SEEK)) {
bin/dd/dd.c
213
if ((oflag & O_TRUNC) && (ddflags & C_NOTRUNC)) {
bin/dd/dd.c
220
(oflag | (ddflags & (C_SEEK | C_NOTRUNC) ? 0 : O_TRUNC))
bin/dd/dd.c
88
u_int oflag = O_CREAT; /* open(2) flags for output file */
bin/dd/extern.h
77
extern u_int oflag;
common/dist/zlib/gzlib.c
136
oflag |= O_CLOEXEC;
common/dist/zlib/gzlib.c
161
oflag |= O_NONBLOCK;
common/dist/zlib/gzlib.c
229
oflag |=
common/dist/zlib/gzlib.c
248
state->fd = open((const char *)path, oflag, 0666);
common/dist/zlib/gzlib.c
251
state->fd = _wopen(path, oflag, _S_IREAD | _S_IWRITE);
common/dist/zlib/gzlib.c
255
if (oflag & O_NONBLOCK)
common/dist/zlib/gzlib.c
259
if (oflag & O_CLOEXEC)
common/dist/zlib/gzlib.c
90
int oflag = 0;
lib/libc/gen/fts.c
652
int oflag;
lib/libc/gen/fts.c
667
oflag = DTF_NODUP|DTF_REWIND;
lib/libc/gen/fts.c
669
oflag = DTF_HIDEW|DTF_NODUP|DTF_REWIND;
lib/libc/gen/fts.c
673
if ((dirp = __opendir2(cur->fts_accpath, oflag)) == NULL) {
lib/libc/gen/posix_spawn_fileactions.c
105
int fildes, const char * __restrict path, int oflag, mode_t mode)
lib/libc/gen/posix_spawn_fileactions.c
125
fa->fae[i].fae_oflag = oflag;
lib/libc/nls/catopen.c
101
if (oflag == NL_CAT_LOCALE) {
lib/libc/nls/catopen.c
71
catopen(const char *name, int oflag)
lib/libc/nls/catopen.c
74
return catopen_l(name, oflag, _current_locale());
lib/libc/nls/catopen.c
78
catopen_l(const char *name, int oflag, locale_t loc)
lib/libc/stdlib/posix_openpt.c
42
posix_openpt(int oflag)
lib/libc/stdlib/posix_openpt.c
45
return open("/dev/ptmx", oflag);
lib/libc/time/localtime.c
337
static int openat(int dd, char const *path, int oflag) { unreachable (); }
lib/libm/softfloat/feupdateenv.c
47
fexcept_t oflag;
lib/libm/softfloat/feupdateenv.c
49
fegetexceptflag(&oflag, FE_ALL_EXCEPT);
lib/libm/softfloat/feupdateenv.c
55
feraiseexcept(oflag);
lib/librmt/rmtlib.c
249
_rmt_open(const char *path, int oflag, int mode)
lib/librmt/rmtlib.c
380
(void)snprintf(buffer, sizeof(buffer), "O%s\n%d\n", device, oflag);
lib/librmt/rmtlib.c
627
rmtopen(const char *path, int oflag, ...)
lib/librmt/rmtlib.c
632
va_start(ap, oflag);
lib/librmt/rmtlib.c
640
fd = _rmt_open(path, oflag, (int)mode);
lib/librmt/rmtlib.c
644
return open(path, oflag, mode);
lib/librt/sem.c
268
sem_open(const char *name, int oflag, ...)
lib/librt/sem.c
280
if (oflag & O_CREAT) {
lib/librt/sem.c
281
va_start(ap, oflag);
lib/librt/sem.c
291
if (_ksem_open(name, oflag, mode, value, &semid) == -1)
lib/librt/shm.c
122
shm_open(const char *name, int oflag, mode_t mode)
lib/librt/shm.c
129
return open(path, oflag | O_CLOEXEC | O_NOFOLLOW, mode);
libexec/getty/subr.c
188
tcflag_t iflag, oflag, cflag, lflag;
libexec/getty/subr.c
244
oflag = omode.c_oflag;
libexec/getty/subr.c
289
SET(oflag, ONLCR|OPOST);
libexec/getty/subr.c
292
CLR(oflag, ONLCR);
libexec/getty/subr.c
296
SET(oflag, OXTABS|OPOST);
libexec/getty/subr.c
298
CLR(oflag, OXTABS);
libexec/getty/subr.c
307
CLR(oflag, OPOST);
libexec/getty/subr.c
357
tmode.c_oflag = oflag;
libexec/getty/subr.c
369
tcflag_t iflag, oflag, cflag, lflag;
libexec/getty/subr.c
372
oflag = OPOST|ONLCR|OXTABS;
libexec/getty/subr.c
386
SET(oflag, ONLCR);
libexec/getty/subr.c
389
CLR(oflag, ONLCR);
libexec/getty/subr.c
392
SET(oflag, OXTABS);
libexec/getty/subr.c
394
CLR(oflag, OXTABS);
libexec/getty/subr.c
470
SET(oflag, OPOST);
libexec/getty/subr.c
472
CLR(oflag, OPOST);
libexec/getty/subr.c
477
SET(oflag, OPOST);
libexec/getty/subr.c
481
tmode.c_oflag = oflag;
sbin/nvmectl/perftest.c
133
oflag = true;
sbin/nvmectl/perftest.c
176
if (!nflag || !oflag || !sflag || !tflag || optind >= argc)
sbin/nvmectl/perftest.c
95
bool nflag, oflag, sflag, tflag;
sbin/nvmectl/perftest.c
98
nflag = oflag = sflag = tflag = false;
sbin/swapctl/swapctl.c
143
static int oflag; /* only autoset dump device */
sbin/swapctl/swapctl.c
241
oflag = 1;
sbin/swapctl/swapctl.c
303
if (fflag && oflag)
sbin/swapctl/swapctl.c
465
if (fflag || oflag) {
sbin/swapctl/swapctl.c
467
if (oflag)
share/examples/refuse/ian/libfetch/ftp.c
1104
int oflag;
share/examples/refuse/ian/libfetch/ftp.c
1139
oflag = O_WRONLY;
share/examples/refuse/ian/libfetch/ftp.c
1141
oflag = O_RDONLY;
share/examples/refuse/ian/libfetch/ftp.c
1144
return (_ftp_transfer(conn, op, url->doc, oflag, url->offset, flags));
sys/arch/sgimips/stand/undist/undist.c
1038
oflag = 1;
sys/arch/sgimips/stand/undist/undist.c
70
static int oflag; /* ignore idb 'off' & build ourselves */
sys/arch/sgimips/stand/undist/undist.c
753
if (oflag || extract_parameter("off", parambuf) == NULL)
sys/compat/common/tty_43.c
289
tcflag_t oflag = tp->t_oflag;
sys/compat/common/tty_43.c
297
if (ISSET(iflag, ICRNL) || ISSET(oflag, ONLCR))
sys/compat/common/tty_43.c
321
if (!ISSET(oflag, OPOST))
sys/compat/common/tty_43.c
331
if (ISSET(oflag, OXTABS))
sys/compat/common/tty_43.c
357
tcflag_t oflag = t->c_oflag;
sys/compat/common/tty_43.c
371
SET(oflag, ONLCR);
sys/compat/common/tty_43.c
374
CLR(oflag, ONLCR);
sys/compat/common/tty_43.c
377
SET(oflag, OXTABS);
sys/compat/common/tty_43.c
379
CLR(oflag, OXTABS);
sys/compat/common/tty_43.c
422
SET(oflag, OPOST);
sys/compat/common/tty_43.c
424
CLR(oflag, OPOST);
sys/compat/common/tty_43.c
429
SET(oflag, OPOST);
sys/compat/common/tty_43.c
433
t->c_oflag = oflag;
sys/compat/common/tty_43.c
443
tcflag_t oflag = t->c_oflag;
sys/compat/common/tty_43.c
490
SET(oflag, OPOST);
sys/compat/common/tty_43.c
492
CLR(oflag, OPOST);
sys/compat/common/tty_43.c
497
SET(oflag, OPOST);
sys/compat/common/tty_43.c
501
t->c_oflag = oflag;
sys/compat/linux/arch/aarch64/linux_syscallargs.h
798
syscallarg(int) oflag;
sys/compat/linux/arch/aarch64/linux_systrace_args.c
1269
iarg[1] = SCARG(p, oflag); /* int */
sys/compat/linux/arch/alpha/linux_syscallargs.h
1078
syscallarg(int) oflag;
sys/compat/linux/arch/amd64/linux_syscallargs.h
968
syscallarg(int) oflag;
sys/compat/linux/arch/amd64/linux_systrace_args.c
1679
iarg[1] = SCARG(p, oflag); /* int */
sys/compat/linux/arch/arm/linux_syscallargs.h
1034
syscallarg(int) oflag;
sys/compat/linux/arch/arm/linux_systrace_args.c
1768
iarg[1] = SCARG(p, oflag); /* int */
sys/compat/linux/arch/i386/linux_syscallargs.h
1081
syscallarg(int) oflag;
sys/compat/linux/arch/i386/linux_systrace_args.c
1831
iarg[1] = SCARG(p, oflag); /* int */
sys/compat/linux/arch/m68k/linux_syscallargs.h
1028
syscallarg(int) oflag;
sys/compat/linux/arch/mips/linux_syscallargs.h
1075
syscallarg(int) oflag;
sys/compat/linux/arch/powerpc/linux_syscallargs.h
967
syscallarg(int) oflag;
sys/compat/linux/common/linux_mqueue.c
86
int error, oflag;
sys/compat/linux/common/linux_mqueue.c
88
oflag = linux_to_bsd_ioflags(SCARG(uap, oflag));
sys/compat/linux/common/linux_mqueue.c
90
if ((oflag & O_CREAT) != 0 && SCARG(uap, attr) != NULL) {
sys/compat/linux/common/linux_mqueue.c
98
return mq_handle_open(l, SCARG(uap, name), oflag,
sys/compat/netbsd32/netbsd32.h
1203
int oflag;
sys/compat/netbsd32/netbsd32_mqueue.c
64
if ((SCARG(uap, oflag) & O_CREAT) && SCARG_P32(uap, attr) != NULL) {
sys/compat/netbsd32/netbsd32_mqueue.c
72
return mq_handle_open(l, SCARG_P32(uap, name), SCARG(uap, oflag),
sys/compat/netbsd32/netbsd32_sem.c
100
SCARG(uap, oflag), SCARG(uap, mode), SCARG(uap, value),
sys/compat/netbsd32/netbsd32_syscallargs.h
1314
syscallarg(int) oflag;
sys/compat/netbsd32/netbsd32_syscallargs.h
1365
syscallarg(int) oflag;
sys/compat/netbsd32/netbsd32_systrace_args.c
1776
iarg[1] = SCARG(p, oflag); /* int */
sys/compat/netbsd32/netbsd32_systrace_args.c
1845
iarg[1] = SCARG(p, oflag); /* int */
sys/kern/sys_mqueue.c
414
int oflag, mqueue_t **mqret)
sys/kern/sys_mqueue.c
462
mq->mq_attrib.mq_flags = (O_MASK & oflag);
sys/kern/sys_mqueue.c
478
mq_handle_open(struct lwp *l, const char *u_name, int oflag, mode_t mode,
sys/kern/sys_mqueue.c
510
fp->f_flag = FFLAGS(oflag) & (FREAD | FWRITE);
sys/kern/sys_mqueue.c
513
if (oflag & O_CREAT) {
sys/kern/sys_mqueue.c
515
error = mqueue_create(l, name, attr, mode, oflag, &mq_new);
sys/kern/sys_mqueue.c
530
if (oflag & O_EXCL) {
sys/kern/sys_mqueue.c
548
if ((oflag & O_CREAT) == 0) {
sys/kern/sys_mqueue.c
604
if ((SCARG(uap, oflag) & O_EXEC) != 0)
sys/kern/sys_mqueue.c
607
if ((SCARG(uap, oflag) & O_CREAT) != 0 && SCARG(uap, attr) != NULL) {
sys/kern/sys_mqueue.c
614
return mq_handle_open(l, SCARG(uap, name), SCARG(uap, oflag),
sys/kern/sys_select.c
812
const int oflag = l->l_selflag;
sys/kern/sys_select.c
819
if (__predict_false(events == 0 || oflag == SEL_RESET)) {
sys/kern/sys_select.c
882
int index, oflag;
sys/kern/sys_select.c
900
oflag = l->l_selflag;
sys/kern/sys_select.c
915
if (oflag == SEL_BLOCKING && l->l_mutex == lock) {
sys/kern/systrace_args.c
1837
iarg[1] = SCARG(p, oflag); /* int */
sys/kern/systrace_args.c
1906
iarg[1] = SCARG(p, oflag); /* int */
sys/kern/tty.c
936
long oflag;
sys/kern/tty.c
941
oflag = tp->t_oflag;
sys/kern/tty.c
942
if (!ISSET(oflag, OPOST)) {
sys/kern/tty.c
957
ISSET(oflag, OXTABS) && !ISSET(tp->t_lflag, EXTPROC)) {
sys/kern/tty.c
970
if (c == CEOT && ISSET(oflag, ONOEOT))
sys/kern/uipc_sem.c
635
return do_ksem_open(l, SCARG(uap, name), SCARG(uap, oflag),
sys/kern/uipc_sem.c
640
do_ksem_open(struct lwp *l, const char *semname, int oflag, mode_t mode,
sys/kern/uipc_sem.c
683
if (oflag & O_CREAT) {
sys/kern/uipc_sem.c
701
if (oflag & O_EXCL) {
sys/kern/uipc_sem.c
720
if ((oflag & O_CREAT) == 0) {
sys/rump/librump/rumpkern/rump_syscalls.c
2765
rump___sysimpl__ksem_open(const char * name, int oflag, mode_t mode, unsigned int value, intptr_t * idp)
sys/rump/librump/rumpkern/rump_syscalls.c
2774
SPARG(&callarg, oflag) = oflag;
sys/sys/spawn.h
59
int oflag;
sys/sys/spawn.h
60
#define fae_oflag fae_data.open.oflag
sys/sys/syscallargs.h
1599
syscallarg(int) oflag;
sys/sys/syscallargs.h
1651
syscallarg(int) oflag;
tests/lib/libpthread/t_call_once.c
50
static once_flag oflag = ONCE_FLAG_INIT;
tests/lib/libpthread/t_call_once.c
63
call_once(&oflag, called_once);
usr.bin/config/gram.y
199
%type <flag> fflags fflag oflags oflag
usr.bin/config/gram.y
495
| oflags oflag { $$ = $1 | $2; }
usr.bin/config/gram.y
499
oflag:
usr.bin/diff3/diff3.c
136
static int oflag; /* indicates whether to mark overlaps (-E or -X) */
usr.bin/diff3/diff3.c
599
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
606
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
643
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
668
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
687
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
738
if (!oflag || !overlap[n]) {
usr.bin/diff3/diff3.c
856
oflag = 0;
usr.bin/diff3/diff3.c
874
oflag = 1;
usr.bin/diff3/diff3.c
880
oflag = 1;
usr.bin/diff3/diff3.c
887
oflag = 1;
usr.bin/diff3/diff3.c
897
oflag = 1;
usr.bin/diff3/diff3.c
920
oflag = 1;
usr.bin/diff3/diff3.c
933
if (oflag) {
usr.bin/finger/extern.h
39
extern int oflag;
usr.bin/finger/finger.c
118
oflag = 1; /* default to old "office" behavior */
usr.bin/finger/finger.c
135
oflag = 0; /* remote host info */
usr.bin/finger/finger.c
138
oflag = 1; /* office info */
usr.bin/finger/finger.c
96
int entries, gflag, lflag, mflag, oflag, sflag, eightflag, pplan;
usr.bin/finger/sprint.c
140
if (oflag) {
usr.bin/finger/sprint.c
97
(oflag) ? "Office Office Phone" : "Where");
usr.bin/grep/fastgrep.c
179
!oflag && !color) {
usr.bin/grep/grep.c
110
bool oflag; /* -o: print only matching part */
usr.bin/grep/grep.c
532
oflag = true;
usr.bin/grep/grep.h
118
bflag, cflag, hflag, iflag, lflag, mflag, nflag, oflag,
usr.bin/grep/util.c
345
if ((color != NULL && !oflag) || qflag || lflag)
usr.bin/grep/util.c
354
if ((color != NULL && !oflag) || qflag || lflag)
usr.bin/grep/util.c
473
if ((oflag || color) && m > 0) {
usr.bin/grep/util.c
475
if (!oflag)
usr.bin/grep/util.c
488
if (oflag)
usr.bin/grep/util.c
491
if (!oflag) {
usr.bin/ktrace/ktrace.c
274
int oflag = fcntl(fd, F_GETFL, 0);
usr.bin/ktrace/ktrace.c
276
if (oflag == -1)
usr.bin/ktrace/ktrace.c
278
if (fcntl(fd, F_SETFL, oflag & ~flag) == -1)
usr.bin/midirecord/midirecord.c
139
oflag++; /* time stamp starts at proc start */
usr.bin/midirecord/midirecord.c
334
if (prev_div == 0 && !oflag)
usr.bin/midirecord/midirecord.c
66
static int aflag, qflag, oflag;
usr.bin/mkdep/mkdep.c
214
int aflag, dflag, iflag, oflag, qflag;
usr.bin/mkdep/mkdep.c
236
oflag = 0;
usr.bin/mkdep/mkdep.c
267
oflag = 1;
usr.bin/mkdep/mkdep.c
449
if (oflag)
usr.bin/mkdep/mkdep.c
456
if (oflag && opt != NULL) {
usr.bin/nc/netcat.c
121
char *oflag; /* OCSP stapling file */
usr.bin/nc/netcat.c
370
oflag = optarg;
usr.bin/nc/netcat.c
457
if (oflag && !Cflag)
usr.bin/nc/netcat.c
556
if (oflag && tls_config_set_ocsp_staple_file(tls_cfg, oflag) == -1)
usr.bin/xargs/xargs.c
162
oflag = 1;
usr.bin/xargs/xargs.c
554
if (oflag) {
usr.bin/xargs/xargs.c
78
static int count, insingle, indouble, oflag, pflag, tflag, Rflag, rval, zflag;
usr.sbin/lpr/lpd/ttcompat.c
101
tcflag_t oflag = tp->c_oflag;
usr.sbin/lpr/lpd/ttcompat.c
145
SET(oflag, OPOST);
usr.sbin/lpr/lpd/ttcompat.c
147
CLR(oflag, OPOST);
usr.sbin/lpr/lpd/ttcompat.c
152
SET(oflag, OPOST);
usr.sbin/lpr/lpd/ttcompat.c
156
tp->c_oflag = oflag;
usr.sbin/lpr/lpd/ttcompat.c
165
tcflag_t oflag = tp->c_oflag;
usr.sbin/lpr/lpd/ttcompat.c
176
CLR(oflag, ONLCR);
usr.sbin/lpr/lpd/ttcompat.c
179
CLR(oflag, OXTABS);
usr.sbin/lpr/lpd/ttcompat.c
183
tp->c_oflag = oflag;
usr.sbin/lpr/lpd/ttcompat.c
194
tcflag_t oflag = tp->c_oflag;
usr.sbin/lpr/lpd/ttcompat.c
205
SET(oflag, ONLCR);
usr.sbin/lpr/lpd/ttcompat.c
208
SET(oflag, OXTABS);
usr.sbin/lpr/lpd/ttcompat.c
211
tp->c_oflag = oflag;
usr.sbin/lpr/lpd/ttcompat.c
222
tcflag_t oflag = tp->c_oflag;
usr.sbin/lpr/lpd/ttcompat.c
246
tp->c_oflag = oflag;
usr.sbin/lpr/lpd/ttcompat.c
257
tcflag_t oflag = tp->c_oflag;
usr.sbin/lpr/lpd/ttcompat.c
281
tp->c_oflag = oflag;
usr.sbin/lpr/lpd/ttcompat.c
65
tcflag_t oflag = tp->c_oflag;
usr.sbin/lpr/lpd/ttcompat.c
81
if (!ISSET(oflag, OPOST))