Lines Matching full:position
49 // 6. Let position be the value of the [[StringIteratorNextIndex]] internal slot of O. in NextInternal()
50 uint32_t position = thisValue.GetObject<JSStringIterator>()->GetStringIteratorNextIndex(); in NextInternal() local
54 // If position ≥ len, then in NextInternal()
57 if (position >= len) { in NextInternal()
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()
67 …// 10. If first < 0xD800 or first > 0xDBFF or position+1 = len, let resultString be the string con… in NextInternal()
70 if (position + 1 == len || first < common::utf_helper::DECODE_LEAD_LOW || in NextInternal()
81 // a. Let second be the code unit value at index position+1 in the String S. in NextInternal()
85 …t16_t second = EcmaStringAccessor(string.GetObject<EcmaString>()).Get<false>(thread, position + 1); in NextInternal()
97 …// 13. Set the value of the [[StringIteratorNextIndex]] internal slot of O to position+ resultSize. in NextInternal()
98 thisValue.GetObject<JSStringIterator>()->SetStringIteratorNextIndex(position + resultSize); in NextInternal()