Lines Matching full:position
47 // 6. Let position be the value of the [[StringIteratorNextIndex]] internal slot of O. in Next()
48 uint32_t position = thisValue.GetObject<JSStringIterator>()->GetStringIteratorNextIndex(); in Next() local
52 // If position ≥ len, then in Next()
55 if (position >= len) { in Next()
61 // 9. Let first be the code unit value at index position in s. in Next()
62 uint16_t first = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position); in Next()
65 …// 10. If first < 0xD800 or first > 0xDBFF or position+1 = len, let resultString be the string con… in Next()
68 if (position + 1 == len || first < base::utf_helper::DECODE_LEAD_LOW || in Next()
74 // a. Let second be the code unit value at index position+1 in the String S. in Next()
78 … uint16_t second = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(position + 1); in Next()
90 …// 13. Set the value of the [[StringIteratorNextIndex]] internal slot of O to position+ resultSize. in Next()
91 thisValue.GetObject<JSStringIterator>()->SetStringIteratorNextIndex(position + resultSize); in Next()