Home
last modified time | relevance | path

Searched defs:jsValue (Results 1 – 25 of 28) sorted by relevance

12

/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/
Djs_refconvert_builtin.cpp46 EtsObject *UnwrapImpl(InteropCtx *ctx, napi_value jsValue) in UnwrapImpl()
126 EtsObject *BuiltinConvert(InteropCtx *inCtx, napi_env env, napi_value jsValue) in BuiltinConvert()
191 …[self = *this, wclass, descriptor](InteropCtx *ctxx, napi_value jsValue, bool verified = true) mut… in RegisterClassWithLeafMatcher()
279 EtsObject *MArray(InteropCtx *ctxx, napi_value jsValue, bool verified = true) in MArray()
292 EtsObject *MMap(InteropCtx *ctxx, napi_value jsValue, bool verified = true) in MMap()
305 EtsObject *MSet(InteropCtx *ctxx, napi_value jsValue, bool verified = true) in MSet()
318 EtsObject *MDate(InteropCtx *ctxx, napi_value jsValue, bool verified = true) in MDate()
337 EtsObject *MError(InteropCtx *ctxx, napi_value jsValue, bool verified = true) in MError()
368 EtsObject *MObjectObject(InteropCtx *ctxx, napi_value jsValue) in MObjectObject()
408 EtsObject *MObject(InteropCtx *ctxx, napi_value jsValue, bool verified = true) in MObject()
[all …]
Djs_value.cpp23 [[nodiscard]] JSValue *JSValue::AttachFinalizer(EtsCoroutine *coro, JSValue *jsValue) in AttachFinalizer()
52 auto jsValue = JSValue::FromEtsObject(cbarg); in FinalizeETSWeak() local
140 napi_value jsValue {}; in GetNapiValue() local
Djs_convert_base.h59 static bool IsConstructor(napi_env &env, napi_value &jsValue, const char *constructorName) in IsConstructor()
68 static bool GetValueByValueOf(napi_env env, napi_value &jsValue, const char *constructorName, napi_… in GetValueByValueOf()
Djs_value.h208 JSValue *jsValue; in AllocUndefined() local
275 void SetRefValue(InteropCtx *ctx, napi_value jsValue, napi_valuetype type) in SetRefValue()
Djs_refconvert_function.cpp61 JSValue *jsValue; in WrapImpl() local
Djs_refconvert_record.cpp121 …RefConvertRecord::UnwrapImpl([[maybe_unused]] InteropCtx *ctx, [[maybe_unused]] napi_value jsValue) in UnwrapImpl()
Djs_refconvert.h47 EtsObject *Unwrap(InteropCtx *ctx, napi_value jsValue) in Unwrap()
Dintrinsics_api_impl.cpp399 napi_value jsValue = JSConvertJSValue::Wrap(env, etsJsValue); in JSRuntimeInstanceOfStatic() local
653 napi_value jsValue = JSConvertJSValue::Wrap(env, object); in JSRuntimeTypeOf() local
788 napi_value jsValue = JSConvertJSValue::Wrap(env, object); in JSRuntimeInstanceOfStaticType() local
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp280 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsGlobal() local
292 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsIgnoreCase() local
304 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsMultiline() local
316 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsDotAll() local
328 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsUtf16() local
340 Local<JSValueRef> jsValue = BooleanRef::New(vm, result); in IsStick() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/tests/dynamic_object/
Ddynamic_object.cpp45 napi_value jsValue; in TEST_F() local
65 napi_value jsValue; in TEST_F() local
/arkcompiler/ets_runtime/test/fuzztest/jsonstringify_fuzzer/
Djsonstringify_fuzzer.cpp50 Local<JSValueRef> jsValue = JSON::Parse(vm, res); in JSONStringifyFuzzTest() local
/arkcompiler/ets_runtime/test/fuzztest/jsonparse_fuzzer/
Djsonparse_fuzzer.cpp50 Local<JSValueRef> jsValue = JSON::Parse(vm, res); in JSONParseFuzzTest() local
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_stack.cpp90 JSTaggedValue jsValue = JSAPIStack::Push(thread, JSHandle<JSAPIStack>::Cast(self), value); in Push() local
113 JSTaggedValue jsValue = stack->Peek(thread); in Peek() local
161 JSTaggedValue jsValue = stack->Pop(thread); in Pop() local
Dcontainers_plainarray.cpp311 JSTaggedValue jsValue = array->GetIndexOfValue(thread, value.GetTaggedValue()); in GetIndexOfValue() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
Dets_method_wrapper.h49 napi_value jsValue; in GetJsValue() local
Dets_class_wrapper.cpp54 EtsObject *UnwrapImpl(InteropCtx *ctx, napi_value jsValue) in UnwrapImpl()
77 napi_value jsValue; in Wrap() local
97 EtsObject *EtsClassWrapper::Unwrap(InteropCtx *ctx, napi_value jsValue) in Unwrap()
129 EtsObject *EtsClassWrapper::UnwrapEtsProxy(InteropCtx *ctx, napi_value jsValue) in UnwrapEtsProxy()
162 EtsObject *EtsClassWrapper::CreateJSBuiltinProxy(InteropCtx *ctx, napi_value jsValue) in CreateJSBuiltinProxy()
206 EtsObject *UnwrapImpl(InteropCtx *ctx, [[maybe_unused]] napi_value jsValue) in UnwrapImpl()
237 EtsObject *UnwrapImpl(InteropCtx *ctx, napi_value jsValue) in UnwrapImpl()
327 EtsObject *UnwrapImpl(InteropCtx *ctx, napi_value jsValue) in UnwrapImpl()
Dets_field_wrapper.cpp98 napi_value jsValue; in EtsFieldSetter() local
Dshared_reference_storage.cpp172 napi_value jsValue; in GetJsObject() local
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/native_api/
Darkts_esvalue.cpp86 ani_ref jsValue {}; in UnwrapESValue() local
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp1026 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetHashMapValue() local
1058 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetHashSetValue() local
1091 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetLightWeightMapValue() local
1114 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetLightWeightSetValue() local
1183 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetPlainArrayValue() local
1247 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetTreeMapValue() local
1273 Local<JSValueRef> jsValue = StringRef::NewFromUtf8(ecmaVm, "value"); in GetTreeSetValue() local
/arkcompiler/toolchain/tooling/dynamic/agent/
Druntime_impl.cpp639 Local<JSValueRef> jsValue = sendableMapRef->GetValue(vm_, i); in GetSharedMapValue() local
664 Local<JSValueRef> jsValue = mapRef->GetValue(vm_, i); in GetMapValue() local
688 Local<JSValueRef> jsValue = weakMapRef->GetValue(vm_, i); in GetWeakMapValue() local
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_api_lightweightset_test.cpp224 JSTaggedValue jsValue = lws->GetValueAt(thread, 5); // 5 means the value in HWTEST_F_L0() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/gtest_plugin/
Dets_interop_js_gtest.h219 static T GetRetValue([[maybe_unused]] napi_env env, [[maybe_unused]] napi_value jsValue) in GetRetValue()
/arkcompiler/toolchain/tooling/dynamic/base/
Dpt_types.cpp661 Local<JSValueRef> jsValue = tagged->GetValue(ecmaVm, i); in DescriptionForSet() local
695 Local<JSValueRef> jsValue = tagged->GetValue(ecmaVm, i); in DescriptionForWeakSet() local
/arkcompiler/ets_runtime/ecmascript/
Djs_object.cpp3152 auto jsValue = array->Get(thread, index); in GetNativePointerByIndex() local
3170 auto jsValue = array->Get(thread, index); in GetNativePointerField() local

12