| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | debugger_api.cpp | 856 uint32_t length = Local<ArrayRef>(value)->Length(ecmaVm); in GetContainerLength() 871 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetArrayListValue() 877 …ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetArrayListValue() 888 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetDequeValue() 894 …ArrayRef::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() 960 … ArrayRef::SetValueAt(ecmaVm, jsValueRef, pos++, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetHashSetValue() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | handle_leak_test.cpp | 94 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/ |
| D | functionrefnew_fuzzer.cpp | 27 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefNewCallbackForTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefnewclassfunction_fuzzer/ |
| D | functionrefnewclassfunction_fuzzer.cpp | 27 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefNewCFCallbackForTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefconstructor_fuzzer/ |
| D | functionrefconstructor_fuzzer.cpp | 28 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefConCallbackForTest()
|
| /arkcompiler/ets_runtime/test/fuzztest/functionrefcall_fuzzer/ |
| D | functionrefcall_fuzzer.cpp | 27 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefCallCallbackForTest()
|
| /arkcompiler/toolchain/tooling/agent/ |
| D | runtime_impl.cpp | 286 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/ |
| D | libark_jsruntime.map | 12 panda::ArrayRef::*;
|
| /arkcompiler/ets_runtime/ecmascript/napi/test/ |
| D | jsnapi_tests.cpp | 74 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/ |
| D | jsnapi.h | 45 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/ |
| D | jsnapi.cpp | 1471 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/ |
| D | pt_types.cpp | 329 return DescriptionForArray(ecmaVm, Local<ArrayRef>(tagged)); in DescriptionForObject() 472 std::string ObjectRemoteObject::DescriptionForArray(const EcmaVM *ecmaVm, Local<ArrayRef> tagged) in DescriptionForArray()
|
| D | pt_types.h | 540 static std::string DescriptionForArray(const EcmaVM *ecmaVm, Local<ArrayRef> tagged);
|