Lines Matching refs:JSAPIStack
64 JSAPIStack *CreateStack() in CreateStack()
84 …JSHandle<JSAPIStack> stack(factory->NewJSObjectByConstructor(JSHandle<JSFunction>(constructor), co… in CreateStack()
92 JSAPIStack *stack = CreateStack(); in HWTEST_F_L0()
102 JSHandle<JSAPIStack> toor(thread, CreateStack()); in HWTEST_F_L0()
111 JSTaggedValue result = JSAPIStack::Push(thread, toor, value); in HWTEST_F_L0()
126 JSHandle<JSAPIStack> toor(thread, CreateStack()); in HWTEST_F_L0()
135 JSTaggedValue result = JSAPIStack::Push(thread, toor, value); in HWTEST_F_L0()
156 JSHandle<JSAPIStack> toor(thread, CreateStack()); in HWTEST_F_L0()
162 JSTaggedValue result = JSAPIStack::Push(thread, toor, value); in HWTEST_F_L0()
187 JSHandle<JSAPIStack> toor(thread, CreateStack()); in HWTEST_F_L0()
193 JSTaggedValue result = JSAPIStack::Push(thread, toor, value); in HWTEST_F_L0()
208 JSHandle<JSAPIStack> toor(thread, CreateStack()); in HWTEST_F_L0()
214 JSAPIStack::Push(thread, toor, value); in HWTEST_F_L0()
219 EXPECT_TRUE(JSAPIStack::GetOwnProperty(thread, toor, stackKey1)); in HWTEST_F_L0()
222 EXPECT_FALSE(JSAPIStack::GetOwnProperty(thread, toor, stackKey2)); in HWTEST_F_L0()
227 EXPECT_FALSE(JSAPIStack::GetOwnProperty(thread, toor, undefined)); in HWTEST_F_L0()
239 JSHandle<JSAPIStack> toor(thread, CreateStack()); in HWTEST_F_L0()
243 JSAPIStack::Push(thread, toor, value); in HWTEST_F_L0()
247 OperationResult getPropertyRes = JSAPIStack::GetProperty(thread, toor, key); in HWTEST_F_L0()
253 OperationResult getPropertyRes = JSAPIStack::GetProperty(thread, toor, key); in HWTEST_F_L0()
258 OperationResult getPropertyRes1 = JSAPIStack::GetProperty(thread, toor, key1); in HWTEST_F_L0()
271 JSHandle<JSAPIStack> toor(thread, CreateStack()); in HWTEST_F_L0()
275 JSAPIStack::Push(thread, toor, value); in HWTEST_F_L0()
280 bool setPropertyRes = JSAPIStack::SetProperty(thread, toor, key, value); in HWTEST_F_L0()
285 EXPECT_FALSE(JSAPIStack::SetProperty(thread, toor, key, value)); in HWTEST_F_L0()
287 EXPECT_FALSE(JSAPIStack::SetProperty(thread, toor, key1, value)); in HWTEST_F_L0()
298 JSHandle<JSAPIStack> toor(thread, CreateStack()); in HWTEST_F_L0()
306 JSAPIStack::Push(thread, toor, value); in HWTEST_F_L0()
322 JSHandle<JSAPIStack> toor(thread, CreateStack()); in HWTEST_F_L0()
326 JSAPIStack::Push(thread, toor, value); in HWTEST_F_L0()
328 JSHandle<TaggedArray> keyArray = JSAPIStack::OwnKeys(thread, toor); in HWTEST_F_L0()