| /src/lib/libc/stdio/ |
| remove.c | 55 struct stat sb; local 59 if (lstat(file, &sb) < 0) 66 if (S_ISDIR(sb.st_mode))
|
| /src/lib/libutil/ |
| secure_path.c | 52 struct stat sb; local 60 if (lstat(path, &sb) < 0) 62 else if (!S_ISREG(sb.st_mode)) 64 else if (sb.st_uid != 0) 66 else if ((sb.st_mode & (S_IWGRP | S_IWOTH)) != 0)
|
| /src/external/gpl3/gdb/dist/sim/testsuite/cris/c/ |
| sched2.c | 13 struct sched_param sb; local 14 memset (&sb, -1, sizeof sb); 15 if (sched_getparam (getpid (), &sb) != 0 16 || sb.sched_priority != 0)
|
| sched3.c | 13 struct sched_param sb; local 14 sb.sched_priority = 0; 15 if (sched_setscheduler (getpid (), SCHED_OTHER, &sb) != 0 16 || sb.sched_priority != 0) 18 sb.sched_priority = 5; 19 if (sched_setscheduler (getpid (), SCHED_OTHER, &sb) != -1 21 || sb.sched_priority != 5)
|
| sched4.c | 13 struct sched_param sb; local 14 sb.sched_priority = 0; 15 if (sched_setparam (getpid (), &sb) != 0 16 || sb.sched_priority != 0) 18 sb.sched_priority = 5; 19 if (sched_setparam (getpid (), &sb) == 0 21 || sb.sched_priority != 5)
|
| sched8.c | 12 struct sched_param sb; local 13 memset (&sb, -1, sizeof sb); 14 if (sched_getparam (99, &sb) != -1
|
| /src/external/gpl3/gdb.old/dist/sim/testsuite/cris/c/ |
| sched2.c | 13 struct sched_param sb; local 14 memset (&sb, -1, sizeof sb); 15 if (sched_getparam (getpid (), &sb) != 0 16 || sb.sched_priority != 0)
|
| sched3.c | 13 struct sched_param sb; local 14 sb.sched_priority = 0; 15 if (sched_setscheduler (getpid (), SCHED_OTHER, &sb) != 0 16 || sb.sched_priority != 0) 18 sb.sched_priority = 5; 19 if (sched_setscheduler (getpid (), SCHED_OTHER, &sb) != -1 21 || sb.sched_priority != 5)
|
| sched4.c | 13 struct sched_param sb; local 14 sb.sched_priority = 0; 15 if (sched_setparam (getpid (), &sb) != 0 16 || sb.sched_priority != 0) 18 sb.sched_priority = 5; 19 if (sched_setparam (getpid (), &sb) == 0 21 || sb.sched_priority != 5)
|
| sched8.c | 12 struct sched_param sb; local 13 memset (&sb, -1, sizeof sb); 14 if (sched_getparam (99, &sb) != -1
|
| /src/lib/libc/compat/sys/ |
| compat___fhstatvfs140.c | 54 struct statvfs sb; local 55 int error = __fhstatvfs190(fhp, len, &sb, flags); 57 statvfs_to_statvfs90(&sb, buf);
|
| compat___fhstatvfs40.c | 53 struct statvfs sb; local 54 int error = __fhstatvfs190(fhp, len, &sb, 0); 56 statvfs_to_statvfs90(&sb, buf);
|
| compat_fhstatvfs.c | 54 struct statvfs sb; local 55 int error = __fhstatvfs190(fhp, FHANDLE30_SIZE, &sb, 0); 57 statvfs_to_statvfs90(&sb, buf);
|
| compat_fhstatvfs1.c | 55 struct statvfs sb; local 56 int error = __fhstatvfs190(fhp, FHANDLE30_SIZE, &sb, flags); 58 statvfs_to_statvfs90(&sb, buf);
|
| /src/sys/arch/alpha/stand/common/ |
| bootxx.c | 87 struct stat sb; local 102 if (fd == -1 || (fstat(fd, &sb) == -1)) { 107 if (sb.st_size > SECONDARY_MAX_LOAD) { 112 if (read(fd, (void*)SECONDARY_LOAD_ADDRESS, sb.st_size) != sb.st_size) {
|
| /src/sys/arch/evbmips/stand/sbmips/common/ |
| bootxx.c | 83 struct stat sb; local 99 if (fd == -1 || (fstat(fd, &sb) == -1)) { 104 if (sb.st_size > SECONDARY_MAX_LOAD) { 109 if (read(fd, (void*)SECONDARY_LOAD_ADDRESS, sb.st_size) != sb.st_size) {
|
| /src/sys/arch/sbmips/stand/common/ |
| bootxx.c | 83 struct stat sb; local 99 if (fd == -1 || (fstat(fd, &sb) == -1)) { 104 if (sb.st_size > SECONDARY_MAX_LOAD) { 109 if (read(fd, (void*)SECONDARY_LOAD_ADDRESS, sb.st_size) != sb.st_size) {
|
| /src/sys/dev/pci/ |
| emuxki_boards.c | 162 const struct emuxki_board *sb; local 166 sb = &emuxki_boards[i]; 169 if (vendor == sb->sb_vendor && product == sb->sb_product && 170 subsystem == sb->sb_subsystem && revision == sb->sb_revision) 171 return sb; 174 if (vendor == sb->sb_vendor && product == sb->sb_product && 175 subsystem == sb->sb_subsystem && sb->sb_revision == 0 [all...] |
| /src/usr.bin/crunch/crunchide/ |
| exec_coff.c | 61 struct stat sb; local 67 if (fstat(fd, &sb) == -1) 69 if (sb.st_size > SIZE_T_MAX)
|
| exec_ecoff.c | 59 struct stat sb; local 65 if (fstat(fd, &sb) == -1) 67 if (sb.st_size < (off_t)sizeof eh)
|
| /src/usr.bin/mesg/ |
| mesg.c | 64 struct stat sb; local 83 if (stat(tty, &sb) == -1) 87 if (sb.st_mode & S_IWGRP) { 97 if (chmod(tty, sb.st_mode | S_IWGRP) == -1) 101 if (chmod(tty, sb.st_mode & ~S_IWGRP) == -1)
|
| /src/usr.bin/patch/ |
| mkpath.c | 55 struct stat sb; local 68 if (stat(path, &sb)) { 74 } else if (!S_ISDIR(sb.st_mode)) {
|
| /src/crypto/external/bsd/heimdal/dist/lib/hcrypto/libtommath/ |
| bn_mp_add.c | 23 int sa, sb, res; local 27 sb = b->sign; 30 if (sa == sb) { 41 c->sign = sb;
|
| bn_mp_sub.c | 24 int sa, sb, res; local 27 sb = b->sign; 29 if (sa != sb) {
|
| /src/distrib/utils/libhack/ |
| opendir.c | 62 struct stat sb; local 66 if (fstat(fd, &sb) || !S_ISDIR(sb.st_mode)) {
|