Searched refs:BigUnsigned (Results 1 – 11 of 11) sorted by relevance
/external/pdfium/third_party/bigint/ |
D | BigUnsigned.hh | 19 class BigUnsigned : protected NumberlikeArray<unsigned long> { class 33 BigUnsigned(int, Index c) : NumberlikeArray<Blk>(0, c) {} in BigUnsigned() function in BigUnsigned 43 BigUnsigned() : NumberlikeArray<Blk>() {} in BigUnsigned() function in BigUnsigned 46 BigUnsigned(const BigUnsigned &x) : NumberlikeArray<Blk>(x) {} in BigUnsigned() function in BigUnsigned 49 void operator=(const BigUnsigned &x) { in operator =() 54 BigUnsigned(const Blk *b, Index blen) : NumberlikeArray<Blk>(b, blen) { in BigUnsigned() function in BigUnsigned 60 ~BigUnsigned() {} in ~BigUnsigned() 63 BigUnsigned(unsigned long x); 64 BigUnsigned( long x); 65 BigUnsigned(unsigned int x); [all …]
|
D | BigUnsigned.cc | 14 BigUnsigned::BigUnsigned(unsigned long x) { initFromPrimitive (x); } in BigUnsigned() function in BigUnsigned 15 BigUnsigned::BigUnsigned(unsigned int x) { initFromPrimitive (x); } in BigUnsigned() function in BigUnsigned 16 BigUnsigned::BigUnsigned(unsigned short x) { initFromPrimitive (x); } in BigUnsigned() function in BigUnsigned 17 BigUnsigned::BigUnsigned( long x) { initFromSignedPrimitive(x); } in BigUnsigned() function in BigUnsigned 18 BigUnsigned::BigUnsigned( int x) { initFromSignedPrimitive(x); } in BigUnsigned() function in BigUnsigned 19 BigUnsigned::BigUnsigned( short x) { initFromSignedPrimitive(x); } in BigUnsigned() function in BigUnsigned 21 unsigned long BigUnsigned::toUnsignedLong () const { return convertToPrimitive <unsigned long… in toUnsignedLong() 22 unsigned int BigUnsigned::toUnsignedInt () const { return convertToPrimitive <unsigned int … in toUnsignedInt() 23 unsigned short BigUnsigned::toUnsignedShort() const { return convertToPrimitive <unsigned shor… in toUnsignedShort() 24 long BigUnsigned::toLong () const { return convertToSignedPrimitive< long… in toLong() [all …]
|
D | BigInteger.hh | 22 typedef BigUnsigned::Blk Blk; 23 typedef BigUnsigned::Index Index; 24 typedef BigUnsigned::CmpRes CmpRes; 26 less = BigUnsigned::less , 27 equal = BigUnsigned::equal , 28 greater = BigUnsigned::greater; 34 BigUnsigned mag; 55 BigInteger(const BigUnsigned &x, Sign s); 58 BigInteger(const BigUnsigned &x) : mag(x) { in BigInteger() 89 const BigUnsigned &getMagnitude() const { return mag; } in getMagnitude()
|
D | BigUnsignedInABase.cc | 38 BigUnsignedInABase::BigUnsignedInABase(const BigUnsigned &x, Base base) { in BigUnsignedInABase() 45 int maxBitLenOfX = x.getLength() * BigUnsigned::N; in BigUnsignedInABase() 51 BigUnsigned x2(x), buBase(base); in BigUnsignedInABase() 56 BigUnsigned lastDigit(x2); in BigUnsignedInABase() 68 BigUnsignedInABase::operator BigUnsigned() const { in operator BigUnsigned() 69 BigUnsigned ans(0), buBase(base), temp; in operator BigUnsigned() 74 ans.add(temp, BigUnsigned(blk[digitNum])); in operator BigUnsigned()
|
D | BigIntegerUtils.cc | 10 std::string bigUnsignedToString(const BigUnsigned &x) { in bigUnsignedToString() 20 BigUnsigned stringToBigUnsigned(const std::string &s) { in stringToBigUnsigned() 21 return BigUnsigned(BigUnsignedInABase(s, 10)); in stringToBigUnsigned() 31 std::ostream &operator <<(std::ostream &os, const BigUnsigned &x) { in operator <<()
|
D | BigIntegerUtils.hh | 19 std::string bigUnsignedToString(const BigUnsigned &x); 21 BigUnsigned stringToBigUnsigned(const std::string &s); 29 std::ostream &operator <<(std::ostream &os, const BigUnsigned &x);
|
D | BigUnsignedInABase.hh | 79 BigUnsignedInABase(const BigUnsigned &x, Base base); 80 operator BigUnsigned() const;
|
D | BigInteger.cc | 38 BigInteger::BigInteger(const BigUnsigned &x, Sign s) : mag(x) { in BigInteger() 94 inline X convertBigUnsignedToPrimitiveAccess(const BigUnsigned &a) { in convertBigUnsignedToPrimitiveAccess()
|
D | LICENSE | 10 limited only by your computer's memory. The library provides BigUnsigned and
|
/external/pdfium/third_party/ |
D | pdfiumbigint.bp | 8 "bigint/BigUnsigned.cc",
|
D | BUILD.gn | 37 "bigint/BigUnsigned.cc", 38 "bigint/BigUnsigned.hh",
|