Lines Matching refs:JSHandle

47     static JSHandle<BigInt> CreateBigint(JSThread *thread, uint32_t size);
53 static JSHandle<BigInt> BitwiseOp(JSThread *thread, Operate op, JSHandle<BigInt> x, JSHandle<BigInt> y);
54 static JSHandle<BigInt> BitwiseAND(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
55 static JSHandle<BigInt> BitwiseXOR(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
56 static JSHandle<BigInt> BitwiseOR(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
57 static JSHandle<BigInt> BitwiseSubOne(JSThread *thread, JSHandle<BigInt> bigint, uint32_t maxLen);
58 static JSHandle<BigInt> BitwiseAddOne(JSThread *thread, JSHandle<BigInt> bigint);
59 static JSHandle<EcmaString> ToString(JSThread *thread, JSHandle<BigInt> bigint,
63 static JSHandle<BigInt> UnaryMinus(JSThread *thread, JSHandle<BigInt> x);
64 static JSHandle<BigInt> BitwiseNOT(JSThread *thread, JSHandle<BigInt> x);
65 static JSHandle<BigInt> Exponentiate(JSThread *thread, JSHandle<BigInt> base, JSHandle<BigInt> exponent);
67 static JSHandle<BigInt> Multiply(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
69 static JSHandle<BigInt> FormatLeftShift(JSThread *thread, uint32_t shift, JSHandle<BigInt> bigint,
71 static void UnformattedRightShift(JSHandle<BigInt> bigint, uint32_t shift);
72 static bool SpecialMultiplyAndSub(JSHandle<BigInt> u, JSHandle<BigInt> v, uint32_t q, JSHandle<BigInt> qv,
74 static uint32_t SpecialAdd(JSHandle<BigInt> u, JSHandle<BigInt> v, uint32_t pos);
77 static JSHandle<BigInt> DivideAndRemainderWithBigintDivisor(JSThread *thread, JSHandle<BigInt> dividend,
78 JSHandle<BigInt> divisor,
80 static JSHandle<BigInt> DivideAndRemainderWithUint32Divisor(JSThread *thread, JSHandle<BigInt> dividend,
82 static JSHandle<BigInt> Divide(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
83 static JSHandle<BigInt> Remainder(JSThread *thread, JSHandle<BigInt> n, JSHandle<BigInt> d);
84 static JSHandle<BigInt> BigintAddOne(JSThread *thread, JSHandle<BigInt> x);
85 static JSHandle<BigInt> BigintSubOne(JSThread *thread, JSHandle<BigInt> x);
86 static JSHandle<BigInt> Copy(JSThread *thread, JSHandle<BigInt> x, uint32_t len);
88 static JSHandle<BigInt> Add(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
89 static JSHandle<BigInt> Subtract(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
92 static JSHandle<BigInt> SignedRightShift(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
93 static JSHandle<BigInt> ReturnIfRightShiftOverMax(JSThread *thread, bool sign);
94 static void RightShift(JSHandle<BigInt> bigint, JSHandle<BigInt> x, uint32_t digitMove, uint32_t bitsMove);
95 static void JudgeRoundDown(JSHandle<BigInt> x, uint32_t digitMove, uint32_t bitsMove, uint32_t &needLen,
97 static JSHandle<BigInt> RightShiftHelper(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
99 static JSHandle<BigInt> LeftShift(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
100 static JSHandle<BigInt> LeftShiftHelper(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
101 static JSHandle<BigInt> BigintAdd(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y, bool resultSign);
102 static JSHandle<BigInt> BigintSub(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y, bool resultSign);
104 static JSTaggedValue NumberToBigInt(JSThread *thread, JSHandle<JSTaggedValue> number);
106 static JSHandle<BigInt> PUBLIC_API Int32ToBigInt(JSThread *thread, const int &number);
107 static JSHandle<BigInt> Uint32ToBigInt(JSThread *thread, const uint32_t &number);
108 static JSHandle<BigInt> Int64ToBigInt(JSThread *thread, const int64_t &number);
109 static JSHandle<BigInt> Uint64ToBigInt(JSThread *thread, const uint64_t &number);
112 static void BigIntToInt64(JSThread *thread, JSHandle<JSTaggedValue> bigint, int64_t *cValue, bool *lossless);
113 static void BigIntToUint64(JSThread *thread, JSHandle<JSTaggedValue> bigint, uint64_t *cValue, bool *lossless);
114 static JSHandle<BigInt> CreateBigWords(JSThread *thread, bool sign, uint32_t size, const uint64_t* words);
115 static JSHandle<BigInt> FloorMod(JSThread *thread, JSHandle<BigInt> leftVal, JSHandle<BigInt> rightVal);
116 static JSTaggedValue AsUintN(JSThread *thread, JSTaggedNumber &bits, JSHandle<BigInt> bigint);
117 static JSTaggedValue AsintN(JSThread *thread, JSTaggedNumber &bits, JSHandle<BigInt> bigint);
118 static JSTaggedNumber BigIntToNumber(JSHandle<BigInt> bigint);
119 static ComparisonResult CompareWithNumber(JSHandle<BigInt> bigint, JSHandle<JSTaggedValue> number);
120 static JSHandle<BigInt> CreateUint64MaxBigInt(JSThread *thread);
121 static JSHandle<BigInt> CreateInt64MaxBigInt(JSThread *thread);
122 static JSHandle<BigInt> GetUint64MaxBigInt(JSThread *thread);
123 static JSHandle<BigInt> GetInt64MaxBigInt(JSThread *thread);
201 static JSHandle<BigInt> SetBigInt(JSThread *thread, const CString &numStr,
204 static JSHandle<BigInt> RightTruncate(JSThread *thread, JSHandle<BigInt> x);