Home
last modified time | relevance | path

Searched refs:prev_position (Results 1 – 2 of 2) sorted by relevance

/external/tflite-support/tensorflow_lite_support/custom_ops/kernel/sentencepiece/
Doptimized_encoder.cc155 int prev_position = -1; in EncodeNormalizedString() member
157 : score(score_), code(code_), prev_position(prev_position_) {} in EncodeNormalizedString()
163 if (i > 0 && lattice[i].prev_position < 0) { in EncodeNormalizedString()
172 if (current_element.prev_position < 0 || in EncodeNormalizedString()
178 lattice[i].code == unknown_code ? lattice[i].prev_position : i); in EncodeNormalizedString()
185 if (target_element.prev_position < 0 || target_element.score < score) { in EncodeNormalizedString()
198 if (lattice[length].prev_position >= 0) { in EncodeNormalizedString()
205 pos = lattice[pos].prev_position; in EncodeNormalizedString()
/external/libchrome/base/i18n/
Drtl.cc245 size_t prev_position = position; in GetLastStrongCharacterDirection() local
246 U16_PREV(string, 0, prev_position, character); in GetLastStrongCharacterDirection()
250 position = prev_position; in GetLastStrongCharacterDirection()