Lines Matching refs:statResult
212 int srcFd, dstFd, statResult, copyResult; in copyRegular() local
216 statResult = stat(dst, &dstStat); in copyRegular()
217 if (statResult == 0 && !S_ISREG(dstStat.st_mode)) { in copyRegular()
222 } else if (statResult != 0 && errno != ENOENT) { in copyRegular()
227 if (statResult == 0) { in copyRegular()
366 int statResult, nameLen; in copySymlink() local
372 statResult = lstat(dst, &dstStat); in copySymlink()
373 if (statResult == 0 && !S_ISREG(dstStat.st_mode) in copySymlink()
383 if (statResult == 0) { in copySymlink()
408 if (statResult == 0) { in copySymlink()
447 int cc, statResult; in copyDirectory() local
451 statResult = stat(dst, &dstStat); in copyDirectory()
452 if (statResult == 0 && !S_ISDIR(dstStat.st_mode)) { in copyDirectory()
456 } else if (statResult != 0 && errno != ENOENT) { in copyDirectory()
461 if (statResult == 0) { in copyDirectory()
548 int statResult, statErrno; in copyFileRecursive() local
555 statResult = lstat(src, &srcStat); in copyFileRecursive()
557 statResult = stat(src, &srcStat); in copyFileRecursive()
560 if (statResult < 0) { in copyFileRecursive()