Lines Matching full:array
20 …<ChangeListener> ChangeListener::Add(const JSThread *thread, const JSHandle<ChangeListener> &array, in Add() argument
24 if (!array->Full()) { in Add()
26 uint32_t arrayIndex = array->PushBack(thread, weakValue); in Add()
31 return array; in Add()
37 uint32_t holeIndex = CheckHole(array); in Add()
40 array->Set(thread, holeIndex, weakValue); in Add()
44 return array; in Add()
47 …JSHandle<WeakVector> newArray = WeakVector::Grow(thread, JSHandle<WeakVector>(array), array->GetCa… in Add()
57 uint32_t ChangeListener::CheckHole(const JSHandle<ChangeListener> &array) in CheckHole() argument
59 for (uint32_t i = 0; i < array->GetEnd(); i++) { in CheckHole()
60 JSTaggedValue value = array->Get(i); in CheckHole()