Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_bigint_test.cpp78 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/
Djs_primitive_ref.h44 bool IsBigInt() const in IsBigInt() function
46 return GetValue().IsBigInt(); in IsBigInt()
Djs_tagged_value-inl.h71 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()
Djs_tagged_value.cpp147 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 …]
Djs_bigint.h46 CAST_CHECK(BigInt, IsBigInt);
Djs_bigint.cpp1063 ASSERT(result.GetTaggedValue().IsBigInt()); in Exponentiate()
1439 ASSERT(quotient.GetTaggedValue().IsBigInt()); in Divide()
1466 ASSERT(remainder.GetTaggedValue().IsBigInt()); in Remainder()
Djs_tagged_value.h514 bool IsBigInt() const;
Djs_typed_array.cpp630 if (tagged.IsBigInt()) { in NonEcmaObjectToNumber()
Djs_hclass.h532 inline bool IsBigInt() const in IsBigInt() function
Djs_number_format.cpp725 if (x.IsBigInt()) { in FormatNumeric()
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dfast_runtime_stub-inl.h115 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()
Dinterpreter-inl.h1809 } 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()
Dinterpreter_assembly.cpp1131 } 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/
Druntime_stubs-inl.h51 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 …]
Druntime_stubs.cpp2091 if (tagged.IsBigInt()) { in DEF_RUNTIME_STUBS()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_bigint.cpp202 if (value->IsBigInt()) { in ThisBigIntValue()
209 if (primitive.IsBigInt()) { in ThisBigIntValue()
Dbuiltins_math.cpp588 if (baseVale->IsBigInt() || exponentValue->IsBigInt()) { in Pow()
589 if (baseVale->IsBigInt() && exponentValue->IsBigInt()) { in Pow()
Dbuiltins_number.cpp56 if (numericVal->IsBigInt()) { in NumberConstructor()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_tests.cpp1104 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/
Dtyped_array_helper.cpp593 …ue->IsNumber() && secondValue->IsNumber()) || (firstValue->IsBigInt() && secondValue->IsBigInt())); in SortCompare()
Djson_stringifier.cpp300 if (value->IsECMAObject() || value->IsBigInt()) { in GetSerializeValue()
671 } else if (primitive.IsBigInt()) { in SerializePrimitiveRef()
/arkcompiler/ets_runtime/ecmascript/napi/include/
Djsnapi.h412 bool IsBigInt();
/arkcompiler/toolchain/tooling/base/
Dpt_types.cpp117 tagged->IsBigInt()) { in FromTagged()
252 } else if (tagged->IsBigInt()) { in PrimitiveRemoteObject()
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_serializer_test.cpp771 EXPECT_TRUE(res3->IsBigInt() && res12->IsBigInt()) << "[NotBigInt] Deserialize BigInt fail"; in BigIntTest()
/arkcompiler/ets_runtime/ecmascript/napi/
Djsnapi.cpp3052 bool JSValueRef::IsBigInt() in IsBigInt() function in panda::JSValueRef
3054 return JSNApiHelper::ToJSTaggedValue(this).IsBigInt(); in IsBigInt()