Searched refs:prev_position (Results 1 – 2 of 2) sorted by relevance
155 int prev_position = -1; in EncodeNormalizedString() member157 : 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()
245 size_t prev_position = position; in GetLastStrongCharacterDirection() local246 U16_PREV(string, 0, prev_position, character); in GetLastStrongCharacterDirection()250 position = prev_position; in GetLastStrongCharacterDirection()