| /src/external/bsd/am-utils/dist/amd/ |
| amfs_linkx.c | 87 struct stat stb; local 100 if (lstat(ln, &stb) < 0)
|
| info_ndbm.c | 85 struct stat stb; local 92 error = stat(dbfilename, &stb); 94 error = fstat(dbm_pagfno(db), &stb); 96 if (!error && *tp < stb.st_mtime) { 97 *tp = stb.st_mtime; 116 struct stat stb; local 123 error = stat(dbfilename, &stb); 125 error = fstat(dbm_pagfno(db), &stb); 130 *tp = stb.st_mtime;
|
| amfs_nfsl.c | 100 struct stat stb; local 121 } else if (lstat(cp, &stb) < 0) { 216 struct stat stb; local 235 !STRCEQ(ho, hostd)) || lstat(cp, &stb) < 0) {
|
| amfs_toplvl.c | 170 struct stat stb; local 180 if (stat(mp->am_path, &stb) < 0) { 182 } else if ((stb.st_mode & S_IFMT) != S_IFDIR) { 259 struct stat stb; local 276 if (lstat(mp->am_path, &stb) < 0) { 281 if ((stb.st_mode & S_IFMT) != S_IFDIR) {
|
| info_file.c | 201 struct stat stb; local 202 if (fstat(fileno(mapf), &stb) < 0) 205 *tp = stb.st_mtime;
|
| amfs_host.c | 176 struct stat stb; local 181 if (stat(mntdir, &stb) < 0 || (stb.st_mode & S_IFMT) != S_IFDIR) {
|
| /src/lib/libc/gen/ |
| scandir.c | 65 struct stat stb; local 68 if (fstat(fd, &stb) == -1) 74 nlen = (size_t)(stb.st_size / _DIRENT_MINSIZE((struct dirent *)0)); 81 nlen = (size_t)(stb.st_size ? stb.st_size : 10);
|
| /src/usr.sbin/videomode/ |
| videomode.c | 93 struct stat stb; local 98 if (fstat(0, &stb) == -1) 100 if (!S_ISCHR(stb.st_mode) || !isatty(0)) 102 if (major(stb.st_rdev) != 13) 105 (u_int)minor(stb.st_rdev) & 0x7);
|
| /src/bin/rcp/ |
| util.c | 90 struct stat stb; local 92 if (!stat(cp, &stb)) { 93 if (S_ISDIR(stb.st_mode)) 151 struct stat stb; local 155 if (fstat(fd, &stb) < 0) { 159 size = roundup(stb.st_blksize, blksize);
|
| /src/sys/arch/atari/stand/libsa/ |
| diskio.c | 93 daddr_t stb = dd->rst + dblk; local 96 if ((flag == F_READ) && !(size & 511) && (stb + nb <= dd->rend)) { 97 if (!dd->rds(buf, stb, nb)) {
|
| /src/usr.bin/ftp/ |
| ruserpass.c | 103 struct stat stb; local 160 fstat(fileno(cfile), &stb) >= 0 && 161 (stb.st_mode & 077) != 0) { 172 if (fstat(fileno(cfile), &stb) >= 0 173 && (stb.st_mode & 077) != 0) {
|
| /src/bin/csh/ |
| sem.c | 638 struct stat stb; local 640 if (stat(cp, &stb) < 0) 642 if (S_ISCHR(stb.st_mode))
|
| exp.c | 474 struct stat stb; local 485 if (isa(**vp, ANYOP) && stat(short2str(**vp), &stb)) 504 lstat(short2str(ep), &stb) : stat(short2str(ep), &stb)) { 510 i = S_ISDIR(stb.st_mode); 516 i = S_ISREG(stb.st_mode); 520 i = S_ISLNK(stb.st_mode); 526 i = stb.st_uid == (uid_t)uid; 530 i = S_ISFIFO(stb.st_mode); 537 i = S_ISSOCK(stb.st_mode) [all...] |
| /src/lib/libcompat/4.3/ |
| ruserpass.c | 101 struct stat stb; local 171 fstat(fileno(cfile), &stb) >= 0 && 172 (stb.st_mode & 077) != 0) { 184 if (fstat(fileno(cfile), &stb) >= 0 185 && (stb.st_mode & 077) != 0) {
|
| /src/usr.bin/last/ |
| want.c | 72 struct stat stb; /* stat of file for sz */ local 129 if (fstat(wfd, &stb) == -1) 131 if (!S_ISREG(stb.st_mode)) 134 seentime = stb.st_mtime; 138 offset = stb.st_size;
|
| /src/usr.sbin/lpr/lpd/ |
| recvjob.c | 88 struct stat stb; local 105 if (stat(LO, &stb) == 0) { 106 if (stb.st_mode & 010) { 111 } else if (stat(SD, &stb) < 0)
|
| /src/libexec/comsat/ |
| comsat.c | 224 struct stat stb; local 238 if (stat(tty, &stb) == -1 || !(stb.st_mode & S_IEXEC)) {
|
| /src/sys/arch/powerpc/booke/ |
| booke_pmap.c | 128 pmap_kvtopte(const pmap_segtab_t *stb, vaddr_t va) 132 pmap_ptpage_t * const ppg = stb->seg_ppg[idx]; 143 pmap_segtab_t * const stb = &pmap_kern_segtab; local 145 pt_entry_t *ptep = pmap_kvtopte(stb, sva); 161 pmap_segtab_t * const stb = &pmap_kern_segtab; local 235 pmap_ptpage_t **ppg_p = &stb->seg_ppg[VM_MIN_KERNEL_ADDRESS >> SEGSHIFT]; 253 ppg_p = stb->seg_ppg;
|
| trap.c | 148 pmap_segtab_t * const stb = stbs[(tf->tf_srr1 / psl_mask) & 1]; local 149 if (__predict_false(stb == NULL)) 152 pmap_ptpage_t * const ppg = stb->seg_ppg[va >> SEGSHIFT];
|
| /src/sys/miscfs/fdesc/ |
| fdesc_vnops.c | 331 struct stat stb; local 352 memset(&stb, 0, sizeof(stb)); 353 error = (*fp->f_ops->fo_stat)(fp, &stb); 370 vap->va_mode = stb.st_mode; 371 vap->va_nlink = stb.st_nlink; 372 vap->va_uid = stb.st_uid; 373 vap->va_gid = stb.st_gid; 374 vap->va_fsid = stb.st_dev; 375 vap->va_fileid = stb.st_ino [all...] |
| /src/usr.bin/rdist/ |
| docmd.c | 381 struct stat stb; local 390 if (stat(stamp, &stb) < 0) { 395 printf("%s: %lu\n", stamp, (u_long)stb.st_mtime); 398 lastmod = stb.st_mtime; 436 struct stat stb; local 459 if (access(name, 4) < 0 || stat(name, &stb) < 0) { 464 switch (stb.st_mode & S_IFMT) { 469 rcmptime(&stb); 477 if (stb.st_mtime > lastmod) 528 struct stat stb; local [all...] |
| expand.c | 269 struct stat stb; local 275 if (!expany || stat(path, &stb) >= 0) { 304 struct stat stb; local 314 if (fstat(dirp->dd_fd, &stb) < 0) 316 if (!S_ISDIR(stb.st_mode)) { 443 struct stat stb; local 510 if (stat(path, &stb) == 0 && S_ISDIR(stb.st_mode)) {
|
| /src/usr.sbin/lpr/lpr/ |
| lpr.c | 128 struct stat stb; local 298 if (userid && stat(buf, &stb) == 0 && (stb.st_mode & S_IXGRP))
|
| /src/external/bsd/am-utils/dist/conf/autofs/ |
| autofs_solaris_v1.c | 645 struct stat stb; local 664 if (!lstat(space_hack, &stb)) { 665 mp->am_dev = stb.st_dev; 666 mp->am_rdev = stb.st_rdev;
|
| /src/external/gpl3/gdb/dist/gdb/cli/ |
| cli-setshow.c | 567 string_file stb; 575 stb.putstr (value.c_str (), '"'); 581 stb.puts (var.get<std::string> ().c_str ()); 587 stb.puts (value); 591 stb.puts (var.get<bool> () ? "on" : "off"); 597 stb.puts ("on"); 600 stb.puts ("off"); 603 stb.puts ("auto"); 626 stb.puts (l->literal); 633 stb.printf ("%u", static_cast<unsigned int> (value)) 565 string_file stb; local [all...] |