Lines Matching defs:length

37   // In the Spec and our current implementation, the length check is already
182 // overzealous check for GSAB-backed length-tracking TAs. Then again, the
258 // 2) the length is writable,
269 TNode<IntPtrT> length =
273 // 2) Ensure that the length is writable.
276 GotoIf(IntPtrEqual(length, IntPtrConstant(0)), &return_undefined);
283 TNode<IntPtrT> new_length = IntPtrSub(length, IntPtrConstant(1));
382 TNode<Number> length = LoadJSArrayLength(array_receiver);
385 SetPropertyStrict(context, array_receiver, length, arg);
426 TNode<Number> length = LoadJSArrayLength(array_receiver);
429 SetPropertyStrict(context, array_receiver, length, arg);
445 TNode<Number> length = LoadJSArrayLength(array_receiver);
446 SetPropertyStrict(context, array_receiver, length, arg);
532 TNode<Smi> length = SmiConstant(0);
533 array = AllocateJSArray(PACKED_SMI_ELEMENTS, array_map, capacity, length);
543 TNode<Number> length) {
546 CSA_DCHECK(this, IsNumberNormalized(length));
552 array = Construct(context, CAST(receiver), length);
558 array = ArrayCreate(context, length);
606 void ReturnIfEmpty(TNode<Smi> length, TNode<Object> value) {
608 GotoIf(SmiGreaterThan(length, SmiConstant(0)), &done);
638 // JSArray length is always a positive Smi for fast arrays.
656 // the receiver being a fast JSArray and its length invalid.
670 // The fromIndex is negative: add it to the array's length.
680 // Fail early if startIndex >= array.length.
1283 // Check that the {index} is within the bounds of the {array}s "length".
1284 TNode<Number> length = CAST(
1287 GotoIfNumberGreaterThanOrEqual(index, length, &set_done);
1311 // the "length" of JSArray's is limited to Unsigned32 range). For other
1312 // JSReceiver's we have to use kMaxSafeInteger, since the "length" can
1337 // If we go outside of the {length}, we don't need to update the
1339 // length cannot change anymore, so this {iterator} will never
1342 TNode<UintPtrT> length =
1344 GotoIfNot(UintPtrLessThan(index_uintptr, length),
1467 // 1. Let elementLen be ? ToLength(? Get(element, "length")).
1484 // 1. Let elementLen be ? ToLength(? Get(element, "length")).
1575 // 2. Let sourceLen be ? ToLength(? Get(O, "length")).
1617 // 2. Let sourceLen be ? ToLength(? Get(O, "length")).