Lines Matching refs:stat
671 struct stat sbuf; in GetFileSize()
672 if (stat(fname.c_str(), &sbuf) != 0) { in GetFileSize()
685 struct stat s; in GetFileModificationTime()
686 if (stat(fname.c_str(), &s) != 0) { in GetFileModificationTime()
718 struct stat s; in NumFileLinks()
719 if (stat(fname.c_str(), &s) != 0) { in NumFileLinks()
729 struct stat statbuf[2]; in AreFilesSame()
730 if (stat(first.c_str(), &statbuf[0]) != 0) { in AreFilesSame()
733 if (stat(second.c_str(), &statbuf[1]) != 0) { in AreFilesSame()
916 struct stat statbuf; in DirExists()
917 if (stat(dname.c_str(), &statbuf) == 0) { in DirExists()