/external/llvm-project/lldb/source/Plugins/Language/ObjC/ |
D | ObjCLanguage.cpp | 51 lldb_private::ConstString ObjCLanguage::GetPluginNameStatic() { in GetPluginNameStatic() 52 static ConstString g_name("objc"); in GetPluginNameStatic() 58 lldb_private::ConstString ObjCLanguage::GetPluginName() { in GetPluginName() 123 ConstString ObjCLanguage::MethodName::GetClassName() { in GetClassName() 149 ConstString ObjCLanguage::MethodName::GetClassNameWithCategory() { in GetClassNameWithCategory() 172 ConstString ObjCLanguage::MethodName::GetSelector() { in GetSelector() 187 ConstString ObjCLanguage::MethodName::GetCategory() { in GetCategory() 206 ConstString ObjCLanguage::MethodName::GetFullNameWithoutCategory( in GetFullNameWithoutCategory() 217 return ConstString(strm.GetString()); in GetFullNameWithoutCategory() 225 return ConstString(); in GetFullNameWithoutCategory() [all …]
|
D | ObjCLanguage.h | 61 ConstString GetFullName() const { return m_full; } in GetFullName() 63 ConstString GetFullNameWithoutCategory(bool empty_if_no_category); 68 ConstString GetClassName(); 70 ConstString GetClassNameWithCategory(); 72 ConstString GetCategory(); 74 ConstString GetSelector(); 77 ConstString 79 ConstString m_class; // Class name: "NSString" 80 ConstString 82 ConstString m_category; // Category: "my_additions" [all …]
|
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()
|
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; 297 size_t GetIndexOfChildWithName(ConstString name) override; 314 size_t GetIndexOfChildWithName(ConstString name) override; 321 static ConstString g_TypeHint("NSArray"); in NSArraySummaryProvider() 347 ConstString class_name(descriptor->GetClassName()); in NSArraySummaryProvider() [all …]
|
/external/llvm-project/lldb/unittests/Utility/ |
D | ConstStringTest.cpp | 17 EXPECT_EQ("foo", llvm::formatv("{0}", ConstString("foo")).str()); in TEST() 21 ConstString uvw("uvw"); in TEST() 22 ConstString counterpart; in TEST() 26 ConstString xyz; in TEST() 39 ConstString some1; in TEST() 40 some1.SetStringWithMangledCounterpart("some", ConstString("")); in TEST() 43 ConstString some2; in TEST() 44 some2.SetStringWithMangledCounterpart("some", ConstString("one")); in TEST() 47 ConstString some2; in TEST() 48 some2.SetStringWithMangledCounterpart("some", ConstString("one")); in TEST() [all …]
|
/external/llvm-project/lldb/unittests/DataFormatter/ |
D | FormattersContainerTest.cpp | 27 TypeMatcher matcher(ConstString(prefix + "Name")); in TEST() 28 EXPECT_TRUE(matcher.Matches(ConstString("class Name"))); in TEST() 29 EXPECT_TRUE(matcher.Matches(ConstString("struct Name"))); in TEST() 30 EXPECT_TRUE(matcher.Matches(ConstString("union Name"))); in TEST() 31 EXPECT_TRUE(matcher.Matches(ConstString("enum Name"))); in TEST() 32 EXPECT_TRUE(matcher.Matches(ConstString("Name"))); in TEST() 34 EXPECT_FALSE(matcher.Matches(ConstString("Name "))); in TEST() 35 EXPECT_FALSE(matcher.Matches(ConstString("ame"))); in TEST() 36 EXPECT_FALSE(matcher.Matches(ConstString("Nam"))); in TEST() 37 EXPECT_FALSE(matcher.Matches(ConstString("am"))); in TEST() [all …]
|
/external/llvm-project/lldb/unittests/Target/ |
D | PathMappingListTest.cpp | 27 llvm::ArrayRef<ConstString> fails) { in TestPathMappings() 28 ConstString actual_remapped; in TestPathMappings() 38 map.RemapPath(ConstString(match.original.GetPath()), actual_remapped)); in TestPathMappings() 57 ConstString fails[] = { in TEST() 59 ConstString("C:\\"), in TEST() 60 ConstString("C:\\a"), in TEST() 62 ConstString("/a"), in TEST() 63 ConstString("/"), in TEST() 67 map.Append(ConstString("."), ConstString("/tmp"), false); in TEST() 70 map2.Append(ConstString(""), ConstString("/tmp"), false); in TEST() [all …]
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | ConstString.h | 40 class ConstString { 45 ConstString() = default; 47 explicit ConstString(const llvm::StringRef &s); 57 explicit ConstString(const char *cstr); 79 explicit ConstString(const char *cstr, size_t max_cstr_len); 125 bool operator==(ConstString rhs) const { 167 bool operator!=(ConstString rhs) const { return m_string != rhs.m_string; } 182 bool operator<(ConstString rhs) const; 252 static bool Equals(ConstString lhs, ConstString rhs, 276 static int Compare(ConstString lhs, ConstString rhs, [all …]
|
/external/llvm-project/lldb/unittests/Symbol/ |
D | TestType.cpp | 54 {CompilerContextKind::Module, ConstString("A")}, in TEST() 55 {CompilerContextKind::Module, ConstString("B")}, in TEST() 56 {CompilerContextKind::Struct, ConstString("S")}}; 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() 65 {CompilerContextKind::Struct, ConstString("S")}}; in TEST() 67 {CompilerContextKind::Module, ConstString("A")}, in TEST() 68 {CompilerContextKind::AnyModule, ConstString("*")}, in TEST() [all …]
|
/external/llvm-project/lldb/include/lldb/Core/ |
D | PluginManager.h | 46 class ConstString; variable 57 static bool RegisterPlugin(ConstString name, const char *description, 65 static void RegisterPlugin(ConstString name, llvm::StringRef description, 74 static bool RegisterPlugin(ConstString name, const char *description, 83 GetDisassemblerCreateCallbackForPluginName(ConstString name); 87 RegisterPlugin(ConstString name, const char *description, 97 GetDynamicLoaderCreateCallbackForPluginName(ConstString name); 101 RegisterPlugin(ConstString name, const char *description, 111 static bool RegisterPlugin(ConstString name, const char *description, 121 GetEmulateInstructionCreateCallbackForPluginName(ConstString name); [all …]
|
D | Mangled.h | 61 explicit Mangled(ConstString name); 135 ConstString GetDemangledName() const; 141 ConstString GetDisplayDemangledName() const; 143 void SetDemangledName(ConstString name) { m_demangled = name; } in SetDemangledName() 145 void SetMangledName(ConstString name) { m_mangled = name; } in SetMangledName() 151 ConstString &GetMangledName() { return m_mangled; } in GetMangledName() 157 ConstString GetMangledName() const { return m_mangled; } in GetMangledName() 168 ConstString GetName(NamePreference preference = ePreferDemangled) const; 177 bool NameMatches(ConstString name) const { in NameMatches() 207 void SetValue(ConstString name, bool is_mangled); [all …]
|
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() 189 equal_range(ConstString unique_cstr) const { in equal_range() [all …]
|
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 …]
|
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
D | CPlusPlusLanguage.cpp | 57 lldb_private::ConstString CPlusPlusLanguage::GetPluginNameStatic() { in GetPluginNameStatic() 58 static ConstString g_name("cplusplus"); in GetPluginNameStatic() 64 lldb_private::ConstString CPlusPlusLanguage::GetPluginName() { in GetPluginName() 302 ConstString substitute(llvm::StringRef Mangled, Ts &&... Vals) { in substitute() 316 ConstString substituteImpl(llvm::StringRef Mangled) { in substituteImpl() 320 return ConstString(); in substituteImpl() 323 return ConstString(); in substituteImpl() 328 return ConstString(Result); in substituteImpl() 396 const ConstString mangled_name, std::set<ConstString> &alternates) { in FindAlternateFunctionManglings() 410 alternates.insert(ConstString(fixed_scratch)); in FindAlternateFunctionManglings() [all …]
|
D | LibCxxUnorderedMap.cpp | 42 size_t GetIndexOfChildWithName(ConstString name) override; 87 node_sp->GetChildMemberWithName(ConstString("__value_"), true); in GetChildAtIndex() 89 node_sp->GetChildMemberWithName(ConstString("__hash_"), true); in GetChildAtIndex() 92 auto p1_sp = m_backend.GetChildAtNamePath({ConstString("__table_"), in GetChildAtIndex() 93 ConstString("__p1_")}); in GetChildAtIndex() 101 first_sp = p1_sp->GetChildMemberWithName(ConstString("__first_"), in GetChildAtIndex() 108 first_sp = p1_sp->GetChildMemberWithName(ConstString("__value_"), in GetChildAtIndex() 131 value_sp = node_sp->GetChildMemberWithName(ConstString("__value_"), true); in GetChildAtIndex() 132 hash_sp = node_sp->GetChildMemberWithName(ConstString("__hash_"), true); in GetChildAtIndex() 139 node_sp->GetChildMemberWithName(ConstString("__next_"), true).get(); in GetChildAtIndex() [all …]
|
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 …]
|
/external/llvm-project/lldb/include/lldb/Target/ |
D | PathMappingList.h | 35 void Append(ConstString path, ConstString replacement, 49 bool GetPathsAtIndex(uint32_t idx, ConstString &path, 50 ConstString &new_path) const; 52 void Insert(ConstString path, ConstString replacement, 57 bool Remove(ConstString path, bool notify); 59 bool Replace(ConstString path, ConstString replacement, 62 bool Replace(ConstString path, ConstString replacement, 64 bool RemapPath(ConstString path, ConstString &new_path) const; 106 uint32_t FindIndexForPath(ConstString path) const; 111 typedef std::pair<ConstString, ConstString> pair; [all …]
|
/external/llvm-project/lldb/source/Utility/ |
D | ConstString.cpp | 206 ConstString::ConstString(const char *cstr) in ConstString() function in ConstString 209 ConstString::ConstString(const char *cstr, size_t cstr_len) in ConstString() function in ConstString 212 ConstString::ConstString(const llvm::StringRef &s) in ConstString() function in ConstString 215 bool ConstString::operator<(ConstString rhs) const { in operator <() 230 Stream &lldb_private::operator<<(Stream &s, ConstString str) { in operator <<() 238 size_t ConstString::GetLength() const { in GetLength() 242 bool ConstString::Equals(ConstString lhs, ConstString rhs, in Equals() 259 int ConstString::Compare(ConstString lhs, ConstString rhs, in Compare() 283 void ConstString::Dump(Stream *s, const char *fail_value) const { in Dump() 291 void ConstString::DumpDebug(Stream *s) const { in DumpDebug() [all …]
|
/external/llvm-project/lldb/source/Core/ |
D | PluginManager.cpp | 187 PluginInstance(ConstString name, std::string description, in PluginInstance() 194 ConstString name; 203 bool RegisterPlugin(ConstString name, const char *description, in RegisterPlugin() 247 typename Instance::CallbackType GetCallbackForName(ConstString name) { in GetCallbackForName() 287 bool PluginManager::RegisterPlugin(ConstString name, const char *description, in RegisterPlugin() 310 void PluginManager::RegisterPlugin(ConstString name, in RegisterPlugin() 349 bool PluginManager::RegisterPlugin(ConstString name, const char *description, in RegisterPlugin() 366 PluginManager::GetDisassemblerCreateCallbackForPluginName(ConstString name) { in GetDisassemblerCreateCallbackForPluginName() 381 ConstString name, const char *description, in RegisterPlugin() 399 PluginManager::GetDynamicLoaderCreateCallbackForPluginName(ConstString name) { in GetDynamicLoaderCreateCallbackForPluginName() [all …]
|
D | Mangled.cpp | 39 static ConstString 40 get_demangled_name_without_arguments(ConstString mangled, in get_demangled_name_without_arguments() 41 ConstString demangled) { in get_demangled_name_without_arguments() 43 static std::pair<ConstString, ConstString> in get_demangled_name_without_arguments() 49 static ConstString g_last_mangled; in get_demangled_name_without_arguments() 50 static ConstString g_last_demangled; in get_demangled_name_without_arguments() 77 ConstString result(shortname.c_str()); in get_demangled_name_without_arguments() 109 Mangled::Mangled(ConstString s) : m_mangled(), m_demangled() { in Mangled() 116 SetValue(ConstString(name)); in Mangled() 145 return ConstString::Compare(a.GetName(ePreferMangled), in Compare() [all …]
|
/external/llvm-project/lldb/source/Target/ |
D | PathMappingList.cpp | 33 ConstString NormalizePath(ConstString path) { in NormalizePath() 36 return ConstString(FileSpec(path.GetStringRef()).GetPath()); in NormalizePath() 63 void PathMappingList::Append(ConstString path, in Append() 64 ConstString replacement, bool notify) { in Append() 82 void PathMappingList::Insert(ConstString path, in Insert() 83 ConstString replacement, uint32_t index, in Insert() 97 bool PathMappingList::Replace(ConstString path, in Replace() 98 ConstString replacement, uint32_t index, in Replace() 147 bool PathMappingList::RemapPath(ConstString path, in RemapPath() 148 ConstString &new_path) const { in RemapPath() [all …]
|
/external/llvm-project/lldb/include/lldb/DataFormatters/ |
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);
|
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/ |
D | PlatformDarwinKernel.cpp | 169 lldb_private::ConstString PlatformDarwinKernel::GetPluginNameStatic() { in GetPluginNameStatic() 170 static ConstString g_name("darwin-kernel"); in GetPluginNameStatic() 190 static ConstString &GetSettingName() { in GetSettingName() 191 static ConstString g_setting_name("darwin-kernel"); in GetSettingName() 229 ConstString("Properties for the PlatformDarwinKernel plug-in."), in DebuggerInitialize() 427 static ConstString g_sdk_suffix = ConstString(".sdk"); in FindKDKandSDKDirectoriesInDirectory() 428 static ConstString g_kdk_suffix = ConstString(".kdk"); in FindKDKandSDKDirectoriesInDirectory() 489 static ConstString g_kext_suffix = ConstString(".kext"); in GetKernelsAndKextsInDirectoryHelper() 490 static ConstString g_dsym_suffix = ConstString(".dSYM"); in GetKernelsAndKextsInDirectoryHelper() 491 static ConstString g_bundle_suffix = ConstString("Bundle"); in GetKernelsAndKextsInDirectoryHelper() [all …]
|
/external/llvm-project/lldb/unittests/Core/ |
D | RichManglingContextTest.cpp | 20 ConstString mangled("_ZN3foo3barEv"); in TEST() 38 ConstString mangled("_ZN3foo3barEv"); in TEST() 42 ConstString demangled("foo::bar()"); in TEST() 63 EXPECT_TRUE(CxxMethodRMC.FromCxxMethodName(ConstString("X"))); in TEST() 73 ConstString("void * operator new(unsigned __int64)"))); in TEST() 89 EXPECT_TRUE(RMC.FromItaniumName(ConstString(mangled))); in TEST() 93 EXPECT_TRUE(RMC.FromCxxMethodName(ConstString(demangled))); in TEST() 97 EXPECT_TRUE(RMC.FromItaniumName(ConstString(mangled))); in TEST() 126 EXPECT_TRUE(RMC.FromItaniumName(ConstString(ShortMangled))); in TEST() 131 EXPECT_TRUE(RMC.FromItaniumName(ConstString(LongMangled))); in TEST()
|
/external/llvm-project/lldb/unittests/Process/Utility/ |
D | LinuxProcMapsTest.cpp | 92 MemoryRegionInfo::eYes, ConstString("[abc]"), 104 ConstString("[heap]"), 118 ConstString(nullptr), 125 ConstString("[vsyscall]"), MemoryRegionInfo::eDontKnow, 0, 150 ConstString("[foo]"), 170 ConstString("[foo]"), 185 MemoryRegionInfo::eYes, ConstString("[foo]"), 196 MemoryRegionInfo::eYes, ConstString(nullptr), 208 MemoryRegionInfo::eYes, ConstString(nullptr), 224 ConstString("[foo]"), [all …]
|