Lines Matching +full:0 +full:x
28 enum class Operate : uint32_t { AND = 0, OR, XOR };
48 static bool Equal(const JSTaggedValue &x, const JSTaggedValue &y);
49 static bool SameValue(const JSTaggedValue &x, const JSTaggedValue &y);
50 static bool SameValueZero(const JSTaggedValue &x, const JSTaggedValue &y);
52 …static JSHandle<BigInt> BitwiseOp(JSThread *thread, Operate op, JSHandle<BigInt> x, JSHandle<BigIn…
53 static JSHandle<BigInt> BitwiseAND(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
54 static JSHandle<BigInt> BitwiseXOR(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
55 static JSHandle<BigInt> BitwiseOR(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
62 static JSHandle<BigInt> UnaryMinus(JSThread *thread, JSHandle<BigInt> x);
63 static JSHandle<BigInt> BitwiseNOT(JSThread *thread, JSHandle<BigInt> x);
65 static std::tuple<uint32_t, uint32_t> Mul(uint32_t x, uint32_t y);
66 static JSHandle<BigInt> Multiply(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
81 static JSHandle<BigInt> Divide(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
83 static JSHandle<BigInt> BigintAddOne(JSThread *thread, JSHandle<BigInt> x);
84 static JSHandle<BigInt> BigintSubOne(JSThread *thread, JSHandle<BigInt> x);
85 static JSHandle<BigInt> Copy(JSThread *thread, JSHandle<BigInt> x, uint32_t len);
87 static JSHandle<BigInt> Add(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
88 static JSHandle<BigInt> Subtract(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
89 static bool LessThan(const JSTaggedValue &x, const JSTaggedValue &y);
90 static ComparisonResult Compare(const JSTaggedValue &x, const JSTaggedValue &y);
91 …static JSHandle<BigInt> SignedRightShift(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
93 …static void RightShift(JSHandle<BigInt> bigint, JSHandle<BigInt> x, uint32_t digitMove, uint32_t b…
94 …static void JudgeRoundDown(JSHandle<BigInt> x, uint32_t digitMove, uint32_t bitsMove, uint32_t &ne…
96 …static JSHandle<BigInt> RightShiftHelper(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
98 static JSHandle<BigInt> LeftShift(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
99 … static JSHandle<BigInt> LeftShiftHelper(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y);
100 …static JSHandle<BigInt> BigintAdd(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y, bool r…
101 …static JSHandle<BigInt> BigintSub(JSThread *thread, JSHandle<BigInt> x, JSHandle<BigInt> y, bool r…
133 if (memset_s(GetData(), size, 0, size) != EOK) { in InitializationZero()
141 return GetLength() == 1 && !GetDigit(0); in IsZero()
169 static bool Equal(const BigInt *x, const BigInt *y);
170 static bool LessThan(const BigInt *x, const BigInt *y);
171 static ComparisonResult Compare(const BigInt *x, const BigInt *y);
172 static ComparisonResult AbsolutelyCompare(const BigInt *x, const BigInt *y);
185 static JSHandle<BigInt> RightTruncate(JSThread *thread, JSHandle<BigInt> x);
189 static uint32_t AddHelper(uint32_t x, uint32_t y, uint32_t &bigintCarry);
190 static uint32_t SubHelper(uint32_t x, uint32_t y, uint32_t &bigintCarry);
192 static_assert((BigInt::DATA_OFFSET % static_cast<uint8_t>(MemAlignment::MEM_ALIGN_OBJECT)) == 0);