• Home
  • Raw
  • Download

Lines Matching refs:UniLib

244 UniLib::UniLib() {  in UniLib()  function in libtextclassifier3::UniLib
248 UniLib::UniLib(const std::shared_ptr<JniCache>& jni_cache) in UniLib() function in libtextclassifier3::UniLib
251 bool UniLib::IsOpeningBracket(char32 codepoint) const { in IsOpeningBracket()
255 bool UniLib::IsClosingBracket(char32 codepoint) const { in IsClosingBracket()
259 bool UniLib::IsWhitespace(char32 codepoint) const { in IsWhitespace()
263 bool UniLib::IsDigit(char32 codepoint) const { in IsDigit()
269 bool UniLib::IsUpper(char32 codepoint) const { in IsUpper()
285 char32 UniLib::ToLower(char32 codepoint) const { in ToLower()
305 char32 UniLib::GetPairedBracket(char32 codepoint) const { in GetPairedBracket()
323 bool UniLib::ParseInt32(const UnicodeText& text, int* result) const { in ParseInt32()
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()
364 void UniLib::RegexPattern::LockedInitializeIfNotAlready() const { in LockedInitializeIfNotAlready()
390 constexpr int UniLib::RegexMatcher::kError;
391 constexpr int UniLib::RegexMatcher::kNoError;
393 std::unique_ptr<UniLib::RegexMatcher> UniLib::RegexPattern::Matcher( in Matcher()
412 return std::unique_ptr<UniLib::RegexMatcher>(new RegexMatcher( in Matcher()
418 return std::unique_ptr<UniLib::RegexMatcher>( in Matcher()
423 UniLib::RegexMatcher::RegexMatcher(const JniCache* jni_cache, in RegexMatcher()
430 bool UniLib::RegexMatcher::Matches(int* status) const { in Matches()
446 bool UniLib::RegexMatcher::ApproximatelyMatches(int* status) { in ApproximatelyMatches()
488 bool UniLib::RegexMatcher::UpdateLastFindOffset() const { in UpdateLastFindOffset()
513 bool UniLib::RegexMatcher::Find(int* status) { in Find()
531 int UniLib::RegexMatcher::Start(int* status) const { in Start()
535 int UniLib::RegexMatcher::Start(int group_idx, int* status) const { in Start()
571 int UniLib::RegexMatcher::End(int* status) const { in End()
575 int UniLib::RegexMatcher::End(int group_idx, int* status) const { in End()
611 UnicodeText UniLib::RegexMatcher::Group(int* status) const { in Group()
636 UnicodeText UniLib::RegexMatcher::Group(int group_idx, int* status) const { in Group()
670 constexpr int UniLib::BreakIterator::kDone;
672 UniLib::BreakIterator::BreakIterator(const JniCache* jni_cache, in BreakIterator()
700 int UniLib::BreakIterator::Next() { in Next()
722 std::unique_ptr<UniLib::BreakIterator> UniLib::CreateBreakIterator( in CreateBreakIterator()
724 return std::unique_ptr<UniLib::BreakIterator>( in CreateBreakIterator()
725 new UniLib::BreakIterator(jni_cache_.get(), text)); in CreateBreakIterator()