Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/test/fuzztest/arrayref_fuzzer/
Darrayref_fuzzer.cpp34 ArrayRef::New(vm, (uint32_t)size); in ArrayRefNewFuzzerTest()
44 Local<ArrayRef> property = ArrayRef::New(vm, (uint32_t)size); in ArrayRefGetValueAtFuzzerTest()
62 Local<ArrayRef> property = ArrayRef::New(vm, (uint32_t)size); in ArrayRefLengthFuzzerTest()
77 Local<ArrayRef> property = ArrayRef::New(vm, (uint32_t)size); in ArrayRefSetValueAtFuzzerTest()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_sample.cpp523 Local<ArrayRef> names = object->GetOwnPropertyNames(vm); in GetProperty()
527 Local<JSValueRef> value = ArrayRef::GetValueAt(vm, names, i); in GetProperty()
597 Local<ArrayRef> names = object->GetOwnEnumerablePropertyNames(vm); in GetOwnEnumerablePropertyNames()
601 Local<JSValueRef> value = ArrayRef::GetValueAt(vm, names, i); in GetOwnEnumerablePropertyNames()
614 Local<ArrayRef> names = object->GetAllPropertyNames(vm, 0); // 0 = NATIVE_DEFAULT in GetAllPropertyNames()
618 Local<JSValueRef> value = ArrayRef::GetValueAt(vm, names, i); in GetAllPropertyNames()
630 Local<JSValueRef> value = ArrayRef::GetValueAt(vm, names, i); in GetAllPropertyNames()
642 Local<JSValueRef> value = ArrayRef::GetValueAt(vm, names, i); in GetAllPropertyNames()
654 Local<JSValueRef> value = ArrayRef::GetValueAt(vm, names, i); in GetAllPropertyNames()
1713 Local<ArrayRef> arrayObject = ArrayRef::New(vm_, length); in HWTEST_F_L0()
[all …]
Djsnapi_second_tests.cpp133 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FunctionCallback()
256 Local<ArrayRef> res = object->GetAllPropertyNames(vm_, filter); in HWTEST_F_L0()
685 Local<JSValueRef> array = JSNApiHelper::ToLocal<ArrayRef>(jsArrayTag); in HWTEST_F_L0()
785 Local<ArrayRef> property = ArrayRef::New(vm_, 3); // 3 : length in HWTEST_F_L0()
840 Local<ArrayRef> res = object->GetOwnPropertyNames(vm_); in HWTEST_F_L0()
Dffi_workload.cpp109 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FunCallback()
5030 test.Escape(ArrayRef::New(vm_, num)); in HWTEST_F_L0()
5877 JSNApiHelper::ToLocal<ArrayRef>(SAbuffer)->IsSharedArrayBuffer(); in HWTEST_F_L0()
5941 JSNApiHelper::ToLocal<ArrayRef>(Que)->IsDeque(); in HWTEST_F_L0()
5973 JSNApiHelper::ToLocal<ArrayRef>(stcak)->IsStack(); in HWTEST_F_L0()
6007 JSNApiHelper::ToLocal<ArrayRef>(treapp)->IsTreeMap(); in HWTEST_F_L0()
6041 JSNApiHelper::ToLocal<ArrayRef>(tresett)->IsTreeSet(); in HWTEST_F_L0()
6073 JSNApiHelper::ToLocal<ArrayRef>(vectt)->IsVector(); in HWTEST_F_L0()
6990 Local<ArrayRef> arrayObject = ArrayRef::New(vm_, num); in HWTEST_F_L0()
7008 TEST_TIME(JSValueRef::IsArray::ArrayRef); in HWTEST_F_L0()
[all …]
Djsnapi_first_tests.cpp133 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FunctionCallback()
187 Local<ArrayRef> array(result); in HWTEST_F_L0()
210 Local<ArrayRef> property = ArrayRef::New(vm_, 3); // 3 : length in HWTEST_F_L0()
220 ASSERT_EQ(Local<ArrayRef>(propertyGet)->Length(vm_), 3U); // 3 : test case of input in HWTEST_F_L0()
271 Local<ArrayRef> origin = ArrayRef::New(vm_, 1); in HWTEST_F_L0()
1544 Local<ArrayRef> array(result); in HWTEST_F_L0()
1600 Local<ArrayRef> res = object->GetOwnEnumerablePropertyNames(vm_); in HWTEST_F_L0()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefisarrayvalue_fuzzer/
Djsvaluerefisarrayvalue_fuzzer.cpp43 Local<ArrayRef> arrayObject = ArrayRef::New(vm, length); in JSValueRefIsArrayValueFuzzTest()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp934 uint32_t length = Local<ArrayRef>(value)->Length(ecmaVm); in GetContainerLength()
952 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetArrayListValue()
958ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetArrayListValue()
969 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetDequeValue()
975ArrayRef::SetValueAt(ecmaVm, jsValueRef, index++, JSNApiHelper::ToLocal<JSValueRef>(currentValue)); in GetDequeValue()
989 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetHashMapValue()
1008 ArrayRef::SetValueAt(ecmaVm, jsValueRef, pos++, objRef); in GetHashMapValue()
1023 Local<JSValueRef> jsValueRef = ArrayRef::New(ecmaVm, size); in GetHashSetValue()
1039 ArrayRef::SetValueAt(ecmaVm, jsValueRef, pos++, objRef); in GetHashSetValue()
1041ArrayRef::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/functionrefisnative_fuzzer/
Dfunctionrefisnative_fuzzer.cpp27 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefConCallbackForTest()
/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/ecmascript/napi/
DJSNapi接口说明.md2142 Local<ArrayRef> arrayObject = ArrayRef::New(vm_, length);
2729 bool result = JSNApiHelper::ToLocal<ArrayRef>(treeMapTagValue)->IsTreeMap();
2757 bool result = JSNApiHelper::ToLocal<ArrayRef>(treeSetTagValue)->IsTreeSet();
2784 bool result = JSNApiHelper::ToLocal<ArrayRef>(vectorTagValue)->IsVector();
2931 bool result = JSNApiHelper::ToLocal<ArrayRef>(jsTagValueBuffer)->IsSharedArrayBuffer();
3492 Local<ArrayRef> GetOwnPropertyNames(const EcmaVM *vm);
3506 | Local<ArrayRef> | ���ش洢�ö������������������Ƶ����顣 |
3514 Local<ArrayRef> result = object->GetOwnPropertyNames(vm_);
3686 Local<ArrayRef> GetAllPropertyNames(const EcmaVM *vm, uint32_t filter);
3688 ���ڻ�ȡ�����������������������һ��Local<ArrayRef>���͵Ľ����
[all …]
/arkcompiler/ets_runtime/test/fuzztest/escapelocalscope_fuzzer/
Descapelocalscope_fuzzer.cpp26 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefNewCFCallbackForTest()
/arkcompiler/ets_runtime/test/fuzztest/functionrefgetfunctionprototype_fuzzer/
Dfunctionrefgetfunctionprototype_fuzzer.cpp27 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefConCallbackForTest()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/
Druntime_calls.h38 llvm::ArrayRef<llvm::Value *> arguments = llvm::None);
Druntime_calls.cpp41 llvm::ArrayRef<llvm::Value *> arguments) in CreateEntrypointCallCommon()
/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/ets_runtime/test/fuzztest/jsvaluerefispromisevalue_fuzzer/
Djsvaluerefispromisevalue_fuzzer.cpp28 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in RejectCallback()
/arkcompiler/toolchain/tooling/agent/
Druntime_impl.cpp255 Local<ArrayRef> keys = Local<ObjectRef>(value)->GetOwnPropertyNames(vm_); in GetProperties()
575 jsValueRef = ArrayRef::New(vm_, size); in GetMapValue()
586 ArrayRef::SetValueAt(vm_, jsValueRef, index++, objRef); in GetMapValue()
599 Local<JSValueRef> jsValueRef = ArrayRef::New(vm_, size); in GetWeakMapValue()
610 ArrayRef::SetValueAt(vm_, jsValueRef, index++, objRef); in GetWeakMapValue()
625 jsValueRef = ArrayRef::New(vm_, size); in GetSetValue()
634 ArrayRef::SetValueAt(vm_, jsValueRef, index++, objRef); in GetSetValue()
636 ArrayRef::SetValueAt(vm_, jsValueRef, index++, elementRef); in GetSetValue()
650 Local<JSValueRef> jsValueRef = ArrayRef::New(vm_, size); in GetWeakSetValue()
659 ArrayRef::SetValueAt(vm_, jsValueRef, index++, objRef); in GetWeakSetValue()
/arkcompiler/ets_runtime/test/fuzztest/functionrefname_fuzzer/
Dfunctionrefname_fuzzer.cpp27 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefConCallbackForTest()
/arkcompiler/ets_runtime/test/fuzztest/objectref_fuzzer/
Dobjectref_fuzzer.cpp29 return scope.Escape(ArrayRef::New(info->GetVM(), info->GetArgsNumber())); in FuncRefNewCallbackForTest()
/arkcompiler/ets_runtime/
Dlibark_jsruntime.map12 panda::ArrayRef::*;
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi_expo.h55 class ArrayRef; variable
650 Local<ArrayRef> GetOwnPropertyNames(const EcmaVM *vm);
651 Local<ArrayRef> GetAllPropertyNames(const EcmaVM *vm, uint32_t filter);
652 Local<ArrayRef> GetOwnEnumerablePropertyNames(const EcmaVM *vm);
881 class ECMA_PUBLIC_API ArrayRef : public ObjectRef {
883 static Local<ArrayRef> New(const EcmaVM *vm, uint32_t length = 0);
1126 …static Local<ArrayRef> Next(const EcmaVM *vm, ecmascript::EcmaRuntimeCallInfo* ecmaRuntimeCallInfo…
1381 …static Local<ArrayRef> Next(const EcmaVM *vm, ecmascript::EcmaRuntimeCallInfo *ecmaRuntimeCallInfo…
/arkcompiler/runtime_core/static_core/libllvmbackend/templates/
Dllvm_passes.inl.erb31 using PipelineElements = llvm::ArrayRef<llvm::PassBuilder::PipelineElement>;

12