Lines Matching refs:Path
15 #include "llvm/Support/Path.h"
32 /// path, using the cache to accelerate it if possible. This returns true if
33 /// the path does not exist or false if it exists.
40 bool FileSystemStatCache::get(const char *Path, struct stat &StatBuf,
47 R = Cache->getStat(Path, StatBuf, FileDescriptor);
50 R = ::stat(Path, &StatBuf) != 0 ? CacheMissing : CacheExists;
63 *FileDescriptor = ::open(Path, OpenFlags);
84 // If the path doesn't exist, return failure.
87 // If the path exists, make sure that its "directoryness" matches the clients
104 MemorizeStatCalls::getStat(const char *Path, struct stat &StatBuf,
106 LookupResult Result = statChained(Path, StatBuf, FileDescriptor);
116 if (!S_ISDIR(StatBuf.st_mode) || llvm::sys::path::is_absolute(Path))
117 StatCalls[Path] = StatBuf;