HomeSort by relevance Sort by last modified time
    Searched refs:StatBuf (Results 1 - 12 of 12) sorted by null

  /external/clang/lib/Basic/
FileSystemStatCache.cpp 42 bool FileSystemStatCache::get(const char *Path, struct stat &StatBuf,
49 R = Cache->getStat(Path, StatBuf, FileDescriptor);
52 R = ::stat(Path, &StatBuf) != 0 ? CacheMissing : CacheExists;
74 if (::fstat(*FileDescriptor, &StatBuf) == 0)
91 if (S_ISDIR(StatBuf.st_mode) != isForDir) {
106 MemorizeStatCalls::getStat(const char *Path, struct stat &StatBuf,
108 LookupResult Result = statChained(Path, StatBuf, FileDescriptor);
118 if (!S_ISDIR(StatBuf.st_mode) || llvm::sys::path::is_absolute(Path))
119 StatCalls[Path] = StatBuf;
FileManager.cpp 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;
    [all...]
SourceManager.cpp     [all...]
  /external/clang/include/clang/Basic/
FileSystemStatCache.h 50 static bool get(const char *Path, struct stat &StatBuf, int *FileDescriptor,
69 virtual LookupResult getStat(const char *Path, struct stat &StatBuf,
72 LookupResult statChained(const char *Path, struct stat &StatBuf,
75 return Next->getStat(Path, StatBuf, FileDescriptor);
79 return get(Path, StatBuf, FileDescriptor, 0) ? CacheMissing : CacheExists;
97 virtual LookupResult getStat(const char *Path, struct stat &StatBuf,
FileManager.h 153 bool getStatValue(const char *Path, struct stat &StatBuf,
217 bool getNoncachedStatValue(StringRef Path, struct stat &StatBuf);
  /external/clang/lib/Frontend/
CacheTokens.cpp 61 struct stat *StatBuf;
64 : FE(fe), Kind(IsFE), StatBuf(0) {}
66 PTHEntryKeyVariant(struct stat* statbuf, const char* path)
67 : Path(path), Kind(IsDE), StatBuf(new struct stat(*statbuf)) {}
70 : Path(path), Kind(IsNoExist), StatBuf(0) {}
92 ::Emit32(Out, (uint32_t) StatBuf->st_ino);
93 ::Emit32(Out, (uint32_t) StatBuf->st_dev);
94 ::Emit16(Out, (uint16_t) StatBuf->st_mode);
95 ::Emit64(Out, (uint64_t) StatBuf->st_mtime)
    [all...]
ASTUnit.cpp     [all...]
  /external/clang/lib/Serialization/
ASTReaderInternals.h 194 int StatSimpleCache(const char *Path, struct stat *StatBuf) {
199 *StatBuf = SearchPathStatBuf;
203 return stat(Path, StatBuf);
ASTReader.cpp 911 LookupResult getStat(const char *Path, struct stat &StatBuf,
919 return statChained(Path, StatBuf, FileDescriptor);
925 StatBuf.st_ino = Data.ino;
926 StatBuf.st_dev = Data.dev;
927 StatBuf.st_mtime = Data.mtime;
928 StatBuf.st_mode = Data.mode;
929 StatBuf.st_size = Data.size;
    [all...]
  /external/llvm/lib/Support/
LockFileManager.cpp 127 struct stat StatBuf;
128 if (stat(UniqueLockFileName.c_str(), &StatBuf) == 0 &&
129 StatBuf.st_nlink == 2)
  /external/clang/unittests/Basic/
FileManagerTest.cpp 31 struct stat statBuf;
32 memset(&statBuf, 0, sizeof(statBuf));
33 statBuf.st_dev = 1;
35 statBuf.st_ino = INode;
37 statBuf.st_mode = IsFile ? (0777 | S_IFREG) // a regular file
39 StatCalls[Path] = statBuf;
54 virtual LookupResult getStat(const char *Path, struct stat &StatBuf,
57 StatBuf = StatCalls[Path];
  /external/clang/lib/Lex/
PTHLexer.cpp 684 LookupResult getStat(const char *Path, struct stat &StatBuf,
691 return statChained(Path, StatBuf, FileDescriptor);
698 StatBuf.st_ino = Data.ino;
699 StatBuf.st_dev = Data.dev;
700 StatBuf.st_mtime = Data.mtime;
701 StatBuf.st_mode = Data.mode;
702 StatBuf.st_size = Data.size;

Completed in 93 milliseconds