Home
last modified time | relevance | path

Searched refs:GetFirst (Results 1 – 25 of 43) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_deque.cpp38 uint32_t first = deque->GetFirst(); in InsertFront()
59 uint32_t first = deque->GetFirst(); in InsertEnd()
83 return elements->Get(GetFirst()); in GetFront()
117 uint32_t first = GetFirst(); in PopFirst()
146 uint32_t first = GetFirst(); in IsEmpty()
155 uint32_t first = GetFirst(); in GetSize()
166 uint32_t first = GetFirst(); in Get()
177 uint32_t first = GetFirst(); in Set()
186 uint32_t first = GetFirst(); in Has()
209 uint32_t firstIndex = deque->GetFirst(); in OwnKeys()
[all …]
Djs_api_deque_iterator.cpp57 uint32_t first = deque->GetFirst(); in Next()
Djs_api_queue.h33 static JSTaggedValue GetFirst(JSThread *thread, const JSHandle<JSAPIQueue> &queue);
Djs_api_list.h56 JSTaggedValue GetFirst();
Djs_api_linked_list.h58 JSTaggedValue GetFirst();
Djs_api_list.cpp38 JSTaggedValue JSAPIList::GetFirst() in GetFirst() function in panda::ecmascript::JSAPIList
40 JSTaggedValue res = TaggedSingleList::Cast(GetSingleList().GetTaggedObject())->GetFirst(); in GetFirst()
Djs_api_linked_list.cpp156 JSTaggedValue JSAPILinkedList::GetFirst() in GetFirst() function in panda::ecmascript::JSAPILinkedList
158 JSTaggedValue res = TaggedDoubleList::Cast(GetDoubleList().GetTaggedObject())->GetFirst(); in GetFirst()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_deque_stub_builder.h36 GateRef first = GetFirst(obj); in GetSize()
46 GateRef first = GetFirst(obj); in Get()
51 GateRef GetFirst(GateRef obj) in GetFirst() function
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_linked_list_test.cpp140 EXPECT_EQ(list->GetFirst().GetInt(), 2); in HWTEST_F_L0()
150 EXPECT_EQ(toor->GetFirst(), JSTaggedValue::Undefined()); in HWTEST_F_L0()
156 EXPECT_EQ(toor->GetFirst().GetInt(), 1); in HWTEST_F_L0()
166 EXPECT_EQ(toor->GetFirst().GetInt(), 100); in HWTEST_F_L0()
185 EXPECT_EQ(toor->GetFirst(), JSTaggedValue::Undefined()); in HWTEST_F_L0()
191 EXPECT_EQ(toor->GetFirst().GetInt(), 1); in HWTEST_F_L0()
222 EXPECT_EQ(toor->GetFirst(), JSTaggedValue::Undefined()); in HWTEST_F_L0()
303 EXPECT_TRUE(list->GetFirst().IsUndefined()); in HWTEST_F_L0()
313 EXPECT_EQ(toor->GetFirst(), JSTaggedValue::Undefined()); in HWTEST_F_L0()
Djs_api_list_test.cpp141 EXPECT_EQ(toor->GetFirst(), JSTaggedValue::Undefined()); in HWTEST_F_L0()
147 EXPECT_EQ(toor->GetFirst().GetInt(), 1); in HWTEST_F_L0()
157 EXPECT_EQ(toor->GetFirst().GetInt(), 100); in HWTEST_F_L0()
176 EXPECT_EQ(toor->GetFirst(), JSTaggedValue::Undefined()); in HWTEST_F_L0()
182 EXPECT_EQ(toor->GetFirst().GetInt(), 1); in HWTEST_F_L0()
213 EXPECT_EQ(toor->GetFirst(), JSTaggedValue::Undefined()); in HWTEST_F_L0()
250 EXPECT_TRUE(list->GetFirst().IsUndefined()); in HWTEST_F_L0()
260 EXPECT_EQ(toor->GetFirst(), JSTaggedValue::Undefined()); in HWTEST_F_L0()
Djs_api_queue_test.cpp125 EXPECT_EQ(JSAPIQueue::GetFirst(thread, jsQueue), JSTaggedValue::Undefined()); in HWTEST_F_L0()
140 JSHandle<JSTaggedValue>(thread, JSAPIQueue::GetFirst(thread, jsQueue)), value)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_queue.h28 static JSTaggedValue GetFirst(EcmaRuntimeCallInfo *argv);
Dcontainers_deque.h29 static JSTaggedValue GetFirst(EcmaRuntimeCallInfo *argv);
Dcontainers_list.h27 static JSTaggedValue GetFirst(EcmaRuntimeCallInfo *argv);
Dcontainers_linked_list.h28 static JSTaggedValue GetFirst(EcmaRuntimeCallInfo *argv);
Dcontainers_deque.cpp102 JSTaggedValue ContainersDeque::GetFirst(EcmaRuntimeCallInfo *argv) in GetFirst() function in panda::ecmascript::containers::ContainersDeque
105 BUILTINS_API_TRACE(argv->GetThread(), Deque, GetFirst); in GetFirst()
250 uint32_t first = deque->GetFirst(); in ForEach()
Dcontainers_queue.cpp73 JSTaggedValue ContainersQueue::GetFirst(EcmaRuntimeCallInfo *argv) in GetFirst() function in panda::ecmascript::containers::ContainersQueue
91 JSTaggedValue value = JSAPIQueue::GetFirst(thread, JSHandle<JSAPIQueue>::Cast(self)); in GetFirst()
/arkcompiler/ets_runtime/ecmascript/mem/
Dspace-inl.h42 Region *current = regionList_.GetFirst(); in EnumerateRegions()
Decma_list.h122 T *GetFirst() const in GetFirst() function
Dspace.cpp107 Region *currentRegion = GetRegionList().GetFirst(); in Sweep()
Dspace.h170 return regionList_.GetFirst(); in GetFirstRegion()
/arkcompiler/ets_runtime/test/fuzztest/containersqueuegetfirst_fuzzer/
Dcontainersqueuegetfirst_fuzzer.cpp113 ContainersQueue::GetFirst(callInfo); in ContainersQueueGetFirstFuzzTest()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
Dcontainers_queue_test.cpp150 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersQueue, GetFirst); in HWTEST_F_L0()
Dcontainers_deque_test.cpp156 EXPECT_EQ(ContainersDeque::GetFirst(callInfo), JSTaggedValue(i)); in HWTEST_F_L0()
312 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersDeque, GetFirst); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_list.h61 inline JSTaggedValue GetFirst() in GetFirst() function

12