/llvm-project/lldb/include/lldb/Utility/ |
H A D | RegularExpression.h | 18 class RegularExpression { 22 RegularExpression() = default; 38 explicit RegularExpression( 42 ~RegularExpression() = default; 44 RegularExpression(const RegularExpression &rhs); 45 RegularExpression(RegularExpression &&rhs) = default; 47 RegularExpression &operator=(RegularExpression &&rhs) = default; 48 RegularExpression &operator=(const RegularExpression &rhs) = default; 87 bool operator==(const RegularExpression &rhs) const {
|
/llvm-project/lldb/source/Utility/ |
H A D | RegularExpression.cpp | 15 RegularExpression::RegularExpression(llvm::StringRef str, in RegularExpression() function in RegularExpression 21 RegularExpression::RegularExpression(const RegularExpression &rhs) in RegularExpression() function in RegularExpression 22 : RegularExpression(rhs.GetText()) {} in RegularExpression() 24 bool RegularExpression::Execute( in Execute() 32 bool RegularExpression::IsValid() const { return m_regex.isValid(); } in IsValid() 34 llvm::StringRef RegularExpression::GetText() const { return m_regex_text; } in GetText() 36 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/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/lldb/include/lldb/Interpreter/ |
H A D | OptionValueRegex.h | 40 m_regex = RegularExpression(m_default_regex_str); in Clear() 45 const RegularExpression *GetCurrentValue() const { in GetCurrentValue() 51 m_regex = RegularExpression(llvm::StringRef(value)); in SetCurrentValue() 53 m_regex = RegularExpression(); in SetCurrentValue() 59 RegularExpression m_regex;
|
/llvm-project/lldb/unittests/DataFormatter/ |
H A D | FormattersContainerTest.cpp | 56 TypeMatcher matcher(RegularExpression("^a[a-z]c$")); in TEST() 77 TypeMatcher matcher(RegularExpression("a[a-z]c")); in TEST() 104 EXPECT_EQ(TypeMatcher(RegularExpression("aa")).GetMatchString(), "aa"); in TEST() 105 EXPECT_EQ(TypeMatcher(RegularExpression("")).GetMatchString(), ""); in TEST() 106 EXPECT_EQ(TypeMatcher(RegularExpression("[a]")).GetMatchString(), "[a]"); in TEST() 112 TypeMatcher empty_regex(RegularExpression("")); in TEST() 117 TypeMatcher a_regex(RegularExpression("a")); in TEST() 122 TypeMatcher digit_regex(RegularExpression("[0-9]")); in TEST() 162 TypeMatcher without_prefix(RegularExpression("")); in TEST()
|
/llvm-project/lldb/include/lldb/Breakpoint/ |
H A D | BreakpointResolverFileRegex.h | 27 const lldb::BreakpointSP &bkpt, RegularExpression regex, 63 RegularExpression
|
H A D | BreakpointResolverName.h | 49 RegularExpression func_regex, 85 RegularExpression m_regex;
|
/llvm-project/lldb/include/lldb/Core/ |
H A D | SourceManager.h | 29 class RegularExpression; 50 void FindLinesMatchingRegex(RegularExpression ®ex, uint32_t start_line, 191 RegularExpression ®ex, uint32_t start_line, 28 class RegularExpression; global() variable
|
H A D | ModuleList.h | 39 class RegularExpression; variable 296 void FindFunctions(const RegularExpression &name, 326 void FindGlobalVariables(const RegularExpression ®ex, size_t max_matches, 360 void FindSymbolsMatchingRegExAndType(const RegularExpression ®ex,
|
H A D | Module.h | 51 class RegularExpression; 268 const RegularExpression ®ex, lldb::SymbolType symbol_type, 359 void FindFunctions(const RegularExpression ®ex, 422 void FindGlobalVariables(const RegularExpression ®ex, size_t max_matches, 50 class RegularExpression; global() variable
|
/llvm-project/lldb/source/Plugins/InstrumentationRuntime/ASan/ |
H A D | InstrumentationRuntimeASan.cpp | 47 const RegularExpression & 50 static RegularExpression regex( in GetPatternForRuntimeLibrary()
|
/llvm-project/lldb/source/Plugins/InstrumentationRuntime/ASanLibsanitizers/ |
H A D | InstrumentationRuntimeASanLibsanitizers.cpp | 17 #include "lldb/Utility/RegularExpression.h" 54 const RegularExpression & 56 static RegularExpression regex( in GetPatternForRuntimeLibrary()
|
/llvm-project/lldb/include/lldb/DataFormatters/ |
H A D | FormattersContainer.h | 25 #include "lldb/Utility/RegularExpression.h" 45 RegularExpression m_type_name_regex; 48 /// - eFormatterMatchRegex: match using the RegularExpression object 82 TypeMatcher(RegularExpression regex) in TypeMatcher() 91 m_type_name_regex = RegularExpression(type_specifier->GetName()); in TypeMatcher()
|
/llvm-project/lldb/source/Plugins/SymbolFile/CTF/ |
H A D | SymbolFileCTF.h | 111 void FindTypesByRegex(const lldb_private::RegularExpression ®ex, 119 void FindFunctions(const lldb_private::RegularExpression ®ex, 129 void FindGlobalVariables(const lldb_private::RegularExpression ®ex,
|
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | DWARFIndex.h | 40 GetGlobalVariables(const RegularExpression ®ex, 87 GetFunctions(const RegularExpression ®ex,
|
H A D | ManualDWARFIndex.h | 36 GetGlobalVariables(const RegularExpression ®ex, 56 void GetFunctions(const RegularExpression ®ex,
|
H A D | AppleDWARFIndex.h | 48 GetGlobalVariables(const RegularExpression ®ex, 68 void GetFunctions(const RegularExpression ®ex,
|
H A D | DebugNamesDWARFIndex.h | 33 GetGlobalVariables(const RegularExpression ®ex, 65 void GetFunctions(const RegularExpression ®ex, in DebugNamesDWARFIndex()
|
/llvm-project/lldb/include/lldb/Symbol/ |
H A D | Symtab.h | 93 const RegularExpression ®ex, lldb::SymbolType symbol_type, 97 const RegularExpression ®ex, lldb::SymbolType symbol_type, 111 const RegularExpression ®ex, lldb::SymbolType symbol_type,
|
/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
H A D | SymbolFilePDB.h | 119 void FindGlobalVariables(const lldb_private::RegularExpression ®ex, 128 void FindFunctions(const lldb_private::RegularExpression ®ex, 139 void FindTypesByRegex(const lldb_private::RegularExpression ®ex,
|
/llvm-project/lldb/source/Target/ |
H A D | AssertFrameRecognizer.cpp | 114 std::make_shared<RegularExpression>(std::move(module_re)), in RegisterAssertFrameRecognizer() 115 std::make_shared<RegularExpression>(std::move(symbol_re)), in RegisterAssertFrameRecognizer()
|
H A D | ThreadPlanStepInRange.cpp | 23 #include "lldb/Utility/RegularExpression.h" 296 *m_avoid_regexp_up = RegularExpression(name); in SetAvoidRegexp() 298 m_avoid_regexp_up = std::make_unique<RegularExpression>(name); in SetAvoidRegexp() 331 const RegularExpression *avoid_regexp_to_use = m_avoid_regexp_up.get(); in FrameMatchesAvoidCriteria()
|
/llvm-project/lldb/source/Breakpoint/ |
H A D | BreakpointResolverFileRegex.cpp | 23 const lldb::BreakpointSP &bkpt, RegularExpression regex, in BreakpointResolverFileRegex() 40 RegularExpression regex(regex_string); in CreateFromStructuredData()
|