Home | History | Annotate | Download | only in src

Lines Matching refs:buffer_position

393   int buffer_position = 0;  // Current buffer position.
398 buffer_position +=
399 unibrow::Utf8::Encode(buffer + buffer_position, character, previous);
400 ASSERT(buffer_position < kBufferSize);
403 if (kBufferSize - buffer_position <
409 ASSERT(buffer_position >= kEncodedSurrogateLength);
410 conn->Send(buffer, buffer_position - kEncodedSurrogateLength);
412 buffer[i] = buffer[buffer_position + i];
414 buffer_position = kEncodedSurrogateLength;
416 conn->Send(buffer, buffer_position);
417 buffer_position = 0;