/arkcompiler/ets_runtime/ecmascript/ic/tests/ |
D | ic_handler_test.cpp | 65 EXPECT_TRUE(HandlerBase::IsElement(result.GetInt())); in HWTEST_F_L0() 66 EXPECT_EQ(HandlerBase::GetKind(result.GetInt()), HandlerKind::ELEMENT); in HWTEST_F_L0() 89 EXPECT_TRUE(HandlerBase::IsNonExist(handlerInfo1->GetInt())); in HWTEST_F_L0() 90 EXPECT_EQ(HandlerBase::GetKind(handlerInfo1->GetInt()), HandlerKind::NON_EXIST); in HWTEST_F_L0() 97 EXPECT_EQ(HandlerBase::GetOffset(handlerInfo2->GetInt()), 1); in HWTEST_F_L0() 101 EXPECT_EQ(HandlerBase::GetKind(handlerInfo3->GetInt()), HandlerKind::FIELD); in HWTEST_F_L0() 102 EXPECT_EQ(HandlerBase::GetOffset(handlerInfo3->GetInt()), 5); in HWTEST_F_L0() 103 EXPECT_TRUE(HandlerBase::IsInlinedProps(handlerInfo3->GetInt())); in HWTEST_F_L0() 125 EXPECT_EQ(HandlerBase::GetKind(handlerInfo1->GetInt()), HandlerKind::ELEMENT); in HWTEST_F_L0() 126 EXPECT_EQ(HandlerBase::GetKind(handlerInfo2->GetInt()), HandlerKind::ELEMENT); in HWTEST_F_L0() [all …]
|
D | ic_runtime_stub_test.cpp | 83 EXPECT_EQ(resultValue1.GetInt(), 2); in HWTEST_F_L0() 90 EXPECT_EQ(resultValue2.GetInt(), 2); in HWTEST_F_L0() 115 EXPECT_EQ(handleBoxValue->GetValue().GetInt(), 2); in HWTEST_F_L0() 176 EXPECT_EQ(resultValue.GetInt(), 2); in HWTEST_F_L0() 231 EXPECT_EQ(resultValue1.GetInt(), handleStoreVal.GetInt()); in HWTEST_F_L0() 267 EXPECT_EQ(resultValue.GetInt(), handleStoreVal.GetInt()); in HWTEST_F_L0() 299 EXPECT_EQ(resultValue.GetInt(), handleStoreVal.GetInt()); in HWTEST_F_L0() 347 … JSHandle<JSTaggedValue>(handleReceiver), keyHandle).GetValue()->GetInt(), 2); in HWTEST_F_L0() 353 EXPECT_EQ(ICRuntimeStub::LoadGlobal(boxHandler.GetTaggedValue()).GetInt(), 2); in HWTEST_F_L0() 371 return JSTaggedValue(value.GetInt()); in TestGetter() [all …]
|
D | profile_type_info_test.cpp | 147 EXPECT_EQ(handleProfileTypeInfo->Get(slotId + 1).GetInt(), 2); in HWTEST_F_L0() 164 EXPECT_EQ(resultArr2->Get(0).GetInt(), 2); in HWTEST_F_L0() 167 EXPECT_EQ(resultArr2->Get(3).GetInt(), 2); in HWTEST_F_L0() 200 EXPECT_EQ(handleProfileTypeInfo->Get(1).GetInt(), 3); in HWTEST_F_L0() 287 EXPECT_EQ(resultArr1->Get(1).GetInt(), 222); in HWTEST_F_L0() 295 EXPECT_EQ(resultArr2->Get(1).GetInt(), 222); in HWTEST_F_L0() 296 EXPECT_EQ(resultArr2->Get(2).GetInt(), 111); in HWTEST_F_L0() 297 EXPECT_EQ(resultArr2->Get(3).GetInt(), 333); in HWTEST_F_L0() 321 EXPECT_EQ(handleProfileTypeInfo->Get(slotId).GetInt(), 232); in HWTEST_F_L0() 325 EXPECT_EQ(handleProfileTypeInfo->Get(slotId).GetInt(), 5); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_array_test.cpp | 64 EXPECT_EQ(JSArray::GetProperty(thread, obj, lengthKeyHandle).GetValue()->GetInt(), 0); in HWTEST_F_L0() 69 EXPECT_EQ(JSArray::GetProperty(thread, obj2, lengthKeyHandle).GetValue()->GetInt(), 10); in HWTEST_F_L0() 78 …Array::GetProperty(thread, JSHandle<JSTaggedValue>(obj), lengthKeyHandle).GetValue()->GetInt(), 0); in HWTEST_F_L0() 83 EXPECT_EQ(JSArray::GetProperty(thread, obj2, lengthKeyHandle).GetValue()->GetInt(), 10); in HWTEST_F_L0() 94 EXPECT_EQ(JSArray::GetProperty(thread, obj, lengthKeyHandle).GetValue()->GetInt(), 0); in HWTEST_F_L0() 102 EXPECT_EQ(JSArray::GetProperty(thread, obj, lengthKeyHandle).GetValue()->GetInt(), 2); in HWTEST_F_L0() 104 EXPECT_EQ(v.GetInt(), 100); in HWTEST_F_L0() 106 EXPECT_EQ(v.GetInt(), 100); in HWTEST_F_L0() 107 EXPECT_EQ(JSArray::GetProperty(thread, obj, lengthKeyHandle).GetValue()->GetInt(), 2); in HWTEST_F_L0() 114 EXPECT_EQ(JSArray::GetProperty(thread, obj, key100).GetValue()->GetInt(), 100); in HWTEST_F_L0() [all …]
|
D | js_arguments_test.cpp | 73 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsarg), key).GetValue()->GetInt(),… in HWTEST_F_L0() 74 EXPECT_EQ(JSArguments::GetProperty(thread, jsarg, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() 78 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsarg), key).GetValue()->GetInt(),… in HWTEST_F_L0() 79 EXPECT_EQ(JSArguments::GetProperty(thread, jsarg, key).GetValue()->GetInt(), 2); in HWTEST_F_L0() 95 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsarg), key).GetValue()->GetInt(),… in HWTEST_F_L0() 96 …guments::GetProperty(thread, JSHandle<JSArguments>(jsarg), key, receiver).GetValue()->GetInt(), 1); in HWTEST_F_L0() 100 EXPECT_EQ(JSArguments::GetProperty(thread, jsarg, key).GetValue()->GetInt(), 2); in HWTEST_F_L0() 101 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsarg), key).GetValue()->GetInt(),… in HWTEST_F_L0() 116 EXPECT_EQ(JSArguments::GetProperty(thread, jsarg, key).GetValue()->GetInt(), 1); in HWTEST_F_L0() 136 …EXPECT_EQ(JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(jsarg), key).GetValue()->GetInt(),… in HWTEST_F_L0() [all …]
|
D | js_map_test.cpp | 141 EXPECT_EQ(0, JSIterator::IteratorValue(thread, keyResult0)->GetInt()); in HWTEST_F_L0() 142 EXPECT_EQ(10, JSIterator::IteratorValue(thread, valueResult0)->GetInt()); in HWTEST_F_L0() 144 EXPECT_EQ(0, JSObject::GetProperty(thread, result0Handle, indexKey).GetValue()->GetInt()); in HWTEST_F_L0() 145 EXPECT_EQ(10, JSObject::GetProperty(thread, result0Handle, elementKey).GetValue()->GetInt()); in HWTEST_F_L0() 148 EXPECT_EQ(1, JSIterator::IteratorValue(thread, keyResult1)->GetInt()); in HWTEST_F_L0() 154 EXPECT_EQ(3, JSIterator::IteratorValue(thread, keyResult2)->GetInt()); in HWTEST_F_L0() 156 EXPECT_EQ(4, JSIterator::IteratorValue(thread, keyResult3)->GetInt()); in HWTEST_F_L0() 161 EXPECT_EQ(5, JSIterator::IteratorValue(thread, keyResult4)->GetInt()); in HWTEST_F_L0()
|
D | js_set_test.cpp | 132 EXPECT_EQ(0, JSIterator::IteratorValue(thread, keyResult0)->GetInt()); in HWTEST_F_L0() 133 EXPECT_EQ(0, JSIterator::IteratorValue(thread, valueResult0)->GetInt()); in HWTEST_F_L0() 136 EXPECT_EQ(1, JSIterator::IteratorValue(thread, keyResult1)->GetInt()); in HWTEST_F_L0() 144 EXPECT_EQ(3, JSIterator::IteratorValue(thread, keyResult2)->GetInt()); in HWTEST_F_L0() 146 EXPECT_EQ(4, JSIterator::IteratorValue(thread, keyResult3)->GetInt()); in HWTEST_F_L0() 150 EXPECT_EQ(5, JSIterator::IteratorValue(thread, keyResult4)->GetInt()); in HWTEST_F_L0()
|
D | js_api_linked_list_test.cpp | 135 EXPECT_EQ(list->Get(0).GetInt(), 1); in HWTEST_F_L0() 140 EXPECT_EQ(list->GetFirst().GetInt(), 2); in HWTEST_F_L0() 155 EXPECT_EQ(toor->GetLast().GetInt(), 9); in HWTEST_F_L0() 156 EXPECT_EQ(toor->GetFirst().GetInt(), 1); in HWTEST_F_L0() 161 EXPECT_EQ(toor->GetLast().GetInt(), 99); in HWTEST_F_L0() 166 EXPECT_EQ(toor->GetFirst().GetInt(), 100); in HWTEST_F_L0() 175 EXPECT_EQ(toor->Get(5).GetInt(), 101); in HWTEST_F_L0() 190 EXPECT_EQ(toor->GetLast().GetInt(), 9); in HWTEST_F_L0() 191 EXPECT_EQ(toor->GetFirst().GetInt(), 1); in HWTEST_F_L0() 196 EXPECT_EQ(toor->GetIndexOf(value.GetTaggedValue()).GetInt(), 9); in HWTEST_F_L0() [all …]
|
D | js_api_list_test.cpp | 146 EXPECT_EQ(toor->GetLast().GetInt(), 9); in HWTEST_F_L0() 147 EXPECT_EQ(toor->GetFirst().GetInt(), 1); in HWTEST_F_L0() 152 EXPECT_EQ(toor->GetLast().GetInt(), 99); in HWTEST_F_L0() 157 EXPECT_EQ(toor->GetFirst().GetInt(), 100); in HWTEST_F_L0() 166 EXPECT_EQ(toor->Get(5).GetInt(), 101); in HWTEST_F_L0() 181 EXPECT_EQ(toor->GetLast().GetInt(), 9); in HWTEST_F_L0() 182 EXPECT_EQ(toor->GetFirst().GetInt(), 1); in HWTEST_F_L0() 187 EXPECT_EQ(toor->GetIndexOf(value.GetTaggedValue()).GetInt(), 9); in HWTEST_F_L0() 188 EXPECT_EQ(toor->GetLastIndexOf(value.GetTaggedValue()).GetInt(), 9); in HWTEST_F_L0() 193 EXPECT_EQ(toor->GetIndexOf(value.GetTaggedValue()).GetInt(), 0); in HWTEST_F_L0() [all …]
|
D | js_iterator_test.cpp | 85 EXPECT_EQ(resultValue->GetInt(), 1); in HWTEST_F_L0() 116 EXPECT_EQ(resultValue->GetInt(), 1); in HWTEST_F_L0() 128 EXPECT_EQ(JSIterator::IteratorValue(thread, result1)->GetInt(), 1); in HWTEST_F_L0() 130 EXPECT_EQ(JSIterator::IteratorValue(thread, result2)->GetInt(), 2); in HWTEST_F_L0()
|
D | js_plural_rules_test.cpp | 132 …EXPECT_EQ(initPluralRules->GetMinimumIntegerDigits().GetInt(), 1); // 1 : 1 default minimum integer in HWTEST_F_L0() 133 …EXPECT_EQ(initPluralRules->GetMinimumFractionDigits().GetInt(), 0); // 0 : 0 default minimum fract… in HWTEST_F_L0() 134 …EXPECT_EQ(initPluralRules->GetMaximumFractionDigits().GetInt(), 3); // 3 : 3 default maximum fract… in HWTEST_F_L0() 135 …EXPECT_EQ(initPluralRules->GetMinimumSignificantDigits().GetInt(), 0); // 0 : 0 default minimum si… in HWTEST_F_L0() 136 …EXPECT_EQ(initPluralRules->GetMaximumSignificantDigits().GetInt(), 0); // 0 : 0 default maximum si… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | tagged_list.cpp | 101 dataIndex = GetElement(dataIndex + NEXT_PTR_OFFSET).GetInt(); in Clear() 147 int nextDataIndex = GetElement(dataIndex + NEXT_PTR_OFFSET).GetInt(); in FindIndexByElement() 152 nextDataIndex = GetElement(nextDataIndex + NEXT_PTR_OFFSET).GetInt(); in FindIndexByElement() 165 int nextIndex = GetElement(dataIndex + NEXT_PTR_OFFSET).GetInt(); in FindLastIndexByElement() 174 nextIndex = GetElement(nextIndex + NEXT_PTR_OFFSET).GetInt(); in FindLastIndexByElement() 184 int nextIndex = GetElement(dataIndex + NEXT_PTR_OFFSET).GetInt(); in FindDataIndexByNodeIndex() 191 nextIndex = GetElement(nextIndex + NEXT_PTR_OFFSET).GetInt(); in FindDataIndexByNodeIndex() 203 nextIndex = GetElement(nextIndex + NEXT_PTR_OFFSET).GetInt(); in MapNodeIndexToDataIndex() 212 int tailTableIndex = GetElement(TAIL_TABLE_INDEX).GetInt(); in RemoveNode() 213 if (tailTableIndex != GetElement(HEAD_TABLE_INDEX).GetInt()) { in RemoveNode() [all …]
|
D | js_tagged_number.h | 57 return GetInt(); in ToInt32() 95 int64_t a0 = GetInt(); 96 int64_t a1 = number.GetInt(); 109 int64_t intA = GetInt(); 110 int64_t intB = number.GetInt(); 126 int32_t value = GetInt(); 138 int32_t value = GetInt();
|
D | tagged_tree.h | 64 return Get(NUMBER_OF_ELEMENTS_INDEX).GetInt(); in NumberOfElements() 69 return Get(NUMBER_OF_HOLE_ENTRIES_INDEX).GetInt(); in NumberOfDeletedElements() 74 return Get(CAPACITY_INDEX).GetInt(); in Capacity() 99 return color.GetInt() == TreeColor::RED ? TreeColor::RED : TreeColor::BLACK; in GetColor() 129 return Get(ROOT_INDEX).GetInt(); in GetRootEntries() 154 compareResult = callResult.GetInt(); in EntryCompare() 195 entry = child.GetInt(); in GetMinimum() 205 entry = child.GetInt(); in GetMaximum() 215 return parent.GetInt(); in GetParent() 243 return child.IsHole() ? -1 : child.GetInt(); in GetLeftChildIndex() [all …]
|
D | js_number_format.h | 148 int minimumIntegerDigits = formatter->GetMinimumIntegerDigits().GetInt(); in SetICUFormatterDigitOptions() 153 int minimumSignificantDigits = formatter->GetMinimumSignificantDigits().GetInt(); in SetICUFormatterDigitOptions() 154 int maximumSignificantDigits = formatter->GetMaximumSignificantDigits().GetInt(); in SetICUFormatterDigitOptions() 155 int minimumFractionDigits = formatter->GetMinimumFractionDigits().GetInt(); in SetICUFormatterDigitOptions() 156 int maximumFractionDigits = formatter->GetMaximumFractionDigits().GetInt(); in SetICUFormatterDigitOptions()
|
D | tagged_dictionary.cpp | 146 return PropertyAttributes(Get(index).GetInt()); in GetAttributes() 185 int keyValue = key.GetInt(); in Hash() 205 return key.GetInt() == other.GetInt(); in IsMatch() 213 return keyValue == other.GetInt(); in IsMatch() 236 sortArr.push_back(JSTaggedValue(static_cast<uint32_t>(key.GetInt()))); in GetAllKeys() 267 sortArr.push_back(JSTaggedValue(static_cast<uint32_t>(key.GetInt()))); in GetAllKeysByFilter() 292 sortArr.push_back(JSTaggedValue(static_cast<uint32_t>(key.GetInt()))); in GetAllEnumKeys() 315 return PropertyAttributes(Get(index).GetInt()); in GetAttributes()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | ic_binary_op.h | 40 BinaryType addType = static_cast<BinaryType>(argType.GetInt()); in AddWithTSType() 44 double a0Double = left.IsInt() ? left.GetInt() : left.GetDouble(); in AddWithTSType() 45 double a1Double = right.IsInt() ? right.GetInt() : right.GetDouble(); in AddWithTSType() 110 BinaryType subType = static_cast<BinaryType>(argType.GetInt()); in SubWithTSType() 114 double a0Double = left.IsInt() ? left.GetInt() : left.GetDouble(); in SubWithTSType() 115 double a1Double = right.IsInt() ? right.GetInt() : right.GetDouble(); in SubWithTSType() 143 BinaryType mulType = static_cast<BinaryType>(argType.GetInt()); in MulWithTSType() 178 BinaryType divType = static_cast<BinaryType>(argType.GetInt()); in DivWithTSType() 182 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); in DivWithTSType() 183 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in DivWithTSType() [all …]
|
/arkcompiler/ets_runtime/ecmascript/base/tests/ |
D | builtins_base_test.cpp | 73 EXPECT_EQ(resultArray->Get(0).GetInt(), 1); in HWTEST_F_L0() 74 EXPECT_EQ(resultArray->Get(1).GetInt(), 2); in HWTEST_F_L0() 75 EXPECT_EQ(resultArray->Get(2).GetInt(), 3); in HWTEST_F_L0() 102 EXPECT_EQ(BuiltinsBase::GetCallArg(ecmaRuntimeCallInfo1, 0)->GetInt(), 0); in HWTEST_F_L0() 103 EXPECT_EQ(BuiltinsBase::GetCallArg(ecmaRuntimeCallInfo1, 1)->GetInt(), 1); in HWTEST_F_L0() 104 EXPECT_EQ(BuiltinsBase::GetCallArg(ecmaRuntimeCallInfo1, 2)->GetInt(), 3); in HWTEST_F_L0() 148 EXPECT_EQ(BuiltinsBase::GetTaggedInt(1).GetInt(), 1); in HWTEST_F_L0() 149 EXPECT_EQ(BuiltinsBase::GetTaggedInt(9).GetInt(), 9); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_typedarray_test.cpp | 107 [[maybe_unused]] int aaa = GetCallArg(argv, 0)->GetInt(); in TestEveryFunc() 109 if (GetCallArg(argv, 0)->GetInt() > 10) { in TestEveryFunc() 122 if (GetCallArg(argv, 0)->GetInt() > 10) { in TestFilterFunc() 131 int accumulator = GetCallArg(argv, 0)->GetInt(); in TestMapFunc() 141 if (GetCallArg(argv, 0)->GetInt() > 10) { in TestFindFunc() 153 if (GetCallArg(argv, 0)->GetInt() > 10) { in TestFindIndexFunc() 165 if (GetCallArg(argv, 0)->GetInt() < GetCallArg(argv, 1)->GetInt()) { in TestToSortedFunc() 177 if (GetCallArg(argv, 0)->GetInt() > 20) { in TestFindLastFunc() 189 if (GetCallArg(argv, 0)->GetInt() > 20) { in TestFindLastIndexFunc() 198 int accumulator = GetCallArg(argv, 0)->GetInt(); in TestReduceFunc() [all …]
|
D | builtins_array_test.cpp | 105 if (GetCallArg(argv, 0)->GetInt() > 10) { // 10 : test case in TestEveryFunc() 114 int accumulator = GetCallArg(argv, 0)->GetInt(); in TestMapFunc() 121 int accumulator = GetCallArg(argv, 0)->GetInt(); in TestFlatMapFunc() 131 EXPECT_EQ(property.GetValue()->GetInt(), 0); in TestFlatMapFunc() 145 if (GetCallArg(argv, 0)->GetInt() > 10) { in TestFindFunc() 157 if (GetCallArg(argv, 0)->GetInt() > 10) { in TestFindIndexFunc() 169 if (GetCallArg(argv, 0)->GetInt() > 20) { in TestFindLastFunc() 181 if (GetCallArg(argv, 0)->GetInt() > 20) { in TestFindLastIndexFunc() 190 int accumulator = GetCallArg(argv, 0)->GetInt(); in TestReduceFunc() 191 accumulator = accumulator + GetCallArg(argv, 1)->GetInt(); in TestReduceFunc() [all …]
|
/arkcompiler/toolchain/tooling/test/ |
D | debugger_events_test.cpp | 83 ASSERT_EQ(locationJson->GetInt("lineNumber", &lineNumber), Result::SUCCESS); in HWTEST_F_L0() 173 ASSERT_EQ(params->GetInt("startLine", &tmpInt), Result::SUCCESS); in HWTEST_F_L0() 176 ASSERT_EQ(params->GetInt("startColumn", &tmpInt), Result::SUCCESS); in HWTEST_F_L0() 179 ASSERT_EQ(params->GetInt("endLine", &tmpInt), Result::SUCCESS); in HWTEST_F_L0() 182 ASSERT_EQ(params->GetInt("endColumn", &tmpInt), Result::SUCCESS); in HWTEST_F_L0() 185 ASSERT_EQ(params->GetInt("executionContextId", &tmpInt), Result::SUCCESS); in HWTEST_F_L0() 201 ASSERT_EQ(params->GetInt("length", &tmpInt), Result::SUCCESS); in HWTEST_F_L0() 204 ASSERT_EQ(params->GetInt("codeOffset", &tmpInt), Result::SUCCESS); in HWTEST_F_L0() 250 ASSERT_EQ(params->GetInt("startLine", &tmpInt), Result::SUCCESS); in HWTEST_F_L0() 253 ASSERT_EQ(params->GetInt("startColumn", &tmpInt), Result::SUCCESS); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs.cpp | 93 auto attr = static_cast<PropertyAttributes>(argAttr.GetInt()); in DEF_RUNTIME_STUBS() 94 auto result = JSObject::AddElementInternal(thread, receiver, argIndex.GetInt(), value, attr); in DEF_RUNTIME_STUBS() 102 auto size = static_cast<size_t>(allocateSize.GetInt()); in DEF_RUNTIME_STUBS() 151 int key = argKey.GetInt(); in DEF_RUNTIME_STUBS() 153 uint32_t result = panda::GetHash32(pkey, len.GetInt()); in DEF_RUNTIME_STUBS() 223 return factory->NewTaggedArray(length.GetInt()).GetTaggedValue().GetRawData(); in DEF_RUNTIME_STUBS() 234 …return factory->CopyArray(array, length.GetInt(), capacity.GetInt()).GetTaggedValue().GetRawData(); in DEF_RUNTIME_STUBS() 247 PropertyAttributes propAttr(attr.GetInt()); in DEF_RUNTIME_STUBS() 268 int capacity = taggedCapacity.GetInt(); in DEF_RUNTIME_STUBS() 269 int index = taggedIndex.GetInt(); in DEF_RUNTIME_STUBS() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_type_accessor.cpp | 73 if (!parameterTypes->Get(i).GetInt()) { in UpdateForEachCBPara() 82 TSFieldAttributes fieldAttr(static_cast<uint32_t>(attribute.GetInt())); in MarkInitialized() 97 TSFieldAttributes fieldAttr(static_cast<uint32_t>(attribute.GetInt())); in IsPropertyInitialized() 110 TSFieldAttributes fieldAttr(static_cast<uint32_t>(attribute.GetInt())); in GetInitializedProperties() 158 return GlobalTSTypeRef(layout->GetTypeId(index).GetInt()); in GetPrototypePropGT()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | fast_runtime_stub-inl.h | 50 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); in FastDiv() 51 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in FastDiv() 69 int iRight = right.GetInt(); in FastMod() 70 int iLeft = left.GetInt(); in FastMod() 76 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); in FastMod() 77 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in FastMod() 125 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); in FastStrictEqual() 126 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in FastStrictEqual()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_regexp.h | 160 return Get(CACHE_HIT_COUNT_INDEX).GetInt(); in GetHitCount() 170 return Get(CACHE_COUNT_INDEX).GetInt(); in GetCacheCount() 196 return Get(LARGE_STRING_COUNT_INDEX).GetInt(); in GetLargeStrCount() 201 return Get(CONFLICT_COUNT_INDEX).GetInt(); in GetConflictCount() 206 return Get(STRING_LENGTH_THRESHOLD_INDEX).GetInt(); in GetStrLenThreshold() 216 return Get(CACHE_LENGTH_INDEX).GetInt(); in GetCacheLength()
|