/external/clang/lib/Basic/ |
D | FileManager.cpp | 113 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/ |
D | canonical.pass.cpp | 54 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/ |
D | HeaderSearch.cpp | 152 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 …]
|
D | ModuleMap.cpp | 188 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/ |
D | file_utils.cc | 115 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/ |
D | base_paths.cc | 20 *result = result->DirName(); in PathProvider() 25 *result = result->DirName(); in PathProvider()
|
D | base_paths_posix.cc | 100 *result = path.DirName().DirName(); in PathProviderPosix()
|
/external/autotest/client/deps/glbench/src/ |
D | filepath.cc | 16 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()
|
D | filepath.h | 18 FilePath DirName();
|
/external/clang/unittests/Basic/ |
D | FileManagerTest.cpp | 133 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/ |
D | HTMLDiagnostics.cpp | 184 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/ |
D | TreeTransform.h | 1385 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/ |
D | PTXAsmPrinter.h | 43 StringRef DirName);
|
D | PTXAsmPrinter.cpp | 517 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/ |
D | file_path_watcher_linux.cc | 644 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()
|
D | file_path.cc | 234 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
|
D | file_util_posix.cc | 200 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()
|
D | file_path.h | 243 FilePath DirName() const WARN_UNUSED_RESULT;
|
/external/libbrillo/policy/ |
D | resilient_policy_util.cc | 19 base::FilePath directory = default_policy_path.DirName(); in GetSortedResilientPolicyFilePaths()
|
/external/libchrome/mojo/public/cpp/platform/ |
D | named_platform_channel_posix.cc | 89 base::FilePath socket_dir = base::FilePath(name).DirName(); in CreateServerEndpoint()
|
/external/conscrypt/openjdk/src/test/resources/ |
D | ca-cert.pem | 30 DirName:/C=GB/O=Certificate Transparency CA/ST=Wales/L=Erw Wen
|
D | cert.pem | 30 DirName:/C=GB/O=Certificate Transparency CA/ST=Wales/L=Erw Wen
|
D | cert-ct-embedded.pem | 30 DirName:/C=GB/O=Certificate Transparency CA/ST=Wales/L=Erw Wen
|
D | cert-ct-poisoned.pem | 30 DirName:/C=GB/O=Certificate Transparency CA/ST=Wales/L=Erw Wen
|
/external/clang/include/clang/Basic/ |
D | FileManager.h | 207 const DirectoryEntry *getDirectory(StringRef DirName,
|