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

/external/chromium_org/v8/src/
H A Ddebug-agent.cc196 int utf16_length = decoder.Utf16Length(); local
197 ScopedVector<uint16_t> temp(utf16_length + 1);
198 decoder.WriteUtf16(temp.start(), utf16_length);
202 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.cc5186 int utf16_length = decoder->Utf16Length(); local
5187 ASSERT(utf16_length > 0);
5191 int chars = non_ascii_start + utf16_length;
5206 decoder->WriteUtf16(data, utf16_length);
H A Dobjects.cc9014 int utf16_length = 0; local
9024 utf16_length += is_two_characters ? 2 : 1;
9025 // No need to keep hashing. But we do need to calculate utf16_length.
9026 if (utf16_length > String::kMaxHashCalcLength) continue;
9039 *utf16_length_out = static_cast<int>(utf16_length);
9041 hasher.length_ = utf16_length;
/external/chromium_org/content/renderer/
H A Drender_view_browsertest.cc1800 const size_t utf16_length = 8UL; local
1808 ASSERT_EQ(utf16_length, bounds.size());
1809 for (size_t i = 0; i < utf16_length; ++i) {

Completed in 263 milliseconds