Home
last modified time | relevance | path

Searched refs:jsQueue (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_queue_test.cpp71 …JSHandle<JSAPIQueue> jsQueue(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), … in CreateQueue() local
73 jsQueue->SetElements(thread, newElements); in CreateQueue()
74 jsQueue->SetLength(thread, JSTaggedValue(0)); in CreateQueue()
75 jsQueue->SetFront(0); in CreateQueue()
76 jsQueue->SetTail(0); in CreateQueue()
77 return jsQueue; in CreateQueue()
83 JSHandle<JSAPIQueue> jsQueue = CreateQueue(); in HWTEST_F_L0() local
84 EXPECT_TRUE(*jsQueue != nullptr); in HWTEST_F_L0()
92 JSHandle<JSAPIQueue> jsQueue = CreateQueue(); in HWTEST_F_L0() local
98 JSAPIQueue::Add(thread, jsQueue, value); in HWTEST_F_L0()
[all …]
Djs_api_queue_iterator_test.cpp73 …JSHandle<JSAPIQueue> jsQueue(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), … in CreateQueue() local
75 jsQueue->SetElements(thread, newElements); in CreateQueue()
76 jsQueue->SetLength(thread, JSTaggedValue(0)); in CreateQueue()
77 jsQueue->SetFront(0); in CreateQueue()
78 jsQueue->SetTail(0); in CreateQueue()
79 return jsQueue; in CreateQueue()
94 JSHandle<JSAPIQueue> jsQueue = CreateQueue(); in HWTEST_F_L0() local
95 EXPECT_TRUE(*jsQueue != nullptr); in HWTEST_F_L0()
103 JSAPIQueue::Add(thread, jsQueue, value); in HWTEST_F_L0()
105 JSHandle<JSAPIQueueIterator> queueIterator = factory->NewJSAPIQueueIterator(jsQueue); in HWTEST_F_L0()
[all …]
Ddump_test.cpp363 …JSHandle<JSAPIQueue> jsQueue = JSHandle<JSAPIQueue>::Cast(factory->NewJSObjectWithInit(queueClass)… in NewJSAPIQueue() local
365 jsQueue->SetLength(thread, JSTaggedValue(0)); in NewJSAPIQueue()
366 jsQueue->SetFront(0); in NewJSAPIQueue()
367 jsQueue->SetTail(0); in NewJSAPIQueue()
368 jsQueue->SetElements(thread, newElements); in NewJSAPIQueue()
369 return jsQueue; in NewJSAPIQueue()
1186 JSHandle<JSAPIQueue> jsQueue = NewJSAPIQueue(thread, factory, proto); in HWTEST_F_L0() local
1187 DUMP_FOR_HANDLE(jsQueue); in HWTEST_F_L0()
1193 JSHandle<JSAPIQueue> jsQueue = NewJSAPIQueue(thread, factory, proto); in HWTEST_F_L0() local
1195 factory->NewJSAPIQueueIterator(jsQueue); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefismodulenamespace_fuzzer/
Djsvaluerefismodulenamespace_fuzzer.cpp199 …JSHandle<JSAPIQueue> jsQueue = JSHandle<JSAPIQueue>::Cast(factory->NewJSObjectWithInit(queueClass)… in IsDequeFuzztest() local
201 jsQueue->SetLength(thread, JSTaggedValue(0)); in IsDequeFuzztest()
202 jsQueue->SetFront(0); in IsDequeFuzztest()
203 jsQueue->SetTail(0); in IsDequeFuzztest()
204 jsQueue->SetElements(thread, newElements); in IsDequeFuzztest()
205 JSHandle<JSTaggedValue> Que = JSHandle<JSTaggedValue>::Cast(jsQueue); in IsDequeFuzztest()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Dffi_workload.cpp994 …JSHandle<JSAPIQueue> jsQueue = JSHandle<JSAPIQueue>::Cast(factory->NewJSObjectWithInit(queueClass)… in HWTEST_F_L0() local
996 jsQueue->SetLength(thread, JSTaggedValue(0)); in HWTEST_F_L0()
997 jsQueue->SetFront(0); in HWTEST_F_L0()
998 jsQueue->SetTail(0); in HWTEST_F_L0()
999 jsQueue->SetElements(thread, newElements); in HWTEST_F_L0()
1000 JSHandle<JSTaggedValue> deQue = JSHandle<JSTaggedValue>::Cast(jsQueue); in HWTEST_F_L0()
5932 …JSHandle<JSAPIQueue> jsQueue = JSHandle<JSAPIQueue>::Cast(factory->NewJSObjectWithInit(queueClass)… in HWTEST_F_L0() local
5934 jsQueue->SetLength(thread, JSTaggedValue(0)); in HWTEST_F_L0()
5935 jsQueue->SetFront(0); in HWTEST_F_L0()
5936 jsQueue->SetTail(0); in HWTEST_F_L0()
[all …]