Home
last modified time | relevance | path

Searched refs:ConstString (Results 1 – 25 of 414) sorted by relevance

12345678910>>...17

/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DConstString.h40 class ConstString {
45 ConstString() = default;
47 explicit ConstString(llvm::StringRef s);
57 explicit ConstString(const char *cstr);
79 explicit ConstString(const char *cstr, size_t max_cstr_len);
109 bool operator==(ConstString rhs) const {
151 bool operator!=(ConstString rhs) const { return m_string != rhs.m_string; }
166 bool operator<(ConstString rhs) const;
252 static bool Equals(ConstString lhs, ConstString rhs,
276 static int Compare(ConstString lhs, ConstString rhs,
[all …]
H A DFileSpec.h234 const ConstString &GetDirectory() const { return m_directory; } in GetDirectory()
240 void SetDirectory(ConstString directory);
251 const ConstString &GetFilename() const { return m_filename; } in GetFilename()
257 void SetFilename(ConstString filename);
328 ConstString GetPathAsConstString(bool denormalize = true) const;
353 ConstString GetFileNameStrippingExtension() const;
434 ConstString m_directory;
437 ConstString m_filename;
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DConstString.cpp165 ConstString::MemoryStats GetMemoryStats() const { in GetMemoryStats()
166 ConstString::MemoryStats stats; in GetMemoryStats()
211 ConstString::ConstString(const char *cstr) in ConstString() function in ConstString
214 ConstString::ConstString(const char *cstr, size_t cstr_len) in ConstString() function in ConstString
217 ConstString::ConstString(llvm::StringRef s) in ConstString() function in ConstString
220 bool ConstString::operator<(ConstString rhs) const { in operator <()
235 Stream &lldb_private::operator<<(Stream &s, ConstString str) { in operator <<()
243 size_t ConstString::GetLength() const { in GetLength()
247 bool ConstString::Equals(ConstString lhs, ConstString rhs, in Equals()
264 int ConstString::Compare(ConstString lhs, ConstString rhs, in Compare()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DMangled.h63 explicit Mangled(ConstString name);
130 ConstString GetDemangledName() const;
136 ConstString GetDisplayDemangledName() const;
138 void SetDemangledName(ConstString name) { in SetDemangledName()
143 void SetMangledName(ConstString name) { in SetMangledName()
152 ConstString &GetMangledName() { return m_mangled; } in GetMangledName()
158 ConstString GetMangledName() const { return m_mangled; } in GetMangledName()
169 ConstString GetName(NamePreference preference = ePreferDemangled) const;
178 bool NameMatches(ConstString name) const { in NameMatches()
202 void SetValue(ConstString name);
[all …]
H A DUniqueCStringMap.h29 Entry(ConstString cstr, const T &v) : cstring(cstr), value(v) {} in Entry()
31 ConstString cstring;
42 void Append(ConstString unique_cstr, const T &value) { in Append()
62 ConstString GetCStringAtIndexUnchecked(uint32_t idx) const { in GetCStringAtIndexUnchecked()
76 ConstString GetCStringAtIndex(uint32_t idx) const { in GetCStringAtIndex()
77 return ((idx < m_map.size()) ? m_map[idx].cstring : ConstString()); in GetCStringAtIndex()
86 T Find(ConstString unique_cstr, T fail_value) const { in Find()
98 const Entry *FindFirstValueForName(ConstString unique_cstr) const { in FindFirstValueForName()
124 size_t GetValues(ConstString unique_cstr, std::vector<T> &values) const { in GetValues()
203 equal_range(ConstString unique_cstr) const { in equal_range()
[all …]
H A DModule.h128 ConstString object_name = ConstString(), lldb::offset_t object_offset = 0,
261 ConstString name, lldb::SymbolType symbol_type = lldb::eSymbolTypeAny);
263 void FindSymbolsWithNameAndType(ConstString name,
284 void FindFunctionSymbols(ConstString name, uint32_t name_type_mask,
335 void FindFunctions(ConstString name,
406 void FindGlobalVariables(ConstString name,
532 ConstString GetObjectName() const;
771 void SetFileSpecAndObjectName(const FileSpec &file, ConstString object_name);
919 LookupInfo(ConstString name, lldb::FunctionNameType name_type_mask,
922 ConstString GetName() const { return m_name; } in GetName()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSDictionary.h46 virtual bool Match(ConstString class_name) = 0;
52 Prefix(ConstString p);
54 bool Match(ConstString class_name) override;
57 ConstString m_prefix;
61 Full(ConstString n);
63 bool Match(ConstString class_name) override;
66 ConstString m_name;
70 MatcherUP GetFullMatch(ConstString n) { return std::make_unique<Full>(n); } in GetFullMatch()
72 MatcherUP GetPrefixMatch(ConstString p) { in GetPrefixMatch()
H A DNSArray.cpp34 std::map<ConstString, CXXFunctionSummaryFormat::Callback> &
36 static std::map<ConstString, CXXFunctionSummaryFormat::Callback> g_map; in GetAdditionalSummaries()
40 std::map<ConstString, CXXSyntheticChildren::CreateFrontEndCallback> &
42 static std::map<ConstString, CXXSyntheticChildren::CreateFrontEndCallback> in GetAdditionalSynthetics()
59 llvm::Expected<size_t> GetIndexOfChildWithName(ConstString name) override;
221 llvm::Expected<size_t> GetIndexOfChildWithName(ConstString name) override;
309 llvm::Expected<size_t> GetIndexOfChildWithName(ConstString name) override;
324 llvm::Expected<size_t> GetIndexOfChildWithName(ConstString name) override;
357 ConstString class_name(descriptor->GetClassName()); in NSArraySummaryProvider()
359 static const ConstString g_NSArrayI("__NSArrayI"); in NSArraySummaryProvider()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/ValueObject/
H A DValueObjectConstResult.h44 ConstString name, const DataExtractor &data,
49 ConstString name, const lldb::DataBufferSP &result_data_sp,
55 ConstString name, lldb::addr_t address,
60 Value &value, ConstString name,
73 ConstString GetTypeName() override;
75 ConstString GetDisplayTypeName() override;
85 ConstString name_const_str = ConstString()) override;
113 ConstString m_type_name;
128 const CompilerType &compiler_type, ConstString name,
133 const CompilerType &compiler_type, ConstString name,
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DDataVisualization.h62 static bool GetSummaryFormat(ConstString type,
65 static void Add(ConstString type,
68 static bool Delete(ConstString type);
81 static bool GetCategory(ConstString category,
88 static void Add(ConstString category);
90 static bool Delete(ConstString category);
94 static void Clear(ConstString category);
96 static void Enable(ConstString category,
101 static void Disable(ConstString category);
H A DFormatManager.h53 EnableCategory(ConstString category_name,
58 void EnableCategory(ConstString category_name, in EnableCategory()
67 void DisableCategory(ConstString category_name) { in DisableCategory()
85 bool DeleteCategory(ConstString category_name) { in DeleteCategory()
103 return GetCategory(ConstString(category_name));
106 lldb::TypeCategoryImplSP GetCategory(ConstString category_name,
170 static ConstString GetTypeForCache(ValueObject &, lldb::DynamicValueType);
193 ConstString m_default_category_name;
194 ConstString m_system_category_name;
195 ConstString m_vectortypes_category_name;
H A DFormatCache.h48 std::map<ConstString, Entry> m_entries;
57 template <typename ImplSP> bool Get(ConstString type, ImplSP &format_impl_sp);
58 void Set(ConstString type, lldb::TypeFormatImplSP &format_sp);
59 void Set(ConstString type, lldb::TypeSummaryImplSP &summary_sp);
60 void Set(ConstString type, lldb::SyntheticChildrenSP &synthetic_sp);
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusLanguage.h30 CxxMethodName(ConstString s) : Language::MethodName(s) {} in CxxMethodName()
59 GetMethodName(ConstString name) const override;
61 std::pair<lldb::FunctionNameType, std::optional<ConstString>>
62 GetFunctionNameInfo(ConstString name) const override;
98 ConstString demangled) const override;
100 ConstString
131 std::vector<ConstString>
132 GenerateAlternateFunctionManglings(const ConstString mangled) const override;
134 ConstString FindBestAlternateFunctionMangledName(
H A DLibCxxVariant.cpp154 *valobj_sp, {ConstString("__impl_"), ConstString("__impl")}); in LibcxxVariantSummaryProvider()
205 llvm::Expected<size_t> GetIndexOfChildWithName(ConstString name) override { in GetIndexOfChildWithName()
226 m_backend, {ConstString("__impl_"), ConstString("__impl")}); in Update()
248 m_backend, {ConstString("__impl_"), ConstString("__impl")}); in GetChildAtIndex()
279 return head_value->Clone(ConstString("Value")); in GetChildAtIndex()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DLanguage.h201 ConstString m_name;
205 MethodNameVariant(ConstString name, lldb::FunctionNameType type) in MethodNameVariant()
207 ConstString GetName() const { return m_name; } in GetName()
214 GetMethodNameVariants(ConstString method_name) const { in GetMethodNameVariants()
222 MethodName(ConstString full) in MethodName()
249 ConstString GetFullName() const { return m_full; } in GetFullName()
293 ConstString m_full; // Full name:
307 GetMethodName(ConstString name) const { in GetMethodName()
311 virtual std::pair<lldb::FunctionNameType, std::optional<ConstString>>
312 GetFunctionNameInfo(ConstString name) const { in GetFunctionNameInfo()
[all …]
H A DPathMappingList.h64 bool GetPathsAtIndex(uint32_t idx, ConstString &path,
65 ConstString &new_path) const;
72 bool Remove(ConstString path, bool notify);
78 bool RemapPath(ConstString path, ConstString &new_path) const;
142 typedef std::pair<ConstString, ConstString> pair;
151 iterator FindIteratorForPath(ConstString path);
153 const_iterator FindIteratorForPath(ConstString path) const;
/freebsd/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DType.h53 CompilerContext(CompilerContextKind t, ConstString n) : kind(t), name(n) {} in CompilerContext()
63 ConstString name;
169 TypeQuery(const CompilerDeclContext &decl_ctx, ConstString type_basename, in LLDB_MARK_AS_BITMASK_ENUM()
248 ConstString GetTypeBasename() const; in LLDB_MARK_AS_BITMASK_ENUM()
479 ConstString GetName();
481 ConstString GetBaseName();
498 ConstString GetName() const { return m_name; } in GetName()
500 ConstString GetQualifiedName();
577 ConstString m_name;
602 Type(lldb::user_id_t uid, SymbolFile *symbol_file, ConstString name,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionDeclMap.h127 ConstString name, TypeFromParser type,
150 bool AddValueToStruct(const clang::NamedDecl *decl, ConstString name,
208 lldb::offset_t &offset, ConstString &name,
245 ConstString name, lldb::SymbolType symbol_type,
248 lldb::addr_t GetSymbolAddress(ConstString name,
291 virtual clang::NamedDecl *GetPersistentDecl(ConstString name);
366 ConstString
401 void SearchPersistenDecls(NameSearchContext &context, const ConstString name);
432 void LookupInModulesDeclVendor(NameSearchContext &context, ConstString name);
450 bool LookupLocalVariable(NameSearchContext &context, ConstString name,
[all …]
H A DClangPersistentVariables.cpp41 ExecutionContextScope *exe_scope, ConstString name, in CreatePersistentVariable()
76 ConstString type_name) { in GetCompilerTypeFromPersistentDecl()
91 ConstString name, clang::NamedDecl *decl, in RegisterPersistentDecl()
100 ConstString(enumerator_decl->getNameAsString()).GetCString(), p)); in RegisterPersistentDecl()
106 ClangPersistentVariables::GetPersistentDecl(ConstString name) { in GetPersistentDecl()
127 ConstString
135 return ConstString(name); in GetNextPersistentVariableName()
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DIRExecutionUnit.h63 std::unique_ptr<llvm::Module> &module_up, ConstString &name,
70 ConstString GetFunctionName() { return m_name; } in GetFunctionName()
105 lldb::addr_t FindSymbol(ConstString name, bool &missing_weak);
117 ConstString m_name; ///< The function's name
224 void CollectCandidateCNames(std::vector<ConstString> &C_names,
225 ConstString name);
227 void CollectCandidateCPlusPlusNames(std::vector<ConstString> &CPP_names,
228 const std::vector<ConstString> &C_names,
231 lldb::addr_t FindInSymbols(const std::vector<ConstString> &names,
235 lldb::addr_t FindInRuntimes(const std::vector<ConstString> &names,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteRegisterFallback.cpp16 ConstString(#name), empty_alt_name, reg_set, size, LLDB_INVALID_INDEX32, \
25 ConstString empty_alt_name; in GetRegisters_aarch64()
26 ConstString reg_set{"general purpose registers"}; in GetRegisters_aarch64()
40 ConstString empty_alt_name; in GetRegisters_msp430()
41 ConstString reg_set{"general purpose registers"}; in GetRegisters_msp430()
52 ConstString empty_alt_name; in GetRegisters_x86()
53 ConstString reg_set{"general purpose registers"}; in GetRegisters_x86()
65 ConstString empty_alt_name; in GetRegisters_x86_64()
66 ConstString reg_set{"general purpose registers"}; in GetRegisters_x86_64()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DAssertFrameRecognizer.cpp31 location.symbols.push_back(ConstString("__pthread_kill")); in GetAbortLocation()
35 location.symbols.push_back(ConstString("raise")); in GetAbortLocation()
36 location.symbols.push_back(ConstString("__GI_raise")); in GetAbortLocation()
37 location.symbols.push_back(ConstString("gsignal")); in GetAbortLocation()
38 location.symbols.push_back(ConstString("pthread_kill")); in GetAbortLocation()
64 location.symbols.push_back(ConstString("__assert_rtn")); in GetAssertLocation()
68 location.symbols.push_back(ConstString("__assert_fail")); in GetAssertLocation()
69 location.symbols.push_back(ConstString("__GI___assert_fail")); in GetAssertLocation()
155 ConstString func_name = sym_ctx.GetFunctionName(); in RecognizeFrame()
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/
H A DFormatCache.cpp69 bool FormatCache::Get(ConstString type, ImplSP &format_impl_sp) { in Get()
85 FormatCache::Get<lldb::TypeFormatImplSP>(ConstString, lldb::TypeFormatImplSP &);
87 FormatCache::Get<lldb::TypeSummaryImplSP>(ConstString,
90 FormatCache::Get<lldb::SyntheticChildrenSP>(ConstString,
94 void FormatCache::Set(ConstString type, lldb::TypeFormatImplSP &format_sp) { in Set()
99 void FormatCache::Set(ConstString type, lldb::TypeSummaryImplSP &summary_sp) { in Set()
104 void FormatCache::Set(ConstString type, in Set()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DManualDWARFIndex.cpp310 ConstString class_name_with_category( in IndexUnitImpl()
312 ConstString objc_selector_name(objc_method->GetSelector()); in IndexUnitImpl()
313 ConstString objc_fullname_no_category_name( in IndexUnitImpl()
315 ConstString class_name_no_category(objc_method->GetClassName()); in IndexUnitImpl()
316 set.function_fullnames.Insert(ConstString(name), ref); in IndexUnitImpl()
334 set.function_methods.Insert(ConstString(name), ref); in IndexUnitImpl()
336 set.function_basenames.Insert(ConstString(name), ref); in IndexUnitImpl()
339 set.function_fullnames.Insert(ConstString(name), ref); in IndexUnitImpl()
349 set.function_fullnames.Insert(ConstString(mangled_cstr), ref); in IndexUnitImpl()
367 set.types.Insert(ConstString(name), ref); in IndexUnitImpl()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Symbol/
H A DCompilerDeclContext.cpp17 CompilerDeclContext::FindDeclByName(ConstString name, in FindDeclByName()
25 ConstString CompilerDeclContext::GetName() const { in GetName()
28 return ConstString(); in GetName()
31 ConstString CompilerDeclContext::GetScopeQualifiedName() const { in GetScopeQualifiedName()
34 return ConstString(); in GetScopeQualifiedName()

12345678910>>...17