Lines Matching full:first
63 // 9. Let first be the code unit value at index position in s. in NextInternal()
64 … uint16_t first = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(thread, position); in NextInternal() local
67 …// 10. If first < 0xD800 or first > 0xDBFF or position+1 = len, let resultString be the string con… in NextInternal()
68 // single code unit first. in NextInternal()
70 if (position + 1 == len || first < common::utf_helper::DECODE_LEAD_LOW || in NextInternal()
71 first > common::utf_helper::DECODE_LEAD_HIGH) { in NextInternal()
72 if (EcmaStringAccessor::CanBeCompressed(&first, 1)) { in NextInternal()
74 result.Update(singleCharTable->GetStringFromSingleCharTable(thread, first)); in NextInternal()
76 std::vector<uint16_t> resultString {first, 0x0}; in NextInternal()
83 // first. in NextInternal()
84 …// c. Else, let resultString be the string consisting of the code unit first followed by the code … in NextInternal()
87 std::vector<uint16_t> resultString {first, 0x0}; in NextInternal()
90 std::vector<uint16_t> resultString {first, second, 0x0}; in NextInternal()