Home | History | Annotate | Download | only in Basic

Lines Matching refs:StatBuf

88                                const struct stat & /*StatBuf*/) {
105 FileEntry &getFile(const char *Name, const struct stat & /*StatBuf*/) {
131 const struct stat &StatBuf) {
132 return UniqueDirs[std::make_pair(StatBuf.st_dev, StatBuf.st_ino)];
146 FileEntry &getFile(const char * /*Name*/, const struct stat &StatBuf) {
149 *UniqueFiles.insert(FileEntry(StatBuf.st_dev,
150 StatBuf.st_ino,
151 StatBuf.st_mode)).first);
294 struct stat StatBuf;
295 if (getStatValue(InterndDirName, StatBuf, 0/*directory lookup*/)) {
306 DirectoryEntry &UDE = UniqueRealDirs.getDirectory(InterndDirName, StatBuf);
362 struct stat StatBuf;
363 if (getStatValue(InterndFileName, StatBuf, &FileDescriptor)) {
378 FileEntry &UFE = UniqueRealFiles.getFile(InterndFileName, StatBuf);
393 UFE.Size = StatBuf.st_size;
394 UFE.ModTime = StatBuf.st_mtime;
432 struct stat StatBuf;
434 if (getStatValue(InterndFileName, StatBuf, &FileDescriptor) == 0) {
439 StatBuf.st_size = Size;
440 StatBuf.st_mtime = ModificationTime;
441 UFE = &UniqueRealFiles.getFile(InterndFileName, StatBuf);
544 bool FileManager::getStatValue(const char *Path, struct stat &StatBuf,
549 return FileSystemStatCache::get(Path, StatBuf, FileDescriptor,
555 return FileSystemStatCache::get(FilePath.c_str(), StatBuf, FileDescriptor,
560 struct stat &StatBuf) {
564 return ::stat(FilePath.c_str(), &StatBuf) != 0;