Home
last modified time | relevance | path

Searched refs:GetDirectory (Results 1 – 25 of 59) sorted by relevance

123

/external/llvm-project/lldb/unittests/Utility/
DFileSpecTest.cpp26 EXPECT_STREQ("/foo", fs_posix.GetDirectory().GetCString()); in TEST()
37 EXPECT_EQ(nullptr, fs_posix_root.GetDirectory().GetCString()); in TEST()
42 EXPECT_EQ(nullptr, fs_net_drive.GetDirectory().GetCString()); in TEST()
47 EXPECT_STREQ("//net", fs_net_root.GetDirectory().GetCString()); in TEST()
52 EXPECT_EQ(nullptr, fs_windows_drive.GetDirectory().GetCString()); in TEST()
57 EXPECT_STREQ("F:", fs_windows_root.GetDirectory().GetCString()); in TEST()
63 EXPECT_STREQ("/foo/bar", fs_posix_long.GetDirectory().GetCString()); in TEST()
74 EXPECT_STREQ("/foo", fs_posix_trailing_slash.GetDirectory().GetCString()); in TEST()
86 EXPECT_STREQ("/foo", fs_posix.GetDirectory().GetCString()); in TEST()
92 EXPECT_STREQ("/foo/bar", fs_posix_2.GetDirectory().GetCString()); in TEST()
[all …]
/external/llvm-project/lldb/source/Host/linux/
DHostInfoLinux.cpp180 file_spec.GetDirectory() = GetProgramFileSpec().GetDirectory(); in ComputeSupportExeDirectory()
181 return !file_spec.GetDirectory().IsEmpty(); in ComputeSupportExeDirectory()
187 file_spec.GetDirectory().SetCString(temp_file.GetPath().c_str()); in ComputeSystemPluginsDirectory()
199 file_spec.GetDirectory().SetCString(user_plugin_dir.c_str()); in ComputeUserPluginsDirectory()
201 file_spec.GetDirectory().SetCString("~/.local/share/lldb"); in ComputeUserPluginsDirectory()
/external/angle/src/common/
Dsystem_utils_win.cpp30 std::string GetDirectory(HMODULE module) in GetDirectory() function
46 return GetDirectory(nullptr); in GetExecutableDirectory()
130 return GetDirectory(module); in GetModuleDirectory()
133 return GetDirectory(nullptr); in GetModuleDirectory()
/external/llvm-project/lldb/bindings/interface/
DSBFileSpec.i63 GetDirectory() const;
88 spec_dir = self.GetDirectory()
100 …dirname = property(GetDirectory, None, doc='''A read only property that returns the path directory…
/external/llvm-project/lldb/source/API/
DSBFileSpec.cpp119 const char *SBFileSpec::GetDirectory() const { in GetDirectory() function in SBFileSpec
120 LLDB_RECORD_METHOD_CONST_NO_ARGS(const char *, SBFileSpec, GetDirectory); in GetDirectory()
140 m_opaque_up->GetDirectory().SetCString(directory); in SetDirectory()
142 m_opaque_up->GetDirectory().Clear(); in SetDirectory()
213 LLDB_REGISTER_METHOD_CONST(const char *, SBFileSpec, GetDirectory, ()); in RegisterMethods()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DClangHost.cpp74 file_spec.GetDirectory().SetString(clang_dir); in DefaultComputeClangResourceDirectory()
121 file_spec.GetDirectory().SetString(clang_path.c_str()); in ComputeClangResourceDirectory()
136 file_spec.GetDirectory().SetString(clang_path.c_str()); in ComputeClangResourceDirectory()
147 file_spec.GetDirectory().SetString(raw_path.c_str()); in ComputeClangResourceDirectory()
DCppModuleConfiguration.cpp36 std::string dir_buffer = convert_to_slash(f.GetDirectory().GetStringRef()); in analyzeFile()
/external/llvm-project/lldb/source/Host/common/
DHostInfoBase.cpp239 file_spec.GetDirectory().SetString(raw_path); in ComputePathRelativeToLibrary()
240 return (bool)file_spec.GetDirectory(); in ComputePathRelativeToLibrary()
257 file_spec.GetDirectory() = lldb_file_spec.GetDirectory(); in ComputeSharedLibraryDirectory()
259 return (bool)file_spec.GetDirectory(); in ComputeSharedLibraryDirectory()
277 file_spec.GetDirectory().SetCString(temp_file_spec.GetCString()); in ComputeProcessTempFileDirectory()
300 file_spec.GetDirectory().SetCString(temp_file_spec.GetCString()); in ComputeGlobalTempFileDirectory()
/external/llvm-project/lldb/test/API/functionalities/paths/
DTestPaths.py37 current_directory_string = current_directory_spec.GetDirectory()
48 fspec.GetDirectory()),
/external/llvm-project/lldb/source/Utility/
DFileSpec.cpp296 if (full || (a.GetDirectory() && b.GetDirectory())) in Equal()
303 if (pattern.GetDirectory()) in Match()
335 ConstString &FileSpec::GetDirectory() { return m_directory; } in GetDirectory() function in FileSpec
338 ConstString FileSpec::GetDirectory() const { return m_directory; } in GetDirectory() function in FileSpec
506 StringRef dir = F.GetDirectory().GetStringRef(); in format()
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/
DPlatformDarwin.cpp129 symfile_spec.GetDirectory().GetCString(), in LocateExecutableScriptingResources()
133 symfile_spec.GetDirectory().GetCString(), in LocateExecutableScriptingResources()
231 module_spec.GetFileSpec().GetDirectory().AsCString(), in GetSharedModuleWithLocalCache()
233 module_spec.GetPlatformFileSpec().GetDirectory().AsCString(), in GetSharedModuleWithLocalCache()
235 module_spec.GetSymbolFileSpec().GetDirectory().AsCString(), in GetSharedModuleWithLocalCache()
289 module_spec.GetFileSpec().GetDirectory().AsCString(), in GetSharedModuleWithLocalCache()
320 module_spec.GetFileSpec().GetDirectory().AsCString(), in GetSharedModuleWithLocalCache()
335 module_spec.GetFileSpec().GetDirectory().AsCString(), in GetSharedModuleWithLocalCache()
343 module_spec.GetFileSpec().GetDirectory().AsCString(), in GetSharedModuleWithLocalCache()
352 module_spec.GetFileSpec().GetDirectory().AsCString(), in GetSharedModuleWithLocalCache()
[all …]
/external/llvm-project/lldb/source/Breakpoint/
DBreakpointResolverFileLine.cpp127 relative_path = m_file_spec.GetDirectory().GetStringRef(); in FilterContexts()
136 auto sc_dir = sc.line_entry.file.GetDirectory().GetStringRef(); in FilterContexts()
222 search_file_spec.GetDirectory().Clear(); in SearchCallback()
/external/llvm-project/lldb/source/Initialization/
DSystemInitializerCommon.cpp83 g->GetOrCreate<repro::WorkingDirectoryProvider>().GetDirectory()); in InitializeFileSystem()
85 g->GetOrCreate<repro::HomeDirectoryProvider>().GetDirectory()); in InitializeFileSystem()
/external/llvm-project/lldb/include/lldb/Utility/
DFileSpec.h223 ConstString &GetDirectory();
229 ConstString GetDirectory() const;
/external/llvm-project/lldb/test/API/macosx/lc-note/firmware-corefile/
DTestFirmwareCorefiles.py120 filepath = fspec.GetDirectory() + "/" + fspec.GetFilename()
132 filepath = fspec.GetDirectory() + "/" + fspec.GetFilename()
/external/llvm-project/lldb/test/API/python_api/default-constructor/
Dsb_filespec.py12 obj.GetDirectory()
/external/llvm-project/lldb/test/API/lang/cpp/class_types/
DTestClassTypes.py70 fsDir = os.path.normpath(filespec.GetDirectory())
186 fsDir = os.path.normpath(filespec.GetDirectory())
/external/llvm-project/lldb/source/Target/
DPlatform.cpp584 recurse_dst.GetDirectory().SetCString(dst_dir.GetPath().c_str()); in RecurseCopy_Callback()
654 if (dst.GetDirectory()) { in Install()
655 const char first_dst_dir_char = dst.GetDirectory().GetCString()[0]; in Install()
657 fixed_dst.GetDirectory() = dst.GetDirectory(); in Install()
662 if (!fixed_dst.GetDirectory()) { in Install()
668 fixed_dst.GetDirectory() = relative_spec.GetDirectory(); in Install()
678 fixed_dst.GetDirectory().SetCString(working_dir.GetCString()); in Install()
688 fixed_dst.GetDirectory().SetCString(working_dir.GetCString()); in Install()
715 recurse_dst.GetDirectory().SetCString(fixed_dst.GetCString()); in Install()
/external/llvm-project/lldb/source/Core/
DFileLineResolver.cpp40 (bool)m_file_spec.GetDirectory())) { in SearchCallback()
DFileSpecList.cpp67 bool compare_filename_only = file_spec.GetDirectory().IsEmpty(); in FindFileIndex()
/external/llvm-project/lldb/include/lldb/API/
DSBFileSpec.h45 const char *GetDirectory() const;
/external/llvm-project/lldb/test/API/functionalities/process_save_core/
DTestProcessSaveCore.py57 f.GetDirectory(),
/external/llvm-project/lldb/test/API/macosx/lc-note/kern-ver-str/
DTestKernVerStrLCNOTE.py98 filepath = fspec.GetDirectory() + "/" + fspec.GetFilename()
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/lldb/
DLLDB.py141 bl_dir = sb_file_entry.GetDirectory()
176 path = os.path.join(sb_filespec.GetDirectory(),
/external/llvm-project/lldb/source/Host/macosx/objcxx/
DHostInfoMacOSX.mm179 file_spec.GetDirectory().SetString(
181 return (bool)file_spec.GetDirectory();
197 file_spec.GetDirectory().SetString(
216 file_spec.GetDirectory().SetString(
224 file_spec.GetDirectory().SetCString(temp_file.GetPath().c_str());

123