Home
last modified time | relevance | path

Searched refs:RegexPattern (Results 1 – 23 of 23) 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.cpp55 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.cpp338 RegexPattern *REPattern = NULL; in doRegexLMTest()
343 REPattern = RegexPattern::compile(patString, 0, pe, status); in doRegexLMTest()
401 RegexPattern *REPattern = NULL; in doRegexLMTestUTF8()
406 REPattern = RegexPattern::compile(&pattern, 0, pe, status); in doRegexLMTestUTF8()
491 RegexPattern *callerPattern = NULL; in regex_err()
497 callerPattern = RegexPattern::compile(patString, 0, pe, status); in regex_err()
516 callerPattern = RegexPattern::compile(&patternText, 0, pe, status); in regex_err()
552 RegexPattern *pattern; in Basic()
553 …pattern = RegexPattern::compile(UNICODE_STRING_SIMPLE("a\\u00dfx").unescape(), UREGEX_CASE_INSENSI… in Basic()
745 RegexPattern *pat2; in API_Match()
[all …]
/external/libtextclassifier/utils/utf8/
Dunilib-javaicu.h54 class RegexPattern; variable
117 friend class RegexPattern;
130 class RegexPattern {
136 RegexPattern(const JniCache* jni_cache, const UnicodeText& pattern,
170 std::unique_ptr<RegexPattern> CreateRegexPattern(
172 std::unique_ptr<RegexPattern> CreateLazyRegexPattern(
Dunilib-javaicu.cc340 std::unique_ptr<UniLib::RegexPattern> UniLib::CreateRegexPattern( in CreateRegexPattern()
342 return std::unique_ptr<UniLib::RegexPattern>( in CreateRegexPattern()
343 new UniLib::RegexPattern(jni_cache_.get(), regex, /*lazy=*/false)); in CreateRegexPattern()
346 std::unique_ptr<UniLib::RegexPattern> UniLib::CreateLazyRegexPattern( in CreateLazyRegexPattern()
348 return std::unique_ptr<UniLib::RegexPattern>( in CreateLazyRegexPattern()
349 new UniLib::RegexPattern(jni_cache_.get(), regex, /*lazy=*/true)); in CreateLazyRegexPattern()
352 UniLib::RegexPattern::RegexPattern(const JniCache* jni_cache, in RegexPattern() function in libtextclassifier3::UniLib::RegexPattern
364 void UniLib::RegexPattern::LockedInitializeIfNotAlready() const { in LockedInitializeIfNotAlready()
393 std::unique_ptr<UniLib::RegexMatcher> UniLib::RegexPattern::Matcher( in Matcher()
Dunilib_test-include.cc69 std::unique_ptr<UniLib::RegexPattern> pattern = in TEST_F()
87 std::unique_ptr<UniLib::RegexPattern> pattern = in TEST_F()
119 std::unique_ptr<UniLib::RegexPattern> pattern = in TEST_F()
145 std::unique_ptr<UniLib::RegexPattern> pattern = in TEST_F()
/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/libtextclassifier/annotator/datetime/
Dextractor.h34 std::unique_ptr<const UniLib::RegexPattern> compiled_regex;
50 const std::vector<std::unique_ptr<const UniLib::RegexPattern>>& in DatetimeExtractor()
107 const std::vector<std::unique_ptr<const UniLib::RegexPattern>>& rules_;
Dparser.h120 std::vector<std::unique_ptr<const UniLib::RegexPattern>> extractor_rules_;
Dparser.cc54 std::unique_ptr<UniLib::RegexPattern> regex_pattern = in DatetimeParser()
75 std::unique_ptr<UniLib::RegexPattern> regex_pattern = in DatetimeParser()
/external/libtextclassifier/utils/zlib/
Dzlib_regex.cc26 std::unique_ptr<UniLib::RegexPattern> UncompressMakeRegexPattern( in UncompressMakeRegexPattern()
57 std::unique_ptr<UniLib::RegexPattern> regex_pattern; in UncompressMakeRegexPattern()
Dzlib_regex.h29 std::unique_ptr<UniLib::RegexPattern> UncompressMakeRegexPattern(
/external/libtextclassifier/actions/
Dactions-suggestions.h158 std::unique_ptr<UniLib::RegexPattern> pattern;
159 std::unique_ptr<UniLib::RegexPattern> output_pattern;
161 std::unique_ptr<UniLib::RegexPattern> pattern, in CompiledRule()
162 std::unique_ptr<UniLib::RegexPattern> output_pattern) in CompiledRule()
Dactions-suggestions.cc464 std::unique_ptr<UniLib::RegexPattern> compiled_pattern = in InitializeRules()
474 std::unique_ptr<UniLib::RegexPattern> compiled_output_pattern; in InitializeRules()
/external/icu/icu4c/source/samples/ugrep/
Dugrep.cpp113 RegexPattern *rePat = RegexPattern::compile(pattern, parseErr, status); in main()
/external/libtextclassifier/utils/
Dtoken-feature-extractor.h109 std::vector<std::unique_ptr<UniLib::RegexPattern>> regex_patterns_;
Dtoken-feature-extractor.cc76 regex_patterns_.push_back(std::unique_ptr<UniLib::RegexPattern>( in TokenFeatureExtractor()
/external/libtextclassifier/annotator/
Dannotator.h476 std::unique_ptr<UniLib::RegexPattern> pattern;
Dannotator.cc471 std::unique_ptr<UniLib::RegexPattern> compiled_pattern = in InitializeRegexModel()