Lines Matching defs:stb
747 struct stat stb;
768 if (fstat(fd, &stb) < 0) {
772 if (stb.st_size < 0) {
777 switch (stb.st_mode & S_IFMT) {
782 rsource(name, &stb);
796 if (do_times(remout, verbose_mode, &stb) < 0)
801 (u_int) (stb.st_mode & FILEMODEMASK),
802 (long long)stb.st_size, last);
817 start_progress_meter(curfile, stb.st_size, &statbytes);
819 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) {
821 if (i + (off_t)amt > stb.st_size)
822 amt = stb.st_size - i;
910 struct stat stb;
942 if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
1056 exists = stat(np, &stb) == 0;
1062 if (!S_ISDIR(stb.st_mode)) {
1145 if (wrerr == NO && (!exists || S_ISREG(stb.st_mode)) &&
1273 struct stat stb;
1275 if (!stat(cp, &stb)) {
1276 if (S_ISDIR(stb.st_mode))
1319 struct stat stb;
1321 if (fstat(fd, &stb) < 0) {
1325 size = roundup(stb.st_blksize, blksize);