Home
last modified time | relevance | path

Searched refs:ConstString (Results 1 – 25 of 413) 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.h16 #include "lldb/Utility/ConstString.h"
223 const ConstString &GetDirectory() const { return m_directory; } in GetDirectory()
229 void SetDirectory(ConstString directory);
240 const ConstString &GetFilename() const { return m_filename; } in GetFilename()
246 void SetFilename(ConstString filename);
311 /// Get the full path as a ConstString.
313 /// This method should only be used when you need a ConstString or the
314 /// const char * from a ConstString to ensure permanent lifetime of C string.
317 ConstString GetPathAsConstString(bool denormalize = true) const;
327 /// Returns a ConstString tha
[all...]
/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.h15 #include "lldb/Utility/ConstString.h"
62 explicit Mangled(ConstString name);
129 ConstString GetDemangledName() const;
135 ConstString GetDisplayDemangledName() const;
137 void SetDemangledName(ConstString name) { m_demangled = name; } in SetDemangledName()
139 void SetMangledName(ConstString name) { m_mangled = name; } in SetMangledName()
145 ConstString &GetMangledName() { return m_mangled; } in GetMangledName()
151 ConstString GetMangledName() const { return m_mangled; } in GetMangledName()
162 ConstString GetName(NamePreference preference = ePreferDemangled) const;
171 bool NameMatches(ConstString nam
[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 DValueObjectConstResult.h44 ConstString name, const DataExtractor &data,
49 ConstString name, const lldb::DataBufferSP &result_data_sp,
55 ConstString name, lldb::addr_t address,
59 Value &value, ConstString name,
72 ConstString GetTypeName() override;
74 ConstString GetDisplayTypeName() override;
84 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 …]
H A DModule.h21 #include "lldb/Utility/ConstString.h"
127 ConstString object_name = ConstString(), lldb::offset_t object_offset = 0,
260 ConstString name, lldb::SymbolType symbol_type = lldb::eSymbolTypeAny);
262 void FindSymbolsWithNameAndType(ConstString name,
283 void FindFunctionSymbols(ConstString name, uint32_t name_type_mask,
334 void FindFunctions(ConstString name,
405 void FindGlobalVariables(ConstString name,
531 ConstString GetObjectName() const;
766 void SetFileSpecAndObjectName(const FileSpec &file, ConstString object_nam
[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()
61 size_t GetIndexOfChildWithName(ConstString name) override;
225 size_t GetIndexOfChildWithName(ConstString name) override;
313 size_t GetIndexOfChildWithName(ConstString name) override;
330 size_t GetIndexOfChildWithName(ConstString name) override;
363 ConstString class_name(descriptor->GetClassName()); in NSArraySummaryProvider()
365 static const ConstString g_NSArrayI("__NSArrayI"); in NSArraySummaryProvider()
[all …]
H A DNSDictionary.cpp35 ConstString p) in Prefix()
39 ConstString class_name) { in Match()
43 NSDictionary_Additionals::AdditionalFormatterMatching::Full::Full(ConstString n) in Full()
47 ConstString class_name) { in Match()
114 size_t GetIndexOfChildWithName(ConstString name) override;
155 size_t GetIndexOfChildWithName(ConstString name) override;
187 size_t GetIndexOfChildWithName(ConstString name) override;
220 size_t GetIndexOfChildWithName(ConstString name) override;
241 size_t GetIndexOfChildWithName(ConstString name) override;
274 size_t GetIndexOfChildWithName(ConstString name) override;
[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);
192 ConstString m_default_category_name;
193 ConstString m_system_category_name;
194 ConstString m_vectortypes_category_name;
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DPathMappingList.h65 bool GetPathsAtIndex(uint32_t idx, ConstString &path,
66 ConstString &new_path) const;
73 bool Remove(ConstString path, bool notify);
79 bool RemapPath(ConstString path, ConstString &new_path) const;
146 typedef std::pair<ConstString, ConstString> pair;
151 iterator FindIteratorForPath(ConstString path);
153 const_iterator FindIteratorForPath(ConstString path) const;
H A DLanguage.h200 ConstString m_name;
204 MethodNameVariant(ConstString name, lldb::FunctionNameType type) in MethodNameVariant()
206 ConstString GetName() const { return m_name; } in GetName()
213 GetMethodNameVariants(ConstString method_name) const { in GetMethodNameVariants()
249 ConstString demangled) const;
276 virtual ConstString
278 if (ConstString demangled = mangled.GetDemangledName()) in GetDemangledFunctionNameWithoutArguments()
284 virtual ConstString GetDisplayDemangledName(Mangled mangled) const { in GetDisplayDemangledName()
344 virtual std::vector<ConstString>
345 GenerateAlternateFunctionManglings(const ConstString mangled) const { in GenerateAlternateFunctionManglings()
[all …]
/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;
165 TypeQuery(const CompilerDeclContext &decl_ctx, ConstString type_basename, in LLDB_MARK_AS_BITMASK_ENUM()
244 ConstString GetTypeBasename() const; in LLDB_MARK_AS_BITMASK_ENUM()
443 ConstString GetName();
445 ConstString GetBaseName();
462 ConstString GetName() const { return m_name; } in GetName()
464 ConstString GetQualifiedName();
541 ConstString m_name;
566 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 nam
[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.h62 std::unique_ptr<llvm::Module> &module_up, ConstString &name,
69 ConstString GetFunctionName() { return m_name; } in GetFunctionName()
104 lldb::addr_t FindSymbol(ConstString name, bool &missing_weak);
116 ConstString m_name; ///< The function's name
217 void CollectCandidateCNames(std::vector<ConstString> &C_names,
218 ConstString name);
220 void CollectCandidateCPlusPlusNames(std::vector<ConstString> &CPP_names,
221 const std::vector<ConstString> &C_names,
224 lldb::addr_t FindInSymbols(const std::vector<ConstString> &names,
228 lldb::addr_t FindInRuntimes(const std::vector<ConstString> &names,
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusLanguage.h19 #include "lldb/Utility/ConstString.h"
33 MethodName(ConstString s) in MethodName()
47 ConstString GetFullName() const { return m_full; } in GetFullName()
86 ConstString m_full; // Full name:
136 ConstString demangled) const override;
138 ConstString
164 std::vector<ConstString>
165 GenerateAlternateFunctionManglings(const ConstString mangled) const override;
167 ConstString FindBestAlternateFunctionMangledName(
H A DLibCxxVariant.cpp151 *valobj_sp, {ConstString("__impl_"), ConstString("__impl")}); in LibcxxVariantSummaryProvider()
202 size_t GetIndexOfChildWithName(ConstString name) override { in GetIndexOfChildWithName()
219 m_backend, {ConstString("__impl_"), ConstString("__impl")}); in Update()
241 m_backend, {ConstString("__impl_"), ConstString("__impl")}); in GetChildAtIndex()
272 return head_value->Clone(ConstString("Value")); in GetChildAtIndex()
/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()
153 ConstString func_name = sym_ctx.GetFunctionName(); in RecognizeFrame()
H A DStackFrameRecognizer.cpp51 StackFrameRecognizerSP recognizer, ConstString module, in AddRecognizer()
52 llvm::ArrayRef<ConstString> symbols, bool first_instruction_only) { in AddRecognizer()
62 ConstString(), module, std::vector<ConstString>(), in AddRecognizer()
68 llvm::ArrayRef<ConstString>, bool)> &callback) { in ForEach() argument
80 llvm::ArrayRef(ConstString(symbol_name)), true); in ForEach()
111 ConstString function_name = symctx.GetFunctionName(); in GetRecognizerForFrame()
115 ConstString module_name = module_sp->GetFileSpec().GetFilename(); in GetRecognizerForFrame()
/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.cpp297 ConstString class_name_with_category( in IndexUnitImpl()
299 ConstString objc_selector_name(objc_method->GetSelector()); in IndexUnitImpl()
300 ConstString objc_fullname_no_category_name( in IndexUnitImpl()
302 ConstString class_name_no_category(objc_method->GetClassName()); in IndexUnitImpl()
303 set.function_fullnames.Insert(ConstString(name), ref); in IndexUnitImpl()
321 set.function_methods.Insert(ConstString(name), ref); in IndexUnitImpl()
323 set.function_basenames.Insert(ConstString(name), ref); in IndexUnitImpl()
326 set.function_fullnames.Insert(ConstString(name), ref); in IndexUnitImpl()
336 set.function_fullnames.Insert(ConstString(mangled_cstr), ref); in IndexUnitImpl()
354 set.types.Insert(ConstString(name), ref); in IndexUnitImpl()
[all …]

12345678910>>...17