Lines Matching full:first
61 // 9. Let first be the code unit value at index position in s. in NextInternal()
62 uint16_t first = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position); in NextInternal() local
65 …// 10. If first < 0xD800 or first > 0xDBFF or position+1 = len, let resultString be the string con… in NextInternal()
66 // single code unit first. in NextInternal()
68 if (position + 1 == len || first < base::utf_helper::DECODE_LEAD_LOW || in NextInternal()
69 first > base::utf_helper::DECODE_LEAD_HIGH) { in NextInternal()
70 if (EcmaStringAccessor::CanBeCompressed(&first, 1)) { in NextInternal()
72 result.Update(singleCharTable->GetStringFromSingleCharTable(first)); in NextInternal()
74 std::vector<uint16_t> resultString {first, 0x0}; in NextInternal()
81 // first. in NextInternal()
82 …// c. Else, let resultString be the string consisting of the code unit first followed by the code … in NextInternal()
85 std::vector<uint16_t> resultString {first, 0x0}; in NextInternal()
88 std::vector<uint16_t> resultString {first, second, 0x0}; in NextInternal()