Searched refs:utf8_bytes (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/content/child/webcrypto/
H A Djwk.cc246 void ToBytes(std::vector<uint8_t>* utf8_bytes) { argument
249 utf8_bytes->assign(json.begin(), json.end());
/external/chromium_org/v8/src/
H A Dapi.cc4782 int utf8_bytes = v8::Utf8Length(*str, str->GetIsolate()); local
4783 if (utf8_bytes <= capacity) {
4785 if (utf8_bytes == string_length) {
4788 if (write_null && (utf8_bytes+1 <= capacity)) {
4793 if (write_null && (utf8_bytes+1 > capacity)) {
H A Dobjects.cc8011 int utf8_bytes = 0; local
8015 utf8_bytes += unibrow::Utf8::Length(character, last);
8020 *length_return = utf8_bytes;
8023 char* result = NewArray<char>(utf8_bytes + 1);

Completed in 1310 milliseconds