Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_bigint_test.cpp86 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0()
97 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0()
108 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0()
125 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0()
141 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0()
158 EXPECT_TRUE(result.IsBigInt()); in HWTEST_F_L0()
331 ASSERT_TRUE(bigint->IsBigInt()); in HWTEST_F_L0()
337 ASSERT_TRUE(bigint->IsBigInt()); in HWTEST_F_L0()
344 ASSERT_TRUE(bigint->IsBigInt()); in HWTEST_F_L0()
350 ASSERT_TRUE(bigint->IsBigInt()); in HWTEST_F_L0()
[all...]
/arkcompiler/ets_runtime/ecmascript/
H A Djs_primitive_ref.h44 bool IsBigInt() const in IsBigInt() function in panda::ecmascript::JSPrimitiveRef
46 return GetValue().IsBigInt(); in IsBigInt()
H A Djs_tagged_value.cpp66 if (IsBigInt()) { in ToBoolean()
118 if (tagged.IsBigInt()) { in ToNumber()
155 if (value->IsBigInt()) { in ToBigInt()
165 if (primValue->IsBigInt()) { in ToBigInt()
438 if (x->IsBigInt()) { in Equal()
465 if (y->IsBigInt()) { in EqualNumber()
496 if (y->IsBigInt()) { in EqualString()
513 if (y->IsBigInt() || y->IsString()) { in EqualSymbol()
527 if (y->IsBigInt()) { in EqualBigInt()
532 if (!yNumber->IsBigInt()) { in EqualBigInt()
[all...]
H A Djs_tagged_value-inl.h98 if (x.IsBigInt() && y.IsBigInt()) { in SameValue()
127 if (x.IsBigInt() && y.IsBigInt()) { in SameValueZero()
187 if (x.IsBigInt() && y.IsBigInt()) { in StrictEqual()
246 inline bool JSTaggedValue::IsBigInt() const in IsBigInt() function in panda::ecmascript::JSTaggedValue
248 return IsHeapObject() && GetTaggedObject()->GetClass()->IsBigInt(); in IsBigInt()
H A Djsnapi_sendable.cpp134 if (valueHandle->IsBigInt()) { in GetSharedFieldType()
H A Dtagged_node.h77 if (key.IsBigInt()) { in Hash()
H A Djs_locale.cpp717 ASSERT(x.IsNumber() || x.IsBigInt()); in GetNumberFieldType()
721 number = x.IsBigInt() ? number : x.GetNumber(); in GetNumberFieldType()
722 if (x.IsBigInt() || std::isfinite(number)) { in GetNumberFieldType()
740 if (x.IsBigInt()) { in GetNumberFieldType()
H A Djs_number_format.cpp795 if (x.IsBigInt()) { in FormatNumeric()
825 ASSERT(x.IsNumber() || x.IsBigInt()); in GroupToParts()
919 ASSERT(x.IsNumber() || x.IsBigInt()); in FormatNumericToParts()
925 if (x.IsBigInt()) { in FormatNumericToParts()
H A Djs_bigint.cpp625 } else if (!bigint->IsBigInt()) { in BigIntToInt64()
648 } else if (!bigint->IsBigInt()) { in BigIntToUint64()
1111 ASSERT(result.GetTaggedValue().IsBigInt()); in Exponentiate()
1490 ASSERT(quotient.GetTaggedValue().IsBigInt()); in Divide()
1517 ASSERT(remainder.GetTaggedValue().IsBigInt()); in Remainder()
H A Dlinked_hash_table.cpp278 if (key.IsBigInt()) { in Hash()
H A Djs_bigint.h46 CAST_CHECK(BigInt, IsBigInt);
H A Djs_stable_array.cpp978 ASSERT(searchElement.IsBigInt());
985 if (!curValue.IsBigInt()) {
1000 } else if (searchElement.IsBigInt()) {
/arkcompiler/ets_runtime/ecmascript/interpreter/
H A Dfast_runtime_stub-inl.h117 if (left.IsBigInt() && right.IsBigInt()) { in FastEqual()
149 if (left.IsBigInt()) { in FastStrictEqual()
150 if (right.IsBigInt()) { in FastStrictEqual()
155 if (right.IsBigInt()) { in FastStrictEqual()
255 if (obj.IsBigInt()) { in FastTypeOf()
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs-inl.h63 if (inputVal->IsBigInt()) { in RuntimeInc()
75 if (inputVal->IsBigInt()) { in RuntimeDec()
91 if (valBase->IsBigInt() || valExponent->IsBigInt()) { in RuntimeExp()
92 if (valBase->IsBigInt() && valExponent->IsBigInt()) { in RuntimeExp()
819 if (inputVal->IsBigInt()) { in RuntimeNeg()
845 if (inputVal->IsBigInt()) { in RuntimeNot()
1870 if (valLeft->IsBigInt() || valRight->IsBigInt()) { in RuntimeAdd2()
[all...]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
H A Dets_stubs.cpp113 if (UNLIKELY(ecls1->IsBigInt())) { in EtsValueTypedEquals()
114 return ecls2->IsBigInt() && EtsBigIntEquality(EtsBigInt::FromEtsObject(obj1), EtsBigInt::FromEtsObject(obj2)); in EtsValueTypedEquals()
149 if (cls->IsBigInt()) { in EtsGetTypeof()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
H A Dets_bigint.h32 ASSERT(etsObj->GetClass()->IsBigInt()); in FromEtsObject()
H A Dets_class.h455 [[nodiscard]] bool IsBigInt() const in IsBigInt() function in ark::ets::EtsClass
H A Dets_class.cpp414 ASSERT(IsBigInt()); in SetBigInt()
/arkcompiler/ets_runtime/ecmascript/base/
H A Dfast_json_stringifier.cpp38 if (handleValue_->IsECMAObject() || handleValue_->IsBigInt()) { in Stringify()
221 if (UNLIKELY(valueHandle->IsECMAObject() || valueHandle->IsBigInt())) { in SerializeJSONObject()
309 if (UNLIKELY(valHandle->IsECMAObject() || valHandle->IsBigInt())) { in SerializeJSProxy()
359 if (handleValue_->IsECMAObject() || handleValue_->IsBigInt()) { in SerializeJSArray()
395 } else if (primitive.IsBigInt()) { in SerializePrimitiveRef()
712 if (handleValue_->IsECMAObject() || handleValue_->IsBigInt()) { in AppendJsonString()
734 if (handleValue_->IsECMAObject() || handleValue_->IsBigInt()) { in FastAppendJsonString()
953 if (handleValue_->IsECMAObject() || handleValue_->IsBigInt()) { in AppendJsonString()
H A Djson_stringifier.cpp185 if (value->IsECMAObject() || value->IsBigInt()) { in GetSerializeValue()
604 } else if (primitive.IsBigInt()) { in SerializePrimitiveRef()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_bigint.cpp212 if (value->IsBigInt()) { in ThisBigIntValue()
219 if (primitive.IsBigInt()) { in ThisBigIntValue()
H A Dbuiltins_math.cpp611 if (baseVale->IsBigInt() || exponentValue->IsBigInt()) { in Pow()
612 if (baseVale->IsBigInt() && exponentValue->IsBigInt()) { in Pow()
H A Dbuiltins_number.cpp49 if (numericVal->IsBigInt()) { in NumberConstructor()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefobject_fuzzer/
H A Djsvaluerefobject_fuzzer.cpp54 [[maybe_unused]]bool res = intValue->IsBigInt(vm); in JSValueRefIsBigIntFuzzTest()
/arkcompiler/ets_runtime/ecmascript/napi/test/
H A Djsnapi_first_tests.cpp1536 EXPECT_TRUE(maxBigintUint64->IsBigInt(vm_)); in HWTEST_F_L0()
1544 EXPECT_TRUE(minBigintUint64->IsBigInt(vm_)); in HWTEST_F_L0()
1555 EXPECT_TRUE(maxBigintInt64->IsBigInt(vm_)); in HWTEST_F_L0()
1563 EXPECT_TRUE(minBigintInt64->IsBigInt(vm_)); in HWTEST_F_L0()
1575 * IsBigInt:Determine if it is bigint
1590 EXPECT_TRUE(bigWords->IsBigInt(vm_)); in HWTEST_F_L0()
1856 EXPECT_TRUE(maxBigintUint64->IsBigInt(vm_)); in HWTEST_F_L0()
1877 EXPECT_TRUE(maxBigintUint64->IsBigInt(vm_)); in HWTEST_F_L0()

Completed in 38 milliseconds

12