| /llvm-project-15.0.7/lldb/source/Plugins/Language/ObjC/ |
| H A D | ObjCLanguage.cpp | 204 return ConstString(strm.GetString()); in GetFullNameWithoutCategory() 212 return ConstString(); in GetFullNameWithoutCategory() 230 ConstString name_sans_category = in GetMethodNameVariants() 362 ConstString("Rect"), objc_flags); in LoadObjCFormatters() 934 std::vector<ConstString> 937 std::vector<ConstString> result; in GetPossibleFormattersMatches() 999 ConstString name(key); in GetTypeScavenger() 1029 ConstString key_cs(key); in GetTypeScavenger() 1069 static ConstString g_CFBag("CFBag"); in GetFormatterPrefixSuffix() 1080 static ConstString g_NSData("NSData"); in GetFormatterPrefixSuffix() [all …]
|
| H A D | ObjCLanguage.h | 59 ConstString GetFullName() const { return m_full; } in GetFullName() 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" 105 GetMethodNameVariants(ConstString method_name) const override; [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 | 337 static ConstString g_TypeHint("NSArray"); in NSArraySummaryProvider() 363 ConstString class_name(descriptor->GetClassName()); in NSArraySummaryProvider() 365 static const ConstString g_NSArrayI("__NSArrayI"); in NSArraySummaryProvider() 366 static const ConstString g_NSArrayM("__NSArrayM"); in NSArraySummaryProvider() 369 static const ConstString g_NSArray0("__NSArray0"); in NSArraySummaryProvider() 547 ConstString name) { in GetIndexOfChildWithName() 634 GetIndexOfChildWithName(ConstString name) { in GetIndexOfChildWithName() 724 ConstString name) { in GetIndexOfChildWithName() 753 ConstString name) { in GetIndexOfChildWithName() 754 static const ConstString g_zero("[0]"); in GetIndexOfChildWithName() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | ConstStringTest.cpp | 21 ConstString uvw("uvw"); in TEST() 22 ConstString counterpart; in TEST() 26 ConstString xyz; in TEST() 39 ConstString some1; in TEST() 43 ConstString some2; in TEST() 47 ConstString some2; in TEST() 65 ConstString bar; in TEST() 88 ConstString null; in TEST() 115 ConstString null; in TEST() 135 ConstString null; in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/DataFormatter/ |
| H A D | FormattersContainerTest.cpp | 27 TypeMatcher matcher(ConstString(prefix + "Name")); in TEST() 38 EXPECT_FALSE(matcher.Matches(ConstString("a"))); in TEST() 39 EXPECT_FALSE(matcher.Matches(ConstString(" "))); in TEST() 49 EXPECT_TRUE(matcher.Matches(ConstString("abc"))); in TEST() 50 EXPECT_TRUE(matcher.Matches(ConstString("azc"))); in TEST() 60 EXPECT_FALSE(matcher.Matches(ConstString("ac"))); in TEST() 64 EXPECT_FALSE(matcher.Matches(ConstString(""))); in TEST() 84 EXPECT_FALSE(matcher.Matches(ConstString(""))); in TEST() 103 TypeMatcher empty_str(ConstString("")); in TEST() 108 TypeMatcher a_str(ConstString("a")); in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | ConstString.h | 40 class ConstString { 45 ConstString() = default; 47 explicit ConstString(const llvm::StringRef &s); 57 explicit ConstString(const char *cstr); 125 bool operator==(ConstString rhs) const { 182 bool operator<(ConstString rhs) const; 252 static bool Equals(ConstString lhs, ConstString rhs, 276 static int Compare(ConstString lhs, ConstString rhs, 413 ConstString s; in FromStringPoolPointer() 422 Stream &operator<<(Stream &s, ConstString str); [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Target/ |
| H A D | PathMappingListTest.cpp | 59 ConstString fails[] = { in TEST() 64 ConstString("/a"), in TEST() 65 ConstString("/"), in TEST() 87 ConstString fails[] = { in TEST() 88 ConstString("/foo"), in TEST() 89 ConstString("/"), in TEST() 90 ConstString("foo.c"), in TEST() 109 ConstString fails[] = { in TEST() 110 ConstString("foo.c"), in TEST() 131 ConstString("/foo"), in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | CPlusPlusLanguage.cpp | 385 return ConstString(); in substituteImpl() 388 return ConstString(); in substituteImpl() 393 return ConstString(Result); in substituteImpl() 491 if (ConstString char_fixup = in GenerateAlternateFunctionManglings() 496 if (ConstString long_fixup = in GenerateAlternateFunctionManglings() 506 if (ConstString ctor_fixup = in GenerateAlternateFunctionManglings() 517 return ConstString(); in FindBestAlternateFunctionMangledName() 523 return ConstString(); in FindBestAlternateFunctionMangledName() 526 return ConstString(); in FindBestAlternateFunctionMangledName() 530 return ConstString(); in FindBestAlternateFunctionMangledName() [all …]
|
| H A D | LibCxxUnorderedMap.cpp | 42 size_t GetIndexOfChildWithName(ConstString name) override; 87 node_sp->GetChildMemberWithName(ConstString("__hash_"), true); in GetChildAtIndex() 170 ConstString("__p2_"), true); in Update() 172 llvm::SmallVector<ConstString, 3> next_path; in Update() 177 ConstString("__first_"), true); in Update() 178 next_path.append({ConstString("__p1_"), ConstString("__first_"), in Update() 179 ConstString("__next_")}); in Update() 185 ConstString("__value_"), true); in Update() 186 next_path.append({ConstString("__p1_"), ConstString("__value_"), in Update() 187 ConstString("__next_")}); in Update() [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 | LibCxxVariant.cpp | 71 impl_sp->GetChildMemberWithName(ConstString("__index"), true)); in LibcxxVariantGetIndexValidity() 86 impl_sp->GetChildMemberWithName(ConstString("__index"), true)); in LibcxxVariantIndexValue() 96 impl_sp->GetChildMemberWithName(ConstString("__data"), true)); in LibcxxVariantGetNthHead() 104 current_level->GetChildMemberWithName(ConstString("__tail"), true)); in LibcxxVariantGetNthHead() 112 return current_level->GetChildMemberWithName(ConstString("__head"), true); in LibcxxVariantGetNthHead() 125 valobj_sp->GetChildMemberWithName(ConstString("__impl"), true)); in LibcxxVariantSummaryProvider() 176 size_t GetIndexOfChildWithName(ConstString name) override { in GetIndexOfChildWithName() 193 m_backend.GetChildMemberWithName(ConstString("__impl"), true)); in Update() 215 m_backend.GetChildMemberWithName(ConstString("__impl"), true)); in GetChildAtIndex() 240 nth_head->GetChildMemberWithName(ConstString("__value"), true)); in GetChildAtIndex() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Symbol/ |
| H A D | TestType.cpp | 54 {CompilerContextKind::Module, ConstString("A")}, in TEST() 55 {CompilerContextKind::Module, ConstString("B")}, in TEST() 59 {CompilerContextKind::Module, ConstString("A")}, in TEST() 60 {CompilerContextKind::Module, ConstString("B")}, in TEST() 61 {CompilerContextKind::Class, ConstString("S")}}; in TEST() 64 {CompilerContextKind::Module, ConstString("A")}, in TEST() 67 {CompilerContextKind::Module, ConstString("A")}, in TEST() 74 {CompilerContextKind::Module, ConstString("A")}, in TEST() 75 {CompilerContextKind::Module, ConstString("B")}, in TEST() 76 {CompilerContextKind::Module, ConstString("C")}, in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | ConstString.cpp | 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 <() 241 bool ConstString::Equals(ConstString lhs, ConstString rhs, in Equals() 258 int ConstString::Compare(ConstString lhs, ConstString rhs, in Compare() 315 bool ConstString::GetMangledCounterpart(ConstString &counterpart) const { in GetMangledCounterpart() 329 ConstString::MemoryStats ConstString::GetMemoryStats() { in GetMemoryStats() 333 void llvm::format_provider<ConstString>::format(const ConstString &CS, in format() 339 void llvm::yaml::ScalarTraits<ConstString>::output(const ConstString &Val, in output() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/Core/ |
| H A D | MangledTest.cpp | 32 ConstString MangledName("_ZN1a1b1cIiiiEEvm"); in TEST() 45 ConstString ExpectedResult( in TEST() 51 ConstString MangledName("_ZN1a1b1cmxktpEEvm"); in TEST() 59 ConstString mangled_name("_RNvC1a4main"); in TEST() 63 ConstString expected_result("a::main"); in TEST() 68 ConstString mangled_name("_RRR"); in TEST() 76 ConstString mangled_name("_Dmain"); in TEST() 80 ConstString expected_result("D main"); in TEST() 85 ConstString mangled_name("_DDD"); in TEST() 94 ConstString MangledName("_ZN1a1b1cIiiiEEvm"); in TEST() [all …]
|
| H A D | RichManglingContextTest.cpp | 20 ConstString mangled("_ZN3foo3barEv"); in TEST() 31 ConstString mangled("_ZN3foo3barEv"); in TEST() 35 ConstString demangled("foo::bar()"); in TEST() 48 EXPECT_TRUE(CxxMethodRMC.FromCxxMethodName(ConstString("X"))); in TEST() 55 ConstString("void * operator new(unsigned __int64)"))); in TEST() 67 EXPECT_TRUE(RMC.FromItaniumName(ConstString(mangled))); in TEST() 70 EXPECT_TRUE(RMC.FromCxxMethodName(ConstString(demangled))); in TEST() 73 EXPECT_TRUE(RMC.FromItaniumName(ConstString(mangled))); in TEST() 101 EXPECT_TRUE(RMC.FromItaniumName(ConstString(ShortMangled))); in TEST() 105 EXPECT_TRUE(RMC.FromItaniumName(ConstString(LongMangled))); in TEST()
|
| /llvm-project-15.0.7/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() 171 bool NameMatches(ConstString name) const { in NameMatches() 199 void SetValue(ConstString name, bool is_mangled); 208 void SetValue(ConstString name); [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() 86 T Find(ConstString unique_cstr, T fail_value) const { in Find() 203 equal_range(ConstString unique_cstr) const { in equal_range() 214 bool operator()(const Entry &lhs, ConstString rhs) { in operator() 218 bool operator()(ConstString lhs, const Entry &rhs) { in operator() 222 bool operator()(ConstString lhs, ConstString rhs) { in operator() [all …]
|
| H A D | ValueObjectConstResult.h | 43 ConstString name, const DataExtractor &data, 48 ConstString name, const lldb::DataBufferSP &result_data_sp, 54 ConstString name, lldb::addr_t address, 58 Value &value, ConstString name, 71 ConstString GetTypeName() override; 73 ConstString GetDisplayTypeName() override; 86 ConstString name_const_str = ConstString()) override; 115 ConstString m_type_name; 130 const CompilerType &compiler_type, ConstString name, 135 const CompilerType &compiler_type, ConstString name, [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/DataFormatters/ |
| H A D | DataVisualization.h | 54 AnyMatches(ConstString type_name, 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);
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/ |
| H A D | PlatformDarwinKernel.cpp | 186 static ConstString &GetSettingName() { in GetSettingName() 418 static ConstString g_sdk_suffix = ConstString(".sdk"); in FindKDKandSDKDirectoriesInDirectory() 419 static ConstString g_kdk_suffix = ConstString(".kdk"); in FindKDKandSDKDirectoriesInDirectory() 480 static ConstString g_kext_suffix = ConstString(".kext"); in GetKernelsAndKextsInDirectoryHelper() 481 static ConstString g_dsym_suffix = ConstString(".dSYM"); in GetKernelsAndKextsInDirectoryHelper() 482 static ConstString g_bundle_suffix = ConstString("Bundle"); in GetKernelsAndKextsInDirectoryHelper() 586 ConstString bundle_conststr(bundle_id_buf); in AddKextToMap() 618 dsym_fspec.GetFilename() = ConstString(filename); in KextHasdSYMSibling() 626 ConstString executable_name = in KextHasdSYMSibling() 666 static ConstString g_dsym_suffix = ConstString(".dSYM"); in KerneldSYMHasNoSiblingBinary() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | PathMappingList.h | 48 bool GetPathsAtIndex(uint32_t idx, ConstString &path, 49 ConstString &new_path) const; 56 bool Remove(ConstString path, bool notify); 62 bool RemapPath(ConstString path, ConstString &new_path) const; 110 typedef std::pair<ConstString, ConstString> pair; 115 iterator FindIteratorForPath(ConstString path); 117 const_iterator FindIteratorForPath(ConstString path) const;
|
| /llvm-project-15.0.7/lldb/unittests/Process/Utility/ |
| H A D | LinuxProcMapsTest.cpp | 107 ConstString("[heap]"), MemoryRegionInfo::eDontKnow, 0, 123 ConstString(nullptr), MemoryRegionInfo::eDontKnow, 0, 130 ConstString(nullptr), MemoryRegionInfo::eDontKnow, 0, 163 MemoryRegionInfo::eYes, ConstString("[foo]"), 184 MemoryRegionInfo::eYes, ConstString("[foo]"), 197 MemoryRegionInfo::eYes, ConstString("[foo]"), 213 MemoryRegionInfo::eYes, ConstString("[foo]"), 258 MemoryRegionInfo::eYes, ConstString("[foo]"), 264 MemoryRegionInfo::eYes, ConstString("[bar]"), 282 MemoryRegionInfo::eYes, ConstString(nullptr), [all …]
|
| /llvm-project-15.0.7/lldb/unittests/SymbolFile/DWARF/ |
| H A D | DWARFIndexCachingTest.cpp | 119 ConstString("a"), in TEST() 126 ConstString("a"), in TEST() 133 ConstString("a"), in TEST() 140 ConstString("a"), in TEST() 147 ConstString("a"), in TEST() 154 ConstString("a"), in TEST() 161 ConstString("a"), in TEST() 168 ConstString("a"), in TEST() 175 ConstString("a"), in TEST() 178 ConstString("b"), in TEST() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Symbol/ |
| H A D | Type.h | 38 ConstString name; 136 ConstString GetName(); 152 ConstString GetQualifiedName(); 221 ConstString m_name; 278 ConstString GetName() const; 382 ConstString m_name; 409 ConstString GetName() const; 435 ConstString m_type_name; 449 ConstString GetName() const; 471 ConstString m_name; [all …]
|