Home
last modified time | relevance | path

Searched refs:jsValue (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/test/fuzztest/jsonstringify_fuzzer/
Djsonstringify_fuzzer.cpp48 Local<JSValueRef> jsValue = JSON::Parse(vm, res); in JSONStringifyFuzzTest() local
49 JSON::Stringify(vm, jsValue); in JSONStringifyFuzzTest()
/arkcompiler/ets_runtime/test/fuzztest/jsonparse_fuzzer/
Djsonparse_fuzzer.cpp48 Local<JSValueRef> jsValue = JSON::Parse(vm, res); in JSONParseFuzzTest() local
49 JSON::Stringify(vm, jsValue); in JSONParseFuzzTest()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_stack.cpp95 JSTaggedValue jsValue = JSAPIStack::Push(thread, JSHandle<JSAPIStack>::Cast(self), value); in Push() local
96 return jsValue; in Push()
118 JSTaggedValue jsValue = stack->Peek(); in Peek() local
120 return jsValue; in Peek()
166 JSTaggedValue jsValue = stack->Pop(); in Pop() local
167 return jsValue; in Pop()
Dcontainers_plainarray.cpp302 JSTaggedValue jsValue = array->GetIndexOfValue(value.GetTaggedValue()); in GetIndexOfValue() local
303 return jsValue; in GetIndexOfValue()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_lightweightset_test.cpp275 JSTaggedValue jsValue = lws->GetValueAt(5); // 5 means the value in HWTEST_F_L0() local
276 EXPECT_EQ(value.GetTaggedValue(), jsValue); in HWTEST_F_L0()
279 jsValue = lws->Remove(thread, value); in HWTEST_F_L0()
280 EXPECT_EQ(value.GetTaggedValue(), jsValue); in HWTEST_F_L0()
281 jsValue = lws->Remove(thread, value); in HWTEST_F_L0()
282 EXPECT_EQ(jsValue, JSTaggedValue::Undefined()); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp915 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetHashMapValue() local
925 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetHashMapValue()
947 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetHashSetValue() local
956 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetHashSetValue()
980 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetLightWeightMapValue() local
987 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetLightWeightMapValue()
1003 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetLightWeightSetValue() local
1009 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetLightWeightSetValue()
1072 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetPlainArrayValue() local
1079 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetPlainArrayValue()
[all …]
/arkcompiler/toolchain/tooling/base/
Dpt_types.cpp593 Local<JSValueRef> jsValue = tagged->GetValue(ecmaVm, i); in DescriptionForSet() local
594 if (jsValue->IsHole()) { in DescriptionForSet()
598 if (jsValue->IsObject()) { in DescriptionForSet()
600 } else if (jsValue->IsString()) { in DescriptionForSet()
601 description += cPre + jsValue->ToString(ecmaVm)->ToString() + cPre; in DescriptionForSet()
603 description += jsValue->ToString(ecmaVm)->ToString(); in DescriptionForSet()
627 Local<JSValueRef> jsValue = tagged->GetValue(ecmaVm, i); in DescriptionForWeakSet() local
628 if (jsValue->IsHole()) { in DescriptionForWeakSet()
631 if (jsValue->IsObject()) { in DescriptionForWeakSet()
633 } else if (jsValue->IsString()) { in DescriptionForWeakSet()
[all …]
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp613 Local<JSValueRef> jsValue = mapRef->GetValue(vm_, i); in GetMapValue() local
616 objRef->Set(vm_, StringRef::NewFromUtf8(vm_, "value"), jsValue); in GetMapValue()
639 Local<JSValueRef> jsValue = weakMapRef->GetValue(vm_, i); in GetWeakMapValue() local
642 objRef->Set(vm_, StringRef::NewFromUtf8(vm_, "value"), jsValue); in GetWeakMapValue()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp2418 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsGlobal() local
2419 return jsValue; in IsGlobal()
2429 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsIgnoreCase() local
2430 return jsValue; in IsIgnoreCase()
2440 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsMultiline() local
2441 return jsValue; in IsMultiline()
2451 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsDotAll() local
2452 return jsValue; in IsDotAll()
2462 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsUtf16() local
2463 return jsValue; in IsUtf16()
[all …]
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp1088 Local<JSValueRef> jsValue = intValue->GetValue(vm_); in HWTEST_F_L0() local
1089 EXPECT_TRUE(*jsValue == nullptr); in HWTEST_F_L0()