Searched refs:newBigint (Results 1 - 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_bigint.cpp | 292 JSHandle<BigInt> newBigint = BigInt::CreateBigint(thread, xLength); in OneIsNegativeAND() local 297 newBigint->SetDigit(i, res); in OneIsNegativeAND() 301 newBigint->SetDigit(i, x->GetDigit(i)); in OneIsNegativeAND() 304 return BigIntHelper::RightTruncate(thread, newBigint); in OneIsNegativeAND() 371 JSHandle<BigInt> newBigint = BigInt::CreateBigint(thread, maxLen); in BitwiseSubOne() local 377 newBigint->SetDigit(i, BigIntHelper::SubHelper(bigint->GetDigit(i), carry, bigintCarry)); in BitwiseSubOne() 381 return BigIntHelper::RightTruncate(thread, newBigint); in BitwiseSubOne() 399 JSHandle<BigInt> newBigint = BigInt::CreateBigint(thread, newLength); in BitwiseAddOne() local 404 newBigint->SetDigit(i, BigIntHelper::AddHelper(bigint->GetDigit(i), carry, bigintCarry)); in BitwiseAddOne() 408 newBigint in BitwiseAddOne() 428 JSHandle<BigInt> newBigint = BigInt::CreateBigint(thread, yLength); OneIsNegativeOR() local 1486 JSHandle<BigInt> newBigint = DivideAndRemainderWithBigintDivisor(thread, x, y, remainder); Divide() local [all...] |
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_bigint_test.cpp | 257 JSHandle<BigInt> newBigint = BigInt::CreateBigint(thread, 2); in HWTEST_F_L0() local 258 newBigint->SetDigit(0, std::numeric_limits<uint32_t>::max()); in HWTEST_F_L0() 259 newBigint->SetDigit(1, std::numeric_limits<uint32_t>::max()); in HWTEST_F_L0() 260 JSHandle<BigInt> addOneRes1 = BigInt::BitwiseAddOne(thread, newBigint); in HWTEST_F_L0()
|
Completed in 5 milliseconds