Home
last modified time | relevance | path

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

12

/external/clang/lib/Basic/
DFileManager.cpp114 StringRef DirName = llvm::sys::path::parent_path(Filename); in getDirectoryFromFile() local
116 if (DirName.empty()) in getDirectoryFromFile()
117 DirName = "."; in getDirectoryFromFile()
119 return FileMgr.getDirectory(DirName, CacheFailure); in getDirectoryFromFile()
125 StringRef DirName = llvm::sys::path::parent_path(Path); in addAncestorsAsVirtualDirs() local
126 if (DirName.empty()) in addAncestorsAsVirtualDirs()
130 *SeenDirEntries.insert(std::make_pair(DirName, nullptr)).first; in addAncestorsAsVirtualDirs()
146 addAncestorsAsVirtualDirs(DirName); in addAncestorsAsVirtualDirs()
149 const DirectoryEntry *FileManager::getDirectory(StringRef DirName, in getDirectory() argument
154 if (DirName.size() > 1 && in getDirectory()
[all …]
/external/fonttools/Windows/
Dfonttools-win-setup.iss129 procedure ModifyPathString(OldPath, DirName: string; Method: integer; Quotes: boolean; var ResultPa…
138 // Remove quotes form DirName
139 DirName := Trim(DirName);
140 DirName := RemoveQuotes(DirName);
141 DirName := Trim(DirName);
150 if (uppercase(Dirs.Strings[i]) = uppercase(DirName)) then
159 …if (((Method and pmRemoveSubdirsAlso) > 0) and (pos(uppercase(DirName)+'\', uppercase(Dirs.Strings…
160 …(((Method and (pmRemove) or (pmRemoveSubdirsAlso)) > 0) and (uppercase(DirName) = uppercase(Dirs.S…
173 if (((Method and pmAddOnlyIfDirExists) = 0) or (DirExists(DirName))) then
177 Dirs.Insert(0, DirName)
[all …]
/external/clang/lib/Lex/
DHeaderSearch.cpp152 auto DirName = FileMgr.getCanonicalName(Dir); in getModuleFileName() local
156 llvm::hash_combine(DirName.lower(), FileName.lower(), in getModuleFileName()
355 getTopFrameworkDir(FileManager &FileMgr, StringRef DirName, in getTopFrameworkDir() argument
357 assert(llvm::sys::path::extension(DirName) == ".framework" && in getTopFrameworkDir()
374 const DirectoryEntry *TopFrameworkDir = FileMgr.getDirectory(DirName); in getTopFrameworkDir()
375 DirName = FileMgr.getCanonicalName(TopFrameworkDir); in getTopFrameworkDir()
378 DirName = llvm::sys::path::parent_path(DirName); in getTopFrameworkDir()
379 if (DirName.empty()) in getTopFrameworkDir()
383 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName); in getTopFrameworkDir()
389 if (llvm::sys::path::extension(DirName) == ".framework") { in getTopFrameworkDir()
[all …]
DModuleMap.cpp190 StringRef DirName = SourceMgr.getFileManager().getCanonicalName(Dir); in findHeaderInUmbrellaDirs() local
202 DirName = llvm::sys::path::parent_path(DirName); in findHeaderInUmbrellaDirs()
203 if (DirName.empty()) in findHeaderInUmbrellaDirs()
207 Dir = SourceMgr.getFileManager().getDirectory(DirName); in findHeaderInUmbrellaDirs()
460 StringRef DirName = Dir->getName(); in isHeaderUnavailableInModule() local
513 DirName = llvm::sys::path::parent_path(DirName); in isHeaderUnavailableInModule()
514 if (DirName.empty()) in isHeaderUnavailableInModule()
518 Dir = SourceMgr.getFileManager().getDirectory(DirName); in isHeaderUnavailableInModule()
1901 std::string DirName = Tok.getString(); in parseUmbrellaDirDecl() local
1914 if (llvm::sys::path::is_absolute(DirName)) in parseUmbrellaDirDecl()
[all …]
/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.h1373 DeclarationNameInfo DirName, in RebuildOMPExecutableDirective() argument
1379 Kind, DirName, CancelRegion, Clauses, AStmt, StartLoc, EndLoc); in RebuildOMPExecutableDirective()
7094 DeclarationNameInfo DirName; in TransformOMPExecutableDirective() local
7096 DirName = cast<OMPCriticalDirective>(D)->getDirectiveName(); in TransformOMPExecutableDirective()
7097 DirName = getDerived().TransformDeclarationNameInfo(DirName); in TransformOMPExecutableDirective()
7107 D->getDirectiveKind(), DirName, CancelRegion, TClauses, in TransformOMPExecutableDirective()
7114 DeclarationNameInfo DirName; in TransformOMPParallelDirective() local
7115 getDerived().getSema().StartOpenMPDSABlock(OMPD_parallel, DirName, nullptr, in TransformOMPParallelDirective()
7125 DeclarationNameInfo DirName; in TransformOMPSimdDirective() local
7126 getDerived().getSema().StartOpenMPDSABlock(OMPD_simd, DirName, nullptr, in TransformOMPSimdDirective()
[all …]
/external/libchrome/base/files/
Dfile_path_watcher_linux.cc654 link = path.DirName().Append(link); in AddWatchForBrokenSymlink()
661 g_inotify_reader.Get().AddWatch(link.DirName(), this); in AddWatchForBrokenSymlink()
666 DPLOG(WARNING) << "Watch failed for " << link.DirName().value(); in AddWatchForBrokenSymlink()
Dfile_util_posix.cc271 real_to_path = MakeAbsoluteFilePath(real_to_path.DirName()); in CopyDirectory()
304 from_path_base = from_path.DirName(); in CopyDirectory()
580 for (FilePath path = full_path.DirName(); in CreateDirectoryAndGetError()
581 path.value() != last_path.value(); path = path.DirName()) { in CreateDirectoryAndGetError()
Dfile_path.cc233 while (current != current.DirName()) { in GetComponents()
237 current = current.DirName(); in GetComponents()
246 FilePath dir = current.DirName(); in GetComponents()
307 FilePath FilePath::DirName() const { in DirName() function in base::FilePath
Dfile_path.h236 FilePath DirName() const WARN_UNUSED_RESULT;
Dimportant_file_writer.cc88 if (!CreateTemporaryFileInDir(path.DirName(), &tmp_file_path)) { in WriteFileAtomically()
Dfile_path_watcher_fsevents.cc221 NULL, resolved_target_.DirName().value().c_str(), in UpdateEventStream()
/external/libbrillo/brillo/
Dfile_utils.cc109 if (!base::CreateDirectory(path.DirName())) { in TouchFileInternal()
/external/clang/lib/Parse/
DParseOpenMP.cpp182 DeclarationNameInfo DirName; in ParseOpenMPDeclarativeOrExecutableDirective() local
251 DirName = in ParseOpenMPDeclarativeOrExecutableDirective()
270 Actions.StartOpenMPDSABlock(DKind, DirName, Actions.getCurScope(), Loc); in ParseOpenMPDeclarativeOrExecutableDirective()
322 DKind, DirName, CancelRegion, Clauses, AssociatedStmt.get(), Loc, in ParseOpenMPDeclarativeOrExecutableDirective()
/external/clang/include/clang/Basic/
DFileManager.h205 const DirectoryEntry *getDirectory(StringRef DirName,
/external/conscrypt/src/test/resources/
Dcert.pem30 DirName:/C=GB/O=Certificate Transparency CA/ST=Wales/L=Erw Wen
Dca-cert.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
Dcert-ct-embedded.pem30 DirName:/C=GB/O=Certificate Transparency CA/ST=Wales/L=Erw Wen
/external/clang/include/clang/AST/
DStmtOpenMP.h1150 DeclarationNameInfo DirName; variable
1162 DirName(Name) {} in OMPCriticalDirective()
1172 DirName() {} in OMPCriticalDirective()
1178 void setDirectiveName(const DeclarationNameInfo &Name) { DirName = Name; } in setDirectiveName()
1205 DeclarationNameInfo getDirectiveName() const { return DirName; } in getDirectiveName()
/external/autotest/client/site_tests/security_OpenSSLBlacklist/src/
Dca.pem31DirName:/C=US/ST=California/O=Google Inc/OU=Chrome OS/CN=OpenSSL Test CA/emailAddress=security@chr…
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h105 unsigned getOrCreateSourceID(StringRef FileName, StringRef DirName) override;
/external/autotest/client/site_tests/platform_AccurateTime/src/
Dca.pem31DirName:/C=US/ST=California/O=Google Inc/OU=Chrome OS/CN=OpenSSL Test CA/emailAddress=security@chr…
/external/autotest/client/deps/glbench/src/
Dutils.cc33 FilePath argv0_path = FilePath(argv0).DirName(); in SetBasePathFromArgv0()

12