Home
last modified time | relevance | path

Searched refs:GetCapturingGroupText (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/native/utils/
Dregex-match_test.cc97 EXPECT_THAT(GetCapturingGroupText(matcher.get(), 0).value(), in TEST_F()
99 EXPECT_THAT(GetCapturingGroupText(matcher.get(), 1).value(), in TEST_F()
101 EXPECT_FALSE(GetCapturingGroupText(matcher.get(), 2).has_value()); in TEST_F()
105 EXPECT_THAT(GetCapturingGroupText(matcher.get(), 0).value(), in TEST_F()
107 EXPECT_FALSE(GetCapturingGroupText(matcher.get(), 1).has_value()); in TEST_F()
108 EXPECT_THAT(GetCapturingGroupText(matcher.get(), 2).value(), in TEST_F()
Dregex-match.h27 Optional<std::string> GetCapturingGroupText(const UniLib::RegexMatcher* matcher,
Dregex-match.cc156 Optional<std::string> GetCapturingGroupText(const UniLib::RegexMatcher* matcher, in GetCapturingGroupText() function
/external/libtextclassifier/native/actions/
Dregex-actions.cc221 GetCapturingGroupText(matcher.get(), group->group_id()); in SuggestActions()
/external/libtextclassifier/native/annotator/
Dannotator.cc2570 GetCapturingGroupText(matcher, /*group_id=*/i); in SerializedEntityDataFromRegexMatch()