Home
last modified time | relevance | path

Searched refs:omode (Results 1 – 25 of 29) sorted by relevance

12

/trueos/libexec/getty/
HDinit.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.c_cc[VDSUSP] }, /* delayed suspend */
[all …]
HDsubr.c272 iflag = omode.c_iflag; in set_flags()
273 oflag = omode.c_oflag; in set_flags()
274 cflag = omode.c_cflag; in set_flags()
275 lflag = omode.c_lflag; in set_flags()
HDextern.h38 extern struct termios tmode, omode;
HDmain.c90 struct termios omode; variable
462 omode = tmode; /* fill c_cc for dogettytab() */ in defttymode()
478 omode = tmode; in defttymode()
/trueos/bin/mkdir/
HDmkdir.c65 mode_t omode; in main() local
69 omode = pflag = 0; in main()
93 omode = S_IRWXU | S_IRWXG | S_IRWXO; in main()
97 omode = getmode(set, S_IRWXU | S_IRWXG | S_IRWXO); in main()
103 success = build(*argv, omode); in main()
104 } else if (mkdir(*argv, omode) < 0) { in main()
125 if (success == 1 && mode != NULL && chmod(*argv, omode) == -1) { in main()
139 build(char *path, mode_t omode) in build() argument
179 if (mkdir(path, last ? omode : S_IRWXU | S_IRWXG | S_IRWXO) < 0) { in build()
/trueos/contrib/sendmail/libsmutil/
HDsafefile.c681 safeopen(fn, omode, cmode, sff) in safeopen() argument
683 int omode;
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))
741 truncate = bitset(O_TRUNC, omode);
743 omode &= ~O_TRUNC;
[all …]
/trueos/tests/sys/file/
HDfcntlflags_test.c44 subtests(const char *path, int omode, const char *omodetext) in subtests() argument
48 fd = open(path, omode); in subtests()
58 else if ((flags1 & CORRECT_O_ACCMODE) == omode) in subtests()
64 testnum++, flags1, CORRECT_O_ACCMODE, omode); in subtests()
/trueos/usr.bin/truncate/
HDtruncate.c56 mode_t omode; in main() local
113 omode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; in main()
118 if ((fd = open(fname, oflags, omode)) == -1) { in main()
/trueos/contrib/sendmail/libsmdb/
HDsmdb.c125 int omode = fcntl(fd, F_GETFL, NULL);
129 filename, ext, fd, type, omode, euid);
145 int omode = fcntl(fd, F_GETFL, NULL);
149 filename, ext, fd, type, omode, euid);
/trueos/contrib/ntp/ntpd/
HDrefclock_zyfer.c209 int omode; /* Operation mode */ in zyfer_receive() local
277 &tmode, &tfom, &omode) != 8) { in zyfer_receive()
289 if (omode != 1) { in zyfer_receive()
HDntp_refclock.c783 int omode; in refclock_open() local
788 omode = O_RDWR; in refclock_open()
790 omode |= O_NONBLOCK; in refclock_open()
793 omode |= O_NOCTTY; in refclock_open()
796 fd = open(dev, omode, 0777); in refclock_open()
/trueos/lib/libc/gen/
HDsetmode.c84 getmode(const void *bbox, mode_t omode) in getmode() argument
90 newmode = omode; in getmode()
138 if (omode & (S_IFDIR|S_IXUSR|S_IXGRP|S_IXOTH)) in getmode()
145 (void)printf("getmode:%04o -> %04o\n", omode, newmode); in getmode()
/trueos/bin/rcp/
HDrcp.c498 int amt, exists, first, mask, mode, ofd, omode; in sink() local
638 omode = mode; in sink()
689 if (exists || omode != mode) in sink()
690 if (fchmod(ofd, omode)) in sink()
694 if (!exists && omode != mode) in sink()
695 if (fchmod(ofd, omode & ~mask)) in sink()
/trueos/crypto/heimdal/appl/rcp/
HDrcp.c421 int amt, count, exists, first, mask, mode, ofd, omode; in sink() local
562 omode = mode; in sink()
610 if (exists || omode != mode) in sink()
611 if (fchmod(ofd, omode)) in sink()
615 if (!exists && omode != mode) in sink()
616 if (fchmod(ofd, omode & ~mask)) in sink()
/trueos/crypto/openssh/
HDscp.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)) {
/trueos/contrib/sendmail/src/
HDbf.c69 # define OPEN(fn, omode, cmode, sff) open(fn, omode, cmode) argument
71 # define OPEN(fn, omode, cmode, sff) safeopen(fn, omode, cmode, sff) argument
HDmap.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 |= O_TRUNC;
[all …]
HDconf.c3600 int omode = fcntl(fd, F_GETFL, 0); local
3605 filename, ext, fd, type, omode, euid);
3630 int omode = fcntl(fd, F_GETFL, 0); local
3635 filename, ext, fd, type, omode, euid);
/trueos/contrib/netbsd-tests/fs/vfs/
HDt_vnops.c797 int omode = 0755; in fcntl_getlock_pids() local
817 RL(fd[i] = rump_sys_open(TESTFILE, oflags, omode)); in fcntl_getlock_pids()
819 omode = 0; in fcntl_getlock_pids()
/trueos/contrib/gcc/
HDemit-rtl.c606 validate_subreg (enum machine_mode omode, enum machine_mode imode, in validate_subreg() argument
610 unsigned int osize = GET_MODE_SIZE (omode); in validate_subreg()
624 if (omode == word_mode) in validate_subreg()
633 && GET_MODE_INNER (imode) == omode) in validate_subreg()
640 else if (VECTOR_MODE_P (omode) && GET_MODE_INNER (omode) == imode) in validate_subreg()
645 else if (FLOAT_MODE_P (imode) || FLOAT_MODE_P (omode)) in validate_subreg()
665 && GET_MODE_INNER (imode) == omode) in validate_subreg()
667 else if (REG_CANNOT_CHANGE_MODE_P (regno, imode, omode)) in validate_subreg()
671 return subreg_offset_representable_p (regno, imode, offset, omode); in validate_subreg()
683 unsigned int low_off = subreg_lowpart_offset (omode, wmode); in validate_subreg()
HDloop-iv.c906 enum machine_mode omode = mode; in iv_analyze_expr() local
940 omode = GET_MODE (op0); in iv_analyze_expr()
974 && !iv_analyze_expr (insn, op0, omode, &iv0)) in iv_analyze_expr()
978 && !iv_analyze_expr (insn, op1, omode, &iv1)) in iv_analyze_expr()
HDcombine.c9411 gen_lowpart_for_combine (enum machine_mode omode, rtx x) in gen_lowpart_for_combine() argument
9414 unsigned int osize = GET_MODE_SIZE (omode); in gen_lowpart_for_combine()
9418 if (omode == imode) in gen_lowpart_for_combine()
9422 if (omode == Pmode in gen_lowpart_for_combine()
9430 if (GET_MODE_SIZE (omode) > UNITS_PER_WORD in gen_lowpart_for_combine()
9449 if (imode == omode) in gen_lowpart_for_combine()
9455 result = gen_lowpart_common (omode, x); in gen_lowpart_for_combine()
9478 return gen_rtx_SUBREG (omode, x, 0); in gen_lowpart_for_combine()
9488 return adjust_address_nv (x, omode, offset); in gen_lowpart_for_combine()
9494 return gen_rtx_fmt_ee (GET_CODE (x), omode, XEXP (x, 0), XEXP (x, 1)); in gen_lowpart_for_combine()
[all …]
/trueos/contrib/gcc/config/sparc/
HDpredicates.md95 enum machine_mode omode = GET_MODE (op);
97 if (omode != mode && omode != VOIDmode && mode != VOIDmode)
/trueos/usr.bin/xinstall/
HDxinstall.c615 int omode; in makelink() local
624 omode = mode; in makelink()
640 mode = omode; in makelink()
/trueos/usr.sbin/ppp/
HDbundle.c1687 int omode; in bundle_SetMode() local
1689 omode = dl->physical->type; in bundle_SetMode()
1690 if (omode == mode) in bundle_SetMode()

12