Searched refs:non_ascii_start (Results 1 – 1 of 1) sorted by relevance
616 int non_ascii_start = String::NonAsciiStart(ascii_data, length); in NewStringFromUtf8() local617 if (non_ascii_start >= length) { in NewStringFromUtf8()624 auto non_ascii = string.SubVector(non_ascii_start, length); in NewStringFromUtf8()636 NewRawTwoByteString(non_ascii_start + utf16_length, pretenure), String); in NewStringFromUtf8()640 for (int i = 0; i < non_ascii_start; i++) { in NewStringFromUtf8()654 int non_ascii_start = String::NonAsciiStart(ascii_data, length); in NewStringFromUtf8SubString() local655 if (non_ascii_start >= length) { in NewStringFromUtf8SubString()662 auto non_ascii = Vector<const char>(ascii_data + non_ascii_start, in NewStringFromUtf8SubString()663 length - non_ascii_start); in NewStringFromUtf8SubString()675 NewRawTwoByteString(non_ascii_start + utf16_length, pretenure), String); in NewStringFromUtf8SubString()[all …]