Searched refs:char16_offsets (Results 1 – 2 of 2) sorted by relevance
30 std::vector<size_t> char16_offsets; in ExtractCompositionTextFromGtkPreedit() local34 char16_offsets.push_back(char_iterator.array_pos()); in ExtractCompositionTextFromGtkPreedit()38 int char_length = static_cast<int>(char16_offsets.size()); in ExtractCompositionTextFromGtkPreedit()40 char16_offsets.push_back(length); in ExtractCompositionTextFromGtkPreedit()43 char16_offsets[std::max(0, std::min(char_length, cursor_position))]; in ExtractCompositionTextFromGtkPreedit()78 CompositionUnderline underline(char16_offsets[start], in ExtractCompositionTextFromGtkPreedit()79 char16_offsets[end], in ExtractCompositionTextFromGtkPreedit()
584 std::vector<size_t> char16_offsets; in ExtractCompositionText() local588 char16_offsets.push_back(char_iterator.array_pos()); in ExtractCompositionText()592 uint32 char_length = static_cast<uint32>(char16_offsets.size()); in ExtractCompositionText()594 char16_offsets.push_back(length); in ExtractCompositionText()597 char16_offsets[std::min(char_length, cursor_position)]; in ExtractCompositionText()609 CompositionUnderline underline(char16_offsets[start], in ExtractCompositionText()610 char16_offsets[end], in ExtractCompositionText()628 CompositionUnderline underline(char16_offsets[start], in ExtractCompositionText()629 char16_offsets[end], in ExtractCompositionText()