/src/games/hunt/hunt/ |
connect.c | 50 int32_t mode; local in function:do_connect 64 mode = C_MESSAGE; 69 mode = C_MONITOR; 72 mode = C_PLAYER; 73 mode = htonl(mode); 74 (void) write(huntsocket, &mode, sizeof mode);
|
connect.c | 50 int32_t mode; local in function:do_connect 64 mode = C_MESSAGE; 69 mode = C_MONITOR; 72 mode = C_PLAYER; 73 mode = htonl(mode); 74 (void) write(huntsocket, &mode, sizeof mode);
|
/src/usr.sbin/wsmoused/ |
config_yacc.y | 67 %type <block> main outermode mode 82 Can contain mode properties (common to all modes) and mode definitions. */ 95 /* Defines the aspect of a mode definition. Returns the block given by the 96 mode definition itself. */ 98 TK_MODE TK_STRING TK_LBRACE mode TK_RBRACE 106 /* Matches a mode and returns a block defining it. Contains properties */ 107 mode : label 111 | mode modeprop { block_add_prop($1, $2); } 115 /* Matches a mode property and returns a prop defining it. * [all...] |
config_yacc.y | 67 %type <block> main outermode mode 82 Can contain mode properties (common to all modes) and mode definitions. */ 95 /* Defines the aspect of a mode definition. Returns the block given by the 96 mode definition itself. */ 98 TK_MODE TK_STRING TK_LBRACE mode TK_RBRACE 106 /* Matches a mode and returns a block defining it. Contains properties */ 107 mode : label 111 | mode modeprop { block_add_prop($1, $2); } 115 /* Matches a mode property and returns a prop defining it. * [all...] |
/src/usr.bin/mkfifo/ |
mkfifo.c | 62 mode_t mode; local in function:main 66 /* The default mode is the value of the bitwise inclusive or of 69 mode = 0666 & ~umask(0); 75 err(1, "Cannot set file mode `%s'", optarg); 78 /* In symbolic mode strings, the + and - operators are 79 interpreted relative to an assumed initial mode of 81 mode = getmode(set, 0666); 94 if (mkfifo(*argv, mode) < 0) { 105 (void)fprintf(stderr, "usage: mkfifo [-m mode] fifoname ...\n");
|
mkfifo.c | 62 mode_t mode; local in function:main 66 /* The default mode is the value of the bitwise inclusive or of 69 mode = 0666 & ~umask(0); 75 err(1, "Cannot set file mode `%s'", optarg); 78 /* In symbolic mode strings, the + and - operators are 79 interpreted relative to an assumed initial mode of 81 mode = getmode(set, 0666); 94 if (mkfifo(*argv, mode) < 0) { 105 (void)fprintf(stderr, "usage: mkfifo [-m mode] fifoname ...\n");
|
/src/sys/arch/powerpc/include/ |
ofw_machdep.h | 41 * cell mode 43 * "mode" contains PTE WIMG bits. 52 uint32_t mode; member in struct:OF_translation
|
ofw_machdep.h | 41 * cell mode 43 * "mode" contains PTE WIMG bits. 52 uint32_t mode; member in struct:OF_translation
|
/src/lib/libquota/ |
quota_open.c | 50 int mode; local in function:quota_open 85 mode = QUOTA_MODE_NFS; 87 mode = QUOTA_MODE_KERNEL; 89 mode = QUOTA_MODE_OLDFILES; 122 qh->qh_mode = mode;
|
quota_open.c | 50 int mode; local in function:quota_open 85 mode = QUOTA_MODE_NFS; 87 mode = QUOTA_MODE_KERNEL; 89 mode = QUOTA_MODE_OLDFILES; 122 qh->qh_mode = mode;
|
/src/tests/lib/libc/c063/ |
t_mkdirat.c | 58 mode_t mode = 0755; local in function:ATF_TC_BODY 62 ATF_REQUIRE(mkdirat(dfd, BASESDIR, mode) != -1); 75 mode_t mode = 0755; local in function:ATF_TC_BODY 78 ATF_REQUIRE(mkdirat(AT_FDCWD, SDIR, mode) != -1); 90 mode_t mode = 0755; local in function:ATF_TC_BODY 92 ATF_REQUIRE(mkdirat(AT_FDCWD, SDIRERR, mode) == -1); 103 mode_t mode = 0755; local in function:ATF_TC_BODY 108 ATF_REQUIRE(mkdirat(-1, SDIR, mode) == -1);
|
t_mkdirat.c | 58 mode_t mode = 0755; local in function:ATF_TC_BODY 62 ATF_REQUIRE(mkdirat(dfd, BASESDIR, mode) != -1); 75 mode_t mode = 0755; local in function:ATF_TC_BODY 78 ATF_REQUIRE(mkdirat(AT_FDCWD, SDIR, mode) != -1); 90 mode_t mode = 0755; local in function:ATF_TC_BODY 92 ATF_REQUIRE(mkdirat(AT_FDCWD, SDIRERR, mode) == -1); 103 mode_t mode = 0755; local in function:ATF_TC_BODY 108 ATF_REQUIRE(mkdirat(-1, SDIR, mode) == -1);
|
/src/tests/lib/libc/sys/ |
t_access.c | 46 static const int mode[4] = { R_OK, W_OK, X_OK, F_OK }; variable in typeref:typename:const int[4] 66 for (i = 0; i < __arraycount(mode) - 1; i++) { 72 ATF_REQUIRE(access(path, mode[i]) != 0); 94 for (i = 0; i < __arraycount(mode); i++) { 98 ATF_REQUIRE(access(NULL, mode[i]) != 0); 103 ATF_REQUIRE(access((char *)-1, mode[i]) != 0); 133 for (i = 0; i < __arraycount(mode); i++) { 147 ATF_REQUIRE(access("/etc/passwd//", mode[i]) != 0); 162 for (i = 0; i < __arraycount(mode); i++) { 166 ATF_REQUIRE(access("", mode[i]) != 0) [all...] |
t_access.c | 46 static const int mode[4] = { R_OK, W_OK, X_OK, F_OK }; variable in typeref:typename:const int[4] 66 for (i = 0; i < __arraycount(mode) - 1; i++) { 72 ATF_REQUIRE(access(path, mode[i]) != 0); 94 for (i = 0; i < __arraycount(mode); i++) { 98 ATF_REQUIRE(access(NULL, mode[i]) != 0); 103 ATF_REQUIRE(access((char *)-1, mode[i]) != 0); 133 for (i = 0; i < __arraycount(mode); i++) { 147 ATF_REQUIRE(access("/etc/passwd//", mode[i]) != 0); 162 for (i = 0; i < __arraycount(mode); i++) { 166 ATF_REQUIRE(access("", mode[i]) != 0) [all...] |
/src/usr.bin/fstat/ |
fstat.h | 34 mode_t mode; member in struct:filestat
|
fstat.h | 34 mode_t mode; member in struct:filestat
|
/src/usr.sbin/lptctl/ |
lptctl.c | 53 int omode, mode, oflags, flags; local in function:main 70 if (ioctl(fd, LPTGMODE, &mode) == -1) 72 omode = mode; 85 } else if (strcmp("mode", argv[i]) == 0) { 87 mode = mode_standard; 89 mode = mode_ps2; 91 mode = mode_nibble; 93 mode = mode_fast; 95 mode = mode_ecp; 97 mode = mode_epp [all...] |
lptctl.c | 53 int omode, mode, oflags, flags; local in function:main 70 if (ioctl(fd, LPTGMODE, &mode) == -1) 72 omode = mode; 85 } else if (strcmp("mode", argv[i]) == 0) { 87 mode = mode_standard; 89 mode = mode_ps2; 91 mode = mode_nibble; 93 mode = mode_fast; 95 mode = mode_ecp; 97 mode = mode_epp [all...] |
/src/bin/mkdir/ |
mkdir.c | 66 mode_t mode, dir_mode; local in function:main 72 * The default file mode is a=rwx (0777) with selected permissions 73 * removed in accordance with the file mode creation mask. For 74 * intermediate path name components, the mode is the default modified 77 mode = (S_IRWXU | S_IRWXG | S_IRWXO) & ~umask(0); 78 dir_mode = mode | S_IWUSR | S_IXUSR; 88 err(EXIT_FAILURE, "Cannot set file mode `%s'", 92 mode = getmode(set, S_IRWXU | S_IRWXG | S_IRWXO); 120 if (mkpath(*argv, mode, dir_mode) < 0) 123 if (mkdir(*argv, mode) < 0) [all...] |
/src/common/dist/zlib/contrib/iostream/ |
zfstream.h | 36 short mode; member in class:gzfilebuf
|
/src/lib/libc/gdtoa/ |
g_dfmt.c | 46 int decpt, ex, i, mode; local in function:g_dfmt 89 mode = 2; 91 mode = 0; 95 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
|
g_ffmt.c | 46 int decpt, ex, i, mode; local in function:g_ffmt 86 mode = 2; 90 mode = 0; 93 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
|
g_xLfmt.c | 62 int decpt, ex, i, mode; local in function:g_xLfmt 107 mode = 2; 111 mode = 0; 113 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
|
/src/lib/libc/posix1e/ |
acl_strip.c | 48 mode_t mode = 0; local in function:_nfs4_acl_strip_np 58 __acl_nfs4_sync_mode_from_acl(&mode, &(aclp->ats_acl)); 59 __acl_nfs4_trivial_from_mode_libc(&(newacl->ats_acl), mode, canonical_six); 152 * mode. In other words, ACL is trivial iff it doesn't have "+" to the right 153 * of the mode bits in "ls -l" output ;-)
|
/src/sys/compat/sys/ |
ipc.h | 65 unsigned short mode; /* r/w permission */ member in struct:ipc_perm14 83 CVT(mode); 97 CVT(mode);
|