Lines Matching refs:stb
1391 struct stat stb; in source() local
1412 if (fstat(fd, &stb) == -1) { in source()
1416 if (stb.st_size < 0) { in source()
1421 switch (stb.st_mode & S_IFMT) { in source()
1426 rsource(name, &stb); in source()
1440 if (do_times(remout, verbose_mode, &stb) < 0) in source()
1445 (u_int) (stb.st_mode & FILEMODEMASK), in source()
1446 (long long)stb.st_size, last); in source()
1460 start_progress_meter(curfile, stb.st_size, &statbytes); in source()
1462 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) { in source()
1464 if (i + (off_t)amt > stb.st_size) in source()
1465 amt = stb.st_size - i; in source()
1662 struct stat stb; local
1696 if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
1844 exists = stat(np, &stb) == 0;
1850 if (!S_ISDIR(stb.st_mode)) {
1934 if (!wrerr && (!exists || S_ISREG(stb.st_mode)) &&
2183 struct stat stb; local
2185 if (!stat(cp, &stb)) {
2186 if (S_ISDIR(stb.st_mode))
2229 struct stat stb; local
2231 if (fstat(fd, &stb) == -1) {
2235 size = ROUNDUP(stb.st_blksize, blksize);