Lines Matching refs:index
127 // If |index| is Undefined, returns init_if_undefined.
128 // If |index| is negative, returns length + index.
129 // If |index| is positive, returns index.
133 Handle<Object> index,
136 if (!index->IsUndefined()) {
139 Object::ToInteger(isolate, index),
196 Handle<String> index = isolate->factory()->NumberToString(
201 isolate, receiver, index, value,
432 // b. Let index be ! ToString(newLen).
433 Handle<String> index = isolate->factory()->NumberToString(new_length);
435 // c. Let element be ? Get(O, index).
438 isolate, element, Object::GetPropertyOrElement(isolate, receiver, index));
440 // d. Perform ? DeletePropertyOrThrow(O, index).
441 MAYBE_RETURN(JSReceiver::DeletePropertyOrElement(receiver, index,
655 * An index limit is used to deal with the situation that a result array
680 uint32_t index = index_offset_ + i;
694 LookupIterator it(isolate_, storage_, index, LookupIterator::OWN);
701 if (index < static_cast<uint32_t>(storage_fixed_array()->length())) {
702 storage_fixed_array()->set(index, *elm);
718 isolate_, dict, index, elm, not_a_prototype_holder);
737 // provided-for index range, go to dictionary mode now.
835 // Index after last seen index. Always less than or equal to
966 uint32_t index = static_cast<uint32_t>(k.Number());
967 if (index < range) {
968 indices->push_back(index);
1068 * with the element index and the element's value.
1069 * Afterwards it increments the base-index of the visitor by the array
1195 uint32_t index = indices[j];
1198 isolate, element, JSReceiver::GetElement(isolate, array, index),
1200 if (!visitor->visit(index, element)) return false;
1201 // Skip to next different index (i.e., omit duplicates).
1204 } while (j < n && indices[j] == index);
1211 isolate, uint32_t, index = 0, index, index < length, index++, {
1214 isolate, element, JSReceiver::GetElement(isolate, array, index),
1216 if (!visitor->visit(index, element)) return false;