Home
last modified time | relevance | path

Searched refs:RegexPattern (Results 1 – 11 of 11) sorted by relevance

/external/icu/icu4c/source/i18n/
Drepattrn.cpp37 RegexPattern::RegexPattern() { in RegexPattern() function in RegexPattern
49 RegexPattern::RegexPattern(const RegexPattern &other) : UObject(other) { in RegexPattern() function in RegexPattern
61 RegexPattern &RegexPattern::operator = (const RegexPattern &other) { in operator =()
165 void RegexPattern::init() { in init()
220 void RegexPattern::zap() { in zap()
259 RegexPattern::~RegexPattern() { in ~RegexPattern()
269 RegexPattern *RegexPattern::clone() const { in clone()
270 RegexPattern *copy = new RegexPattern(*this); in clone()
283 UBool RegexPattern::operator ==(const RegexPattern &other) const { in operator ==()
305 RegexPattern * U_EXPORT2
[all …]
Dregexcmp.h41 class RegexPattern; variable
58 RegexCompile(RegexPattern *rp, UErrorCode &e);
135 RegexPattern *fRXPat;
Duregex.cpp39 RegexPattern *fPat;
157 re->fPat = RegexPattern::compile(&patText, flags, *pe, *status); in uregex_open()
159 re->fPat = RegexPattern::compile(&patText, flags, *status); in uregex_open()
240 re->fPat = RegexPattern::compile(&patText, flags, *pe, *status); in uregex_openUText()
242 re->fPat = RegexPattern::compile(&patText, flags, *status); in uregex_openUText()
Drematch.cpp70 RegexMatcher::RegexMatcher(const RegexPattern *pat) { in RegexMatcher()
93 fPatternOwned = RegexPattern::compile(regexp, flags, pe, status); in RegexMatcher()
112 fPatternOwned = RegexPattern::compile(regexp, flags, pe, status); in RegexMatcher()
129 fPatternOwned = RegexPattern::compile(regexp, flags, pe, status); in RegexMatcher()
144 fPatternOwned = RegexPattern::compile(regexp, flags, pe, status); in RegexMatcher()
1597 const RegexPattern &RegexMatcher::pattern() const { in pattern()
Dregexcmp.cpp54 RegexCompile::RegexCompile(RegexPattern *rxp, UErrorCode &status) : in RegexCompile()
/external/icu/icu4c/source/i18n/unicode/
Dregex.h67 class RegexPattern; variable
87 class U_I18N_API RegexPattern U_FINAL : public UObject {
97 RegexPattern();
105 RegexPattern(const RegexPattern &source);
112 virtual ~RegexPattern();
122 UBool operator==(const RegexPattern& that) const;
132 inline UBool operator!=(const RegexPattern& that) const {return ! operator ==(that);}
139 RegexPattern &operator =(const RegexPattern &source);
148 virtual RegexPattern *clone() const;
175 static RegexPattern * U_EXPORT2 compile( const UnicodeString &regex,
[all …]
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp399 RegexPattern *REPattern = NULL; in doRegexLMTest()
404 REPattern = RegexPattern::compile(patString, 0, pe, status); in doRegexLMTest()
462 RegexPattern *REPattern = NULL; in doRegexLMTestUTF8()
467 REPattern = RegexPattern::compile(&pattern, 0, pe, status); in doRegexLMTestUTF8()
552 RegexPattern *callerPattern = NULL; in regex_err()
558 callerPattern = RegexPattern::compile(patString, 0, pe, status); in regex_err()
577 callerPattern = RegexPattern::compile(&patternText, 0, pe, status); in regex_err()
613 RegexPattern *pattern; in Basic()
614 …pattern = RegexPattern::compile(UNICODE_STRING_SIMPLE("a\\u00dfx").unescape(), UREGEX_CASE_INSENSI… in Basic()
806 RegexPattern *pat2; in API_Match()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dprscmnts.cpp97 RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), 0, *status); in getText()
132RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), UREGEX_MULTILINE, *status); in getDescription()
156RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), UREGEX_MULTILINE, *status); in getCount()
196RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), UREGEX_MULTILINE, *status); in getAt()
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp112 RegexPattern *rePat = RegexPattern::compile(pattern, parseErr, status); in main()
/external/libtextclassifier/smartselect/
Dtoken-feature-extractor.h98 std::vector<std::unique_ptr<icu::RegexPattern>> regex_patterns_;
Dtoken-feature-extractor.cc83 std::unique_ptr<icu::RegexPattern>(icu::RegexPattern::compile( in TokenFeatureExtractor()