Home
last modified time | relevance | path

Searched refs:RegularExpression (Results 1 – 25 of 114) sorted by relevance

12345

/external/llvm-project/lldb/include/lldb/Utility/
DRegularExpression.h18 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 {
DNameMatches.h21 RegularExpression enumerator
/external/icu/icu4c/source/i18n/
Duregex.cpp34 struct RegularExpression: public UMemory { struct
36 RegularExpression();
37 ~RegularExpression();
52 RegularExpression::RegularExpression() { in RegularExpression() argument
64 RegularExpression::~RegularExpression() { in ~RegularExpression()
87 static UBool validateRE(const RegularExpression *re, UBool requiresText, UErrorCode *status) { in validateRE()
127 RegularExpression *re = new RegularExpression; in uregex_open()
207 RegularExpression *re = new RegularExpression; in uregex_openUText()
271 RegularExpression *re = (RegularExpression*)re2; in uregex_close()
287 RegularExpression *source = (RegularExpression*)source2; in uregex_clone()
[all …]
/external/llvm-project/lldb/source/Utility/
DRegularExpression.cpp15 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()
DNameMatches.cpp28 case NameMatch::RegularExpression: { in NameMatches()
29 RegularExpression regex(match); in NameMatches()
/external/llvm-project/lldb/unittests/Utility/
DRegularExpressionTest.cpp16 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 …]
DNameMatchesTest.cpp49 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()
/external/llvm-project/lldb/include/lldb/Interpreter/
DOptionValueRegex.h40 m_regex = RegularExpression(m_default_regex_str); in Clear()
47 const RegularExpression *GetCurrentValue() const { in GetCurrentValue()
53 m_regex = RegularExpression(llvm::StringRef(value)); in SetCurrentValue()
55 m_regex = RegularExpression(); in SetCurrentValue()
61 RegularExpression m_regex;
/external/rust/crates/regex/src/
Dre_trait.rs93 pub trait RegularExpression: Sized + fmt::Debug { interface
156 R: RegularExpression,
167 R: RegularExpression,
183 R: RegularExpression,
216 R: RegularExpression,
226 R: RegularExpression,
231 R: RegularExpression,
247 R: RegularExpression,
280 R: RegularExpression,
/external/llvm-project/lldb/unittests/DataFormatter/
DFormattersContainerTest.cpp48 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()
/external/llvm-project/lldb/source/DataFormatters/
DFormattersHelpers.cpp31 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()
/external/llvm-project/lldb/include/lldb/Core/
DAddressResolverName.h34 AddressResolverName(RegularExpression func_regex);
53 RegularExpression m_regex;
DSourceManager.h26 class RegularExpression; variable
47 void FindLinesMatchingRegex(RegularExpression &regex, uint32_t start_line,
148 void FindLinesMatchingRegex(FileSpec &file_spec, RegularExpression &regex,
DModuleList.h39 class RegularExpression; variable
278 void FindFunctions(const RegularExpression &name, bool include_symbols,
307 void FindGlobalVariables(const RegularExpression &regex, size_t max_matches,
341 void FindSymbolsMatchingRegExAndType(const RegularExpression &regex,
DModule.h47 class RegularExpression; variable
255 void FindSymbolsMatchingRegExAndType(const RegularExpression &regex,
322 void FindFunctions(const RegularExpression &regex, bool symbols_ok,
384 void FindGlobalVariables(const RegularExpression &regex, size_t max_matches,
/external/llvm-project/lldb/include/lldb/Breakpoint/
DBreakpointResolverFileRegex.h27 const lldb::BreakpointSP &bkpt, RegularExpression regex,
64 RegularExpression
DBreakpointResolverName.h49 RegularExpression func_regex,
86 RegularExpression m_regex;
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DManualDWARFIndex.h33 GetGlobalVariables(const RegularExpression &regex,
53 void GetFunctions(const RegularExpression &regex,
DAppleDWARFIndex.h39 GetGlobalVariables(const RegularExpression &regex,
59 void GetFunctions(const RegularExpression &regex,
DDWARFIndex.h35 GetGlobalVariables(const RegularExpression &regex,
59 GetFunctions(const RegularExpression &regex,
DDebugNamesDWARFIndex.h32 GetGlobalVariables(const RegularExpression &regex,
53 void GetFunctions(const RegularExpression &regex,
DHashedNameToDIE.h136 AppendAllDIEsThatMatchingRegex(const lldb_private::RegularExpression &regex,
161 const lldb_private::RegularExpression &regex,
/external/llvm-project/lldb/include/lldb/Symbol/
DSymtab.h92 AppendSymbolIndexesMatchingRegExAndType(const RegularExpression &regex,
96 const RegularExpression &regex, lldb::SymbolType symbol_type,
108 const RegularExpression &regex, lldb::SymbolType symbol_type,
/external/llvm-project/lldb/source/Core/
DAddressResolverName.cpp39 m_regex = RegularExpression(m_func_name.GetStringRef()); in AddressResolverName()
50 AddressResolverName::AddressResolverName(RegularExpression func_regex) in AddressResolverName()
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DSymbolFilePDB.h119 void FindGlobalVariables(const lldb_private::RegularExpression &regex,
129 void FindFunctions(const lldb_private::RegularExpression &regex,
151 void FindTypesByRegex(const lldb_private::RegularExpression &regex,

12345