Lines Matching refs:stb
746 struct stat stb;
767 if (fstat(fd, &stb) < 0) {
771 if (stb.st_size < 0) {
776 switch (stb.st_mode & S_IFMT) {
781 rsource(name, &stb);
795 if (do_times(remout, verbose_mode, &stb) < 0)
800 (u_int) (stb.st_mode & FILEMODEMASK),
801 (long long)stb.st_size, last);
816 start_progress_meter(curfile, stb.st_size, &statbytes);
818 for (haderr = i = 0; i < stb.st_size; i += bp->cnt) {
820 if (i + (off_t)amt > stb.st_size)
821 amt = stb.st_size - i;
905 struct stat stb;
937 if (stat(targ, &stb) == 0 && S_ISDIR(stb.st_mode))
1051 exists = stat(np, &stb) == 0;
1057 if (!S_ISDIR(stb.st_mode)) {
1140 if (wrerr == NO && (!exists || S_ISREG(stb.st_mode)) &&
1268 struct stat stb;
1270 if (!stat(cp, &stb)) {
1271 if (S_ISDIR(stb.st_mode))
1314 struct stat stb;
1316 if (fstat(fd, &stb) < 0) {
1320 size = roundup(stb.st_blksize, blksize);