/freebsd-9.3-release/tools/regression/security/open_to_operation/ |
H A D | open_to_operation.c | 482 * ftruncate() should work as long as long as (mode & O_ACCMODE) is 510 if (((mode & O_ACCMODE) == O_WRONLY) || 511 ((mode & O_ACCMODE) == O_RDWR)) 525 if (((mode & O_ACCMODE) == O_WRONLY) || 526 ((mode & O_ACCMODE) == O_RDWR)) { 541 if (((mode & O_ACCMODE) == O_WRONLY) || 542 ((mode & O_ACCMODE) == O_RDWR)) 554 if (((mode & O_ACCMODE) == O_WRONLY) || 555 ((mode & O_ACCMODE) == O_RDWR)) { 568 if (((mode & O_ACCMODE) [all...] |
/freebsd-9.3-release/lib/libc/stdio/ |
H A D | fdopen.c | 75 tmp = fdflags & O_ACCMODE; 76 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
|
H A D | freopen.c | 97 if ((dflags & O_ACCMODE) != O_RDWR && (dflags & O_ACCMODE) != 98 (oflags & O_ACCMODE)) {
|
/freebsd-9.3-release/cddl/lib/libdtrace/ |
H A D | io.d | 81 * F_GET[X]FL command, such as: if ((fi_oflags & O_ACCMODE) == O_WRONLY). 83 inline int O_ACCMODE = 0x0003; 84 #pragma D binding "1.1" O_ACCMODE
|
/freebsd-9.3-release/contrib/binutils/bfd/ |
H A D | sysdep.h | 100 #ifndef O_ACCMODE 101 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) macro
|
/freebsd-9.3-release/tools/regression/lib/libc/stdio/ |
H A D | test-fopen.c | 35 * O_ACCMODE is currently defined incorrectly. This is what it should be. 38 #define CORRECT_O_ACCMODE (O_ACCMODE | O_EXEC)
|
/freebsd-9.3-release/crypto/heimdal/lib/roken/ |
H A D | roken-common.h | 119 #ifndef O_ACCMODE 120 #define O_ACCMODE 003 macro
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | inflow.c | 443 #ifndef O_ACCMODE macro 444 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) 446 /* (O_ACCMODE) parens are to avoid Ultrix header file bug */ 447 switch (flags & (O_ACCMODE)) 459 flags &= ~(O_ACCMODE);
|
/freebsd-9.3-release/contrib/cvs/src/ |
H A D | myndbm.c | 27 # ifndef O_ACCMODE 28 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) macro 29 # endif /* defined O_ACCMODE */ 45 fp = CVS_FOPEN (file, (flags & O_ACCMODE) != O_RDONLY ?
|
/freebsd-9.3-release/contrib/sendmail/libsm/ |
H A D | stdio.c | 441 tmp = fdflags & O_ACCMODE; 442 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) 495 switch (flags & O_ACCMODE)
|
/freebsd-9.3-release/lib/libc/db/recno/ |
H A D | rec_open.c | 122 switch (flags & O_ACCMODE) { 135 switch (flags & O_ACCMODE) {
|
/freebsd-9.3-release/sys/kern/ |
H A D | uipc_shm.c | 526 if ((uap->flags & O_ACCMODE) != O_RDONLY && 527 (uap->flags & O_ACCMODE) != O_RDWR) 530 if ((uap->flags & ~(O_ACCMODE | O_CREAT | O_EXCL | O_TRUNC)) != 0) 543 if ((uap->flags & O_ACCMODE) == O_RDONLY) { 595 shmfd, FFLAGS(uap->flags & O_ACCMODE)); 599 FFLAGS(uap->flags & O_ACCMODE)); 608 (uap->flags & (O_ACCMODE | O_TRUNC)) == 629 finit(fp, FFLAGS(uap->flags & O_ACCMODE), DTYPE_SHM, shmfd, &shm_ops);
|
H A D | tty_pts.c | 836 error = pts_alloc(FFLAGS(uap->flags & O_ACCMODE), td, fp);
|
/freebsd-9.3-release/crypto/heimdal/lib/hdb/ |
H A D | db3.c | 259 if((flags & O_ACCMODE) == O_RDONLY) 305 if((flags & O_ACCMODE) == O_RDONLY) 314 (flags & O_ACCMODE) == O_RDONLY ?
|
H A D | db.c | 282 if((flags & O_ACCMODE) == O_RDONLY) 293 (flags & O_ACCMODE) == O_RDONLY ?
|
H A D | ndbm.c | 317 if((flags & O_ACCMODE) == O_RDONLY) 326 (flags & O_ACCMODE) == O_RDONLY ?
|
/freebsd-9.3-release/sys/sys/ |
H A D | fcntl.h | 76 #define O_ACCMODE 0x0003 /* mask for above modes */ macro
|
/freebsd-9.3-release/lib/libc/db/btree/ |
H A D | bt_open.c | 188 switch (flags & O_ACCMODE) { 203 if ((flags & O_ACCMODE) != O_RDWR)
|
/freebsd-9.3-release/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 702 switch (omode & O_ACCMODE) 799 switch (omode & O_ACCMODE) 963 if ((omode & O_ACCMODE) != O_RDONLY)
|
/freebsd-9.3-release/bin/cat/ |
H A D | cat.c | 333 switch(flags & O_ACCMODE) {
|
/freebsd-9.3-release/lib/libc/db/hash/ |
H A D | hash.c | 106 if ((flags & O_ACCMODE) == O_WRONLY) { 128 statbuf.st_size == 0 && (flags & O_ACCMODE) != O_RDONLY; 540 if ((hashp->flags & O_ACCMODE) == O_RDONLY) { 559 if ((hashp->flags & O_ACCMODE) == O_RDONLY) {
|
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | map.c | 985 mode &= O_ACCMODE; 1423 mode &= O_ACCMODE; 1483 if ((mode & O_ACCMODE) == O_RDWR) 1713 if ((omode & O_ACCMODE) == O_RDWR) 2032 mode &= O_ACCMODE; 2362 if ((omode & O_ACCMODE) == O_RDWR) 2650 mode &= O_ACCMODE; 2912 mode &= O_ACCMODE; 3383 mode &= O_ACCMODE; 4998 mode &= O_ACCMODE; [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | keytab_krb4.c | 98 if((flags & O_ACCMODE) == O_RDONLY)
|
/freebsd-9.3-release/lib/libutil/ |
H A D | quotafile.c | 139 qf->accmode = openflags & O_ACCMODE;
|
/freebsd-9.3-release/sys/dev/filemon/ |
H A D | filemon_wrapper.c | 303 (uap->flags & O_ACCMODE) ? 'W':'R',
|