Searched defs:statCache (Results 1 - 2 of 2) sorted by relevance

/external/clang/unittests/Basic/
H A DFileManagerTest.cpp126 FakeStatCache *statCache = new FakeStatCache; local
127 statCache->InjectDirectory("/tmp", 42);
128 statCache->InjectFile("/tmp/test", 43);
129 manager.addStatCache(statCache);
160 FakeStatCache *statCache = new FakeStatCache; local
161 statCache->InjectDirectory(".", 41);
162 statCache->InjectFile("foo.cpp", 42);
163 statCache->InjectFile("bar.cpp", 43);
164 manager.addStatCache(statCache);
177 FakeStatCache *statCache local
196 FakeStatCache *statCache = new FakeStatCache; local
209 FakeStatCache *statCache = new FakeStatCache; local
[all...]
/external/clang/lib/Basic/
H A DFileManager.cpp191 void FileManager::addStatCache(FileSystemStatCache *statCache, argument
193 assert(statCache && "No stat cache provided?");
195 statCache->setNextStatCache(StatCache.take());
196 StatCache.reset(statCache);
204 LastCache->setNextStatCache(statCache);
207 void FileManager::removeStatCache(FileSystemStatCache *statCache) { argument
208 if (!statCache)
211 if (StatCache.get() == statCache) {
219 while (PrevCache && PrevCache->getNextStatCache() != statCache)
223 PrevCache->setNextStatCache(statCache
[all...]

Completed in 80 milliseconds