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