Searched refs:arrayValue (Results 1 – 8 of 8) sorted by relevance
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/ |
| D | test_core_value_array_value.j2 | 19 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/ |
| D | tagged_array_test.cpp | 132 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()
|
| D | js_locale_test.cpp | 489 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()
|
| D | js_finalization_registry_test.cpp | 131 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/ |
| D | js_finalization_registry.cpp | 69 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/ |
| D | json.sts | 698 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/ |
| D | serializer_test.cpp | 418 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/ |
| D | builtins_array_stub_builder.cpp | 1889 Label arrayValue(env); in FastReverse() local
|