Home
last modified time | relevance | path

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

12

/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.h69 if (IsBigInt()) { in ToBoolean()
121 if (tagged.IsBigInt()) { in ToNumber()
158 if (value->IsBigInt()) { in ToBigInt()
168 if (primValue->IsBigInt()) { in ToBigInt()
349 if (x.IsBigInt() && y.IsBigInt()) { in SameValue()
378 if (x.IsBigInt() && y.IsBigInt()) { in SameValueZero()
438 if (x.IsBigInt() && y.IsBigInt()) { in StrictEqual()
488 inline bool JSTaggedValue::IsBigInt() const in IsBigInt() function
490 return IsHeapObject() && GetTaggedObject()->GetClass()->IsBigInt(); in IsBigInt()
Djs_tagged_value.cpp149 if (y->IsBigInt()) { in Equal()
178 if (y->IsBigInt()) { in Equal()
199 if (y->IsBigInt() || y->IsString()) { in Equal()
210 if (x->IsBigInt()) { in Equal()
211 if (y->IsBigInt()) { in Equal()
216 if (!yNumber->IsBigInt()) { in Equal()
247 if (y->IsNumber() || y->IsStringOrSymbol() || y->IsBoolean() || y->IsBigInt()) { in Equal()
383 if (primX->IsBigInt()) { in Compare()
389 if (!bigY->IsBigInt()) { in Compare()
399 if (primY->IsBigInt()) { in Compare()
[all …]
Dtagged_node.h77 if (key.IsBigInt()) { in Hash()
Dlinked_hash_table.cpp252 if (key.IsBigInt()) { in Hash()
Djs_bigint.h46 CAST_CHECK(BigInt, IsBigInt);
Djs_stable_array.cpp674 ASSERT(searchElement.IsBigInt()); in IndexOfBigInt()
681 if (!curValue.IsBigInt()) { in IndexOfBigInt()
696 } else if (searchElement.IsBigInt()) { in IndexOfDispatch()
Djs_bigint.cpp1070 ASSERT(result.GetTaggedValue().IsBigInt()); in Exponentiate()
1446 ASSERT(quotient.GetTaggedValue().IsBigInt()); in Divide()
1473 ASSERT(remainder.GetTaggedValue().IsBigInt()); in Remainder()
Djs_tagged_value.h458 bool IsBigInt() const;
Djs_typed_array.cpp640 if (tagged.IsBigInt()) { in NonEcmaObjectToNumber()
/arkcompiler/ets_runtime/ecmascript/interpreter/
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()
252 if (obj.IsBigInt()) { in FastTypeOf()
Dinterpreter-inl.h1854 } else if (left.IsBigInt() && right.IsBigInt()) { in RunInternal()
1878 } else if (left.IsBigInt() && right.IsBigInt()) { in RunInternal()
1903 } else if (left.IsBigInt() && right.IsBigInt()) { in RunInternal()
1928 } else if (left.IsBigInt() && right.IsBigInt()) { in RunInternal()
4691 if (value.IsNumber() || value.IsBigInt()) { in RunInternal()
4708 if (value.IsNumber() || value.IsBigInt()) { in RunInternal()
Dinterpreter_assembly.cpp1164 } else if (left.IsBigInt() && right.IsBigInt()) { in HandleLessImm8V8()
1196 } else if (left.IsBigInt() && right.IsBigInt()) { in HandleLesseqImm8V8()
1229 } else if (left.IsBigInt() && right.IsBigInt()) { in HandleGreaterImm8V8()
1262 } else if (left.IsBigInt() && right.IsBigInt()) { in HandleGreatereqImm8V8()
2884 if (value.IsNumber() || value.IsBigInt()) { in HandleTonumericImm8()
4722 if (value.IsNumber() || value.IsBigInt()) { in HandleDeprecatedTonumericPrefV8()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs-inl.h55 if (inputVal->IsBigInt()) { in RuntimeInc()
67 if (inputVal->IsBigInt()) { in RuntimeDec()
83 if (valBase->IsBigInt() || valExponent->IsBigInt()) { in RuntimeExp()
84 if (valBase->IsBigInt() && valExponent->IsBigInt()) { in RuntimeExp()
755 if (inputVal->IsBigInt()) { in RuntimeNeg()
781 if (inputVal->IsBigInt()) { in RuntimeNot()
1690 if (valLeft->IsBigInt() || valRight->IsBigInt()) { in RuntimeAdd2()
1691 if (valLeft->IsBigInt() && valRight->IsBigInt()) { in RuntimeAdd2()
1711 if (leftValue->IsBigInt() || rightValue->IsBigInt()) { in RuntimeShl2()
1712 if (leftValue->IsBigInt() && rightValue->IsBigInt()) { in RuntimeShl2()
[all …]
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_bigint.cpp202 if (value->IsBigInt()) { in ThisBigIntValue()
209 if (primitive.IsBigInt()) { in ThisBigIntValue()
Dbuiltins_math.cpp608 if (baseVale->IsBigInt() || exponentValue->IsBigInt()) { in Pow()
609 if (baseVale->IsBigInt() && exponentValue->IsBigInt()) { in Pow()
Dbuiltins_number.cpp58 if (numericVal->IsBigInt()) { in NumberConstructor()
/arkcompiler/ets_runtime/ecmascript/base/
Dfast_json_stringifier.cpp50 if (handleValue_->IsECMAObject() || handleValue_->IsBigInt()) { in Stringify()
234 if (UNLIKELY(valueHandle->IsECMAObject() || valueHandle->IsBigInt())) { in SerializeJSONObject()
322 if (UNLIKELY(valHandle->IsECMAObject() || valHandle->IsBigInt())) { in SerializeJSProxy()
366 if (handleValue_->IsECMAObject() || handleValue_->IsBigInt()) { in SerializeJSArray()
403 } else if (primitive.IsBigInt()) { in SerializePrimitiveRef()
687 if (handleValue_->IsECMAObject() || handleValue_->IsBigInt()) { in AppendJsonString()
709 if (handleValue_->IsECMAObject() || handleValue_->IsBigInt()) { in FastAppendJsonString()
910 if (handleValue_->IsECMAObject() || handleValue_->IsBigInt()) { in AppendJsonString()
Dtyped_array_helper.cpp622 …ue->IsNumber() && secondValue->IsNumber()) || (firstValue->IsBigInt() && secondValue->IsBigInt())); in SortCompare()
Djson_stringifier.cpp197 if (value->IsECMAObject() || value->IsBigInt()) { in GetSerializeValue()
585 } else if (primitive.IsBigInt()) { in SerializePrimitiveRef()
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefobject_fuzzer/
Djsvaluerefobject_fuzzer.cpp52 [[maybe_unused]]bool res = intValue->IsBigInt(); in JSValueRefIsBigIntFuzzTest()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_first_tests.cpp1412 EXPECT_TRUE(maxBigintUint64->IsBigInt()); in HWTEST_F_L0()
1420 EXPECT_TRUE(minBigintUint64->IsBigInt()); in HWTEST_F_L0()
1431 EXPECT_TRUE(maxBigintInt64->IsBigInt()); in HWTEST_F_L0()
1439 EXPECT_TRUE(minBigintInt64->IsBigInt()); in HWTEST_F_L0()
1466 EXPECT_TRUE(bigWords->IsBigInt()); in HWTEST_F_L0()
1732 EXPECT_TRUE(maxBigintUint64->IsBigInt()); in HWTEST_F_L0()
1753 EXPECT_TRUE(maxBigintUint64->IsBigInt()); in HWTEST_F_L0()
Dffi_workload.cpp6907 intValue->IsBigInt(); in HWTEST_F_L0()
6910 TEST_TIME(JSValueRef::IsBigInt::IntegerRef); in HWTEST_F_L0()
6913 resUnit32->IsBigInt(); in HWTEST_F_L0()
6916 TEST_TIME(JSValueRef::IsBigInt::NumberRef32); in HWTEST_F_L0()
6919 resUnit64->IsBigInt(); in HWTEST_F_L0()
6922 TEST_TIME(JSValueRef::IsBigInt::NumberRef64); in HWTEST_F_L0()
6925 maxBigintUint64->IsBigInt(); in HWTEST_F_L0()
6928 TEST_TIME(JSValueRef::IsBigInt::BigIntRefU64); in HWTEST_F_L0()
6931 maxBigintInt64->IsBigInt(); in HWTEST_F_L0()
6934 TEST_TIME(JSValueRef::IsBigInt::BigIntRefI64); in HWTEST_F_L0()
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_lightweightmap.cpp479 if (key.IsBigInt()) { in Hash()

12