Home
last modified time | relevance | path

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

1234

/external/chromium/base/
Dbase_paths_mac.mm60 *result = result->DirName();
65 *result = result->DirName().DirName().DirName().DirName().DirName();
69 *result = result->DirName().DirName();
Dbase_paths_linux.cc81 path = path.DirName().DirName(); in PathProviderPosix()
91 path = path.DirName().DirName().Append("Source/WebKit/chromium"); in PathProviderPosix()
Dbase_paths_win.cc96 cur = FilePath(system_buffer).DirName().AppendASCII("LocalLow"); in PathProviderWin()
109 cur = executableDir.DirName().DirName(); in PathProviderWin()
116 cur = executableDir.DirName(); in PathProviderWin()
Dbase_paths.cc20 cur = cur.DirName(); in PathProvider()
24 cur = cur.DirName(); in PathProvider()
Dnative_library_win.cc27 FilePath plugin_path = library_path.DirName(); in LoadNativeLibraryHelper()
Dfile_path.cc221 while (current != current.DirName()) { in GetComponents()
225 current = current.DirName(); in GetComponents()
234 FilePath dir = current.DirName(); in GetComponents()
295 FilePath FilePath::DirName() const { in DirName() function in FilePath
Dfile_util_proxy.cc27 if (!file_util::DirectoryExists(dest_file_path.DirName())) in PerformCommonCheckAndPreparationForMoveAndCopy()
140 if (!file_util::DirectoryExists(file_path_.DirName())) { in RunWork()
268 if (!file_util::DirectoryExists(file_path_.DirName())) { in RunWork()
400 if (!recursive_ && !file_util::PathExists(file_path_.DirName())) { in RunWork()
/external/clang/lib/Basic/
DFileManager.cpp227 StringRef DirName = llvm::sys::path::parent_path(Filename); in getDirectoryFromFile() local
229 if (DirName.empty()) in getDirectoryFromFile()
230 DirName = "."; in getDirectoryFromFile()
232 return FileMgr.getDirectory(DirName, CacheFailure); in getDirectoryFromFile()
238 StringRef DirName = llvm::sys::path::parent_path(Path); in addAncestorsAsVirtualDirs() local
239 if (DirName.empty()) in addAncestorsAsVirtualDirs()
243 SeenDirEntries.GetOrCreateValue(DirName); in addAncestorsAsVirtualDirs()
259 addAncestorsAsVirtualDirs(DirName); in addAncestorsAsVirtualDirs()
266 const DirectoryEntry *FileManager::getDirectory(StringRef DirName, in getDirectory() argument
271 if (DirName.size() > 1 && llvm::sys::path::is_separator(DirName.back())) in getDirectory()
[all …]
/external/llvm/lib/ExecutionEngine/
DEventListenerCommon.h48 StringRef DirName = DIScope.getDirectory(); in getFullPath() local
51 if (DirName != "." && DirName != "") { in getFullPath()
52 FullPath = DirName; in getFullPath()
/external/clang/lib/Lex/
DHeaderSearch.cpp797 StringRef DirName = FileName; in hasModuleMap() local
800 DirName = llvm::sys::path::parent_path(DirName); in hasModuleMap()
801 if (DirName.empty()) in hasModuleMap()
805 const DirectoryEntry *Dir = FileMgr.getDirectory(DirName); in hasModuleMap()
893 StringRef DirName = Dir->getName(); in loadFrameworkModule() local
896 DirName = llvm::sys::path::parent_path(DirName); in loadFrameworkModule()
897 if (DirName.empty()) in loadFrameworkModule()
901 Dir = FileMgr.getDirectory(DirName); in loadFrameworkModule()
907 if (llvm::sys::path::extension(DirName) == ".framework") { in loadFrameworkModule()
908 SubmodulePath.push_back(llvm::sys::path::stem(DirName)); in loadFrameworkModule()
[all …]
DModuleMap.cpp113 StringRef DirName = Dir->getName(); in findModuleForHeader() local
179 DirName = llvm::sys::path::parent_path(DirName); in findModuleForHeader()
180 if (DirName.empty()) in findModuleForHeader()
184 Dir = SourceMgr->getFileManager().getDirectory(DirName); in findModuleForHeader()
198 StringRef DirName = Dir->getName(); in isHeaderInUnavailableModule() local
240 DirName = llvm::sys::path::parent_path(DirName); in isHeaderInUnavailableModule()
241 if (DirName.empty()) in isHeaderInUnavailableModule()
245 Dir = SourceMgr->getFileManager().getDirectory(DirName); in isHeaderInUnavailableModule()
1190 std::string DirName = Tok.getString(); in parseUmbrellaDirDecl() local
1203 if (llvm::sys::path::is_absolute(DirName)) in parseUmbrellaDirDecl()
[all …]
/external/chromium/chrome/common/
Dchrome_paths_mac.mm37 FilePath outer_app_dir = versioned_dir.DirName().DirName().DirName();
142 path = path.DirName().DirName();
149 path = path.DirName().DirName();
Dchrome_paths.cc95 *result = result->DirName(); in PathProvider()
96 *result = result->DirName(); in PathProvider()
97 *result = result->DirName(); in PathProvider()
/external/chromium/chrome/common/extensions/
Dextension_unpacker.cc151 extension_path_.DirName().AppendASCII(filenames::kTempExtensionName); in Run()
217 FilePath path = extension_path_.DirName().AppendASCII( in DumpImagesToFile()
232 FilePath path = extension_path_.DirName().AppendASCII( in DumpMessageCatalogsToFile()
313 std::string dir_name = relative_path.DirName().MaybeAsASCII(); in ReadMessageCatalog()
/external/chromium/chrome/browser/
Dbrowsing_data_database_helper_browsertest.cc37 file_util::CreateDirectory(db_path1.DirName()); in CreateDatabases()
45 file_util::CreateDirectory(db_path2.DirName()); in CreateDatabases()
Dplatform_util_linux.cc60 FilePath dir = full_path.DirName(); in ShowItemInFolder()
Duser_style_sheet_watcher_unittest.cc24 file_util::CreateDirectory(style_sheet_file.DirName()); in TEST()
Dplatform_util_chromeos.cc40 FilePath dir = full_path.DirName(); in ShowItemInFolder()
Dfile_select_helper.cc78 profile_->set_last_selected_directory(path.DirName()); in FileSelected()
95 profile_->set_last_selected_directory(files[0].DirName()); in MultiFilesSelected()
/external/llvm/lib/Target/PTX/
DPTXAsmPrinter.h43 StringRef DirName);
DPTXAsmPrinter.cpp484 StringRef DirName) { in GetOrCreateSourceID() argument
490 if (!DirName.empty() && !sys::path::is_absolute(FileName)) { in GetOrCreateSourceID()
491 SmallString<128> FullPathName = DirName; in GetOrCreateSourceID()
/external/chromium/chrome/browser/ui/gtk/
Ddialogs_gtk.cc310 *last_saved_path_ = path.DirName(); in FileSelected()
312 *last_opened_path_ = path.DirName(); in FileSelected()
329 *last_opened_path_ = files[0].DirName(); in MultiFilesSelected()
448 default_path.DirName().value().c_str()); in CreateSaveAsDialog()
/external/clang/lib/StaticAnalyzer/Core/
DHTMLDiagnostics.cpp199 std::string DirName = ""; in ReportDiag() local
203 DirName = P.str() + "/"; in ReportDiag()
215 << html::EscapeText(DirName) in ReportDiag()
256 os << "\n<!-- BUGFILE " << DirName << Entry->getName() << " -->\n"; in ReportDiag()
/external/chromium/chrome/browser/importer/
Dfirefox_profile_lock_posix.cc71 old_lock_file_ = lock_file_.DirName().Append(kOldLockFileName); in Lock()
/external/chromium/chrome/browser/nacl_host/
Dnacl_broker_host_win.cc35 FilePath nacl_path = module_path.DirName().Append(chrome::kNaClAppName); in Init()

1234