Home
last modified time | relevance | path

Searched refs:DirName (Results 1 – 25 of 56) sorted by relevance

123

/external/clang/lib/Basic/
DFileManager.cpp113 StringRef DirName = llvm::sys::path::parent_path(Filename); in getDirectoryFromFile() local
115 if (DirName.empty()) in getDirectoryFromFile()
116 DirName = "."; in getDirectoryFromFile()
118 return FileMgr.getDirectory(DirName, CacheFailure); in getDirectoryFromFile()
124 StringRef DirName = llvm::sys::path::parent_path(Path); in addAncestorsAsVirtualDirs() local
125 if (DirName.empty()) in addAncestorsAsVirtualDirs()
126 DirName = "."; in addAncestorsAsVirtualDirs()
129 *SeenDirEntries.insert(std::make_pair(DirName, nullptr)).first; in addAncestorsAsVirtualDirs()
145 addAncestorsAsVirtualDirs(DirName); in addAncestorsAsVirtualDirs()
148 const DirectoryEntry *FileManager::getDirectory(StringRef DirName, in getDirectory() argument
[all …]
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/
Dcanonical.pass.cpp54 const path DirName = StaticEnv::Dir.filename(); in TEST_CASE() local
65 { DirName / ".." / "." / DirName, StaticEnv::Dir, Root}, in TEST_CASE()
69 { Root / "." / DirName / ".." / DirName, StaticEnv::Dir}, in TEST_CASE()
70 { path("..") / "." / RootName / DirName / ".." / DirName, StaticEnv::Dir, Root}, in TEST_CASE()
/external/clang/lib/Lex/
DHeaderSearch.cpp152 auto DirName = FileMgr.getCanonicalName(Dir); in getModuleFileName() local
156 llvm::hash_combine(DirName.lower(), FileName.lower()); in getModuleFileName()
356 getTopFrameworkDir(FileManager &FileMgr, StringRef DirName, in getTopFrameworkDir() argument
358 assert(llvm::sys::path::extension(DirName) == ".framework" && in getTopFrameworkDir()
375 const DirectoryEntry *TopFrameworkDir = FileMgr.getDirectory(DirName); in getTopFrameworkDir()
376 DirName = FileMgr.getCanonicalName(TopFrameworkDir); in getTopFrameworkDir()
379 DirName = llvm::sys::path::parent_path(DirName); in getTopFrameworkDir()
380 if (DirName.empty()) in getTopFrameworkDir()
384 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName); in getTopFrameworkDir()
390 if (llvm::sys::path::extension(DirName) == ".framework") { in getTopFrameworkDir()
[all …]
DModuleMap.cpp188 StringRef DirName = SourceMgr.getFileManager().getCanonicalName(Dir); in findHeaderInUmbrellaDirs() local
200 DirName = llvm::sys::path::parent_path(DirName); in findHeaderInUmbrellaDirs()
201 if (DirName.empty()) in findHeaderInUmbrellaDirs()
205 Dir = SourceMgr.getFileManager().getDirectory(DirName); in findHeaderInUmbrellaDirs()
454 StringRef DirName = Dir->getName(); in isHeaderUnavailableInModule() local
507 DirName = llvm::sys::path::parent_path(DirName); in isHeaderUnavailableInModule()
508 if (DirName.empty()) in isHeaderUnavailableInModule()
512 Dir = SourceMgr.getFileManager().getDirectory(DirName); in isHeaderUnavailableInModule()
1903 std::string DirName = Tok.getString(); in parseUmbrellaDirDecl() local
1916 if (llvm::sys::path::is_absolute(DirName)) in parseUmbrellaDirDecl()
[all …]
/external/libbrillo/brillo/
Dfile_utils.cc115 if (!base::CreateDirectory(path.DirName())) { in TouchFileInternal()
197 if (!base::DirectoryExists(path.DirName())) { in WriteToFile()
198 if (!base::CreateDirectory(path.DirName())) { in WriteToFile()
199 LOG(ERROR) << "Cannot create directory: " << path.DirName().value(); in WriteToFile()
255 if (!base::DirectoryExists(path.DirName())) { in WriteToFileAtomic()
256 if (!base::CreateDirectory(path.DirName())) { in WriteToFileAtomic()
257 LOG(ERROR) << "Cannot create directory: " << path.DirName().value(); in WriteToFileAtomic()
/external/libchrome/base/
Dbase_paths.cc20 *result = result->DirName(); in PathProvider()
25 *result = result->DirName(); in PathProvider()
Dbase_paths_posix.cc100 *result = path.DirName().DirName(); in PathProviderPosix()
/external/autotest/client/deps/glbench/src/
Dfilepath.cc16 FilePath FilePath::DirName() { in DirName() function in FilePath
144 for (FilePath path = full_path.DirName(); path.value() != last_path.value(); in CreateDirectory()
145 path = path.DirName()) { in CreateDirectory()
Dfilepath.h18 FilePath DirName();
/external/clang/unittests/Basic/
DFileManagerTest.cpp133 const char *DirName = "C:."; in TEST_F() local
135 statCache->InjectDirectory(DirName, 44); in TEST_F()
155 EXPECT_STREQ(DirName, dir->getName()); in TEST_F()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp184 llvm::SmallString<0> DirName; in ReportDiag() local
187 llvm::sys::fs::current_path(DirName); in ReportDiag()
188 DirName += '/'; in ReportDiag()
203 << html::EscapeText(DirName) in ReportDiag()
251 os << "\n<!-- BUGFILE " << DirName << Entry->getName() << " -->\n"; in ReportDiag()
/external/clang/lib/Sema/
DTreeTransform.h1385 DeclarationNameInfo DirName, in RebuildOMPExecutableDirective() argument
1391 Kind, DirName, CancelRegion, Clauses, AStmt, StartLoc, EndLoc); in RebuildOMPExecutableDirective()
7204 DeclarationNameInfo DirName; in TransformOMPExecutableDirective() local
7206 DirName = cast<OMPCriticalDirective>(D)->getDirectiveName(); in TransformOMPExecutableDirective()
7207 DirName = getDerived().TransformDeclarationNameInfo(DirName); in TransformOMPExecutableDirective()
7217 D->getDirectiveKind(), DirName, CancelRegion, TClauses, in TransformOMPExecutableDirective()
7224 DeclarationNameInfo DirName; in TransformOMPParallelDirective() local
7225 getDerived().getSema().StartOpenMPDSABlock(OMPD_parallel, DirName, nullptr, in TransformOMPParallelDirective()
7235 DeclarationNameInfo DirName; in TransformOMPSimdDirective() local
7236 getDerived().getSema().StartOpenMPDSABlock(OMPD_simd, DirName, nullptr, in TransformOMPSimdDirective()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
DPTXAsmPrinter.h43 StringRef DirName);
DPTXAsmPrinter.cpp517 StringRef DirName) { in GetOrCreateSourceID() argument
523 if (!DirName.empty() && !sys::path::is_absolute(FileName)) { in GetOrCreateSourceID()
524 SmallString<128> FullPathName = DirName; in GetOrCreateSourceID()
/external/libchrome/base/files/
Dfile_path_watcher_linux.cc644 link = path.DirName().Append(link); in AddWatchForBrokenSymlink()
651 g_inotify_reader.Get().AddWatch(link.DirName(), this); in AddWatchForBrokenSymlink()
656 DPLOG(WARNING) << "Watch failed for " << link.DirName().value(); in AddWatchForBrokenSymlink()
Dfile_path.cc234 while (current != current.DirName()) { in GetComponents()
238 current = current.DirName(); in GetComponents()
247 FilePath dir = current.DirName(); in GetComponents()
308 FilePath FilePath::DirName() const { in DirName() function in base::FilePath
Dfile_util_posix.cc200 real_to_path = MakeAbsoluteFilePath(real_to_path.DirName()); in DoCopyDirectory()
228 from_path_base = from_path.DirName(); in DoCopyDirectory()
709 for (FilePath path = full_path.DirName(); in CreateDirectoryAndGetError()
710 path.value() != last_path.value(); path = path.DirName()) { in CreateDirectoryAndGetError()
Dfile_path.h243 FilePath DirName() const WARN_UNUSED_RESULT;
/external/libbrillo/policy/
Dresilient_policy_util.cc19 base::FilePath directory = default_policy_path.DirName(); in GetSortedResilientPolicyFilePaths()
/external/libchrome/mojo/public/cpp/platform/
Dnamed_platform_channel_posix.cc89 base::FilePath socket_dir = base::FilePath(name).DirName(); in CreateServerEndpoint()
/external/conscrypt/openjdk/src/test/resources/
Dca-cert.pem30 DirName:/C=GB/O=Certificate Transparency CA/ST=Wales/L=Erw Wen
Dcert.pem30 DirName:/C=GB/O=Certificate Transparency CA/ST=Wales/L=Erw Wen
Dcert-ct-embedded.pem30 DirName:/C=GB/O=Certificate Transparency CA/ST=Wales/L=Erw Wen
Dcert-ct-poisoned.pem30 DirName:/C=GB/O=Certificate Transparency CA/ST=Wales/L=Erw Wen
/external/clang/include/clang/Basic/
DFileManager.h207 const DirectoryEntry *getDirectory(StringRef DirName,

123