Searched refs:buffer_position (Results 1 – 1 of 1) sorted by relevance
389 int buffer_position = 0; // Current buffer position. in SendMessage() local392 buffer_position += in SendMessage()393 unibrow::Utf8::Encode(buffer + buffer_position, message[i]); in SendMessage()394 ASSERT(buffer_position < kBufferSize); in SendMessage()397 if (kBufferSize - buffer_position < 3 || i == message.length() - 1) { in SendMessage()398 conn->Send(buffer, buffer_position); in SendMessage()399 buffer_position = 0; in SendMessage()