Home
last modified time | relevance | path

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

12345678910>>...24

/external/llvm-project/lldb/source/Plugins/Language/ObjC/
DObjCLanguage.cpp51 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 …]
DObjCLanguage.h61 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 …]
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()
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;
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/
DConstStringTest.cpp17 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/
DFormattersContainerTest.cpp27 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/
DPathMappingListTest.cpp27 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/
DConstString.h40 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/
DTestType.cpp54 {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/
DPluginManager.h46 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 …]
DMangled.h61 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 …]
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()
189 equal_range(ConstString unique_cstr) const { in equal_range()
[all …]
DValueObjectConstResult.h43 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/
DCPlusPlusLanguage.cpp57 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 …]
DLibCxxUnorderedMap.cpp42 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 …]
DLibCxxVariant.cpp71 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/
DPathMappingList.h35 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/
DConstString.cpp206 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/
DPluginManager.cpp187 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 …]
DMangled.cpp39 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/
DPathMappingList.cpp33 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/
DDataVisualization.h54 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/
DPlatformDarwinKernel.cpp169 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/
DRichManglingContextTest.cpp20 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/
DLinuxProcMapsTest.cpp92 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 …]

12345678910>>...24