/netbsd-current/usr.sbin/puffs/rump_nqmfs/ |
H A D | rump_nqmfs.c | 71 struct stat sb; local 108 if (stat(mntfile, &sb) == -1) 110 if (!S_ISREG(sb.st_mode)) 117 membase = mmap(NULL, sb.st_size, PROT_READ | (rdonly ? 0 : PROT_WRITE), 124 args.size = sb.st_size;
|
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | passfile.c | 56 struct stat sb; local 57 if ( fstat( fileno( f ), &sb ) == 0 ) { 58 if( sb.st_mode & 006 ) { 64 if ( sb.st_size ) 65 passwd->bv_len = sb.st_size;
|
/netbsd-current/external/mit/expat/dist/xmlwf/ |
H A D | readfilemap.c | 91 struct stat sb; local 99 if (fstat(fd, &sb) < 0) { 104 if (! S_ISREG(sb.st_mode)) { 109 if (sb.st_size > XML_MAX_CHUNK_LEN) { 114 nbytes = sb.st_size;
|
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/mips/ |
H A D | 24k-triple-stores-1.s | 4 sb $2,0($sp) 5 sb $3,8($sp) 6 sb $4,16($sp) 7 sb $5,24($sp) 8 sb $6,32($sp)
|
H A D | 24k-triple-stores-2.d | 9 0: a3a20000 sb v0,0\(sp\) 10 4: a3a3000a sb v1,10\(sp\) 12 c: a3a4001f sb a0,31\(sp\)
|
H A D | micromips@24k-triple-stores-3.d | 11 *[0-9a-f]+: 185d 000b sb v0,11\(sp\) 12 *[0-9a-f]+: 187d 000b sb v1,11\(sp\) 13 *[0-9a-f]+: 189d 0004 sb a0,4\(sp\) 15 *[0-9a-f]+: 185d 0000 sb v0,0\(sp\) 16 *[0-9a-f]+: 187d 000b sb v1,11\(sp\) 17 *[0-9a-f]+: 189d 0005 sb a0,5\(sp\) 19 *[0-9a-f]+: 185d 0007 sb v0,7\(sp\) 20 *[0-9a-f]+: 187d 000b sb v1,11\(sp\) 21 *[0-9a-f]+: 189d 0010 sb a0,16\(sp\) 23 *[0-9a-f]+: 1848 0000 sb v [all...] |
/netbsd-current/external/bsd/jemalloc/dist/test/unit/ |
H A D | prng.c | 5 atomic_u32_t sa, sb; local 16 atomic_store_u32(&sb, 42, ATOMIC_RELAXED); 17 rb = prng_lg_range_u32(&sb, 32, atomic); 30 atomic_store_u32(&sb, 42, ATOMIC_RELAXED); 31 rb = prng_lg_range_u32(&sb, lg_range, atomic); 42 uint64_t sa, sb, ra, rb; local 52 sb = 42; 53 rb = prng_lg_range_u64(&sb, 64); 66 sb = 42; 67 rb = prng_lg_range_u64(&sb, lg_rang 78 atomic_zu_t sa, sb; local [all...] |
/netbsd-current/sys/rump/kern/lib/libsys_cygwin/ |
H A D | rump_cygwin_compat.c | 67 #define PARCOPY(a) ssb->a = sb->a 69 bsd_to_cygwin_stat(const struct stat *sb, struct cygwin_stat *ssb) argument 84 timespec_to_timespec50(&sb->st_atimespec, &ssb->st_atim); 85 timespec_to_timespec50(&sb->st_mtimespec, &ssb->st_mtim); 86 timespec_to_timespec50(&sb->st_ctimespec, &ssb->st_ctim); 87 timespec_to_timespec50(&sb->st_birthtimespec, &ssb->st_btim); 95 struct stat sb; local 98 error = do_sys_stat(SCARG(uap, path), FOLLOW, &sb); 102 bsd_to_cygwin_stat(&sb, &ssb); 112 struct stat sb; local 129 struct stat sb; local [all...] |
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/ |
H A D | envsets.cc | 79 StringBuilder sb; local 82 sb.sprintf ("%s=%s", LD_AUDIT[ii], SP_LIBAUDIT_NAME); 91 int fromIdx = sb.length (); 92 sb.append (" "); 93 sb.append (old_val); 94 if (sb.indexOf (SP_LIBAUDIT_NAME, fromIdx) >= 0) 98 if (add_env (sb.toString ())) 158 StringBuilder sb; local 159 sb.appendf ("%s=", "SP_COLLECTOR_LIBRARY_PATH"); 160 int len = sb [all...] |
H A D | ClassFile.h | 48 void printConstant (StringBuilder *sb, int index); 49 long long printCodeSequence (StringBuilder *sb, uint64_t addr, DataInputStream *in);
|
/netbsd-current/external/lgpl3/mpfr/dist/src/ |
H A D | add1sp.c | 141 mp_limb_t sb; /* sticky bit */ local 159 sb = 0; /* since b + c fits on p+1 bits, the sticky bit is zero */ 188 sb = (a0 & mask) ^ rb; 193 sb = cp[0] << (GMP_NUMB_BITS - d); /* bits from cp[-1] after shift */ 197 sb |= a0 & MPFR_LIMB_ONE; 202 sb |= (a0 & mask) ^ rb; 209 sb = 1; /* since c <> 0 */ 222 if ((rb == 0 && sb == 0) || rnd_mode == MPFR_RNDF) 228 if (rb == 0 || (sb == 0 && (ap[0] & (MPFR_LIMB_ONE << sh)) == 0)) 267 mp_limb_t sb; /* stick local 373 mp_limb_t sb; /* sticky bit */ local 493 mp_limb_t sb; /* sticky bit */ local 626 mp_limb_t sb; /* sticky bit */ local 865 mp_limb_t limb, rb, sb; local [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/sim/ppc/ |
H A D | hw_sem.c | 195 struct sembuf sb; local 219 sb.sem_num = 0; 220 sb.sem_op = -1; 221 sb.sem_flg = 0; 223 status = semop(sem->id, &sb, 1); 233 sb.sem_num = 0; 234 sb.sem_op = 1; 235 sb.sem_flg = 0; 237 status = semop(sem->id, &sb, 1);
|
/netbsd-current/external/gpl3/gdb/dist/sim/ppc/ |
H A D | hw_sem.c | 188 struct sembuf sb; local 212 sb.sem_num = 0; 213 sb.sem_op = -1; 214 sb.sem_flg = 0; 216 status = semop(sem->id, &sb, 1); 226 sb.sem_num = 0; 227 sb.sem_op = 1; 228 sb.sem_flg = 0; 230 status = semop(sem->id, &sb, 1);
|
/netbsd-current/common/dist/zlib/contrib/iostream3/ |
H A D | zfstream.cc | 375 : std::istream(NULL), sb() 376 { this->init(&sb); } 381 : std::istream(NULL), sb() 383 this->init(&sb); 390 : std::istream(NULL), sb() 392 this->init(&sb); 401 if (!sb.open(name, mode | std::ios_base::in)) 412 if (!sb.attach(fd, mode | std::ios_base::in)) 422 if (!sb.close()) 430 : std::ostream(NULL), sb() [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/zlib/contrib/iostream3/ |
H A D | zfstream.cc | 375 : std::istream(NULL), sb() 376 { this->init(&sb); } 381 : std::istream(NULL), sb() 383 this->init(&sb); 390 : std::istream(NULL), sb() 392 this->init(&sb); 401 if (!sb.open(name, mode | std::ios_base::in)) 412 if (!sb.attach(fd, mode | std::ios_base::in)) 422 if (!sb.close()) 430 : std::ostream(NULL), sb() [all...] |
/netbsd-current/external/gpl3/binutils/dist/zlib/contrib/iostream3/ |
H A D | zfstream.cc | 375 : std::istream(NULL), sb() 376 { this->init(&sb); } 381 : std::istream(NULL), sb() 383 this->init(&sb); 390 : std::istream(NULL), sb() 392 this->init(&sb); 401 if (!sb.open(name, mode | std::ios_base::in)) 412 if (!sb.attach(fd, mode | std::ios_base::in)) 422 if (!sb.close()) 430 : std::ostream(NULL), sb() [all...] |
/netbsd-current/external/gpl3/gdb/dist/zlib/contrib/iostream3/ |
H A D | zfstream.cc | 375 : std::istream(NULL), sb() 376 { this->init(&sb); } 381 : std::istream(NULL), sb() 383 this->init(&sb); 390 : std::istream(NULL), sb() 392 this->init(&sb); 401 if (!sb.open(name, mode | std::ios_base::in)) 412 if (!sb.attach(fd, mode | std::ios_base::in)) 422 if (!sb.close()) 430 : std::ostream(NULL), sb() [all...] |
/netbsd-current/external/gpl3/binutils.old/dist/zlib/contrib/iostream3/ |
H A D | zfstream.cc | 375 : std::istream(NULL), sb() 376 { this->init(&sb); } 381 : std::istream(NULL), sb() 383 this->init(&sb); 390 : std::istream(NULL), sb() 392 this->init(&sb); 401 if (!sb.open(name, mode | std::ios_base::in)) 412 if (!sb.attach(fd, mode | std::ios_base::in)) 422 if (!sb.close()) 430 : std::ostream(NULL), sb() [all...] |
/netbsd-current/tests/fs/umapfs/ |
H A D | t_basic.c | 53 struct stat sb; local 55 if (rump_sys_stat(path, &sb) == -1) 58 if (sb.st_uid != uid) 60 path, uid, sb.st_uid); 63 if (sb.st_gid != gid) 65 path, gid, sb.st_gid);
|
/netbsd-current/external/bsd/ntp/dist/sntp/libopts/ |
H A D | file.c | 46 struct stat sb; local 52 if ((stat(fname, &sb) == 0) || (errno != ENOENT)) { 78 if ((stat(p, &sb) != 0) || (errno = EINVAL, ! S_ISDIR(sb.st_mode))) 87 if ( (stat(fname, &sb) != 0) 88 || (errno = EINVAL, ! S_ISREG(sb.st_mode)) )
|
/netbsd-current/external/bsd/openldap/dist/libraries/liblber/ |
H A D | etest.c | 76 Sockbuf *sb; local 101 sb = ber_sockbuf_alloc(); 102 ber_sockbuf_add_io( sb, &ber_sockbuf_io_fd, LBER_SBIOD_LEVEL_PROVIDER, 105 if( sb == NULL ) { 179 if ( ber_flush2( sb, ber, LBER_FLUSH_FREE_ALWAYS ) == -1 ) { 184 ber_sockbuf_free( sb );
|
/netbsd-current/sys/rump/kern/lib/libsys_sunos/ |
H A D | rump_sunos_compat.c | 104 #define PARCOPY(a) ssb->a = sb->a 106 bsd_to_sunos_stat(const struct stat *sb, struct sunos_stat *ssb) argument 122 ssb->st_atim = sb->st_atimespec; 123 ssb->st_mtim = sb->st_mtimespec; 124 ssb->st_ctim = sb->st_ctimespec; 126 timespec_to_timespec50(&sb->st_atimespec, &ssb->st_atim); 127 timespec_to_timespec50(&sb->st_mtimespec, &ssb->st_mtim); 128 timespec_to_timespec50(&sb->st_ctimespec, &ssb->st_ctim); 137 struct stat sb; local 140 error = do_sys_stat(SCARG(uap, path), FOLLOW, &sb); 154 struct stat sb; local 171 struct stat sb; local [all...] |
/netbsd-current/sys/arch/hpcmips/stand/libsa/ |
H A D | winfs.h | 44 int win_stat(struct open_file *f, struct stat *sb);
|
/netbsd-current/sys/arch/mvme68k/stand/bootst/ |
H A D | rawfs.h | 13 int rawfs_stat(struct open_file *f, struct stat *sb);
|
/netbsd-current/sys/fs/v7fs/ |
H A D | v7fs_dirent.c | 65 struct v7fs_superblock *sb = &fs->superblock; local 72 if (v7fs_inode_number_sanity(sb, ino)) {
|