Lines Matching defs:length
192 const int len = function_overloads.length() /
204 const int len = function_overloads.length() /
333 if (array_index < properties.length(kAcquireLoad)) {
789 "The length should be the first property on the descriptor array");
851 length_(object->length(kAcquireLoad)) {}
853 int length() const { return length_; }
939 if (index >= object()->length(kRelaxedLoad)) return {};
1292 base::Optional<int> StringRef::length() const {
1296 "length for kNeverSerialized unsupported string kind " << *this);
1299 return object()->length(kAcquireLoad);
1334 return object()->constant_elements().length();
1343 if (i >= object()->length(kAcquireLoad)) {
1345 CHECK_LT(i, length());
1369 return object()->handler_table().length();
1625 size_t JSTypedArrayRef::length() const {
1628 return object()->length();
1701 CHECK_LT(index, object()->length());
1823 // The relaxed `length` read is safe to use in this case since:
1826 // - Frozen/sealed arrays can't change length.
1829 // of `length` below.
1833 .length(broker()->isolate(), kRelaxedLoad)
1891 object()->length(broker()->isolate(), kRelaxedLoad));
1912 // As the name says, the `length` read here is unsafe and may not match
1913 // `elements`. We rely on the invariant that any `length` change will
1915 // consistency check in the caller thus also guards the value of `length`.
2001 int FixedArrayBaseRef::length() const {
2002 IF_ACCESS_FROM_HEAP_C(length);
2003 return data()->AsFixedArrayBase()->length();