Searched refs:omode (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-11-stable/libexec/getty/
H A Dinit.c58 { "er", &omode.c_cc[VERASE] }, /* erase character */
59 { "kl", &omode.c_cc[VKILL] }, /* kill character */
60 { "et", &omode.c_cc[VEOF] }, /* eof chatacter (eot) */
67 { "in", &omode.c_cc[VINTR] }, /* interrupt char */
68 { "qu", &omode.c_cc[VQUIT] }, /* quit char */
69 { "xn", &omode.c_cc[VSTART] }, /* XON (start) char */
70 { "xf", &omode.c_cc[VSTOP] }, /* XOFF (stop) char */
71 { "bk", &omode.c_cc[VEOL] }, /* brk char (alt \n) */
72 { "su", &omode.c_cc[VSUSP] }, /* suspend char */
73 { "ds", &omode
[all...]
H A Dextern.h38 extern struct termios tmode, omode;
H A Dsubr.c273 iflag = omode.c_iflag;
274 oflag = omode.c_oflag;
275 cflag = omode.c_cflag;
276 lflag = omode.c_lflag;
H A Dmain.c90 struct termios omode; variable in typeref:struct:termios
464 omode = tmode; /* fill c_cc for dogettytab() */
480 omode = tmode;
/freebsd-11-stable/bin/mkdir/
H A Dmkdir.c65 mode_t omode; local
69 omode = pflag = 0;
93 omode = S_IRWXU | S_IRWXG | S_IRWXO;
97 omode = getmode(set, S_IRWXU | S_IRWXG | S_IRWXO);
103 success = build(*argv, omode);
104 } else if (mkdir(*argv, omode) < 0) {
125 if (success == 1 && mode != NULL && chmod(*argv, omode) == -1) {
139 build(char *path, mode_t omode) argument
179 if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) {
/freebsd-11-stable/tests/sys/file/
H A Dfcntlflags_test.c44 subtests(const char *path, int omode, const char *omodetext) argument
48 fd = open(path, omode);
58 else if ((flags1 & CORRECT_O_ACCMODE) == omode)
64 testnum++, flags1, CORRECT_O_ACCMODE, omode);
/freebsd-11-stable/contrib/sendmail/libsmutil/
H A Dsafefile.c671 ** omode -- the open-style mode flags.
680 safeopen(fn, omode, cmode, sff)
682 int omode;
695 sm_dprintf("safeopen: fn=%s, omode=%x, cmode=%x, sff=%lx\n",
696 fn, omode, cmode, sff);
698 if (bitset(O_CREAT, omode))
700 omode &= ~O_CREAT;
701 switch (omode & O_ACCMODE)
731 omode |= O_CREAT | (bitset(SFF_NOTEXCL, sff) ? 0 : O_EXCL);
732 else if (bitset(SFF_CREAT, sff) && bitset(O_EXCL, omode))
[all...]
/freebsd-11-stable/usr.bin/truncate/
H A Dtruncate.c58 mode_t omode; local
115 omode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
120 if ((fd = open(fname, oflags, omode)) == -1) {
/freebsd-11-stable/lib/libc/gen/
H A Dsetmode.c87 getmode(const void *bbox, mode_t omode) argument
93 newmode = omode;
141 if (omode & (S_IFDIR|S_IXUSR|S_IXGRP|S_IXOTH))
148 (void)printf("getmode:%04o -> %04o\n", omode, newmode);
/freebsd-11-stable/contrib/sendmail/libsmdb/
H A Dsmdb.c125 int omode = fcntl(fd, F_GETFL, NULL);
128 syslog(LOG_ERR, "cannot lockf(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
129 filename, ext, fd, type, omode, euid);
145 int omode = fcntl(fd, F_GETFL, NULL);
148 syslog(LOG_ERR, "cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
149 filename, ext, fd, type, omode, euid);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_zyfer.c212 int omode; /* Operation mode */ local
274 &tmode, &tfom, &omode) != 8) {
286 if (omode != 1) {
H A Dntp_refclock.c886 int omode; local
894 omode = O_RDWR;
896 omode |= O_NONBLOCK;
899 omode |= O_NOCTTY;
902 fd = open(dev, omode, 0777);
/freebsd-11-stable/bin/rcp/
H A Drcp.c498 int amt, exists, first, mask, mode, ofd, omode; local
638 omode = mode;
689 if (exists || omode != mode)
690 if (fchmod(ofd, omode))
694 if (!exists && omode != mode)
695 if (fchmod(ofd, omode & ~mask))
/freebsd-11-stable/crypto/heimdal/appl/rcp/
H A Drcp.c421 int amt, count, exists, first, mask, mode, ofd, omode; local
562 omode = mode;
610 if (exists || omode != mode)
611 if (fchmod(ofd, omode))
615 if (!exists && omode != mode)
616 if (fchmod(ofd, omode & ~mask))
/freebsd-11-stable/contrib/sendmail/src/
H A Dbf.c69 # define OPEN(fn, omode, cmode, sff) open(fn, omode, cmode)
71 # define OPEN(fn, omode, cmode, sff) safeopen(fn, omode, cmode, sff)
H A Dmap.c1747 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
1755 if (map->map_class->map_open(map, omode))
1759 if ((omode & O_ACCMODE) == O_RDWR)
2048 int omode; variable
2079 omode = mode;
2116 omode |= O_CREAT|O_EXCL;
2122 omode |= O_TRUNC|O_EXLOCK;
2124 omode |= O_SHLOCK;
2132 fd = open(buf, omode, DBMMODE);
2167 omode |
2396 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
2729 int fd, status, omode, smode; local
[all...]
H A Dconf.c3669 int omode = fcntl(fd, F_GETFL, 0); local
3673 syserr("cannot lockf(%s%s, fd=%d, type=%o, omode=%o, euid=%ld)",
3674 filename, ext, fd, type, omode, (long) euid);
3699 int omode = fcntl(fd, F_GETFL, 0); local
3703 syserr("cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%ld)",
3704 filename, ext, fd, type, omode, (long) euid);
/freebsd-11-stable/crypto/openssh/
H A Dscp.c930 mode_t mode, omode, mask; local
1104 omode = mode;
1165 if (exists || omode != mode)
1167 if (fchmod(ofd, omode)) {
1169 if (chmod(np, omode)) {
1176 if (!exists && omode != mode)
1178 if (fchmod(ofd, omode & ~mask)) {
1180 if (chmod(np, omode & ~mask)) {
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_vnops.c875 int omode = 0755; local
895 RL(fd[i] = rump_sys_open(TESTFILE, oflags, omode));
897 omode = 0;
/freebsd-11-stable/contrib/gcc/
H A Demit-rtl.c607 validate_subreg (enum machine_mode omode, enum machine_mode imode,
611 unsigned int osize = GET_MODE_SIZE (omode);
625 if (omode == word_mode)
634 && GET_MODE_INNER (imode) == omode)
641 else if (VECTOR_MODE_P (omode) && GET_MODE_INNER (omode) == imode)
646 else if (FLOAT_MODE_P (imode) || FLOAT_MODE_P (omode))
666 && GET_MODE_INNER (imode) == omode)
668 else if (REG_CANNOT_CHANGE_MODE_P (regno, imode, omode))
672 return subreg_offset_representable_p (regno, imode, offset, omode);
606 validate_subreg(enum machine_mode omode, enum machine_mode imode, rtx reg, unsigned int offset) argument
[all...]
H A Dloop-iv.c906 enum machine_mode omode = mode; local
940 omode = GET_MODE (op0);
974 && !iv_analyze_expr (insn, op0, omode, &iv0))
978 && !iv_analyze_expr (insn, op1, omode, &iv1))
H A Dcombine.c9450 gen_lowpart_for_combine (enum machine_mode omode, rtx x)
9453 unsigned int osize = GET_MODE_SIZE (omode);
9457 if (omode == imode)
9461 if (omode == Pmode
9469 if (GET_MODE_SIZE (omode) > UNITS_PER_WORD
9488 if (imode == omode)
9494 result = gen_lowpart_common (omode, x);
9517 return gen_rtx_SUBREG (omode, x, 0);
9527 return adjust_address_nv (x, omode, offset);
9533 return gen_rtx_fmt_ee (GET_CODE (x), omode, XEX
9411 gen_lowpart_for_combine(enum machine_mode omode, rtx x) argument
[all...]
H A Dvarasm.c2276 enum machine_mode omode, imode;
2282 omode = mode_for_size (subsize * BITS_PER_UNIT, MODE_INT, 0);
2287 rtx partial = simplify_subreg (omode, x, imode, i);
2266 enum machine_mode omode, imode; local
/freebsd-11-stable/usr.bin/xinstall/
H A Dxinstall.c624 int omode; local
633 omode = mode;
649 mode = omode;
/freebsd-11-stable/usr.sbin/ppp/
H A Dbundle.c1689 int omode; local
1691 omode = dl->physical->type;
1692 if (omode == mode)

Completed in 215 milliseconds

12