Home
last modified time | relevance | path

Searched refs:arrayValue (Results 1 – 8 of 8) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/
Dtest_core_value_array_value.j219 let arrayValue : ArrayValue = Value.of([{{.item.init_values | first}}]) as ArrayValue;
22 if (arrayValue.getLength() == 1) {
30 arrayValue.setElement(0, actualValue);
31 storedValue = arrayValue.getElement(0) as {{.item.value_name}}Value;
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_array_test.cpp132 JSHandle<JSTaggedValue> arrayValue(thread, JSTaggedValue(i)); in HWTEST_F_L0() local
133 taggedArray->Set(thread, i, arrayValue.GetTaggedValue()); in HWTEST_F_L0()
160 JSHandle<JSTaggedValue> arrayValue(thread, JSTaggedValue(i)); in HWTEST_F_L0() local
161 taggedArray->Set(thread, i, arrayValue.GetTaggedValue()); in HWTEST_F_L0()
168 JSHandle<JSTaggedValue> arrayValue(thread, JSTaggedValue(i)); in HWTEST_F_L0() local
169 EXPECT_EQ(taggedArray->Get(i), arrayValue.GetTaggedValue()); in HWTEST_F_L0()
Djs_locale_test.cpp489 JSHandle<JSTaggedValue> arrayValue(stringValues); in HWTEST_F_L0() local
493 …JSLocale::GetOption(thread, optionsObj, languageProperty, OptionType::STRING, arrayValue, fallback… in HWTEST_F_L0()
496 … JSLocale::GetOption(thread, optionsObj, regionProperty, OptionType::STRING, arrayValue, fallback); in HWTEST_F_L0()
Djs_finalization_registry_test.cpp131 JSHandle<JSTaggedValue> arrayValue(array); in HWTEST_F_L0() local
133 …Unregister = LinkedHashMap::SetWeakRef(thread, expectMaybeUnregister, unregisterToken, arrayValue); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Djs_finalization_registry.cpp69 JSHandle<JSTaggedValue> arrayValue(array); in Register() local
70 … maybeUnregister = LinkedHashMap::SetWeakRef(thread, maybeUnregister, unregisterToken, arrayValue); in Register()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
Djson.sts698 private writeArrayValue(arrayValue: ArrayValue, arrayType: ArrayType): void {
706 const arrayLength = arrayValue.getLength() as int
708 const array: Object = arrayValue.getData()!
715 this.writeArrayElementValue(arrayValue.getElement(idx), idx)
723 this.writeArrayElementValue(arrayValue.getElement(lastElementIndex), lastElementIndex)
/arkcompiler/ets_runtime/ecmascript/serializer/tests/
Dserializer_test.cpp418 JSHandle<JSTaggedValue> arrayValue = deserializer.ReadValue(); in JSArrayTest() local
419 EXPECT_TRUE(!arrayValue.IsEmpty()); in JSArrayTest()
423 JSHandle<JSArray> retArray = JSHandle<JSArray>::Cast(arrayValue); in JSArrayTest()
438 JSHandle<JSTaggedValue> value = JSArray::FastGetPropertyByValue(thread, arrayValue, i); in JSArrayTest()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_array_stub_builder.cpp1889 Label arrayValue(env); in FastReverse() local