Searched refs:utf16_length (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/v8/src/
H A Ddebug-agent.cc222 int utf16_length = decoder.Utf16Length(); local
223 ScopedVector<uint16_t> temp(utf16_length + 1);
224 decoder.WriteUtf16(temp.start(), utf16_length);
228 utf16_length,
H A Dunicode.cc293 unsigned utf16_length = 0; local
301 utf16_length += is_two_characters ? 2 : 1;
302 // Don't need to write to the buffer, but still need utf16_length.
306 if (utf16_length <= buffer_length) {
313 if (utf16_length == buffer_length) {
327 utf16_length_ = utf16_length;
H A Dheap.cc5041 int utf16_length = decoder->Utf16Length(); local
5042 ASSERT(utf16_length > 0);
5046 int chars = non_ascii_start + utf16_length;
5061 decoder->WriteUtf16(data, utf16_length);
H A Dobjects.cc9272 int utf16_length = 0; local
9282 utf16_length += is_two_characters ? 2 : 1;
9283 // No need to keep hashing. But we do need to calculate utf16_length.
9284 if (utf16_length > String::kMaxHashCalcLength) continue;
9297 *utf16_length_out = static_cast<int>(utf16_length);
9299 hasher.length_ = utf16_length;
/external/chromium_org/content/renderer/
H A Drender_view_browsertest.cc1879 const size_t utf16_length = 8UL; local
1887 ASSERT_EQ(utf16_length, bounds.size());
1888 for (size_t i = 0; i < utf16_length; ++i) {

Completed in 248 milliseconds