Lines Matching defs:written
5559 // many code units can be safely written without exceeding the buffer capacity
5561 // is then written out in one go, and the reported byte usage is used to
5563 // all code units have been written out. The second phase writes out code
5565 // unit, or all code units have been written out.
5629 int written = 0;
5634 written = unibrow::Utf8::Encode(current_write, character, prev_char,
5636 DCHECK_EQ(written, 1);
5654 written = unibrow::Utf8::Encode(temp_buffer, character,
5657 if (written > remaining_capacity) {
5663 for (int i = 0; i < written; i++) current_write[i] = temp_buffer[i];
5666 current_write += written;
5667 remaining_capacity -= written;
5672 // Write out number of utf16 characters written to the stream.
7340 // TODO(jgruber): RegExpUtils::RegExpExec was not written with efficiency in