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

12

/freebsd-10.1-release/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.c286 iflag = omode.c_iflag;
287 oflag = omode.c_oflag;
288 cflag = omode.c_cflag;
289 lflag = omode.c_lflag;
H A Dmain.c90 struct termios omode; variable in typeref:struct:termios
462 omode = tmode; /* fill c_cc for dogettytab() */
478 omode = tmode;
/freebsd-10.1-release/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-10.1-release/tools/regression/file/fcntlflags/
H A Dfcntlflags.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-10.1-release/contrib/sendmail/libsmutil/
H A Dsafefile.c672 ** omode -- the open-style mode flags.
681 safeopen(fn, omode, cmode, sff)
683 int omode;
696 sm_dprintf("safeopen: fn=%s, omode=%x, cmode=%x, sff=%lx\n",
697 fn, omode, cmode, sff);
699 if (bitset(O_CREAT, omode))
701 omode &= ~O_CREAT;
702 switch (omode & O_ACCMODE)
732 omode |= O_CREAT | (bitset(SFF_NOTEXCL, sff) ? 0 : O_EXCL);
733 else if (bitset(SFF_CREAT, sff) && bitset(O_EXCL, omode))
[all...]
/freebsd-10.1-release/usr.bin/truncate/
H A Dtruncate.c56 mode_t omode; local
111 omode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;
116 if ((fd = open(fname, oflags, omode)) == -1) {
/freebsd-10.1-release/contrib/ntp/ntpd/
H A Drefclock_zyfer.c211 int omode; /* Operation mode */ local
269 &tmode, &tfom, &omode) != 8) {
281 if (omode != 1) {
H A Dntp_refclock.c741 int omode; local
749 omode = O_RDWR;
751 omode |= O_NONBLOCK;
754 omode |= O_NOCTTY;
757 fd = open(dev, omode, 0777);
/freebsd-10.1-release/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-10.1-release/lib/libc/gen/
H A Dsetmode.c82 getmode(const void *bbox, mode_t omode) argument
88 newmode = omode;
136 if (omode & (S_IFDIR|S_IXUSR|S_IXGRP|S_IXOTH))
143 (void)printf("getmode:%04o -> %04o\n", omode, newmode);
/freebsd-10.1-release/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-10.1-release/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-10.1-release/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.c1701 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
1709 if (map->map_class->map_open(map, omode))
1713 if ((omode & O_ACCMODE) == O_RDWR)
2002 int omode; variable
2033 omode = mode;
2070 omode |= O_CREAT|O_EXCL;
2076 omode |= O_TRUNC|O_EXLOCK;
2078 omode |= O_SHLOCK;
2086 fd = open(buf, omode, DBMMODE);
2121 omode |
2350 int omode = bitset(map->map_mflags, MF_WRITABLE) ? O_RDWR local
[all...]
H A Dconf.c3600 int omode = fcntl(fd, F_GETFL, 0); local
3604 syserr("cannot lockf(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
3605 filename, ext, fd, type, omode, euid);
3630 int omode = fcntl(fd, F_GETFL, 0); local
3634 syserr("cannot flock(%s%s, fd=%d, type=%o, omode=%o, euid=%d)",
3635 filename, ext, fd, type, omode, euid);
/freebsd-10.1-release/crypto/openssh/
H A Dscp.c913 mode_t mode, omode, mask; local
1083 omode = mode;
1146 if (exists || omode != mode)
1148 if (fchmod(ofd, omode)) {
1150 if (chmod(np, omode)) {
1157 if (!exists && omode != mode)
1159 if (fchmod(ofd, omode & ~mask)) {
1161 if (chmod(np, omode & ~mask)) {
/freebsd-10.1-release/usr.bin/xinstall/
H A Dxinstall.c615 int omode; local
624 omode = mode;
640 mode = omode;
/freebsd-10.1-release/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
H A Doptabs.c2409 lowpart_subreg_maybe_copy (enum machine_mode omode, rtx val,
2413 ret = lowpart_subreg (omode, val, imode);
2417 ret = lowpart_subreg (omode, val, imode);
2399 lowpart_subreg_maybe_copy(enum machine_mode omode, rtx val, enum machine_mode imode) argument
/freebsd-10.1-release/usr.sbin/ppp/
H A Dbundle.c1687 int omode; local
1689 omode = dl->physical->type;
1690 if (omode == mode)

Completed in 419 milliseconds

12