Home
last modified time | relevance | path

Searched refs:two_byte_buffer (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/
Duri.cc139 std::vector<uc16>* two_byte_buffer) { in IntoOneAndTwoByte() argument
157 two_byte_buffer); in IntoOneAndTwoByte()
165 two_byte_buffer); in IntoOneAndTwoByte()
179 std::vector<uc16> two_byte_buffer; in Decode() local
181 if (!IntoOneAndTwoByte(uri, is_uri, &one_byte_buffer, &two_byte_buffer)) { in Decode()
185 if (two_byte_buffer.empty()) { in Decode()
192 static_cast<int>(one_byte_buffer.size() + two_byte_buffer.size()); in Decode()
198 CopyChars(result->GetChars() + one_byte_buffer.size(), two_byte_buffer.data(), in Decode()
199 two_byte_buffer.size()); in Decode()
/external/v8/src/builtins/
Dbuiltins-string.cc86 std::vector<uc16> two_byte_buffer; in BUILTIN() local
87 two_byte_buffer.reserve(length - index); in BUILTIN()
91 two_byte_buffer.push_back(code); in BUILTIN()
93 two_byte_buffer.push_back(unibrow::Utf16::LeadSurrogate(code)); in BUILTIN()
94 two_byte_buffer.push_back(unibrow::Utf16::TrailSurrogate(code)); in BUILTIN()
110 static_cast<int>(one_byte_buffer.size() + two_byte_buffer.size()))); in BUILTIN()
113 CopyChars(result->GetChars() + one_byte_buffer.size(), two_byte_buffer.data(), in BUILTIN()
114 two_byte_buffer.size()); in BUILTIN()