Home
last modified time | relevance | path

Searched refs:toValue (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp302 Local<JSValueRef> toValue(toString); in HWTEST_F_L0() local
306 ASSERT_EQ(toValue->ToString(vm_)->ToString(), "-123.3"); in HWTEST_F_L0()
307 ASSERT_TRUE(toValue->ToObject(vm_)->IsObject()); in HWTEST_F_L0()
314 Local<JSValueRef> toValue(toString); in HWTEST_F_L0() local
1176 Local<JSValueRef> toValue(tostring); in HWTEST_F_L0() local
1315 Local<JSValueRef> toValue(toString); in HWTEST_F_L0() local
1318 ASSERT_EQ(toValue->ToString(vm_)->ToString(), "-123.3"); in HWTEST_F_L0()
1319 ASSERT_TRUE(toValue->ToObject(vm_)->IsObject()); in HWTEST_F_L0()
1320 Local<NativePointerRef> res = toValue->ToNativePointer(vm_); in HWTEST_F_L0()
1461 Local<JSValueRef> toValue(toString); in HWTEST_F_L0() local
[all …]
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot.cpp922 JSTaggedValue toValue = it.second; in FillEdges() local
923 if (toValue.IsNumber() && !captureNumericValue_) { in FillEdges()
927 if (toValue.IsWeak()) { in FillEdges()
928 toValue.RemoveWeakTag(); in FillEdges()
930 if (toValue.IsHeapObject()) { in FillEdges()
931 auto *to = reinterpret_cast<TaggedObject *>(toValue.GetTaggedObject()); in FillEdges()
935 entryTo = GenerateNode(toValue, 0, true); in FillEdges()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_array.cpp2672 JSHandle<JSTaggedValue> toValue = GetCallArg(argv, j); in Unshift() local
2673 JSArray::FastSetPropertyByValue(thread, thisObjVal, toKey, toValue); in Unshift()