| /freebsd-12-stable/usr.sbin/smbmsg/ |
| D | smbmsg.c | 59 static int oflag = -1; /* output data */ variable 148 if (iflag == -1 && oflag == 0) in do_io() 151 else if (iflag == 0 && oflag == -1) in do_io() 154 else if (iflag == 1 && oflag == -1) { in do_io() 161 } else if (iflag == -1 && oflag == 1) { in do_io() 168 if (iflag == 1 && oflag == -1) { in do_io() 175 } else if (iflag == -1 && oflag == 1) { in do_io() 179 } else if (wflag && iflag == 2 && oflag == -1) { in do_io() 186 } else if (wflag && iflag == -1 && oflag == 2) { in do_io() 190 } else if (wflag && iflag == 2 && oflag == 2) { in do_io() [all …]
|
| /freebsd-12-stable/sys/kern/ |
| D | tty_compat.c | 280 tcflag_t oflag = tp->t_termios.c_oflag; in ttcompatgetflags() local 286 if (iflag&ICRNL || oflag&ONLCR) in ttcompatgetflags() 311 if (!(flags&RAW) && !(oflag&OPOST) && (cflag&(CSIZE|PARENB)) == CS8) in ttcompatgetflags() 317 if (oflag&TAB3) in ttcompatgetflags() 340 tcflag_t oflag = t->c_oflag; in ttcompatsetflags() local 352 oflag |= TAB3; in ttcompatsetflags() 354 oflag &= ~TAB3; in ttcompatsetflags() 361 oflag |= ONLCR; in ttcompatsetflags() 364 oflag &= ~ONLCR; in ttcompatsetflags() 381 oflag &= ~OPOST; in ttcompatsetflags() [all …]
|
| /freebsd-12-stable/tests/sys/cddl/zfs/bin/ |
| D | file_write.c | 48 int oflag = 0; in main() local 153 oflag = (O_RDWR|O_CREAT); in main() 155 oflag = (O_RDWR|O_APPEND); in main() 164 oflag = oflag | O_RSYNC; in main() 169 oflag = oflag | O_SYNC; in main() 176 if ((bigfd = open(filename, oflag, 0666)) == -1) { in main()
|
| /freebsd-12-stable/usr.bin/uudecode/ |
| D | uudecode.c | 72 static int base64, cflag, iflag, oflag, pflag, rflag, sflag; variable 91 if (oflag || rflag) in main() 104 oflag = 1; /* output to the specified file */ in main() 109 if (oflag) in main() 114 if (cflag || oflag) in main() 119 if (oflag) in main() 254 if (!oflag) in decode2() 279 if (oflag) { in decode2()
|
| /freebsd-12-stable/usr.bin/cmp/ |
| D | cmp.c | 104 int ch, fd1, fd2, oflag; in main() local 109 oflag = O_RDONLY; in main() 116 oflag |= O_NOFOLLOW; in main() 171 } else if ((fd1 = open(file1, oflag, 0)) < 0 && errno != EMLINK) { in main() 184 } else if ((fd2 = open(file2, oflag, 0)) < 0 && errno != EMLINK) { in main()
|
| /freebsd-12-stable/contrib/llvm-project/lldb/source/Host/common/ |
| D | PseudoTerminal.cpp | 61 llvm::Error PseudoTerminal::OpenFirstAvailablePrimary(int oflag) { in OpenFirstAvailablePrimary() argument 64 m_primary_fd = ::posix_openpt(oflag); in OpenFirstAvailablePrimary() 90 llvm::Error PseudoTerminal::OpenSecondary(int oflag) { in OpenSecondary() argument 94 m_secondary_fd = llvm::sys::RetryAfterSignal(-1, ::open, name.c_str(), oflag); in OpenSecondary()
|
| /freebsd-12-stable/libexec/getty/ |
| D | subr.c | 237 tcflag_t iflag, oflag, cflag, lflag; in set_flags() local 271 oflag = omode.c_oflag; in set_flags() 321 SET(oflag, ONLCR|OPOST); in set_flags() 324 CLR(oflag, ONLCR); in set_flags() 328 SET(oflag, OXTABS|OPOST); in set_flags() 330 CLR(oflag, OXTABS); in set_flags() 339 CLR(oflag, OPOST); in set_flags() 389 tmode.c_oflag = oflag; in set_flags()
|
| /freebsd-12-stable/usr.bin/diff3/ |
| D | diff3.c | 127 static int oflag; /* indicates whether to mark overlaps (-E or -X)*/ variable 534 if (!oflag || !overlap[n]) { in edscript() 558 if (!oflag || !overlap[n]) in edscript() 622 oflag = 0; in main() 640 oflag = 1; in main() 646 oflag = 1; in main() 653 oflag = 1; in main() 663 oflag = 1; in main() 679 oflag = 1; in main() 703 if (oflag) { in main()
|
| /freebsd-12-stable/usr.bin/grep/ |
| D | util.c | 602 if ((color == NULL && !oflag) || qflag || lflag || in procline() 622 if (!wflag && ((color == NULL && !oflag) || qflag || lflag || Lflag)) in procline() 749 if (oflag && matchall) in printline() 755 if ((oflag || color) && matchidx > 0) { in printline() 757 if (!oflag && pc->printed == 0) in printline() 768 if (oflag) { in printline() 781 if (oflag) in printline() 784 if (!oflag) { in printline()
|
| /freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Host/ |
| D | PseudoTerminal.h | 129 llvm::Error OpenFirstAvailablePrimary(int oflag); 150 llvm::Error OpenSecondary(int oflag);
|
| /freebsd-12-stable/usr.bin/finger/ |
| D | finger.c | 93 int entries, gflag, lflag, pplan, oflag; variable 138 oflag = 0; /* remote host info */ in option() 141 oflag = 1; /* office info */ in option() 185 oflag = 1; /* default to old "office" behavior */ in main()
|
| D | sprint.c | 92 oflag ? "Office Phone" : "Where"); in sflag_print() 148 if (oflag) { in sflag_print()
|
| D | extern.h | 46 extern int oflag;
|
| /freebsd-12-stable/bin/dd/ |
| D | args.c | 410 static const struct oflag { struct 422 struct oflag *op, tmp; in f_oflag() argument 426 op = bsearch(&tmp, olist, nitems(olist), sizeof(struct oflag), in f_oflag() 438 return (strcmp(((const struct oflag *)a)->name, in c_oflag() 439 ((const struct oflag *)b)->name)); in c_oflag()
|
| /freebsd-12-stable/sbin/shutdown/ |
| D | shutdown.c | 94 static int docycle, dohalt, dopower, doreboot, killflg, mbuflen, oflag; variable 164 oflag = 1; in main() 185 if (oflag && !(dohalt || dopower || doreboot || docycle)) in main() 188 if (nosync != NULL && !oflag) in main() 385 if (!oflag) { in die_you_gravy_sucking_pig_dog()
|
| /freebsd-12-stable/contrib/tcsh/ |
| D | sh.misc.c | 658 xopen(const char *path, int oflag, ...) in xopen() argument 662 if ((oflag & O_CREAT) == 0) { in xopen() 663 while ((res = open(path, oflag)) == -1 && errno == EINTR) in xopen() 670 va_start(ap, oflag); in xopen() 676 while ((res = open(path, oflag, mode)) == -1 && errno == EINTR) in xopen()
|
| /freebsd-12-stable/lib/libc/gen/ |
| D | sem.c | 222 _libc_sem_open_compat(const char *name, int oflag, ...) in _libc_sem_open_compat() argument 233 if ((oflag & O_CREAT) != 0) { in _libc_sem_open_compat() 236 va_start(ap, oflag); in _libc_sem_open_compat() 245 if (ksem_open(&semid, name, oflag, mode, value) == -1) in _libc_sem_open_compat()
|
| D | posix_spawn.c | 72 int oflag; member 73 #define fae_oflag fae_data.open.oflag 403 int fildes, const char * __restrict path, int oflag, mode_t mode) in posix_spawn_file_actions_addopen() argument 425 fae->fae_oflag = oflag; in posix_spawn_file_actions_addopen()
|
| /freebsd-12-stable/sys/contrib/octeon-sdk/ |
| D | cvmx-shmem.c | 300 struct cvmx_shmem_dscptr *cvmx_shmem_named_block_open(char *name, uint32_t size, int oflag) in cvmx_shmem_named_block_open() argument 324 if ((shmem_nblk == NULL) && (oflag & CVMX_SHMEM_O_CREAT)) in cvmx_shmem_named_block_open() 419 if (oflag & CVMX_SHMEM_O_WRONLY) in cvmx_shmem_named_block_open() 421 if (oflag & CVMX_SHMEM_O_RDWR) in cvmx_shmem_named_block_open()
|
| /freebsd-12-stable/usr.sbin/iostat/ |
| D | iostat.c | 148 static int dflag = 0, Iflag = 0, Cflag = 0, Tflag = 0, oflag = 0, Kflag = 0; variable 239 oflag++; in main() 310 else if (oflag > 0) { in main() 747 if (oflag > 0) in phdr() 765 if (oflag > 0) { in phdr() 931 } else if (oflag > 0) { in devstats()
|
| /freebsd-12-stable/sys/contrib/zlib/ |
| D | gzlib.c | 103 int oflag; local 225 oflag = 248 fd == -2 ? _wopen(path, oflag, 0666) : 250 open((const char *)path, oflag, 0666));
|
| /freebsd-12-stable/contrib/byacc/ |
| D | main.c | 39 static char oflag; variable 159 if (oflag) in done() 468 oflag = 1; in create_file_names()
|
| /freebsd-12-stable/sys/contrib/zstd/zlibWrapper/ |
| D | gzlib.c | 101 int oflag; local 223 oflag = 246 fd == -2 ? _wopen(path, oflag, 0666) : 248 open((const char *)path, oflag, 0666));
|
| /freebsd-12-stable/sys/sys/ |
| D | _semaphore.h | 48 int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode,
|
| /freebsd-12-stable/lib/librt/ |
| D | mq.c | 85 __mq_open(const char *name, int oflag, mode_t mode, in __mq_open() argument 95 mq->oshandle = __sys_kmq_open(name, oflag, mode, attr); in __mq_open()
|