/arkcompiler/ets_runtime/ecmascript/ |
D | js_tagged_number.h | 56 if (IsInt()) { in ToInt32() 94 if (IsInt() && number.IsInt()) { 108 if (IsInt() && number.IsInt()) { 125 if (IsInt()) { 137 if (IsInt()) { 167 if (tagged.IsInt() || tagged.IsDouble()) { in FromIntOrDouble()
|
D | js_primitive_ref.h | 49 bool IsInt() const in IsInt() function 51 return GetValue().IsInt(); in IsInt()
|
D | elements.cpp | 45 bool Elements::IsInt(ElementsKind kind) in IsInt() function in panda::ecmascript::Elements 104 if (value.IsInt()) { in ToElementsKind()
|
D | elements.h | 47 static bool IsInt(ElementsKind kind);
|
D | tagged_dictionary.cpp | 184 if (key.IsInt()) { in Hash() 203 if (key.IsInt()) { in IsMatch() 204 if (other.IsInt()) { in IsMatch() 211 if (other.IsInt()) { in IsMatch()
|
D | free_object.h | 62 ASSERT(GetSize().IsInt()); in Available()
|
D | js_tagged_value-inl.h | 46 if (IsInt()) { in ToBoolean() 89 if (tagged->IsInt() || tagged->IsDouble()) { in ToNumber() 329 if (x.IsInt() && y.IsInt()) { in SameValue() 414 if (x.IsInt() && y.IsInt()) { in StrictEqual() 456 return IsInt() || IsDouble(); in IsNumber() 1436 if (IsInt()) { in GetArrayLength() 1449 if (key.IsInt()) { in ToElementIndex()
|
D | js_tagged_value.h | 220 return !IsInt() && !IsObject(); in IsDouble() 223 ARK_INLINE bool IsInt() const in IsInt() function 261 ASSERT_PRINT(IsInt(), "can not convert JSTaggedValue to Int :" << std::hex << value_); in GetInt() 377 return IsInt() ? GetInt() : GetDouble(); in GetNumber()
|
D | transitions_dictionary.h | 56 … int metaDataHash = metaData.IsInt() ? metaData.GetInt() : static_cast<int>(metaData.GetRawData()); in Hash()
|
D | js_object-inl.h | 231 if (value.IsInt()) { in ConvertValueWithRep() 240 if (value.IsInt()) { in ConvertValueWithRep()
|
D | property_attributes.h | 140 if (value.IsInt()) { in UpdateTrackType()
|
D | object_operator.cpp | 39 if (key->IsInt()) { in HandleKey() 447 if (value->IsInt()) { in ConvertOrTransitionWithRep() 462 if (value->IsInt()) { in ConvertOrTransitionWithRep()
|
/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() 68 if (right.IsInt() && left.IsInt()) { in FastMod() 76 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); in FastMod() 77 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in FastMod() 98 if (left.IsInt() && right.IsInt()) { in FastEqual() 125 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); in FastStrictEqual() 126 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in FastStrictEqual()
|
D | interpreter-inl.h | 1063 if (GET_ACC().IsFalse() || (GET_ACC().IsInt() && GET_ACC().GetInt() == 0) || in RunInternal() 1075 if (GET_ACC().IsFalse() || (GET_ACC().IsInt() && GET_ACC().GetInt() == 0) || in RunInternal() 1087 if (GET_ACC().IsFalse() || (GET_ACC().IsInt() && GET_ACC().GetInt() == 0) || in RunInternal() 1099 if (GET_ACC().IsTrue() || (GET_ACC().IsInt() && GET_ACC().GetInt() != 0) || in RunInternal() 1111 if (GET_ACC().IsTrue() || (GET_ACC().IsInt() && GET_ACC().GetInt() != 0) || in RunInternal() 1123 if (GET_ACC().IsTrue() || (GET_ACC().IsInt() && GET_ACC().GetInt() != 0) || in RunInternal() 1646 if (left.IsInt() && right.IsInt()) { in RunInternal() 1656 double a0Double = left.IsInt() ? left.GetInt() : left.GetDouble(); in RunInternal() 1657 double a1Double = right.IsInt() ? right.GetInt() : right.GetDouble(); in RunInternal() 1677 if (left.IsInt() && right.IsInt()) { in RunInternal() [all …]
|
D | interpreter_assembly.cpp | 362 if (GET_ACC().IsFalse() || (GET_ACC().IsInt() && GET_ACC().GetInt() == 0) || in HandleJeqzImm8() 378 if (GET_ACC().IsFalse() || (GET_ACC().IsInt() && GET_ACC().GetInt() == 0) || in HandleJeqzImm16() 394 if (GET_ACC().IsFalse() || (GET_ACC().IsInt() && GET_ACC().GetInt() == 0) || in HandleJeqzImm32() 410 if (GET_ACC().IsTrue() || (GET_ACC().IsInt() && GET_ACC().GetInt() != 0) || in HandleJnezImm8() 426 if (GET_ACC().IsTrue() || (GET_ACC().IsInt() && GET_ACC().GetInt() != 0) || in HandleJnezImm16() 442 if (GET_ACC().IsTrue() || (GET_ACC().IsInt() && GET_ACC().GetInt() != 0) || in HandleJnezImm32() 680 if (value.IsInt()) { in HandleNegImm8() 705 if (value.IsInt()) { in HandleNotImm8() 728 if (value.IsInt()) { in HandleIncImm8() 755 if (value.IsInt()) { in HandleDecImm8() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | ic_binary_op.h | 44 double a0Double = left.IsInt() ? left.GetInt() : left.GetDouble(); in AddWithTSType() 45 double a1Double = right.IsInt() ? right.GetInt() : right.GetDouble(); in AddWithTSType() 114 double a0Double = left.IsInt() ? left.GetInt() : left.GetDouble(); in SubWithTSType() 115 double a1Double = right.IsInt() ? right.GetInt() : right.GetDouble(); in SubWithTSType() 182 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); in DivWithTSType() 183 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in DivWithTSType() 218 double dLeft = left.IsInt() ? left.GetInt() : left.GetDouble(); in ModWithTSType() 219 double dRight = right.IsInt() ? right.GetInt() : right.GetDouble(); in ModWithTSType() 264 left.IsInt() ? left.GetInt() : in GetBitOPDate() 267 right.IsInt() ? right.GetInt() : in GetBitOPDate()
|
D | ic_runtime_stub-inl.h | 198 if (handler.IsInt()) { in StoreICWithHandler() 401 if (LIKELY(handler.IsInt())) { in LoadICWithHandler() 447 if (handler.IsInt()) { in StoreElement() 493 if (LIKELY(key.IsInt())) { in TryToElementsIndex()
|
D | ic_compare_op.cpp | 231 leftDouble = left.IsInt() ? static_cast<double>(left.GetInt()) : left.GetDouble(); in Compare() 232 rightDouble = right.IsInt() ? static_cast<double>(right.GetInt()) : right.GetDouble(); in Compare()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_type_accessor.cpp | 26 ASSERT(attribute.IsInt()); in MarkPropertyInitialized() 81 ASSERT(attribute.IsInt()); in MarkInitialized() 96 ASSERT(attribute.IsInt()); in IsPropertyInitialized() 109 ASSERT(attribute.IsInt()); in GetInitializedProperties()
|
D | ts_obj_layout_info.cpp | 30 ASSERT(attr.IsInt()); in AddProperty() 64 ASSERT(value.IsInt()); in TryGetTypeByIndexSign()
|
D | ts_type.cpp | 212 if (valueType.IsInt()) { in GetIndexSignType() 263 if (valueType.IsInt()) { in GetIndexSignType() 274 ASSERT(parameterType.IsInt()); in GetParameterTypeGT() 331 ASSERT(extendsValue.IsInt()); in GetPropTypeGT() 361 if (valueType.IsInt()) { in GetIndexSignType()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_lightweightmap.cpp | 182 if (!index->IsInt()) { in IncreaseCapacityTo() 320 if (!index->IsInt()) { in GetKeyAt() 450 if (!index->IsInt()) { in RemoveAt() 505 if (!index->IsInt()) { in SetValueAt() 614 if (!index->IsInt()) { in GetValueAt()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | number_helper.h | 92 return number.IsInt() || (number.IsDouble() && std::isfinite(number.GetDouble())); in IsFinite()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | number_speculative_lowering.cpp | 249 if (sampleType.IsInt()) { in VisitNumberCalculate() 277 if (sampleType.IsInt()) { in VisitNumberCompare() 327 if (sampleType.IsInt()) { in VisitNumberDiv() 354 if (sampleType.IsInt()) { in VisitNumberMod()
|
D | number_speculative_retype.cpp | 45 if (pgoType.IsInt()) { in SetOutputType() 399 if (sampleType.IsInt()) { in VisitNumberShiftAndLogical() 635 if (sampleType.IsInt()) { in ConvertForBinaryOp() 667 if (sampleType.IsInt()) { in ConvertForCompareOp() 746 if(value.IsInt()) { in TryConvertConstant()
|