Lines Matching refs:stb
760 struct stat stb; in source() local
781 if (fstat(fd, &stb) < 0) { in source()
785 if (stb.st_size < 0) { in source()
790 switch (stb.st_mode & S_IFMT) { in source()
795 rsource(name, &stb); in source()
809 if (do_times(remout, verbose_mode, &stb) < 0) in source()
814 (u_int) (stb.st_mode & FILEMODEMASK), in source()
815 (long long)stb.st_size, last); in source()
829 start_progress_meter(curfile, stb.st_size, &statbytes); in source()
831 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) { in source()
833 if (i + (off_t)amt > stb.st_size) in source()
834 amt = stb.st_size - i; in source()
922 struct stat stb; local
954 if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
1071 exists = stat(np, &stb) == 0;
1077 if (!S_ISDIR(stb.st_mode)) {
1158 if (wrerr == NO && (!exists || S_ISREG(stb.st_mode)) &&
1293 struct stat stb; local
1295 if (!stat(cp, &stb)) {
1296 if (S_ISDIR(stb.st_mode))
1339 struct stat stb; local
1341 if (fstat(fd, &stb) < 0) {
1345 size = ROUNDUP(stb.st_blksize, blksize);