• Home
  • Raw
  • Download

Lines Matching refs:JSAPIVector

42     JSHandle<JSAPIVector> obj =  in VectorConstructor()
43 …JSHandle<JSAPIVector>(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), newTarg… in VectorConstructor()
45 …JSHandle<TaggedArray> newTaggedArray = factory->NewTaggedArray(JSAPIVector::DEFAULT_CAPACITY_LENGT… in VectorConstructor()
67 JSAPIVector::Add(thread, JSHandle<JSAPIVector>::Cast(self), value); in Add()
94 JSAPIVector::Insert(thread, JSHandle<JSAPIVector>::Cast(self), value, indexInt); in Insert()
122JSAPIVector::SetLength(thread, JSHandle<JSAPIVector>::Cast(self), JSTaggedValue::ToUint32(thread, … in SetLength()
142 uint32_t capacity = JSHandle<JSAPIVector>::Cast(self)->GetCapacity(); in GetCapacity()
167 JSAPIVector::IncreaseCapacityTo(thread, in IncreaseCapacityTo()
168 JSHandle<JSAPIVector>::Cast(self), in IncreaseCapacityTo()
195 JSTaggedValue value = JSAPIVector::Get(thread, JSHandle<JSAPIVector>::Cast(self), indexInt); in Get()
217 int index = JSAPIVector::GetIndexOf(thread, JSHandle<JSAPIVector>::Cast(self), element); in GetIndexOf()
244 int indexOut = JSAPIVector::GetIndexFrom(thread, JSHandle<JSAPIVector>::Cast(self), in GetIndexFrom()
266 bool ret = JSHandle<JSAPIVector>::Cast(self)->IsEmpty(); in IsEmpty()
286 JSTaggedValue value = JSHandle<JSAPIVector>::Cast(self)->GetLastElement(); in GetLastElement()
307 int index = JSAPIVector::GetLastIndexOf(thread, JSHandle<JSAPIVector>::Cast(self), element); in GetLastIndexOf()
334 int indexOut = JSAPIVector::GetLastIndexFrom(thread, JSHandle<JSAPIVector>::Cast(self), in GetLastIndexFrom()
358 bool ret = JSAPIVector::Remove(thread, JSHandle<JSAPIVector>::Cast(self), element); in Remove()
383JSAPIVector::RemoveByIndex(thread, JSHandle<JSAPIVector>::Cast(self), JSTaggedValue::ToInt32(threa… in RemoveByIndex()
409 JSAPIVector::RemoveByRange(thread, JSHandle<JSAPIVector>::Cast(self), in RemoveByRange()
438 int32_t len = static_cast<int>(JSHandle<JSAPIVector>::Cast(self)->GetSize()); in Set()
442 JSTaggedValue value = JSHandle<JSAPIVector>::Cast(self)->Set(thread, in Set()
468 …JSHandle<JSAPIVector> subVector = JSAPIVector::SubVector(thread, JSHandle<JSAPIVector>::Cast(self), in SubVector()
491 JSTaggedValue value = JSAPIVector::ToString(thread, JSHandle<JSAPIVector>::Cast(self)); in ToString()
512 uint32_t length = JSHandle<JSAPIVector>::Cast(self)->GetSize(); in GetSize()
540 return JSAPIVector::ForEach(thread, thisHandle, callbackFnHandle, thisArgHandle); in ForEach()
566 return JSAPIVector::ReplaceAllElements(thread, thisHandle, callbackFnHandle, thisArgHandle); in ReplaceAllElements()
585 JSAPIVector::TrimToCurrentLength(thread, JSHandle<JSAPIVector>::Cast(self)); in TrimToCurrentLength()
605 JSAPIVector::Clear(thread, JSHandle<JSAPIVector>::Cast(self)); in Clear()
625 JSHandle<JSAPIVector> newVector = JSAPIVector::Clone(thread, JSHandle<JSAPIVector>::Cast(self)); in Clone()
646 bool isHas = JSHandle<JSAPIVector>::Cast(self)->Has(value.GetTaggedValue()); in Has()
670 JSHandle<JSAPIVector> vector = JSHandle<JSAPIVector>::Cast(self); in CopyToArray()
709 JSHandle<JSAPIVector> vector = JSHandle<JSAPIVector>::Cast(self); in ConvertToArray()
739 JSTaggedValue firstElement = JSAPIVector::GetFirstElement(JSHandle<JSAPIVector>::Cast(self)); in GetFirstElement()
760 JSHandle<TaggedArray> elements(thread, JSHandle<JSAPIVector>::Cast(self)->GetElements()); in Sort()
764 uint32_t length = static_cast<uint32_t>(JSHandle<JSAPIVector>::Cast(self)->GetSize()); in Sort()
810 JSTaggedValue values = JSAPIVector::GetIteratorObj(thread, JSHandle<JSAPIVector>::Cast(self)); in GetIteratorObj()