| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | RegularExpression.h | 18 class RegularExpression { 22 RegularExpression() = default; 34 explicit RegularExpression(llvm::StringRef string); 36 ~RegularExpression() = default; 38 RegularExpression(const RegularExpression &rhs); 39 RegularExpression(RegularExpression &&rhs) = default; 41 RegularExpression &operator=(RegularExpression &&rhs) = default; 42 RegularExpression &operator=(const RegularExpression &rhs) = default; 81 bool operator==(const RegularExpression &rhs) const {
|
| H A D | NameMatches.h | 21 RegularExpression enumerator
|
| /llvm-project-15.0.7/lldb/source/Utility/ |
| H A D | RegularExpression.cpp | 15 RegularExpression::RegularExpression(llvm::StringRef str) in RegularExpression() function in RegularExpression 20 RegularExpression::RegularExpression(const RegularExpression &rhs) in RegularExpression() function in RegularExpression 21 : RegularExpression(rhs.GetText()) {} in RegularExpression() 23 bool RegularExpression::Execute( in Execute() 31 bool RegularExpression::IsValid() const { return m_regex.isValid(); } in IsValid() 33 llvm::StringRef RegularExpression::GetText() const { return m_regex_text; } in GetText() 35 llvm::Error RegularExpression::GetError() const { in GetError()
|
| H A D | NameMatches.cpp | 28 case NameMatch::RegularExpression: { in NameMatches() 29 RegularExpression regex(match); in NameMatches()
|
| /llvm-project-15.0.7/lldb/unittests/Utility/ |
| H A D | RegularExpressionTest.cpp | 16 TEST(RegularExpression, Valid) { in TEST() argument 17 RegularExpression r1("^[0-9]+$"); in TEST() 24 TEST(RegularExpression, CopyAssignment) { in TEST() argument 25 RegularExpression r1("^[0-9]+$"); in TEST() 26 RegularExpression r2 = r1; in TEST() 33 TEST(RegularExpression, Empty) { in TEST() argument 34 RegularExpression r1(""); in TEST() 43 TEST(RegularExpression, Invalid) { in TEST() argument 44 RegularExpression r1("a[b-"); in TEST() 53 TEST(RegularExpression, Match) { in TEST() argument [all …]
|
| H A D | NameMatchesTest.cpp | 49 TEST(NameMatchesTest, RegularExpression) { in TEST() argument 50 EXPECT_TRUE(NameMatches("foobar", NameMatch::RegularExpression, "foo")); in TEST() 51 EXPECT_TRUE(NameMatches("foobar", NameMatch::RegularExpression, "f[oa]o")); in TEST() 52 EXPECT_FALSE(NameMatches("foo", NameMatch::RegularExpression, "")); in TEST() 53 EXPECT_FALSE(NameMatches("", NameMatch::RegularExpression, "")); in TEST() 54 EXPECT_FALSE(NameMatches("foo", NameMatch::RegularExpression, "b")); in TEST() 55 EXPECT_FALSE(NameMatches("", NameMatch::RegularExpression, "b")); in TEST() 56 EXPECT_FALSE(NameMatches("^a", NameMatch::RegularExpression, "^a")); in TEST()
|
| /llvm-project-15.0.7/lldb/include/lldb/Interpreter/ |
| H A D | OptionValueRegex.h | 36 m_regex = RegularExpression(m_default_regex_str); in Clear() 41 const RegularExpression *GetCurrentValue() const { in GetCurrentValue() 47 m_regex = RegularExpression(llvm::StringRef(value)); in SetCurrentValue() 49 m_regex = RegularExpression(); in SetCurrentValue() 55 RegularExpression m_regex;
|
| /llvm-project-15.0.7/lldb/unittests/DataFormatter/ |
| H A D | FormattersContainerTest.cpp | 48 TypeMatcher matcher(RegularExpression("^a[a-z]c$")); in TEST() 69 TypeMatcher matcher(RegularExpression("a[a-z]c")); in TEST() 96 EXPECT_EQ(TypeMatcher(RegularExpression("aa")).GetMatchString(), "aa"); in TEST() 97 EXPECT_EQ(TypeMatcher(RegularExpression("")).GetMatchString(), ""); in TEST() 98 EXPECT_EQ(TypeMatcher(RegularExpression("[a]")).GetMatchString(), "[a]"); in TEST() 104 TypeMatcher empty_regex(RegularExpression("")); in TEST() 109 TypeMatcher a_regex(RegularExpression("a")); in TEST() 114 TypeMatcher digit_regex(RegularExpression("[0-9]")); in TEST() 154 TypeMatcher without_prefix(RegularExpression("")); in TEST()
|
| /llvm-project-15.0.7/lldb/source/DataFormatters/ |
| H A D | FormattersHelpers.cpp | 31 RegularExpression(type_name.GetStringRef()), format_sp); in AddFormat() 42 RegularExpression(type_name.GetStringRef()), summary_sp); in AddSummary() 55 RegularExpression(type_name.GetStringRef()), summary_sp); in AddStringSummary() 69 RegularExpression(type_name.GetStringRef()), summary_sp); in AddOneLineSummary() 83 RegularExpression(type_name.GetStringRef()), summary_sp); in AddCXXSummary() 98 RegularExpression(type_name.GetStringRef()), synth_sp); in AddCXXSynthetic() 113 RegularExpression(type_name.GetStringRef()), filter_sp); in AddFilter()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | CPlusPlusLanguage.cpp | 1004 RegularExpression("^std::vector<.+>(( )?&)?$"), in LoadLibStdcppFormatters() 1009 RegularExpression("^std::map<.+> >(( )?&)?$"), in LoadLibStdcppFormatters() 1014 RegularExpression("^std::deque<.+>(( )?&)?$"), in LoadLibStdcppFormatters() 1019 RegularExpression("^std::set<.+> >(( )?&)?$"), in LoadLibStdcppFormatters() 1024 RegularExpression("^std::multimap<.+> >(( )?&)?$"), in LoadLibStdcppFormatters() 1029 RegularExpression("^std::multiset<.+> >(( )?&)?$"), in LoadLibStdcppFormatters() 1052 RegularExpression("^std::bitset<.+>(( )?&)?$"), in LoadLibStdcppFormatters() 1056 RegularExpression("^std::vector<.+>(( )?&)?$"), in LoadLibStdcppFormatters() 1060 RegularExpression("^std::map<.+> >(( )?&)?$"), in LoadLibStdcppFormatters() 1064 RegularExpression("^std::set<.+> >(( )?&)?$"), in LoadLibStdcppFormatters() [all …]
|
| /llvm-project-15.0.7/lldb/include/lldb/Breakpoint/ |
| H A D | BreakpointResolverFileRegex.h | 27 const lldb::BreakpointSP &bkpt, RegularExpression regex, 64 RegularExpression
|
| H A D | BreakpointResolverName.h | 49 RegularExpression func_regex, 86 RegularExpression m_regex;
|
| /llvm-project-15.0.7/lldb/include/lldb/Core/ |
| H A D | SourceManager.h | 26 class RegularExpression; variable 47 void FindLinesMatchingRegex(RegularExpression ®ex, uint32_t start_line, 148 void FindLinesMatchingRegex(FileSpec &file_spec, RegularExpression ®ex,
|
| H A D | ModuleList.h | 39 class RegularExpression; variable 274 void FindFunctions(const RegularExpression &name, 304 void FindGlobalVariables(const RegularExpression ®ex, size_t max_matches, 338 void FindSymbolsMatchingRegExAndType(const RegularExpression ®ex,
|
| H A D | Module.h | 48 class RegularExpression; variable 264 void FindSymbolsMatchingRegExAndType(const RegularExpression ®ex, 332 void FindFunctions(const RegularExpression ®ex, 395 void FindGlobalVariables(const RegularExpression ®ex, size_t max_matches,
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | DWARFIndex.h | 37 GetGlobalVariables(const RegularExpression ®ex, 62 GetFunctions(const RegularExpression ®ex,
|
| H A D | AppleDWARFIndex.h | 39 GetGlobalVariables(const RegularExpression ®ex, 59 void GetFunctions(const RegularExpression ®ex,
|
| H A D | DebugNamesDWARFIndex.h | 32 GetGlobalVariables(const RegularExpression ®ex, 53 void GetFunctions(const RegularExpression ®ex,
|
| H A D | ManualDWARFIndex.h | 33 GetGlobalVariables(const RegularExpression ®ex, 53 void GetFunctions(const RegularExpression ®ex,
|
| H A D | HashedNameToDIE.h | 136 AppendAllDIEsThatMatchingRegex(const lldb_private::RegularExpression ®ex, 161 const lldb_private::RegularExpression ®ex,
|
| /llvm-project-15.0.7/lldb/include/lldb/Symbol/ |
| H A D | Symtab.h | 93 AppendSymbolIndexesMatchingRegExAndType(const RegularExpression ®ex, 97 const RegularExpression ®ex, lldb::SymbolType symbol_type, 109 const RegularExpression ®ex, lldb::SymbolType symbol_type,
|
| /llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | SymbolFilePDB.h | 118 void FindGlobalVariables(const lldb_private::RegularExpression ®ex, 128 void FindFunctions(const lldb_private::RegularExpression ®ex, 150 void FindTypesByRegex(const lldb_private::RegularExpression ®ex,
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | AssertFrameRecognizer.cpp | 124 std::make_shared<RegularExpression>(std::move(module_re)), in RegisterAssertFrameRecognizer() 125 std::make_shared<RegularExpression>(std::move(symbol_re)), in RegisterAssertFrameRecognizer()
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBTypeCategory.cpp | 345 RegularExpression(type_name.GetName()), format.GetSP()); in AddTypeFormat() 419 RegularExpression(type_name.GetName()), summary.GetSP()); in AddTypeSummary() 459 RegularExpression(type_name.GetName()), filter.GetSP()); in AddTypeFilter() 533 RegularExpression(type_name.GetName()), synth.GetSP()); in AddTypeSynthetic()
|
| /llvm-project-15.0.7/lldb/source/Breakpoint/ |
| H A D | BreakpointResolverFileRegex.cpp | 23 const lldb::BreakpointSP &bkpt, RegularExpression regex, in BreakpointResolverFileRegex() 41 RegularExpression regex(regex_string); in CreateFromStructuredData()
|