HomeSort by relevance Sort by last modified time
    Searched refs:OneCharLen (Results 1 - 7 of 7) sorted by null

  /external/libtextclassifier/lang_id/common/
utf8.cc 27 int num_bytes = utils::OneCharLen(curr);
utf8.h 43 static inline int OneCharLen(const char *src) {
58 // curr += OneCharLen(curr)
  /external/libtextclassifier/lang_id/
custom-tokenizer.cc 60 // codepoint (like our utils::OneCharLen, which is used intensively by the
62 // feature). Hence, the rest of our code continues to use utils::OneCharLen,
64 // with utils::OneCharLen.
76 // returned by runetochar(); instead, we use utils::OneCharLen(), the same
79 int lower_num_bytes = utils::OneCharLen(lower_buf);
84 // And, by implementation of utils::OneCharLen():
116 int num_bytes = utils::OneCharLen(curr);
124 num_bytes = utils::OneCharLen(curr);
146 num_bytes = utils::OneCharLen(curr);
152 num_bytes = utils::OneCharLen(curr)
    [all...]
  /external/libtextclassifier/lang_id/script/
approx-script.h 54 return GetApproxScript(s, utils::OneCharLen(s));
approx-script.cc 84 utils::OneCharLen(reinterpret_cast<const char *>(s)));
  /external/libtextclassifier/lang_id/features/
char-ngram-feature.cc 82 ngram_end += utils::OneCharLen(ngram_end);
115 ngram_start += utils::OneCharLen(ngram_start);
116 ngram_end += utils::OneCharLen(ngram_end);
relevant-script-feature.cc 69 curr += utils::OneCharLen(curr);
71 const int num_bytes = utils::OneCharLen(curr);

Completed in 123 milliseconds