Home | History | Annotate | Download | only in Serialization

Lines Matching refs:Path

46 #include "llvm/Support/Path.h"
1060 static unsigned ComputeHash(const char *path) {
1061 return llvm::HashString(path);
1064 static internal_key_type GetInternalKey(const char *path) { return path; }
1112 LookupResult getStat(const char *Path, struct stat &StatBuf,
1115 CacheTy::iterator I = Cache->find(Path);
1120 return statChained(Path, StatBuf, FileDescriptor);
1204 /// \brief If a header file is not found at the path that we expect it to be
1217 assert(path::is_absolute(OriginalDir));
1220 path::const_iterator fileDirI = path::begin(path::parent_path(filePath)),
1221 fileDirE = path::end(path::parent_path(filePath));
1222 path::const_iterator origDirI = path::begin(OriginalDir),
1223 origDirE = path::end(OriginalDir);
1224 // Skip the common path components from filePath and OriginalDir.
1231 path::append(currPCHPath, "..");
1232 path::append(currPCHPath, fileDirI, fileDirE);
1233 path::append(currPCHPath, path::filename(Filename));
1302 // erroneously trigger this error-handling path.
1638 /// The on-disk hash table contains a mapping from each header path to
1642 /// inode numbers, so that the search can cope with non-normalized path names
1649 int StatSimpleCache(const char *Path, struct stat *StatBuf) {
1650 if (Path == SearchPath) {
1652 SearchPathStatResult = stat(Path, &SearchPathStatBuf);
1658 return stat(Path, StatBuf);
1669 static unsigned ComputeHash(const char *path) {
1670 return llvm::HashString(llvm::sys::path::filename(path));
1673 static internal_key_type GetInternalKey(const char *path) { return path; }
1679 if (llvm::sys::path::filename(a) != llvm::sys::path::filename(b))
1682 // The file names match, but the path names don't. stat() the files to
1866 /// not an absolute path, add the system root to the beginning of the file
1873 if (Filename.empty() || llvm::sys::path::is_absolute(Filename))
2518 // erroneously trigger this error-handling path.
2669 CurrentDir = llvm::sys::path::parent_path(FileName);