| /openbsd-src/gnu/llvm/lldb/source/Plugins/Language/ObjC/ |
| H A D | ObjCLanguage.cpp | 111 ConstString ObjCLanguage::MethodName::GetClassName() { in GetClassName() 137 ConstString ObjCLanguage::MethodName::GetClassNameWithCategory() { in GetClassNameWithCategory() 160 ConstString ObjCLanguage::MethodName::GetSelector() { in GetSelector() 175 ConstString ObjCLanguage::MethodName::GetCategory() { in GetCategory() 194 ConstString ObjCLanguage::MethodName::GetFullNameWithoutCategory( in GetFullNameWithoutCategory() 205 return ConstString(strm.GetString()); in GetFullNameWithoutCategory() 213 return ConstString(); in GetFullNameWithoutCategory() 217 ObjCLanguage::GetMethodNameVariants(ConstString method_name) const { in GetMethodNameVariants() 231 ConstString name_sans_category = in GetMethodNameVariants() 242 variant_names.emplace_back(ConstString(strm.GetString()), in GetMethodNameVariants() [all …]
|
| H A D | ObjCLanguage.h | 59 ConstString GetFullName() const { return m_full; } in GetFullName() 61 ConstString GetFullNameWithoutCategory(bool empty_if_no_category); 66 ConstString GetClassName(); 68 ConstString GetClassNameWithCategory(); 70 ConstString GetCategory(); 72 ConstString GetSelector(); 75 ConstString 77 ConstString m_class; // Class name: "NSString" 78 ConstString 80 ConstString m_category; // Category: "my_additions" [all …]
|
| H A D | NSDictionary.h | 46 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 D | NSArray.cpp | 34 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; 337 static ConstString g_TypeHint("NSArray"); in NSArraySummaryProvider() 363 ConstString class_name(descriptor->GetClassName()); in NSArraySummaryProvider() [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Utility/ |
| H A D | ConstString.h | 39 class ConstString { 44 ConstString() = default; 46 explicit ConstString(const llvm::StringRef &s); 56 explicit ConstString(const char *cstr); 78 explicit ConstString(const char *cstr, size_t max_cstr_len); 124 bool operator==(ConstString rhs) const { 166 bool operator!=(ConstString rhs) const { return m_string != rhs.m_string; } 181 bool operator<(ConstString rhs) const; 251 static bool Equals(ConstString lhs, ConstString rhs, 275 static int Compare(ConstString lhs, ConstString rhs, [all …]
|
| H A D | FileSpec.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); 317 ConstString GetPathAsConstString(bool denormalize = true) const; 333 ConstString GetFileNameExtension() const; 342 ConstString GetFileNameStrippingExtension() const; 411 ConstString GetLastPathComponent() const; 431 ConstString m_directory; ///< The uniqued directory path 432 ConstString m_filename; ///< The uniqued filename path
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | CPlusPlusLanguage.cpp | 69 ConstString CPlusPlusLanguage::GetDemangledFunctionNameWithoutArguments( in GetDemangledFunctionNameWithoutArguments() 72 ConstString demangled_name = mangled.GetDemangledName(); in GetDemangledFunctionNameWithoutArguments() 89 return ConstString(shortname); in GetDemangledFunctionNameWithoutArguments() 183 CPlusPlusLanguage::MethodName cpp_method{ConstString(full_name)}; in PrettyPrintFunctionNameWithArgs() 392 ConstString demangled) const { in DemangledNameContainsPath() 441 ConstString substitute(llvm::StringRef Mangled, Ts &&... Vals) { in substitute() 454 ConstString substituteImpl(llvm::StringRef Mangled) { in substituteImpl() 458 return ConstString(); in substituteImpl() 461 return ConstString(); in substituteImpl() 466 return ConstString(Result); in substituteImpl() [all …]
|
| H A D | LibCxxUnorderedMap.cpp | 44 size_t GetIndexOfChildWithName(ConstString name) override; 82 static bool isStdTemplate(ConstString type_name, llvm::StringRef type) { in isStdTemplate() 90 static bool isUnorderedMap(ConstString type_name) { in isUnorderedMap() 112 node_sp->GetChildMemberWithName(ConstString("__value_"), true); in GetChildAtIndex() 114 node_sp->GetChildMemberWithName(ConstString("__hash_"), true); in GetChildAtIndex() 117 auto p1_sp = m_backend.GetChildAtNamePath({ConstString("__table_"), in GetChildAtIndex() 118 ConstString("__p1_")}); in GetChildAtIndex() 126 first_sp = p1_sp->GetChildMemberWithName(ConstString("__first_"), in GetChildAtIndex() 133 first_sp = p1_sp->GetChildMemberWithName(ConstString("__value_"), in GetChildAtIndex() 166 value_sp = node_sp->GetChildMemberWithName(ConstString("__value_"), true); in GetChildAtIndex() [all …]
|
| H A D | LibCxxVariant.cpp | 87 impl_sp->GetChildMemberWithName(ConstString("__index"), true)); in LibcxxVariantGetIndexValidity() 116 impl_sp->GetChildMemberWithName(ConstString("__index"), true)); in LibcxxVariantIndexValue() 126 impl_sp->GetChildMemberWithName(ConstString("__data"), true)); in LibcxxVariantGetNthHead() 134 current_level->GetChildMemberWithName(ConstString("__tail"), true)); in LibcxxVariantGetNthHead() 142 return current_level->GetChildMemberWithName(ConstString("__head"), true); in LibcxxVariantGetNthHead() 155 *valobj_sp, {ConstString("__impl_"), ConstString("__impl")}); in LibcxxVariantSummaryProvider() 206 size_t GetIndexOfChildWithName(ConstString name) override { in GetIndexOfChildWithName() 223 m_backend, {ConstString("__impl_"), ConstString("__impl")}); in Update() 245 m_backend, {ConstString("__impl_"), ConstString("__impl")}); in GetChildAtIndex() 272 nth_head->GetChildMemberWithName(ConstString("__value"), true)); in GetChildAtIndex() [all …]
|
| H A D | GenericOptional.cpp | 39 size_t GetIndexOfChildWithName(ConstString name) override { in GetIndexOfChildWithName() 69 m_backend.GetChildMemberWithName(ConstString("__engaged_"), true); in Update() 72 m_backend.GetChildMemberWithName(ConstString("_M_payload"), true) in Update() 73 ->GetChildMemberWithName(ConstString("_M_engaged"), true); in Update() 97 val_sp = m_backend.GetChildMemberWithName(ConstString("__engaged_"), true) in GetChildAtIndex() 100 ->GetChildMemberWithName(ConstString("__val_"), true); in GetChildAtIndex() 102 val_sp = m_backend.GetChildMemberWithName(ConstString("_M_payload"), true) in GetChildAtIndex() 103 ->GetChildMemberWithName(ConstString("_M_payload"), true); in GetChildAtIndex() 108 val_sp->GetChildMemberWithName(ConstString("_M_value"), true); in GetChildAtIndex() 121 return val_sp->Clone(ConstString("Value")); in GetChildAtIndex()
|
| H A D | LibCxx.cpp | 39 ValueObject &obj, llvm::ArrayRef<ConstString> alternative_names) { in GetChildMemberWithName() 40 for (ConstString name : alternative_names) { in GetChildMemberWithName() 58 valobj_sp->GetChildMemberWithName(ConstString("__engaged_"), true)); in LibcxxOptionalSummaryProvider() 125 valobj_sp->GetChildMemberWithName(ConstString("__ptr_"), true)); in LibcxxSmartPointerSummaryProvider() 127 {ConstString("__cntrl_"), ConstString("__shared_owners_")})); in LibcxxSmartPointerSummaryProvider() 129 {ConstString("__cntrl_"), ConstString("__shared_weak_owners_")})); in LibcxxSmartPointerSummaryProvider() 169 valobj_sp->GetChildMemberWithName(ConstString("__ptr_"), true)); in LibcxxUniquePointerSummaryProvider() 244 static ConstString g_i_("__i_"); in Update() 316 ConstString(), in Update() 370 GetIndexOfChildWithName(ConstString name) { in GetIndexOfChildWithName() [all …]
|
| H A D | LibCxxMap.cpp | 33 static ConstString g_left("__left_"); in left() 41 static ConstString g_right("__right_"); in right() 50 static ConstString g_parent("__parent_"); in parent() 188 size_t GetIndexOfChildWithName(ConstString name) override; 214 static ConstString g_pair3_("__pair3_"); in CalculateNumChildren() 215 static ConstString g_first_("__first_"); in CalculateNumChildren() 216 static ConstString g_value_("__value_"); in CalculateNumChildren() 248 static ConstString g_value_("__value_"); in GetDataType() 249 static ConstString g_tree_("__tree_"); in GetDataType() 250 static ConstString g_pair3("__pair3_"); in GetDataType() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Utility/ |
| H A D | ConstString.cpp | 162 ConstString::MemoryStats GetMemoryStats() const { in GetMemoryStats() 163 ConstString::MemoryStats stats; in GetMemoryStats() 205 ConstString::ConstString(const char *cstr) in ConstString() function in ConstString 208 ConstString::ConstString(const char *cstr, size_t cstr_len) in ConstString() function in ConstString 211 ConstString::ConstString(const llvm::StringRef &s) in ConstString() function in ConstString 214 bool ConstString::operator<(ConstString rhs) const { in operator <() 229 Stream &lldb_private::operator<<(Stream &s, ConstString str) { in operator <<() 237 size_t ConstString::GetLength() const { in GetLength() 241 bool ConstString::Equals(ConstString lhs, ConstString rhs, in Equals() 258 int ConstString::Compare(ConstString lhs, ConstString rhs, in Compare() [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
| H A D | Mangled.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 name) const { in NameMatches() 199 void SetValue(ConstString name, bool is_mangled); [all …]
|
| H A D | UniqueCStringMap.h | 29 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 D | ValueObjectConstResult.h | 44 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; 87 ConstString name_const_str = ConstString()) override; 116 ConstString m_type_name; 131 const CompilerType &compiler_type, ConstString name, 136 const CompilerType &compiler_type, ConstString name, [all …]
|
| H A D | Module.h | 127 const ConstString *object_name = nullptr, 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, 400 void FindGlobalVariables(ConstString name, 450 FindTypes(ConstString type_name, bool exact_match, size_t max_matches, 467 lldb::TypeSP FindFirstType(const SymbolContext &sc, ConstString type_name, 480 void FindTypesInNamespace(ConstString type_name, 577 ConstString GetObjectName() const; [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Symbol/ |
| H A D | Type.h | 30 CompilerContext(CompilerContextKind t, ConstString n) : kind(t), name(n) {} in CompilerContext() 40 ConstString name; 128 ConstString GetName(); 130 ConstString GetBaseName(); 147 ConstString GetName() const { return m_name; } in GetName() 149 ConstString GetQualifiedName(); 210 ConstString m_name; 235 Type(lldb::user_id_t uid, SymbolFile *symbol_file, ConstString name, 291 ConstString GetName() const; 293 ConstString GetDisplayTypeName() const; [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/DataFormatters/ |
| H A D | DataVisualization.h | 62 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);
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Target/ |
| H A D | PathMappingList.h | 57 bool GetPathsAtIndex(uint32_t idx, ConstString &path, 58 ConstString &new_path) const; 65 bool Remove(ConstString path, bool notify); 71 bool RemapPath(ConstString path, ConstString &new_path) const; 134 typedef std::pair<ConstString, ConstString> pair; 139 iterator FindIteratorForPath(ConstString path); 141 const_iterator FindIteratorForPath(ConstString path) const;
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | DebuggerEvents.cpp | 26 ConstString ProgressEventData::GetFlavorString() { in GetFlavorString() 27 static ConstString g_flavor("ProgressEventData"); in GetFlavorString() 31 ConstString ProgressEventData::GetFlavor() const { in GetFlavor() 74 ConstString DiagnosticEventData::GetFlavorString() { in GetFlavorString() 75 static ConstString g_flavor("DiagnosticEventData"); in GetFlavorString() 79 ConstString DiagnosticEventData::GetFlavor() const { in GetFlavor() 88 ConstString SymbolChangeEventData::GetFlavorString() { in GetFlavorString() 89 static ConstString g_flavor("SymbolChangeEventData"); in GetFlavorString() 93 ConstString SymbolChangeEventData::GetFlavor() const { in GetFlavor()
|
| H A D | PluginManager.cpp | 1396 GetDebuggerPropertyForPlugins(Debugger &debugger, ConstString plugin_type_name, in GetDebuggerPropertyForPlugins() 1397 ConstString plugin_type_desc, bool can_create) { in GetDebuggerPropertyForPlugins() 1401 static ConstString g_property_name("plugin"); in GetDebuggerPropertyForPlugins() 1409 g_property_name, ConstString("Settings specify to plugins."), true, in GetDebuggerPropertyForPlugins() 1432 Debugger &debugger, ConstString plugin_type_name, in GetDebuggerPropertyForPluginsOldStyle() 1433 ConstString plugin_type_desc, bool can_create) { in GetDebuggerPropertyForPluginsOldStyle() 1434 static ConstString g_property_name("plugin"); in GetDebuggerPropertyForPluginsOldStyle() 1454 g_property_name, ConstString("Settings specific to plugins"), true, in GetDebuggerPropertyForPluginsOldStyle() 1466 GetDebuggerPropertyForPluginsPtr(Debugger &, ConstString, ConstString, 1471 GetSettingForPlugin(Debugger &debugger, ConstString setting_name, in GetSettingForPlugin() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/ |
| H A D | PlatformDarwinKernel.cpp | 190 static ConstString &GetSettingName() { in GetSettingName() 191 static ConstString g_setting_name("darwin-kernel"); in GetSettingName() 224 ConstString("Properties for the PlatformDarwinKernel plug-in."), in DebuggerInitialize() 422 static ConstString g_sdk_suffix = ConstString(".sdk"); in FindKDKandSDKDirectoriesInDirectory() 423 static ConstString g_kdk_suffix = ConstString(".kdk"); in FindKDKandSDKDirectoriesInDirectory() 484 static ConstString g_kext_suffix = ConstString(".kext"); in GetKernelsAndKextsInDirectoryHelper() 485 static ConstString g_dsym_suffix = ConstString(".dSYM"); in GetKernelsAndKextsInDirectoryHelper() 486 static ConstString g_bundle_suffix = ConstString("Bundle"); in GetKernelsAndKextsInDirectoryHelper() 489 ConstString file_spec_extension = file_spec.GetFileNameExtension(); in GetKernelsAndKextsInDirectoryHelper() 590 ConstString bundle_conststr(bundle_id_buf); in AddKextToMap() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangExpressionDeclMap.h | 127 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 …]
|
| /openbsd-src/gnu/llvm/lldb/source/Target/ |
| H A D | AssertFrameRecognizer.cpp | 21 std::vector<ConstString> symbols; 42 location.symbols.push_back(ConstString("__pthread_kill")); in GetAbortLocation() 46 location.symbols.push_back(ConstString("raise")); in GetAbortLocation() 47 location.symbols.push_back(ConstString("__GI_raise")); in GetAbortLocation() 48 location.symbols.push_back(ConstString("gsignal")); in GetAbortLocation() 49 location.symbols.push_back(ConstString("pthread_kill")); in GetAbortLocation() 75 location.symbols.push_back(ConstString("__assert_rtn")); in GetAssertLocation() 79 location.symbols.push_back(ConstString("__assert_fail")); in GetAssertLocation() 80 location.symbols.push_back(ConstString("__GI___assert_fail")); in GetAssertLocation() 164 ConstString func_name = sym_ctx.GetFunctionName(); in RecognizeFrame()
|