Home
last modified time | relevance | path

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

/external/libtextclassifier/utils/
Dtokenizer.cc227 int unicode_index = 0; in ICUTokenize() local
232 unicode_index = last_unicode_index + token_length; in ICUTokenize()
250 result->push_back(Token(token, last_unicode_index, unicode_index)); in ICUTokenize()
254 last_unicode_index = unicode_index; in ICUTokenize()
/external/libtextclassifier/utils/utf8/
Dunilib-javaicu.cc556 const int unicode_index = jni_cache_->GetEnv()->CallIntMethod( in Start() local
564 return unicode_index + last_find_offset_codepoints_; in Start()
596 const int unicode_index = jni_cache_->GetEnv()->CallIntMethod( in End() local
604 return unicode_index + last_find_offset_codepoints_; in End()
/external/libtextclassifier/annotator/
Dannotator_jni.cc306 int unicode_index = 0; in ConvertIndicesBMPUTF8() local
312 source_index = &unicode_index; in ConvertIndicesBMPUTF8()
316 target_index = &unicode_index; in ConvertIndicesBMPUTF8()
332 ++it, ++unicode_index, ++bmp_index) { in ConvertIndicesBMPUTF8()
/external/python/cpython2/Objects/
Dunicodeobject.c6682 unicode_index(PyUnicodeObject *self, PyObject *args) in unicode_index() function
7920 {"index", (PyCFunction) unicode_index, METH_VARARGS, index__doc__},
/external/python/cpython3/Objects/
Dunicodeobject.c11675 unicode_index(PyObject *self, PyObject *args) in unicode_index() function
13895 {"index", (PyCFunction) unicode_index, METH_VARARGS, index__doc__},