/external/icu/icu4c/source/i18n/ |
D | repattrn.cpp | 37 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 …]
|
D | regexcmp.h | 41 class RegexPattern; variable 58 RegexCompile(RegexPattern *rp, UErrorCode &e); 135 RegexPattern *fRXPat;
|
D | uregex.cpp | 39 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()
|
D | rematch.cpp | 70 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()
|
D | regexcmp.cpp | 55 RegexCompile::RegexCompile(RegexPattern *rxp, UErrorCode &status) : in RegexCompile()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | regex.h | 67 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 ®ex, [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | regextst.cpp | 338 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/ |
D | unilib-javaicu.h | 54 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(
|
D | unilib-javaicu.cc | 340 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()
|
D | unilib_test-include.cc | 69 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/ |
D | prscmnts.cpp | 97 RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), 0, *status); in getText() 132 … RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), UREGEX_MULTILINE, *status); in getDescription() 156 … RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), UREGEX_MULTILINE, *status); in getCount() 196 … RegexPattern *pattern = RegexPattern::compile(UnicodeString("@"), UREGEX_MULTILINE, *status); in getAt()
|
/external/libtextclassifier/annotator/datetime/ |
D | extractor.h | 34 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_;
|
D | parser.h | 120 std::vector<std::unique_ptr<const UniLib::RegexPattern>> extractor_rules_;
|
D | parser.cc | 54 std::unique_ptr<UniLib::RegexPattern> regex_pattern = in DatetimeParser() 75 std::unique_ptr<UniLib::RegexPattern> regex_pattern = in DatetimeParser()
|
/external/libtextclassifier/utils/zlib/ |
D | zlib_regex.cc | 26 std::unique_ptr<UniLib::RegexPattern> UncompressMakeRegexPattern( in UncompressMakeRegexPattern() 57 std::unique_ptr<UniLib::RegexPattern> regex_pattern; in UncompressMakeRegexPattern()
|
D | zlib_regex.h | 29 std::unique_ptr<UniLib::RegexPattern> UncompressMakeRegexPattern(
|
/external/libtextclassifier/actions/ |
D | actions-suggestions.h | 158 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()
|
D | actions-suggestions.cc | 464 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/ |
D | ugrep.cpp | 113 RegexPattern *rePat = RegexPattern::compile(pattern, parseErr, status); in main()
|
/external/libtextclassifier/utils/ |
D | token-feature-extractor.h | 109 std::vector<std::unique_ptr<UniLib::RegexPattern>> regex_patterns_;
|
D | token-feature-extractor.cc | 76 regex_patterns_.push_back(std::unique_ptr<UniLib::RegexPattern>( in TokenFeatureExtractor()
|
/external/libtextclassifier/annotator/ |
D | annotator.h | 476 std::unique_ptr<UniLib::RegexPattern> pattern;
|
D | annotator.cc | 471 std::unique_ptr<UniLib::RegexPattern> compiled_pattern = in InitializeRegexModel()
|