Home
last modified time | relevance | path

Searched refs:suffix_start_index (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/annotator/number/
Dnumber.cc144 const std::vector<Token>& tokens, const int suffix_start_index) const { in TokensAreValidNumberSuffix()
145 if (TokensAreValidEnding(tokens, suffix_start_index)) { in TokensAreValidNumberSuffix()
150 UTF8ToUnicodeText(tokens[suffix_start_index].value, /*do_copy=*/false) in TokensAreValidNumberSuffix()
153 if (percent_suffixes_.find(tokens[suffix_start_index].value) != in TokensAreValidNumberSuffix()
155 TokensAreValidEnding(tokens, suffix_start_index + 1)) { in TokensAreValidNumberSuffix()
160 tokens[suffix_start_index].end - tokens[suffix_start_index].start; in TokensAreValidNumberSuffix()
162 suffix_start_index <= tokens.size() - 2 && in TokensAreValidNumberSuffix()
163 TokensAreValidEnding(tokens, suffix_start_index + 2)) { in TokensAreValidNumberSuffix()
167 UTF8ToUnicodeText(tokens[suffix_start_index + 1].value, in TokensAreValidNumberSuffix()
Dnumber.h94 int suffix_start_index) const;
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/credentials/tls/
Dtls_utils.cc84 int suffix_start_index = normalized_matcher.length() - suffix.length(); in VerifySubjectAlternativeName() local
86 return suffix_start_index <= 0 /* should not happen */ || in VerifySubjectAlternativeName()
87 normalized_matcher.find_last_of('.', suffix_start_index - 1) == in VerifySubjectAlternativeName()