Home
last modified time | relevance | path

Searched refs:ArrayRef (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp856 uint32_t length = Local<ArrayRef>(value)->Length(ecmaVm); in GetContainerLength()
871 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetArrayListValue()
877ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetArrayListValue()
888 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetDequeValue()
894ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetDequeValue()
908 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetHashMapValue()
927 ArrayRef::SetValueAt(ecmaVm, jsValueRef, pos++, objRef); in GetHashMapValue()
942 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetHashSetValue()
958 ArrayRef::SetValueAt(ecmaVm, jsValueRef, pos++, objRef); in GetHashSetValue()
960ArrayRef::SetValueAt(ecmaVm, jsValueRef, pos++, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetHashSetValue()
[all …]
/arkcompiler/ets_runtime/ecmascript/tests/
Dhandle_leak_test.cpp94 std::vector<Global<ArrayRef>> result; in HWTEST_F_L0()
96 result.emplace_back(Global<ArrayRef>(instance, ArrayRef::New(instance, 100))); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/fuzztest/functionrefnew_fuzzer/
Dfunctionrefnew_fuzzer.cpp27 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefNewCallbackForTest()
/arkcompiler/ets_runtime/test/fuzztest/functionrefnewclassfunction_fuzzer/
Dfunctionrefnewclassfunction_fuzzer.cpp27 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefNewCFCallbackForTest()
/arkcompiler/ets_runtime/test/fuzztest/functionrefconstructor_fuzzer/
Dfunctionrefconstructor_fuzzer.cpp28 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefConCallbackForTest()
/arkcompiler/ets_runtime/test/fuzztest/functionrefcall_fuzzer/
Dfunctionrefcall_fuzzer.cpp27 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefCallCallbackForTest()
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp286 Local<ArrayRef> keys = Local<ObjectRef>(value)->GetOwnPropertyNames(vm_); in GetProperties()
607 jsValueRef = ArrayRef::New(vm_, size); in GetMapValue()
618 ArrayRef::SetValueAt(vm_, jsValueRef, index++, objRef); in GetMapValue()
633 jsValueRef = ArrayRef::New(vm_, size); in GetWeakMapValue()
644 ArrayRef::SetValueAt(vm_, jsValueRef, index++, objRef); in GetWeakMapValue()
659 jsValueRef = ArrayRef::New(vm_, size); in GetSetValue()
668 ArrayRef::SetValueAt(vm_, jsValueRef, index++, objRef); in GetSetValue()
670 ArrayRef::SetValueAt(vm_, jsValueRef, index++, elementRef); in GetSetValue()
686 jsValueRef = ArrayRef::New(vm_, size); in GetWeakSetValue()
695 ArrayRef::SetValueAt(vm_, jsValueRef, index++, objRef); in GetWeakSetValue()
[all …]
/arkcompiler/ets_runtime/
Dlibark_jsruntime.map12 panda::ArrayRef::*;
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp74 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FunctionCallback()
119 Local<ArrayRef> array(result); in HWTEST_F_L0()
142 Local<ArrayRef> property = ArrayRef::New(vm_, 3); // 3 : length in HWTEST_F_L0()
152 ASSERT_EQ(Local<ArrayRef>(propertyGet)->Length(vm_), 3); // 3 : test case of input in HWTEST_F_L0()
188 Local<ArrayRef> origin = ArrayRef::New(vm_, 1); in HWTEST_F_L0()
1210 Local<ArrayRef> array(result); in HWTEST_F_L0()
1257 Local<ArrayRef> res = object->GetOwnEnumerablePropertyNames(vm_); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h45 class ArrayRef; variable
714 Local<ArrayRef> GetOwnPropertyNames(const EcmaVM *vm);
715 Local<ArrayRef> GetAllPropertyNames(const EcmaVM *vm, uint32_t filter);
716 Local<ArrayRef> GetOwnEnumerablePropertyNames(const EcmaVM *vm);
762 class PUBLIC_API ArrayRef : public ObjectRef {
764 static Local<ArrayRef> New(const EcmaVM *vm, uint32_t length = 0);
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp1471 Local<ArrayRef> ObjectRef::GetOwnPropertyNames(const EcmaVM *vm) in GetOwnPropertyNames()
1480 return JSNApiHelper::ToLocal<ArrayRef>(jsArray); in GetOwnPropertyNames()
1483 Local<ArrayRef> ObjectRef::GetAllPropertyNames(const EcmaVM *vm, uint32_t filter) in GetAllPropertyNames()
1494 return JSNApiHelper::ToLocal<ArrayRef>(jsArray); in GetAllPropertyNames()
1497 Local<ArrayRef> ObjectRef::GetOwnEnumerablePropertyNames(const EcmaVM *vm) in GetOwnEnumerablePropertyNames()
1506 return JSNApiHelper::ToLocal<ArrayRef>(jsArray); in GetOwnEnumerablePropertyNames()
1875 Local<ArrayRef> ArrayRef::New(const EcmaVM *vm, uint32_t length) in New()
1882 return JSNApiHelper::ToLocal<ArrayRef>(array); in New()
1885 uint32_t ArrayRef::Length([[maybe_unused]] const EcmaVM *vm) in Length()
1891 Local<JSValueRef> ArrayRef::GetValueAt(const EcmaVM *vm, Local<JSValueRef> obj, uint32_t index) in GetValueAt()
[all …]
/arkcompiler/toolchain/tooling/base/
Dpt_types.cpp329 return DescriptionForArray(ecmaVm, Local<ArrayRef>(tagged)); in DescriptionForObject()
472 std::string ObjectRemoteObject::DescriptionForArray(const EcmaVM *ecmaVm, Local<ArrayRef> tagged) in DescriptionForArray()
Dpt_types.h540 static std::string DescriptionForArray(const EcmaVM *ecmaVm, Local<ArrayRef> tagged);