Lines Matching defs:length

168     TNode<Word32T> rhs_instance_type, TNode<IntPtrT> length, Label* if_equal,
170 CSA_DCHECK(this, WordEqual(LoadStringLengthAsWord(lhs), length));
171 CSA_DCHECK(this, WordEqual(LoadStringLengthAsWord(rhs), length));
224 rhs_instance_type, MachineType::Uint8(), length, if_equal,
229 rhs_instance_type, MachineType::Uint16(), length, if_equal,
234 rhs_instance_type, MachineType::Uint16(), length, if_equal,
239 rhs_instance_type, MachineType::Uint8(), length, if_equal,
246 TNode<IntPtrT> length, Label* if_equal, Label* if_not_equal) {
247 CSA_DCHECK(this, WordEqual(LoadStringLengthAsWord(lhs), length));
248 CSA_DCHECK(this, WordEqual(LoadStringLengthAsWord(rhs), length));
262 GotoIf(WordEqual(var_offset.value(), length), if_equal);
313 TNode<String> StringBuiltinsAssembler::AllocateConsString(TNode<Uint32T> length,
333 StoreObjectFieldNoWriteBarrier(result, ConsString::kLengthOffset, length);
366 // If new length is greater than String::kMaxLength, goto runtime to
367 // throw. Note: we also need to invalidate the string length protector, so
593 // Load the length of {lhs} and {rhs}.
597 // Determine the minimum length.
598 TNode<IntPtrT> length = IntPtrMin(lhs_length, rhs_length);
604 // Compute the first offset after the string from the length.
605 TNode<IntPtrT> end = IntPtrAdd(begin, length);
641 // All characters up to the min length are equal, decide based on
642 // string length.
758 // TODO(sigurds) Figure out if passing length as argument pays off.
759 TNode<IntPtrT> length = LoadStringLengthAsWord(receiver);
762 LoadSurrogatePairAt(receiver, length, position, UnicodeEncoding::UTF16);
1263 TNode<IntPtrT> length = SmiToIntPtr(length_smi);
1274 PACKED_ELEMENTS, length, AllocationFlag::kAllowLargeObjectAllocation));
1282 IntPtrConstant(0), length,
1310 length, RootIndex::kTheHoleValue);
1382 TNode<Smi> length = SmiConstant(1);
1384 TNode<JSArray> result = AllocateJSArray(kind, array_map, capacity, length);
1420 TNode<Smi> length = smi_zero;
1423 AllocateJSArray(kind, array_map, capacity, length);
1442 TNode<String> string, TNode<IntPtrT> length, TNode<IntPtrT> index,
1455 GotoIfNot(IntPtrLessThan(next_index, length), &return_result);
1592 // 0 <= |from_index| <= |from_index| + |character_count| < from_string.length.
1642 // Begin dispatching based on substring length.
1736 // Substrings of length 1 are generated through CharCodeAt and FromCharCode.
1748 // Equal length - check if {from, to} == {0, str.length}.