Lines Matching refs:Utf8Length
366 int utf8Length = string->Utf8Length();
367 ASSERT(stringLength >= 0 && utf8Length >= 0);
370 doWriteUint32(static_cast<uint32_t>(utf8Length));
371 ensureSpace(utf8Length);
374 if (stringLength == utf8Length)
375 string->WriteOneByte(byteAt(m_position), 0, utf8Length, v8StringWriteOptions());
378 string->WriteUtf8(buffer, utf8Length, 0, v8StringWriteOptions());
380 m_position += utf8Length;