Home
last modified time | relevance | path

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

12

/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()
206 bool RegexPattern::initNamedCaptureMap() { in initNamedCaptureMap()
229 void RegexPattern::zap() { in zap()
270 RegexPattern::~RegexPattern() { in ~RegexPattern()
280 RegexPattern *RegexPattern::clone() const { in clone()
281 RegexPattern *copy = new RegexPattern(*this); in clone()
294 UBool RegexPattern::operator ==(const RegexPattern &other) const { in operator ==()
[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()
/external/icu/libicu/cts_headers/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/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/libtextclassifier/native/actions/
Dregex-actions.h48 std::vector<const UniLib::RegexPattern*>* post_check_rules) const;
52 const std::vector<const UniLib::RegexPattern*>& post_check_rules,
64 std::unique_ptr<UniLib::RegexPattern> pattern;
65 std::unique_ptr<UniLib::RegexPattern> output_pattern;
67 std::unique_ptr<UniLib::RegexPattern> pattern, in CompiledRule()
68 std::unique_ptr<UniLib::RegexPattern> output_pattern) in CompiledRule()
Dregex-actions.cc100 std::unique_ptr<UniLib::RegexPattern> compiled_pattern = in InitializeRulesModel()
110 std::unique_ptr<UniLib::RegexPattern> compiled_output_pattern; in InitializeRulesModel()
131 std::vector<const UniLib::RegexPattern*>* post_check_rules) const { in IsLowConfidenceInput()
158 const std::vector<const UniLib::RegexPattern*>& post_check_rules, in FilterConfidenceOutput()
172 for (const UniLib::RegexPattern* post_check_rule : post_check_rules) { in FilterConfidenceOutput()
/external/icu/android_icu4j/libcore_bridge/src/native/
Dcom_android_icu_util_regex_PatternNative.cpp75 delete reinterpret_cast<icu::RegexPattern*>(addr); in PatternNative_free()
94 icu::RegexPattern* result = icu::RegexPattern::compile(regexString, flags, error, status); in PatternNative_compileImpl()
102 icu::RegexPattern* pattern = reinterpret_cast<icu::RegexPattern*>(static_cast<uintptr_t>(addr)); in PatternNative_openMatcherImpl()
113 icu::RegexPattern* pattern = reinterpret_cast<icu::RegexPattern*>(static_cast<uintptr_t>(addr)); in PatternNative_getMatchedGroupIndexImpl()
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp371 RegexPattern *REPattern = NULL; in doRegexLMTest()
376 REPattern = RegexPattern::compile(patString, 0, pe, status); in doRegexLMTest()
434 RegexPattern *REPattern = NULL; in doRegexLMTestUTF8()
439 REPattern = RegexPattern::compile(&pattern, 0, pe, status); in doRegexLMTestUTF8()
524 RegexPattern *callerPattern = NULL; in regex_err()
530 callerPattern = RegexPattern::compile(patString, 0, pe, status); in regex_err()
549 callerPattern = RegexPattern::compile(&patternText, 0, pe, status); in regex_err()
585 RegexPattern *pattern; in Basic()
586 …pattern = RegexPattern::compile(UNICODE_STRING_SIMPLE("a\\u00dfx").unescape(), UREGEX_CASE_INSENSI… in Basic()
778 RegexPattern *pat2; in API_Match()
[all …]
/external/libtextclassifier/native/utils/utf8/
Dunilib-javaicu.h63 class RegexPattern; variable
130 friend class RegexPattern;
143 class RegexPattern {
149 RegexPattern(const JniCache* jni_cache, const UnicodeText& pattern,
183 std::unique_ptr<RegexPattern> CreateRegexPattern(
185 std::unique_ptr<RegexPattern> CreateLazyRegexPattern(
Dunilib-javaicu.cc139 std::unique_ptr<UniLibBase::RegexPattern> UniLibBase::CreateRegexPattern( in CreateRegexPattern()
141 return std::unique_ptr<UniLibBase::RegexPattern>( in CreateRegexPattern()
142 new UniLibBase::RegexPattern(jni_cache_.get(), regex, /*lazy=*/false)); in CreateRegexPattern()
145 std::unique_ptr<UniLibBase::RegexPattern> UniLibBase::CreateLazyRegexPattern( in CreateLazyRegexPattern()
147 return std::unique_ptr<UniLibBase::RegexPattern>( in CreateLazyRegexPattern()
148 new UniLibBase::RegexPattern(jni_cache_.get(), regex, /*lazy=*/true)); in CreateLazyRegexPattern()
151 UniLibBase::RegexPattern::RegexPattern(const JniCache* jni_cache, in RegexPattern() function in libtextclassifier3::UniLibBase::RegexPattern
163 Status UniLibBase::RegexPattern::LockedInitializeIfNotAlready() const { in LockedInitializeIfNotAlready()
193 std::unique_ptr<UniLibBase::RegexMatcher> UniLibBase::RegexPattern::Matcher( in Matcher()
Dunilib_test-include.cc181 std::unique_ptr<UniLib::RegexPattern> pattern = in TEST_F()
199 std::unique_ptr<UniLib::RegexPattern> pattern = in TEST_F()
231 std::unique_ptr<UniLib::RegexPattern> pattern = in TEST_F()
257 std::unique_ptr<UniLib::RegexPattern> pattern = in TEST_F()
289 std::unique_ptr<UniLib::RegexPattern> pattern = in TEST_F()
308 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/native/annotator/datetime/
Dextractor.h34 std::unique_ptr<const UniLib::RegexPattern> compiled_regex;
50 const std::vector<std::unique_ptr<const UniLib::RegexPattern>>& in DatetimeExtractor()
116 const std::vector<std::unique_ptr<const UniLib::RegexPattern>>& rules_;
Dregex-parser.h111 std::vector<std::unique_ptr<const UniLib::RegexPattern>> extractor_rules_;
Dregex-parser.cc58 std::unique_ptr<UniLib::RegexPattern> regex_pattern = in RegexDatetimeParser()
79 std::unique_ptr<UniLib::RegexPattern> regex_pattern = in RegexDatetimeParser()
/external/icu/libicu/cts_headers/
Dregexcmp.h41 class RegexPattern; variable
58 RegexCompile(RegexPattern *rp, UErrorCode &e);
135 RegexPattern *fRXPat;
/external/libtextclassifier/native/utils/zlib/
Dzlib_regex.cc27 std::unique_ptr<UniLib::RegexPattern> UncompressMakeRegexPattern( in UncompressMakeRegexPattern()
58 std::unique_ptr<UniLib::RegexPattern> regex_pattern; in UncompressMakeRegexPattern()
Dzlib_regex.h29 std::unique_ptr<UniLib::RegexPattern> UncompressMakeRegexPattern(
/external/libtextclassifier/native/utils/
Dregex-match_test.cc67 const std::unique_ptr<UniLib::RegexPattern> regex_pattern = in TEST_F()
85 const std::unique_ptr<UniLib::RegexPattern> regex_pattern = in TEST_F()
Dtoken-feature-extractor.h111 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/icu/icu4c/source/samples/ugrep/
Dugrep.cpp113 RegexPattern *rePat = RegexPattern::compile(pattern, parseErr, status); in main()
/external/libtextclassifier/native/utils/grammar/parsing/
Dparser.h48 std::unique_ptr<UniLib::RegexPattern> pattern;
/external/libtextclassifier/native/annotator/
Dannotator.h464 std::unique_ptr<UniLib::RegexPattern> pattern;

12