| /src/lib/libc/stdio/ |
| fopen.c | 60 int flags, oflags; local 63 if ((flags = __sflags(mode, &oflags)) == 0) 67 if ((f = open(file, oflags, DEFFILEMODE)) < 0) 98 if (oflags & O_APPEND)
|
| fdopen.c | 67 int flags, oflags, fdflags, tmp; local 83 if ((flags = __sflags(mode, &oflags)) == 0) 90 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { 95 if (oflags & O_REGULAR) { 114 if ((oflags & O_APPEND) && !(fdflags & O_APPEND))
|
| freopen.c | 67 int flags, isopen, oflags, sverrno, wantfd; local 73 if ((flags = __sflags(mode, &oflags)) == 0) { 106 f = open(file, oflags, DEFFILEMODE); 112 f = open(file, oflags, DEFFILEMODE); 185 if (oflags & O_APPEND)
|
| fmemopen.c | 174 int flags, oflags; local 181 flags = __sflags(mode, &oflags); 185 if ((oflags & O_RDWR) == 0 && buf == NULL) 207 if (oflags & O_TRUNC) 220 cookie->cur = (oflags & O_APPEND) ? cookie->eob : cookie->head;
|
| /src/usr.sbin/lptctl/ |
| lptctl.c | 53 int omode, mode, oflags, flags; local 68 oflags = flags; 144 if (flags != oflags) {
|
| /src/usr.sbin/lpr/lpd/ |
| ttcompat.c | 168 int oflags = sttygetoflags(tp) & ~flags; local 187 sttysetoflags(tp, oflags); 197 int oflags = sttygetoflags(tp) | flags; local 215 sttysetoflags(tp, oflags); 225 int oflags = sttygetoflags(tp) & ~flags; local 250 sttysetoflags(tp, oflags); 260 int oflags = sttygetoflags(tp) | flags; local 285 sttysetoflags(tp, oflags);
|
| /src/usr.sbin/sysinst/ |
| mbr.h | 64 uint oflags; member in struct:mbr_info_t
|
| /src/external/gpl3/gdb/dist/sim/m32c/ |
| syscalls.c | 200 int oflags = arg (2); local 205 printf ("open(\"%s\",0x%x,%#o) = ", buf, oflags, cflags); 209 rv = callbacks->open (callbacks, buf, oflags); 214 if (oflags & 0x0001) 216 if (oflags & 0x0002) 218 if (oflags & 0x0200) 220 if (oflags & 0x0008) 222 if (oflags & 0x0400)
|
| /src/external/gpl3/gdb/dist/sim/rx/ |
| syscalls.c | 163 int oflags, cflags; local 168 Hence the oflags and cflags arguments will be on the stack and we need 171 oflags = arg (); 176 printf ("open(\"%s\",0x%x,%#o) = ", buf, oflags, cflags); 180 rv = callbacks->open (callbacks, buf, oflags); 185 if (oflags & 0x0001) 187 if (oflags & 0x0002) 189 if (oflags & 0x0200) 191 if (oflags & 0x0008) 193 if (oflags & 0x0400 [all...] |
| /src/external/gpl3/gdb.old/dist/sim/m32c/ |
| syscalls.c | 200 int oflags = arg (2); local 205 printf ("open(\"%s\",0x%x,%#o) = ", buf, oflags, cflags); 209 rv = callbacks->open (callbacks, buf, oflags); 214 if (oflags & 0x0001) 216 if (oflags & 0x0002) 218 if (oflags & 0x0200) 220 if (oflags & 0x0008) 222 if (oflags & 0x0400)
|
| /src/external/gpl3/gdb.old/dist/sim/rx/ |
| syscalls.c | 163 int oflags, cflags; local 168 Hence the oflags and cflags arguments will be on the stack and we need 171 oflags = arg (); 176 printf ("open(\"%s\",0x%x,%#o) = ", buf, oflags, cflags); 180 rv = callbacks->open (callbacks, buf, oflags); 185 if (oflags & 0x0001) 187 if (oflags & 0x0002) 189 if (oflags & 0x0200) 191 if (oflags & 0x0008) 193 if (oflags & 0x0400 [all...] |
| /src/lib/libc/resolv/ |
| res_query.c | 153 u_int oflags; local 156 oflags = statp->_flags; 191 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) {
|
| /src/sys/fs/sysvbfs/ |
| sysvbfs_vfsops.c | 172 int error, oflags; local 180 oflags = FREAD; 182 oflags |= FWRITE; 183 if ((error = VOP_OPEN(devvp, oflags, NOCRED)) != 0) 191 VOP_CLOSE(devvp, oflags, NOCRED);
|
| /src/sys/net80211/ |
| ieee80211_crypto.c | 274 int oflags; local 317 oflags = key->wk_flags; 367 key->wk_flags = oflags; /* restore old flags */ 404 oflags = key->wk_flags;
|
| /src/external/bsd/libbind/dist/resolv/ |
| res_query.c | 121 u_int oflags; local 125 oflags = statp->_flags; 161 ((oflags ^ statp->_flags) & RES_F_EDNS0ERR) != 0) {
|
| /src/sys/fs/v7fs/ |
| v7fs_vfsops.c | 213 int oflags; local 222 oflags = FREAD; 224 oflags |= FWRITE; 226 if ((error = VOP_OPEN(devvp, oflags, NOCRED)) != 0) { 242 int oflags = FREAD; local 245 oflags |= FWRITE; 247 VOP_CLOSE(devvp, oflags, NOCRED);
|
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| UnixAPIChecker.cpp | 230 // Now check if oflags has O_CREAT set. 238 NonLoc oflags = V.castAs<NonLoc>(); local 242 oflags, ocreateFlag,
|
| /src/external/bsd/am-utils/dist/amd/ |
| srvr_nfs.c | 518 int oflags = fs->fs_flags; local 542 if (oflags != fs->fs_flags && (fs->fs_flags & FSF_WANT))
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| spa_config.c | 172 int oflags = FWRITE | FTRUNC | FCREAT | FOFFMAX; local 197 err = vn_open(temp, UIO_SYSSPACE, oflags, 0644, &vp, CRCREAT, 0); 205 (void) VOP_CLOSE(vp, oflags, 1, 0, kcred, NULL);
|
| /src/tests/lib/libc/db/ |
| h_db.c | 107 int ch, oflags, sflag; local 114 oflags = O_CREAT | O_RDWR; 125 oflags |= DB_LOCK; 177 oflags, S_IRUSR | S_IWUSR, type, infop)) == NULL) 339 if (type == DB_BTREE && oflags & DB_LOCK)
|
| /src/usr.bin/vndcompress/ |
| vndcompress.c | 444 int oflags; local 446 oflags = (O_WRONLY | O_TRUNC | O_CREAT); 448 oflags = (O_RDWR | O_CREAT); 450 oflags = O_RDWR; 451 S->cloop2_fd = open(cloop2_pathname, oflags, 0777);
|
| /src/external/bsd/dhcpcd/dist/src/ |
| if.c | 164 short oflags; local 170 oflags = ifr.ifr_flags; 173 if (ifr.ifr_flags != oflags &&
|
| /src/external/bsd/nvi/dist/common/ |
| exf.c | 781 int fd, nf, noname, oflags, rval; local 858 oflags = O_CREAT | O_WRONLY | 868 if ((fd = open(name, oflags,
|
| /src/sbin/newfs_msdos/ |
| mkfs_msdos.c | 266 int oflags = O_RDWR | O_CREAT; local 285 oflags |= O_TRUNC; 286 fd = open(fname, oflags, 0644);
|
| /src/sys/dev/scsipi/ |
| st.c | 600 int slpintr, oflags; local 656 oflags = periph->periph_flags; 661 periph->periph_flags = oflags; /* restore flags */
|