Lines Matching refs:JSThread
29 class JSThread; variable
47 static JSHandle<BigInt> CreateBigint(JSThread *thread, uint32_t size);
53 …static JSHandle<BigInt> BitwiseOp(JSThread *thread, Operate op, JSHandle<BigInt> x, JSHandle<BigIn…
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> exp…
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,
77 …static JSHandle<BigInt> DivideAndRemainderWithBigintDivisor(JSThread *thread, JSHandle<BigInt> div…
80 …static JSHandle<BigInt> DivideAndRemainderWithUint32Divisor(JSThread *thread, JSHandle<BigInt> div…
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);
97 …static JSHandle<BigInt> RightShiftHelper(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
98 static JSTaggedValue UnsignedRightShift(JSThread *thread);
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 r…
102 …static JSHandle<BigInt> BigintSub(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y, bool r…
104 static JSTaggedValue NumberToBigInt(JSThread *thread, JSHandle<JSTaggedValue> number);
105 static JSTaggedValue PUBLIC_API DoubleToBigInt(JSThread *thread, double value);
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 …
113 …static void BigIntToUint64(JSThread *thread, JSHandle<JSTaggedValue> bigint, uint64_t *cValue, boo…
114 …static JSHandle<BigInt> CreateBigWords(JSThread *thread, bool sign, uint32_t size, const uint64_t*…
115 …static JSHandle<BigInt> FloorMod(JSThread *thread, JSHandle<BigInt> leftVal, JSHandle<BigInt> righ…
116 static JSTaggedValue AsUintN(JSThread *thread, JSTaggedNumber &bits, JSHandle<BigInt> bigint);
117 static JSTaggedValue AsintN(JSThread *thread, JSTaggedNumber &bits, JSHandle<BigInt> bigint);
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);