Searched refs:CodepointIndex (Results 1 – 4 of 4) sorted by relevance
44 using CodepointIndex = int; variable50 using CodepointSpan = std::pair<CodepointIndex, CodepointIndex>;128 CodepointIndex start;129 CodepointIndex end;138 Token(const std::string& arg_value, CodepointIndex arg_start, in Token()139 CodepointIndex arg_end) in Token()
163 const CodepointIndex last_line_begin_index = in StripTokensFromOtherLines()165 const CodepointIndex last_line_end_index = in StripTokensFromOtherLines()202 std::pair<CodepointIndex, CodepointIndex>* span) const { in LabelToSpan() argument261 const std::pair<CodepointIndex, CodepointIndex>& span, in SpanToLabel() argument291 const CodepointIndex tokens_start = tokens[click_position - span_left].start; in SpanToLabel()292 const CodepointIndex tokens_end = tokens[click_position + span_right].end; in SpanToLabel()
217 bool SpanToLabel(const std::pair<CodepointIndex, CodepointIndex>& span,
133 CodepointIndex start_index = kInvalidIndex; in FindDurationStartingAt()134 CodepointIndex end_index = kInvalidIndex; in FindDurationStartingAt()