/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_api_tree_map_test.cpp | 64 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 65 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 71 key.Update(JSTaggedValue::Hole()); in HWTEST_F_L0() 78 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 79 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 102 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 103 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 110 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 118 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 119 value.Update(factor in HWTEST_F_L0() [all...] |
H A D | tagged_tree_test.cpp | 168 tmap.Update(TaggedTreeMap::Set(thread, tmap, key1, value1)); in HWTEST_F_L0() 170 tmap.Update(TaggedTreeMap::Set(thread, tmap, key2, value2)); in HWTEST_F_L0() 181 tmap.Update(res); in HWTEST_F_L0() 201 tset.Update(TaggedTreeSet::Add(thread, tset, key1)); in HWTEST_F_L0() 203 tset.Update(TaggedTreeSet::Add(thread, tset, key2)); in HWTEST_F_L0() 230 tmap.Update(TaggedTreeMap::Set(thread, tmap, key, value)); in HWTEST_F_L0() 260 tset.Update(TaggedTreeSet::Add(thread, tset, key)); in HWTEST_F_L0() 282 keyValue[0].Update(factory->NewFromStdString(ikey).GetTaggedValue()); in KeyValueUpdate() 283 keyValue[1].Update(factory->NewFromStdString(ivalue).GetTaggedValue()); // 1 : value index in KeyValueUpdate() 284 tmap.Update(TaggedTreeMa in KeyValueUpdate() [all...] |
H A D | js_api_hashmap_test.cpp | 41 void Update(JSHandle<JSAPIHashMap>& hashMap, JSMutableHandle<JSTaggedValue>& key, in Update() function in panda::test::JSAPIHashMapTest 48 key.Update(factory->NewFromStdString(iKey).GetTaggedValue()); in Update() 49 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in Update() 75 key.Update(JSTaggedValue::Undefined()); in HWTEST_F_L0() 82 Update(hashMap, key, value, pair, NODE_NUMBERS); in HWTEST_F_L0() 91 key.Update(factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() 92 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 121 Update(hashMap, key, value, pair, NODE_NUMBERS); in HWTEST_F_L0() 130 key.Update(factory->NewFromStdString(iKey).GetTaggedValue()); in HWTEST_F_L0() 138 key.Update(factor in HWTEST_F_L0() [all...] |
H A D | js_api_tree_set_test.cpp | 56 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in TestCommon() 81 key.Update(JSTaggedValue::Hole()); in HWTEST_F_L0() 87 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 109 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 116 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 124 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 133 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 155 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 181 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 188 key.Update(factor in HWTEST_F_L0() [all...] |
H A D | js_api_plain_array_test.cpp | 53 key.Update(JSTaggedValue(ikey)); in GetIndexOfKeyAndGeIndexOfValueGetArray() 54 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in GetIndexOfKeyAndGeIndexOfValueGetArray() 94 key.Update(JSTaggedValue(ikey)); in HWTEST_F_L0() 95 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 103 key.Update(JSTaggedValue(ikey)); in HWTEST_F_L0() 104 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 113 key.Update(JSTaggedValue(ikey)); in HWTEST_F_L0() 114 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 140 key.Update(JSTaggedValue(ikey)); in HWTEST_F_L0() 141 value.Update(factor in HWTEST_F_L0() [all...] |
H A D | js_api_hashset_test.cpp | 41 void Update(JSHandle<JSAPIHashSet>& hashSet, JSMutableHandle<JSTaggedValue> value, std::string& myValue, in Update() function in panda::test::JSAPIHashSetTest 47 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in Update() 66 Update(hashSet, value, myValue, NODE_NUMBERS); in HWTEST_F_L0() 71 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 97 Update(hashSet, value, myValue, NODE_NUMBERS); in HWTEST_F_L0() 101 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 108 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 117 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 144 value.Update(JSTaggedValue(hashCollisionVector[i])); in HWTEST_F_L0() 154 value.Update(JSTaggedValu in HWTEST_F_L0() [all...] |
H A D | js_api_lightweightset_test.cpp | 111 value1.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 120 value2.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 136 value2.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 164 value1.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 171 value1.Update(factory->NewFromStdString(tValue).GetTaggedValue()); in HWTEST_F_L0() 175 value1.Update(factory->NewFromStdString(tValue).GetTaggedValue()); in HWTEST_F_L0() 184 value3.Update(factory->NewFromStdString(iValue3).GetTaggedValue()); in HWTEST_F_L0() 188 value2.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 212 value.Update(factory->NewFromStdString(iValue).GetTaggedValue()); in HWTEST_F_L0() 219 value.Update(factor in HWTEST_F_L0() [all...] |
H A D | js_api_tree_map_iterator_test.cpp | 44 keyValue[0].Update(factory->NewFromStdString(ikey).GetTaggedValue()); in TestKeyValueCommon() 45 keyValue[1].Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in TestKeyValueCommon() 96 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 97 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 106 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 107 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 197 keyValue[0].Update(factory->NewFromStdString(resultKey).GetTaggedValue()); in HWTEST_F_L0() 231 keyValue[1].Update(factory->NewFromStdString(resultKey).GetTaggedValue()); // 1 : value index in HWTEST_F_L0() 251 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 252 value.Update(factor in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/ |
H A D | global_index_map.cpp | 39 globalIndexMap.Update(PointerToIndexDictionary::Create(thread)); in InitGlobalIndexMap() 54 keyHandle.Update(objectValue); in InitGlobalConst() 58 valueHandle.Update(JSTaggedValue(globalIndex.GetGlobalIndex())); in InitGlobalConst() 61 globalIndexMapHandle.Update(newDict); in InitGlobalConst() 64 globalIndexMap.Update(globalIndexMapHandle); in InitGlobalConst() 79 keyHandle.Update(objectValue); in InitGlobalEnv() 83 valueHandle.Update(JSTaggedValue(globalIndex.GetGlobalIndex())); in InitGlobalEnv() 86 globalIndexMapHandle.Update(newDict); in InitGlobalEnv() 89 globalIndexMap.Update(globalIndexMapHandle); in InitGlobalEnv() 103 keyHandle.Update(objectValu in InitBuiltinEntries() [all...] |
H A D | property_accessor.cpp | 122 keyArray.Update(factory->EmptyArray()); in InitSimplePropertiesEnumCache() 130 keyArray.Update(newArray); in InitSimplePropertiesEnumCache() 135 fastKeysArray_.Update(keyArray.GetTaggedValue()); in InitSimplePropertiesEnumCache() 136 cachedHclass_.Update(JSTaggedValue(jsHclass)); in InitSimplePropertiesEnumCache() 186 cachedHclass_.Update(jsHclass); in TryInitEnumCacheWithProtoChainInfo() 210 current.Update(JSObject::GetPrototype(current.GetTaggedValue())); in GetKeysFast() 214 fastKeysArray_.Update(keyArray.GetTaggedValue()); in GetKeysFast() 229 current.Update(JSTaggedValue::GetPrototype(thread_, current)); in GetKeysSlow() 245 value.Update(proxyArr->Get(i)); in PushRemainingKeys() 261 value.Update(arra in PushRemainingKeys() [all...] |
H A D | js_date_time_format.cpp | 183 result.Update(globalConst->GetHandledSharedString().GetTaggedValue()); in ToValueString() 186 result.Update(globalConst->GetHandledStartRangeString().GetTaggedValue()); in ToValueString() 189 result.Update(globalConst->GetHandledEndRangeString().GetTaggedValue()); in ToValueString() 729 key.Update(array->Get(thread, i)); in ToDateTimeOptions() 753 key.Update(array->Get(thread, i)); in ToDateTimeOptions() 796 key.Update(array->Get(thread, i)); in ToDateTimeOptions() 813 key.Update(array->Get(thread, i)); in ToDateTimeOptions() 848 key.Update(array->Get(thread, i)); in ToDateTimeSkeleton() 873 key.Update(array->Get(thread, i)); in ToDateTimeSkeleton() 993 substring.Update(int in FormatDateTimeToParts() [all...] |
H A D | js_number_format.cpp | 88 result.Update(globalConst->GetHandledDecimalString().GetTaggedValue()); in OptionToEcmaString() 91 result.Update(globalConst->GetHandledCurrencyString().GetTaggedValue()); in OptionToEcmaString() 94 result.Update(globalConst->GetHandledPercentString().GetTaggedValue()); in OptionToEcmaString() 97 result.Update(globalConst->GetHandledUnitString().GetTaggedValue()); in OptionToEcmaString() 112 result.Update(globalConst->GetHandledCodeString().GetTaggedValue()); in OptionToEcmaString() 115 result.Update(globalConst->GetHandledSymbolString().GetTaggedValue()); in OptionToEcmaString() 118 result.Update(globalConst->GetHandledNarrowSymbolString().GetTaggedValue()); in OptionToEcmaString() 121 result.Update(globalConst->GetHandledNameString().GetTaggedValue()); in OptionToEcmaString() 136 result.Update(globalConst->GetHandledStandardString().GetTaggedValue()); in OptionToEcmaString() 139 result.Update(globalCons in OptionToEcmaString() [all...] |
H A D | method.h | 39 return NumArgsBits::Update(callField, numargs); in SetNumArgsWithCallField() 44 return IsNativeBit::Update(callField, isNative); in SetNativeBit() 49 return IsAotCodeBit::Update(callField, isCompiled); in SetAotCodeBit() 54 return IsFastBuiltinBit::Update(callField, isFastBuiltin); in SetFastBuiltinBit() 99 return IsCallNapiBit::Update(extraLiteralInfo, isCallNapi); in SetCallNapi() 109 return IsFastCallBit::Update(callField, isFastCall); in SetIsFastCall() 260 return BuiltinIdBits::Update(literalInfo, id); in SetBuiltinId() 265 return FunctionKindBits::Update(extraLiteralInfo, kind); in SetFunctionKind() 275 return DeoptCountBits::Update(literalInfo, count); in SetDeoptThreshold() 285 return DeoptTypeBits::Update(extraLiteralInf in SetDeoptType() [all...] |
H A D | js_stable_array.cpp | 87 result.Update(ElementAccessor::Get(obj, index)); in Pop() 98 result.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, index).GetTaggedValue()); in Pop() 118 result.Update(ElementAccessor::Get(obj, index)); in Pop() 129 result.Update(JSArray::FastGetPropertyByValue(thread, thisObjVal, index).GetTaggedValue()); in Pop() 170 srcElementsHandle.Update(JSObject::GrowElementsCapacity(thread, thisObjHandle, newCapacity)); in UpdateArrayCapacity() 174 srcElementsHandle.Update(receiver->GetElements()); in UpdateArrayCapacity() 178 element.Update(ElementAccessor::Get(thisObjHandle, idx + actualDeleteCount)); in UpdateArrayCapacity() 232 fromKey.Update(JSTaggedValue(from)); in Splice() 238 toKey.Update(JSTaggedValue(k)); in Splice() 240 toKey.Update(JSTaggedValu in Splice() [all...] |
H A D | global_index.h | 41 index_ = GlobalConstBits::Update(index_, id + 1); in UpdateGlobalConstId() 57 index_ = GlobalEnvBits::Update(index_, id + 1); in UpdateGlobalEnvId() 73 index_ = BuiltinEntriesBits::Update(index_, id + 1); in UpdateBuiltinEntriesId()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | sort_helper.cpp | 69 previousValue.Update(runHiValue.GetTaggedValue()); in CountRunAndMakeAscending() 71 runHiValue.Update(array->Get(i)); in CountRunAndMakeAscending() 78 previousValue.Update(runHiValue.GetTaggedValue()); in CountRunAndMakeAscending() 94 elementLow.Update(array->Get(low)); 95 elementHigh.Update(array->Get(high)); 114 pivotVal.Update(array->Get(right)); 118 midVal.Update(array->Get(mid)); 128 tmpVal.Update(array->Get(p - 1)); 220 offsetElement.Update(array->Get(base + hint + ofs)); 238 offsetElement.Update(arra [all...] |
H A D | fast_json_stringifier.cpp | 41 handleValue_.Update(serializeValue); in Stringify() 218 handleKey_.Update(propertyArray->Get(i)); in SerializeJSONObject() 228 handleValue_.Update(serializeValue); in SerializeJSONObject() 230 handleValue_.Update(valueHandle); in SerializeJSONObject() 303 handleKey_.Update(JSTaggedValue(i)); in SerializeJSProxy() 312 handleValue_.Update(serializeValue); in SerializeJSProxy() 314 handleValue_.Update(valHandle); in SerializeJSProxy() 353 handleKey_.Update(JSTaggedValue(i)); in SerializeJSArray() 354 handleValue_.Update(tagVal); in SerializeJSArray() 362 handleValue_.Update(serializeValu in SerializeJSArray() [all...] |
H A D | json_stringifier.cpp | 77 propHandle.Update(prop); in Stringify() 121 handleValue_.Update(serializeValue); in Stringify() 206 handleValue_.Update(tagValue); in GetSerializeValue() 411 handleKey_.Update(propertyArray->Get(i)); in SerializeJSONObject() 420 handleValue_.Update(serializeValue); in SerializeJSONObject() 447 handleValue_.Update(tagVal); in SerializeJSONObject() 454 handleValue_.Update(serializeValue); in SerializeJSONObject() 497 handleKey_.Update(JSTaggedValue(i)); in SerializeJSProxy() 506 handleValue_.Update(serializeValue); in SerializeJSProxy() 557 handleKey_.Update(JSTaggedValu in SerializeJSArray() [all...] |
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
H A D | method_literal.h | 69 callField_ = IsNativeBit::Update(callField_, isNative); in SetNativeBit() 74 callField_ = IsAotCodeBit::Update(callField_, isCompiled); in SetAotCodeBit() 131 return IsNativeBit::Update(callField, isNative); in SetNativeBit() 136 return IsAotCodeBit::Update(callField, isCompiled); in SetAotCodeBit() 196 return IsFastCallBit::Update(callField, isFastCall); in SetIsFastCall() 201 callField_ = IsFastCallBit::Update(callField_, isFastCall); in SetIsFastCall() 234 literalInfo_ = HotnessCounterBits::Update(literalInfo_, counter); in SetHotnessCounter() 255 literalInfo_ = SlotSizeBits::Update(literalInfo_, INVALID_IC_SLOT + 1); in UpdateSlotSizeWith8Bit() 259 literalInfo_ = SlotSizeBits::Update(literalInfo_, static_cast<uint8_t>(end)); in UpdateSlotSizeWith8Bit() 265 extraLiteralInfo_ = FunctionKindBits::Update(extraLiteralInfo in SetFunctionKind() [all...] |
H A D | class_info_extractor.cpp | 143 firstValue.Update(literal->Get(index)); in ExtractAndReturnWhetherWithElements() 144 secondValue.Update(literal->Get(index + 1)); in ExtractAndReturnWhetherWithElements() 210 key.Update(keys->Get(index)); in CreatePrototypeHClass() 260 key.Update(keys->Get(index)); in CreateConstructorHClass() 352 key.Update(keys->Get(index)); in CreateSendableHClass() 413 propValue.Update(nonStaticProperties->Get(index)); in DefineClassFromExtractor() 416 propValue.Update(CreateJSFunctionFromTemplate(thread, literalFunc, prototype, lexenv)); in DefineClassFromExtractor() 437 propValue.Update(staticProperties->Get(index)); in DefineClassFromExtractor() 440 propValue.Update( in DefineClassFromExtractor() 519 propValue.Update(nonStaticPropertie in DefineClassWithIHClass() [all...] |
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | assert_scope.cpp | 44 currentAssertData = AssertGarbageCollectBit::Update(oldData_.value(), isAllow); in AssertScopeT() 47 currentAssertData = AssertHeapAllocBit::Update(oldData_.value(), isAllow); in AssertScopeT() 50 currentAssertData = AssertHandleAllocBit::Update(oldData_.value(), isAllow); in AssertScopeT() 53 currentAssertData = AssertDeRefHandleBit::Update(oldData_.value(), isAllow); in AssertScopeT() 56 currentAssertData = AssertLocalToShareWeakRefBit::Update(oldData_.value(), isAllow); in AssertScopeT()
|
H A D | slots.h | 36 void Update(TaggedObject *header) in Update() function in panda::ecmascript::ObjectSlot 38 Update(static_cast<JSTaggedType>(ToUintPtr(header))); in Update() 41 void Update(JSTaggedType value) in Update() function in panda::ecmascript::ObjectSlot
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
H A D | containers_treemap_test.cpp | 215 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 216 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 245 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 246 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 317 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 318 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 334 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 336 value.Update(factory->NewFromStdString(ivalue).GetTaggedValue()); in HWTEST_F_L0() 405 key.Update(factory->NewFromStdString(ikey).GetTaggedValue()); in HWTEST_F_L0() 406 value.Update(factor in HWTEST_F_L0() [all...] |
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/ |
H A D | pgo_profile_type.h | 99 id_ = BuiltinsIdBits::Update(id_, type); in SetBuiltinsId() 134 id_ = OldElementsKindBits::Update(id_, kind); in UpdateElementsKind() 145 id_ = NewElementsKindBits::Update(id_, kind); in UpdateTransitionElementsKind() 177 id_ = OnHeapModeBits::Update(id_, onHeapMode); in UpdateOnHeapMode() 384 type_ = AbcIdBits::Update(type_, abcId); in UpdateAbcId() 439 type_ = IdBits::Update(type_, id); in UpdateId() 444 type_ = KindBits::Update(type_, kind); in UpdateKind() 449 type_ = IsRootBits::Update(type_, root); in UpdateIsRootFlag() 454 type_ = EverOutOfBoundsBits::Update(type_, val); in UpdateEverOutOfBounds() 546 type_ = IdBits::Update(type in UpdateId() [all...] |
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_string_iterator.cpp | 72 result.Update(singleCharTable->GetStringFromSingleCharTable(first)); in NextInternal() 75 result.Update(factory->NewFromUtf16(resultString.data(), 1).GetTaggedValue()); in NextInternal() 86 result.Update(factory->NewFromUtf16NotCompress(resultString.data(), 1).GetTaggedValue()); in NextInternal() 89 result.Update( in NextInternal()
|