/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_bigint_test.cpp | 78 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0() 96 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0() 116 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0() 140 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0() 164 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0() 188 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0() 457 ASSERT_TRUE(bigint->IsBigInt()); in HWTEST_F_L0() 463 ASSERT_TRUE(bigint->IsBigInt()); in HWTEST_F_L0() 470 ASSERT_TRUE(bigint->IsBigInt()); in HWTEST_F_L0() 476 ASSERT_TRUE(bigint->IsBigInt()); in HWTEST_F_L0() [all …]
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_primitive_ref.h | 44 bool IsBigInt() const in IsBigInt() function 46 return GetValue().IsBigInt(); in IsBigInt()
|
D | js_tagged_value-inl.h | 71 if (IsBigInt()) { in ToBoolean() 121 if (tagged->IsBigInt()) { in ToNumber() 153 if (value->IsBigInt()) { in ToBigInt() 163 if (primValue->IsBigInt()) { in ToBigInt() 339 if (x.IsBigInt() && y.IsBigInt()) { in SameValue() 368 if (x.IsBigInt() && y.IsBigInt()) { in SameValueZero() 434 if (x.IsBigInt() && y.IsBigInt()) { in StrictEqual() 479 inline bool JSTaggedValue::IsBigInt() const in IsBigInt() function 481 return IsHeapObject() && GetTaggedObject()->GetClass()->IsBigInt(); in IsBigInt()
|
D | js_tagged_value.cpp | 147 if (y->IsBigInt()) { in Equal() 176 if (y->IsBigInt()) { in Equal() 197 if (y->IsBigInt() || y->IsString()) { in Equal() 208 if (x->IsBigInt()) { in Equal() 209 if (y->IsBigInt()) { in Equal() 214 if (!yNumber->IsBigInt()) { in Equal() 245 if (y->IsNumber() || y->IsStringOrSymbol() || y->IsBoolean() || y->IsBigInt()) { in Equal() 296 if (primX->IsBigInt()) { in Compare() 302 if (!bigY->IsBigInt()) { in Compare() 312 if (primY->IsBigInt()) { in Compare() [all …]
|
D | js_bigint.h | 46 CAST_CHECK(BigInt, IsBigInt);
|
D | js_bigint.cpp | 1063 ASSERT(result.GetTaggedValue().IsBigInt()); in Exponentiate() 1439 ASSERT(quotient.GetTaggedValue().IsBigInt()); in Divide() 1466 ASSERT(remainder.GetTaggedValue().IsBigInt()); in Remainder()
|
D | js_tagged_value.h | 514 bool IsBigInt() const;
|
D | js_typed_array.cpp | 630 if (tagged.IsBigInt()) { in NonEcmaObjectToNumber()
|
D | js_hclass.h | 532 inline bool IsBigInt() const in IsBigInt() function
|
D | js_number_format.cpp | 725 if (x.IsBigInt()) { in FormatNumeric()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | fast_runtime_stub-inl.h | 115 if (left.IsBigInt() && right.IsBigInt()) { in FastEqual() 147 if (left.IsBigInt()) { in FastStrictEqual() 148 if (right.IsBigInt()) { in FastStrictEqual() 153 if (right.IsBigInt()) { in FastStrictEqual() 250 if (obj.IsBigInt()) { in FastTypeOf()
|
D | interpreter-inl.h | 1809 } else if (left.IsBigInt() && right.IsBigInt()) { in RunInternal() 1833 } else if (left.IsBigInt() && right.IsBigInt()) { in RunInternal() 1858 } else if (left.IsBigInt() && right.IsBigInt()) { in RunInternal() 1883 } else if (left.IsBigInt() && right.IsBigInt()) { in RunInternal() 4568 if (value.IsNumber() || value.IsBigInt()) { in RunInternal() 4585 if (value.IsNumber() || value.IsBigInt()) { in RunInternal()
|
D | interpreter_assembly.cpp | 1131 } else if (left.IsBigInt() && right.IsBigInt()) { in HandleLessImm8V8() 1163 } else if (left.IsBigInt() && right.IsBigInt()) { in HandleLesseqImm8V8() 1196 } else if (left.IsBigInt() && right.IsBigInt()) { in HandleGreaterImm8V8() 1229 } else if (left.IsBigInt() && right.IsBigInt()) { in HandleGreatereqImm8V8() 2847 if (value.IsNumber() || value.IsBigInt()) { in HandleTonumericImm8() 4691 if (value.IsNumber() || value.IsBigInt()) { in HandleDeprecatedTonumericPrefV8()
|
/arkcompiler/ets_runtime/ecmascript/stubs/ |
D | runtime_stubs-inl.h | 51 if (inputVal->IsBigInt()) { in RuntimeInc() 63 if (inputVal->IsBigInt()) { in RuntimeDec() 79 if (valBase->IsBigInt() || valExponent->IsBigInt()) { in RuntimeExp() 80 if (valBase->IsBigInt() && valExponent->IsBigInt()) { in RuntimeExp() 733 if (inputVal->IsBigInt()) { in RuntimeNeg() 759 if (inputVal->IsBigInt()) { in RuntimeNot() 1509 if (valLeft->IsBigInt() || valRight->IsBigInt()) { in RuntimeAdd2() 1510 if (valLeft->IsBigInt() && valRight->IsBigInt()) { in RuntimeAdd2() 1530 if (leftValue->IsBigInt() || rightValue->IsBigInt()) { in RuntimeShl2() 1531 if (leftValue->IsBigInt() && rightValue->IsBigInt()) { in RuntimeShl2() [all …]
|
D | runtime_stubs.cpp | 2091 if (tagged.IsBigInt()) { in DEF_RUNTIME_STUBS()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_bigint.cpp | 202 if (value->IsBigInt()) { in ThisBigIntValue() 209 if (primitive.IsBigInt()) { in ThisBigIntValue()
|
D | builtins_math.cpp | 588 if (baseVale->IsBigInt() || exponentValue->IsBigInt()) { in Pow() 589 if (baseVale->IsBigInt() && exponentValue->IsBigInt()) { in Pow()
|
D | builtins_number.cpp | 56 if (numericVal->IsBigInt()) { in NumberConstructor()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
D | jsnapi_tests.cpp | 1104 EXPECT_TRUE(maxBigintUint64->IsBigInt()); in HWTEST_F_L0() 1112 EXPECT_TRUE(minBigintUint64->IsBigInt()); in HWTEST_F_L0() 1123 EXPECT_TRUE(maxBigintInt64->IsBigInt()); in HWTEST_F_L0() 1131 EXPECT_TRUE(minBigintInt64->IsBigInt()); in HWTEST_F_L0() 1150 EXPECT_TRUE(bigWords->IsBigInt()); in HWTEST_F_L0() 1353 EXPECT_TRUE(maxBigintUint64->IsBigInt()); in HWTEST_F_L0() 1366 EXPECT_TRUE(maxBigintUint64->IsBigInt()); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | typed_array_helper.cpp | 593 …ue->IsNumber() && secondValue->IsNumber()) || (firstValue->IsBigInt() && secondValue->IsBigInt())); in SortCompare()
|
D | json_stringifier.cpp | 300 if (value->IsECMAObject() || value->IsBigInt()) { in GetSerializeValue() 671 } else if (primitive.IsBigInt()) { in SerializePrimitiveRef()
|
/arkcompiler/ets_runtime/ecmascript/napi/include/ |
D | jsnapi.h | 412 bool IsBigInt();
|
/arkcompiler/toolchain/tooling/base/ |
D | pt_types.cpp | 117 tagged->IsBigInt()) { in FromTagged() 252 } else if (tagged->IsBigInt()) { in PrimitiveRemoteObject()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
D | js_serializer_test.cpp | 771 EXPECT_TRUE(res3->IsBigInt() && res12->IsBigInt()) << "[NotBigInt] Deserialize BigInt fail"; in BigIntTest()
|
/arkcompiler/ets_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 3052 bool JSValueRef::IsBigInt() in IsBigInt() function in panda::JSValueRef 3054 return JSNApiHelper::ToJSTaggedValue(this).IsBigInt(); in IsBigInt()
|