Searched refs:oflag (Results 1 - 25 of 57) sorted by relevance

123

/freebsd-10.2-release/usr.sbin/smbmsg/
H A Dsmbmsg.c57 static int oflag = -1; /* output data */ variable
144 if (iflag == -1 && oflag == 0)
147 else if (iflag == 0 && oflag == -1)
150 else if (iflag == 1 && oflag == -1) {
157 } else if (iflag == -1 && oflag == 1) {
164 if (iflag == 1 && oflag == -1) {
172 } else if (iflag == -1 && oflag == 1) {
176 } else if (wflag && iflag == 2 && oflag == -1) {
184 } else if (wflag && iflag == -1 && oflag == 2) {
188 } else if (wflag && iflag == 2 && oflag
[all...]
/freebsd-10.2-release/contrib/llvm/tools/lldb/include/lldb/Utility/
H A DPseudoTerminal.h158 /// Opens the first available pseudo terminal with \a oflag as the
169 /// @param[in] oflag
170 /// Flags to use when calling \c posix_openpt(\a oflag).
186 OpenFirstAvailableMaster (int oflag, char *error_str, size_t error_len);
202 /// @param[in] oflag
203 /// Flags to use when calling \c open(\a oflag).
219 OpenSlave (int oflag, char *error_str, size_t error_len);
/freebsd-10.2-release/usr.bin/finger/
H A Dextern.h44 extern int oflag;
H A Dfinger.c91 int entries, gflag, lflag, pplan, oflag; variable
136 oflag = 0; /* remote host info */
139 oflag = 1; /* office info */
183 oflag = 1; /* default to old "office" behavior */
H A Dsprint.c90 oflag ? "Office Phone" : "Where");
146 if (oflag) {
/freebsd-10.2-release/usr.bin/cmp/
H A Dcmp.c67 int ch, fd1, fd2, oflag, special; local
70 oflag = O_RDONLY;
74 oflag |= O_NOFOLLOW;
110 else if ((fd1 = open(file1, oflag, 0)) < 0 && errno != EMLINK) {
124 else if ((fd2 = open(file2, oflag, 0)) < 0 && errno != EMLINK) {
/freebsd-10.2-release/sys/kern/
H A Dtty_compat.c278 tcflag_t oflag = tp->t_termios.c_oflag; local
284 if (iflag&ICRNL || oflag&ONLCR)
309 if (!(flags&RAW) && !(oflag&OPOST) && (cflag&(CSIZE|PARENB)) == CS8)
315 if (oflag&TAB3)
338 tcflag_t oflag = t->c_oflag; local
350 oflag |= TAB3;
352 oflag &= ~TAB3;
359 oflag |= ONLCR;
362 oflag &= ~ONLCR;
379 oflag
415 tcflag_t oflag = t->c_oflag; local
[all...]
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Core/
H A DConnectionSharedMemory.cpp135 int oflag = O_RDWR; local
137 oflag |= O_CREAT;
138 m_fd = ::shm_open (m_name.c_str(), oflag, S_IRUSR|S_IWUSR);
/freebsd-10.2-release/sys/sys/
H A D_semaphore.h46 int ksem_open(semid_t *idp, const char *name, int oflag, mode_t mode,
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Utility/
H A DPseudoTerminal.cpp101 PseudoTerminal::OpenFirstAvailableMaster (int oflag, char *error_str, size_t error_len) argument
107 m_master_fd = ::posix_openpt (oflag);
148 PseudoTerminal::OpenSlave (int oflag, char *error_str, size_t error_len) argument
161 m_slave_fd = ::open (slave_name, oflag);
/freebsd-10.2-release/sbin/nvmecontrol/
H A Dperftest.c85 bool nflag, oflag, sflag, tflag; local
88 nflag = oflag = sflag = tflag = false;
123 oflag = true;
166 if (!nflag || !oflag || !sflag || !tflag || optind >= argc)
/freebsd-10.2-release/sys/contrib/octeon-sdk/
H A Dcvmx-shmem.h109 struct cvmx_shmem_dscptr *cvmx_shmem_named_block_open(char *name, uint32_t size, int oflag);
H A Dcvmx-shmem.c300 struct cvmx_shmem_dscptr *cvmx_shmem_named_block_open(char *name, uint32_t size, int oflag) argument
324 if ((shmem_nblk == NULL) && (oflag & CVMX_SHMEM_O_CREAT))
419 if (oflag & CVMX_SHMEM_O_WRONLY)
421 if (oflag & CVMX_SHMEM_O_RDWR)
/freebsd-10.2-release/usr.bin/uudecode/
H A Duudecode.c70 static int base64, cflag, iflag, oflag, pflag, rflag, sflag; variable
89 if (oflag || rflag)
102 oflag = 1; /* output to the specified file */
107 if (oflag)
112 if (cflag || oflag)
117 if (oflag)
252 if (!oflag)
277 if (oflag) {
/freebsd-10.2-release/contrib/llvm/tools/lldb/source/Host/common/
H A DFile.cpp248 int oflag = 0; local
254 oflag |= O_RDWR;
256 oflag |= O_WRONLY;
259 oflag |= O_APPEND;
262 oflag |= O_TRUNC;
265 oflag |= O_CREAT;
268 oflag |= O_CREAT | O_EXCL;
272 oflag |= O_RDONLY;
276 oflag |= O_NOFOLLOW;
282 oflag |
[all...]
/freebsd-10.2-release/libexec/getty/
H A Dsubr.c239 tcflag_t iflag, oflag, cflag, lflag; local
273 oflag = omode.c_oflag;
323 SET(oflag, ONLCR|OPOST);
326 CLR(oflag, ONLCR);
330 SET(oflag, OXTABS|OPOST);
332 CLR(oflag, OXTABS);
341 CLR(oflag, OPOST);
391 tmode.c_oflag = oflag;
/freebsd-10.2-release/sbin/shutdown/
H A Dshutdown.c91 static int dohalt, dopower, doreboot, killflg, mbuflen, oflag; variable
158 oflag = 1;
179 if (oflag && !(dohalt || dopower || doreboot))
182 if (nosync != NULL && !oflag)
376 if (!oflag) {
/freebsd-10.2-release/usr.bin/grep/
H A Dutil.c327 if ((color == NULL && !oflag) ||
339 if (!wflag && ((color == NULL && !oflag) || qflag || lflag))
466 if ((oflag || color) && m > 0) {
468 if (!oflag)
480 if (oflag)
483 if (!oflag) {
/freebsd-10.2-release/usr.bin/xlint/xlint/
H A Dxlint.c107 static int iflag, oflag, Cflag, sflag, tflag, Fflag, dflag, Bflag, Sflag; variable
112 /* filename for oflag */
457 if (Cflag || oflag || iflag)
488 if (Cflag || oflag)
490 oflag = 1;
568 if (!oflag) {
579 if (oflag)
624 if (oflag) {
627 oflag = 0;
/freebsd-10.2-release/lib/libc/gen/
H A Dposix_spawn.c69 int oflag; member in struct:__posix_spawn_file_actions_entry::__anon5773::__anon5774
70 #define fae_oflag fae_data.open.oflag
288 int fildes, const char * __restrict path, int oflag, mode_t mode)
310 fae->fae_oflag = oflag;
287 posix_spawn_file_actions_addopen(posix_spawn_file_actions_t * __restrict fa, int fildes, const char * __restrict path, int oflag, mode_t mode) argument
H A Dsem.c220 _libc_sem_open_compat(const char *name, int oflag, ...) argument
231 if ((oflag & O_CREAT) != 0) {
234 va_start(ap, oflag);
240 * we can be lazy and let the kernel handle the "oflag",
243 if (ksem_open(&semid, name, oflag, mode, value) == -1)
/freebsd-10.2-release/contrib/tcsh/
H A Dsh.misc.c608 xopen(const char *path, int oflag, ...) argument
612 if ((oflag & O_CREAT) == 0) {
613 while ((res = open(path, oflag)) == -1 && errno == EINTR)
619 va_start(ap, oflag);
625 while ((res = open(path, oflag, mode)) == -1 && errno == EINTR)
/freebsd-10.2-release/usr.sbin/iostat/
H A Diostat.c139 int dflag = 0, Iflag = 0, Cflag = 0, Tflag = 0, oflag = 0, Kflag = 0; variable
227 oflag++;
298 else if (oflag > 0) {
686 if (oflag > 0)
704 if (oflag > 0) {
860 } else if (oflag > 0) {
/freebsd-10.2-release/lib/libz/
H A Dgzlib.c101 int oflag; local
223 oflag =
246 fd == -2 ? _wopen(path, oflag, 0666) :
248 open((const char *)path, oflag, 0666));
/freebsd-10.2-release/sbin/sysctl/
H A Dsysctl.c74 static int Nflag, nflag, oflag, qflag, Tflag, Wflag, xflag; variable
109 aflag = oflag = 1;
139 oflag = 1;
930 if (!oflag && !xflag) {

Completed in 139 milliseconds

123