Lines Matching defs:chars
545 size_t chars;
592 DCHECK_LE(current_.pos.chars, position); // We can only skip forward.
595 if (current_.pos.chars == position) return true;
606 size_t chars = current_.pos.chars;
608 if (V8_UNLIKELY(current_.pos.bytes < 3 && chars == 0)) {
614 chars++;
615 if (t > unibrow::Utf16::kMaxNonSurrogateCharCode) chars++;
621 while (cursor < end && chars < position) {
625 chars++;
626 if (t > unibrow::Utf16::kMaxNonSurrogateCharCode) chars++;
631 current_.pos.chars = chars;
636 return current_.pos.chars == position;
662 current_.pos.chars++;
674 if (V8_UNLIKELY(current_.pos.bytes < 3 && current_.pos.chars == 0)) {
720 current_.pos.chars += (output_cursor - buffer_end_);
752 if (current_.pos.chars == position) return;
758 DCHECK_EQ(current_.pos.chars, 0u);
765 while (chunk_no > 0 && GetChunk(chunk_no).start.chars > position) {
782 // checking whether the # bytes in a chunk are equal to the # chars, and if
787 (GetChunk(chunk_no + 1).start.chars -
788 GetChunk(chunk_no).start.chars);
790 size_t skip = position - GetChunk(chunk_no).start.chars;
793 GetChunk(chunk_no).start.chars + skip, 0,
802 DCHECK_EQ(position, current_.pos.chars);
821 DCHECK_EQ(found, current_.pos.chars == position);
849 DCHECK_EQ(current_.pos.chars - position,