Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/lldb/bindings/interface/
H A DSBFileSpec.i63 GetDirectory() const;
88 spec_dir = self.GetDirectory()
100 …dirname = property(GetDirectory, None, doc='''A read only property that returns the path directory…
/freebsd-13.1/contrib/llvm-project/lldb/source/API/
H A 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()
H A DSBReproducer.cpp319 fp.RecordInterestingDirectory(wp.GetDirectory()); in SetWorkingDirectory()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A 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()
H A DCppModuleConfiguration.cpp36 std::string dir_buffer = convert_to_slash(f.GetDirectory().GetStringRef()); in analyzeFile()
/freebsd-13.1/contrib/llvm-project/lldb/source/Host/common/
H A DHostInfoBase.cpp239 file_spec.GetDirectory().SetString(raw_path); in ComputePathRelativeToLibrary()
240 return (bool)file_spec.GetDirectory(); in ComputePathRelativeToLibrary()
256 file_spec.GetDirectory() = lldb_file_spec.GetDirectory(); in ComputeSharedLibraryDirectory()
258 return (bool)file_spec.GetDirectory(); in ComputeSharedLibraryDirectory()
276 file_spec.GetDirectory().SetCString(temp_file_spec.GetCString()); in ComputeProcessTempFileDirectory()
299 file_spec.GetDirectory().SetCString(temp_file_spec.GetCString()); in ComputeGlobalTempFileDirectory()
H A DFileSystem.cpp290 file_spec.GetDirectory().SetString(path); in Resolve()
332 ConstString directory = file_spec.GetDirectory(); in ResolveExecutableLocation()
/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A 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()
/freebsd-13.1/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointResolverFileLine.cpp128 relative_path = m_location_spec.GetFileSpec().GetDirectory().GetStringRef(); in FilterContexts()
137 auto sc_dir = sc.line_entry.file.GetDirectory().GetStringRef(); in FilterContexts()
235 search_file_spec.GetDirectory().Clear(); in SearchCallback()
/freebsd-13.1/contrib/llvm-project/lldb/source/Initialization/
H A DSystemInitializerCommon.cpp84 g->GetOrCreate<repro::WorkingDirectoryProvider>().GetDirectory()); in InitializeFileSystem()
86 g->GetOrCreate<repro::HomeDirectoryProvider>().GetDirectory()); in InitializeFileSystem()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DFileSpec.h223 ConstString &GetDirectory();
229 ConstString GetDirectory() const;
H A DReproducerProvider.h167 llvm::StringRef GetDirectory() { return m_directory; } in GetDirectory() function
/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A 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()
H A DTargetList.cpp395 if (file.GetDirectory()) { in CreateTargetInternal()
397 file_dir.GetDirectory() = file.GetDirectory(); in CreateTargetInternal()
H A DModuleCache.cpp142 FileSpec(sysroot_module_path_spec.GetDirectory().AsCString())); in CreateHostSysRootModuleLink()
/freebsd-13.1/contrib/llvm-project/lldb/source/Core/
H A DFileLineResolver.cpp40 (bool)m_file_spec.GetDirectory())) { in SearchCallback()
H A DFileSpecList.cpp67 bool compare_filename_only = file_spec.GetDirectory().IsEmpty(); in FindFileIndex()
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/API/
H A DSBFileSpec.h45 const char *GetDirectory() const;
/freebsd-13.1/contrib/llvm-project/lldb/source/Commands/
H A DCommandCompletions.cpp133 m_dir_name = partial_spec.GetDirectory().GetCString(); in SourceFileCompleter()
145 context.comp_unit->GetPrimaryFile().GetDirectory().GetCString(); in SearchCallback()
262 m_dir_name = partial_spec.GetDirectory().GetCString(); in ModuleCompleter()
274 context.module_sp->GetFileSpec().GetDirectory().GetCString(); in SearchCallback()
H A DCommandObjectTrace.cpp117 json_file.GetDirectory().AsCString())) { in DoExecute()
H A DCommandObjectSource.cpp207 bool has_path = (file_spec.GetDirectory().AsCString() != nullptr); in DumpFileLinesInCompUnit()
776 if (line_entry.file.GetDirectory().GetCString() < in operator <()
777 rhs.line_entry.file.GetDirectory().GetCString()) in operator <()
/freebsd-13.1/contrib/llvm-project/lldb/source/Host/posix/
H A DHostInfoPosix.cpp138 file_spec.GetDirectory().SetCString(temp_file.GetPath().c_str()); in ComputeHeaderDirectory()
/freebsd-13.1/contrib/llvm-project/lldb/tools/lldb-server/
H A Dlldb-platform.cpp100 FileSpec temp_file_spec(file_spec.GetDirectory().GetStringRef()); in save_socket_id_to_file()
/freebsd-13.1/contrib/llvm-project/lldb/source/Symbol/
H A DLocateSymbolFile.cpp272 ConstString file_dir = module_file_spec.GetDirectory(); in LocateExecutableSymbolFile()
H A DSymbol.cpp427 module_spec.GetFileSpec().GetDirectory().Clear(); in ResolveReExportedSymbolInModuleSpec()

12