Searched defs:DirName (Results 1 - 12 of 12) sorted by relevance

/external/llvm/lib/ExecutionEngine/
H A DEventListenerCommon.h48 StringRef DirName = DIScope.getDirectory(); local
51 if (DirName != "." && DirName != "") {
52 FullPath = DirName;
/external/clang/unittests/Basic/
H A DFileManagerTest.cpp127 const char *DirName = "C:."; local
129 statCache->InjectDirectory(DirName, 44);
149 EXPECT_STREQ(DirName, dir->getName());
/external/chromium_org/webkit/common/fileapi/
H A Dfile_system_util.cc30 // with base::FilePath elsewhere [e.g. DirName and other methods may also need
48 base::FilePath VirtualPath::DirName(const base::FilePath& virtual_path) { function in class:fileapi::VirtualPath
52 // The logic below is taken from that of base::FilePath::DirName, except
/external/clang/lib/Basic/
H A DFileManager.cpp172 StringRef DirName = llvm::sys::path::parent_path(Filename);
174 if (DirName.empty())
175 DirName = ".";
177 return FileMgr.getDirectory(DirName, CacheFailure);
183 StringRef DirName = llvm::sys::path::parent_path(Path); local
184 if (DirName.empty())
188 SeenDirEntries.GetOrCreateValue(DirName);
191 // at the same time. Therefore, if DirName is already in the cache,
204 addAncestorsAsVirtualDirs(DirName);
207 const DirectoryEntry *FileManager::getDirectory(StringRef DirName, argument
[all...]
/external/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp472 bool ELFAsmParser::ParseDirectivePrevious(StringRef DirName, SMLoc) { argument
H A DDarwinAsmParser.cpp568 bool DarwinAsmParser::ParseDirectivePrevious(StringRef DirName, SMLoc) { argument
/external/chromium/base/
H A Dfile_path.cc221 while (current != current.DirName()) {
225 current = current.DirName();
234 FilePath dir = current.DirName();
295 FilePath FilePath::DirName() const { function in class:FilePath
453 // only kCurrentDirectory when calling DirName on a single relative path
/external/chromium_org/base/files/
H A Dfile_path.cc231 while (current != current.DirName()) {
235 current = current.DirName();
244 FilePath dir = current.DirName();
305 FilePath FilePath::DirName() const { function in class:base::FilePath
470 // only kCurrentDirectory when calling DirName on a single relative path
/external/clang/lib/Lex/
H A DHeaderSearch.cpp289 /// \param DirName The name of the framework directory.
293 getTopFrameworkDir(FileManager &FileMgr, StringRef DirName, argument
295 assert(llvm::sys::path::extension(DirName) == ".framework" &&
312 const DirectoryEntry *TopFrameworkDir = FileMgr.getDirectory(DirName);
313 DirName = FileMgr.getCanonicalName(TopFrameworkDir);
316 DirName = llvm::sys::path::parent_path(DirName);
317 if (DirName.empty())
321 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName);
327 if (llvm::sys::path::extension(DirName)
937 StringRef DirName = FileName; local
1054 loadModuleMapFile(StringRef DirName, bool IsSystem) argument
[all...]
H A DModuleMap.cpp206 StringRef DirName = SourceMgr->getFileManager().getCanonicalName(Dir); local
278 DirName = llvm::sys::path::parent_path(DirName);
279 if (DirName.empty())
283 Dir = SourceMgr->getFileManager().getDirectory(DirName);
296 StringRef DirName = Dir->getName(); local
344 DirName = llvm::sys::path::parent_path(DirName);
345 if (DirName.empty())
349 Dir = SourceMgr->getFileManager().getDirectory(DirName);
1468 std::string DirName = Tok.getString(); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp161 llvm::SmallString<0> DirName; local
164 llvm::sys::fs::current_path(DirName);
165 DirName += '/';
177 << html::EscapeText(DirName)
218 os << "\n<!-- BUGFILE " << DirName << Entry->getName() << " -->\n";
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.cpp653 StringRef DirName, unsigned CUID) {
665 if (DirName == CompilationDir)
666 DirName = "";
675 NamePair += DirName;
685 Asm->OutStreamer.EmitDwarfFileDirective(SrcId, DirName, FileName, CUID);
652 getOrCreateSourceID(StringRef FileName, StringRef DirName, unsigned CUID) argument

Completed in 934 milliseconds