Home
last modified time | relevance | path

Searched refs:IsInt (Results 1 – 25 of 59) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/
Djs_tagged_number.h56 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()
Djs_primitive_ref.h49 bool IsInt() const in IsInt() function
51 return GetValue().IsInt(); in IsInt()
Delements.cpp45 bool Elements::IsInt(ElementsKind kind) in IsInt() function in panda::ecmascript::Elements
104 if (value.IsInt()) { in ToElementsKind()
Delements.h47 static bool IsInt(ElementsKind kind);
Dtagged_dictionary.cpp184 if (key.IsInt()) { in Hash()
203 if (key.IsInt()) { in IsMatch()
204 if (other.IsInt()) { in IsMatch()
211 if (other.IsInt()) { in IsMatch()
Dfree_object.h62 ASSERT(GetSize().IsInt()); in Available()
Djs_tagged_value-inl.h46 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()
Djs_tagged_value.h220 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()
Dtransitions_dictionary.h56 … int metaDataHash = metaData.IsInt() ? metaData.GetInt() : static_cast<int>(metaData.GetRawData()); in Hash()
Djs_object-inl.h231 if (value.IsInt()) { in ConvertValueWithRep()
240 if (value.IsInt()) { in ConvertValueWithRep()
Dproperty_attributes.h140 if (value.IsInt()) { in UpdateTrackType()
Dobject_operator.cpp39 if (key->IsInt()) { in HandleKey()
447 if (value->IsInt()) { in ConvertOrTransitionWithRep()
462 if (value->IsInt()) { in ConvertOrTransitionWithRep()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dfast_runtime_stub-inl.h50 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()
Dinterpreter-inl.h1063 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 …]
Dinterpreter_assembly.cpp362 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/
Dic_binary_op.h44 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()
Dic_runtime_stub-inl.h198 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()
Dic_compare_op.cpp231 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/
Dts_type_accessor.cpp26 ASSERT(attribute.IsInt()); in MarkPropertyInitialized()
81 ASSERT(attribute.IsInt()); in MarkInitialized()
96 ASSERT(attribute.IsInt()); in IsPropertyInitialized()
109 ASSERT(attribute.IsInt()); in GetInitializedProperties()
Dts_obj_layout_info.cpp30 ASSERT(attr.IsInt()); in AddProperty()
64 ASSERT(value.IsInt()); in TryGetTypeByIndexSign()
Dts_type.cpp212 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/
Dcontainers_lightweightmap.cpp182 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/
Dnumber_helper.h92 return number.IsInt() || (number.IsDouble() && std::isfinite(number.GetDouble())); in IsFinite()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnumber_speculative_lowering.cpp249 if (sampleType.IsInt()) { in VisitNumberCalculate()
277 if (sampleType.IsInt()) { in VisitNumberCompare()
327 if (sampleType.IsInt()) { in VisitNumberDiv()
354 if (sampleType.IsInt()) { in VisitNumberMod()
Dnumber_speculative_retype.cpp45 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()

123