/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 | 69 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()
|
D | js_tagged_value.cpp | 149 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 …]
|
D | tagged_node.h | 77 if (key.IsBigInt()) { in Hash()
|
D | linked_hash_table.cpp | 252 if (key.IsBigInt()) { in Hash()
|
D | js_bigint.h | 46 CAST_CHECK(BigInt, IsBigInt);
|
D | js_stable_array.cpp | 674 ASSERT(searchElement.IsBigInt()); in IndexOfBigInt() 681 if (!curValue.IsBigInt()) { in IndexOfBigInt() 696 } else if (searchElement.IsBigInt()) { in IndexOfDispatch()
|
D | js_bigint.cpp | 1070 ASSERT(result.GetTaggedValue().IsBigInt()); in Exponentiate() 1446 ASSERT(quotient.GetTaggedValue().IsBigInt()); in Divide() 1473 ASSERT(remainder.GetTaggedValue().IsBigInt()); in Remainder()
|
D | js_tagged_value.h | 458 bool IsBigInt() const;
|
D | js_typed_array.cpp | 640 if (tagged.IsBigInt()) { in NonEcmaObjectToNumber()
|
/arkcompiler/ets_runtime/ecmascript/interpreter/ |
D | fast_runtime_stub-inl.h | 117 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()
|
D | interpreter-inl.h | 1854 } 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()
|
D | interpreter_assembly.cpp | 1164 } 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/ |
D | runtime_stubs-inl.h | 55 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/ |
D | builtins_bigint.cpp | 202 if (value->IsBigInt()) { in ThisBigIntValue() 209 if (primitive.IsBigInt()) { in ThisBigIntValue()
|
D | builtins_math.cpp | 608 if (baseVale->IsBigInt() || exponentValue->IsBigInt()) { in Pow() 609 if (baseVale->IsBigInt() && exponentValue->IsBigInt()) { in Pow()
|
D | builtins_number.cpp | 58 if (numericVal->IsBigInt()) { in NumberConstructor()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | fast_json_stringifier.cpp | 50 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()
|
D | typed_array_helper.cpp | 622 …ue->IsNumber() && secondValue->IsNumber()) || (firstValue->IsBigInt() && secondValue->IsBigInt())); in SortCompare()
|
D | json_stringifier.cpp | 197 if (value->IsECMAObject() || value->IsBigInt()) { in GetSerializeValue() 585 } else if (primitive.IsBigInt()) { in SerializePrimitiveRef()
|
/arkcompiler/ets_runtime/test/fuzztest/jsvaluerefobject_fuzzer/ |
D | jsvaluerefobject_fuzzer.cpp | 52 [[maybe_unused]]bool res = intValue->IsBigInt(); in JSValueRefIsBigIntFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
D | jsnapi_first_tests.cpp | 1412 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()
|
D | ffi_workload.cpp | 6907 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/ |
D | js_api_lightweightmap.cpp | 479 if (key.IsBigInt()) { in Hash()
|