Home
last modified time | relevance | path

Searched refs:BigUnsigned (Results 1 – 25 of 63) sorted by relevance

123

/external/pdfium/third_party/bigint/
DBigUnsigned.hh19 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 BigUnsigned& operator=(const BigUnsigned &x) { in operator =()
55 BigUnsigned(const Blk *b, Index blen) : NumberlikeArray<Blk>(b, blen) { in BigUnsigned() function in BigUnsigned
61 ~BigUnsigned() {} in ~BigUnsigned()
64 BigUnsigned(unsigned long x);
65 BigUnsigned( long x);
66 BigUnsigned(unsigned int x);
[all …]
DBigUnsigned.cc14 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 …]
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dcharconv_bigint_test.cc25 TEST(BigUnsigned, ShiftLeft) { in TEST() argument
28 BigUnsigned<4> num(3u); in TEST()
30 EXPECT_EQ(num, BigUnsigned<4>("3802951800684688204490109616128")); in TEST()
38 BigUnsigned<4> a(15u); in TEST()
39 BigUnsigned<4> b(7u); in TEST()
40 BigUnsigned<4> c(3u); in TEST()
49 BigUnsigned<84> a(15u); in TEST()
50 BigUnsigned<84> b(7u); in TEST()
51 BigUnsigned<84> c(3u); in TEST()
62 BigUnsigned<84> a(seed); in TEST()
[all …]
Dcharconv_bigint.h57 class BigUnsigned {
62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned() function
63 explicit constexpr BigUnsigned(uint64_t v) in BigUnsigned() function
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned() function
191 static BigUnsigned FiveToTheNth(int n);
195 void MultiplyBy(const BigUnsigned<M>& other) { in MultiplyBy()
353 int Compare(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) { in Compare()
368 bool operator==(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
379 bool operator!=(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
384 bool operator<(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
[all …]
Dcharconv_bigint.cc171 int BigUnsigned<max_words>::ReadFloatMantissa(const ParsedFloat& fp, in ReadFloatMantissa()
193 int BigUnsigned<max_words>::ReadDigits(const char* begin, const char* end, in ReadDigits()
288 /* static */ BigUnsigned<max_words> BigUnsigned<max_words>::FiveToTheNth( in FiveToTheNth()
290 BigUnsigned answer(1u); in FiveToTheNth()
316 void BigUnsigned<max_words>::MultiplyStep(int original_size, in MultiplyStep()
339 std::string BigUnsigned<max_words>::ToString() const { in ToString()
340 BigUnsigned<max_words> copy = *this; in ToString()
354 template class BigUnsigned<4>; variable
355 template class BigUnsigned<84>; variable
/external/abseil-cpp/absl/strings/internal/
Dcharconv_bigint_test.cc25 TEST(BigUnsigned, ShiftLeft) { in TEST() argument
28 BigUnsigned<4> num(3u); in TEST()
30 EXPECT_EQ(num, BigUnsigned<4>("3802951800684688204490109616128")); in TEST()
38 BigUnsigned<4> a(15u); in TEST()
39 BigUnsigned<4> b(7u); in TEST()
40 BigUnsigned<4> c(3u); in TEST()
49 BigUnsigned<84> a(15u); in TEST()
50 BigUnsigned<84> b(7u); in TEST()
51 BigUnsigned<84> c(3u); in TEST()
62 BigUnsigned<84> a(seed); in TEST()
[all …]
Dcharconv_bigint.h57 class BigUnsigned {
62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned() function
63 explicit constexpr BigUnsigned(uint64_t v) in BigUnsigned() function
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned() function
191 static BigUnsigned FiveToTheNth(int n);
195 void MultiplyBy(const BigUnsigned<M>& other) { in MultiplyBy()
353 int Compare(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) { in Compare()
368 bool operator==(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
379 bool operator!=(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
384 bool operator<(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_bigint_test.cc25 TEST(BigUnsigned, ShiftLeft) { in TEST() argument
28 BigUnsigned<4> num(3u); in TEST()
30 EXPECT_EQ(num, BigUnsigned<4>("3802951800684688204490109616128")); in TEST()
38 BigUnsigned<4> a(15u); in TEST()
39 BigUnsigned<4> b(7u); in TEST()
40 BigUnsigned<4> c(3u); in TEST()
49 BigUnsigned<84> a(15u); in TEST()
50 BigUnsigned<84> b(7u); in TEST()
51 BigUnsigned<84> c(3u); in TEST()
62 BigUnsigned<84> a(seed); in TEST()
[all …]
Dcharconv_bigint.h57 class BigUnsigned {
62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned() function
63 explicit constexpr BigUnsigned(uint64_t v) in BigUnsigned() function
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned() function
191 static BigUnsigned FiveToTheNth(int n);
195 void MultiplyBy(const BigUnsigned<M>& other) { in MultiplyBy()
353 int Compare(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) { in Compare()
368 bool operator==(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
379 bool operator!=(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
384 bool operator<(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
[all …]
Dcharconv_bigint.cc171 int BigUnsigned<max_words>::ReadFloatMantissa(const ParsedFloat& fp, in ReadFloatMantissa()
193 int BigUnsigned<max_words>::ReadDigits(const char* begin, const char* end, in ReadDigits()
288 /* static */ BigUnsigned<max_words> BigUnsigned<max_words>::FiveToTheNth( in FiveToTheNth()
290 BigUnsigned answer(1u); in FiveToTheNth()
316 void BigUnsigned<max_words>::MultiplyStep(int original_size, in MultiplyStep()
339 std::string BigUnsigned<max_words>::ToString() const { in ToString()
340 BigUnsigned<max_words> copy = *this; in ToString()
354 template class BigUnsigned<4>; variable
355 template class BigUnsigned<84>; variable
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/internal/
Dcharconv_bigint_test.cc25 TEST(BigUnsigned, ShiftLeft) { in TEST() argument
28 BigUnsigned<4> num(3u); in TEST()
30 EXPECT_EQ(num, BigUnsigned<4>("3802951800684688204490109616128")); in TEST()
38 BigUnsigned<4> a(15u); in TEST()
39 BigUnsigned<4> b(7u); in TEST()
40 BigUnsigned<4> c(3u); in TEST()
49 BigUnsigned<84> a(15u); in TEST()
50 BigUnsigned<84> b(7u); in TEST()
51 BigUnsigned<84> c(3u); in TEST()
62 BigUnsigned<84> a(seed); in TEST()
[all …]
Dcharconv_bigint.h57 class BigUnsigned {
62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned() function
63 explicit constexpr BigUnsigned(uint64_t v) in BigUnsigned() function
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned() function
191 static BigUnsigned FiveToTheNth(int n);
195 void MultiplyBy(const BigUnsigned<M>& other) { in MultiplyBy()
353 int Compare(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) { in Compare()
368 bool operator==(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
379 bool operator!=(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
384 bool operator<(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
[all …]
Dcharconv_bigint.cc171 int BigUnsigned<max_words>::ReadFloatMantissa(const ParsedFloat& fp, in ReadFloatMantissa()
193 int BigUnsigned<max_words>::ReadDigits(const char* begin, const char* end, in ReadDigits()
288 /* static */ BigUnsigned<max_words> BigUnsigned<max_words>::FiveToTheNth( in FiveToTheNth()
290 BigUnsigned answer(1u); in FiveToTheNth()
316 void BigUnsigned<max_words>::MultiplyStep(int original_size, in MultiplyStep()
339 std::string BigUnsigned<max_words>::ToString() const { in ToString()
340 BigUnsigned<max_words> copy = *this; in ToString()
354 template class BigUnsigned<4>; variable
355 template class BigUnsigned<84>; variable
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_bigint_test.cc25 TEST(BigUnsigned, ShiftLeft) { in TEST() argument
28 BigUnsigned<4> num(3u); in TEST()
30 EXPECT_EQ(num, BigUnsigned<4>("3802951800684688204490109616128")); in TEST()
38 BigUnsigned<4> a(15u); in TEST()
39 BigUnsigned<4> b(7u); in TEST()
40 BigUnsigned<4> c(3u); in TEST()
49 BigUnsigned<84> a(15u); in TEST()
50 BigUnsigned<84> b(7u); in TEST()
51 BigUnsigned<84> c(3u); in TEST()
62 BigUnsigned<84> a(seed); in TEST()
[all …]
Dcharconv_bigint.h57 class BigUnsigned {
62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned() function
63 explicit constexpr BigUnsigned(uint64_t v) in BigUnsigned() function
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned() function
191 static BigUnsigned FiveToTheNth(int n);
195 void MultiplyBy(const BigUnsigned<M>& other) { in MultiplyBy()
353 int Compare(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) { in Compare()
368 bool operator==(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
379 bool operator!=(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
384 bool operator<(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
[all …]
Dcharconv_bigint.cc171 int BigUnsigned<max_words>::ReadFloatMantissa(const ParsedFloat& fp, in ReadFloatMantissa()
193 int BigUnsigned<max_words>::ReadDigits(const char* begin, const char* end, in ReadDigits()
288 /* static */ BigUnsigned<max_words> BigUnsigned<max_words>::FiveToTheNth( in FiveToTheNth()
290 BigUnsigned answer(1u); in FiveToTheNth()
316 void BigUnsigned<max_words>::MultiplyStep(int original_size, in MultiplyStep()
339 std::string BigUnsigned<max_words>::ToString() const { in ToString()
340 BigUnsigned<max_words> copy = *this; in ToString()
354 template class BigUnsigned<4>; variable
355 template class BigUnsigned<84>; variable
/external/cronet/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_bigint_test.cc25 TEST(BigUnsigned, ShiftLeft) { in TEST() argument
28 BigUnsigned<4> num(3u); in TEST()
30 EXPECT_EQ(num, BigUnsigned<4>("3802951800684688204490109616128")); in TEST()
38 BigUnsigned<4> a(15u); in TEST()
39 BigUnsigned<4> b(7u); in TEST()
40 BigUnsigned<4> c(3u); in TEST()
49 BigUnsigned<84> a(15u); in TEST()
50 BigUnsigned<84> b(7u); in TEST()
51 BigUnsigned<84> c(3u); in TEST()
62 BigUnsigned<84> a(seed); in TEST()
[all …]
Dcharconv_bigint.h57 class BigUnsigned {
62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned() function
63 explicit constexpr BigUnsigned(uint64_t v) in BigUnsigned() function
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned() function
191 static BigUnsigned FiveToTheNth(int n);
195 void MultiplyBy(const BigUnsigned<M>& other) { in MultiplyBy()
353 int Compare(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) { in Compare()
368 bool operator==(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
379 bool operator!=(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
384 bool operator<(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
[all …]
Dcharconv_bigint.cc171 int BigUnsigned<max_words>::ReadFloatMantissa(const ParsedFloat& fp, in ReadFloatMantissa()
193 int BigUnsigned<max_words>::ReadDigits(const char* begin, const char* end, in ReadDigits()
288 /* static */ BigUnsigned<max_words> BigUnsigned<max_words>::FiveToTheNth( in FiveToTheNth()
290 BigUnsigned answer(1u); in FiveToTheNth()
316 void BigUnsigned<max_words>::MultiplyStep(int original_size, in MultiplyStep()
339 std::string BigUnsigned<max_words>::ToString() const { in ToString()
340 BigUnsigned<max_words> copy = *this; in ToString()
354 template class BigUnsigned<4>; variable
355 template class BigUnsigned<84>; variable
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_bigint_test.cc25 TEST(BigUnsigned, ShiftLeft) { in TEST() argument
28 BigUnsigned<4> num(3u); in TEST()
30 EXPECT_EQ(num, BigUnsigned<4>("3802951800684688204490109616128")); in TEST()
38 BigUnsigned<4> a(15u); in TEST()
39 BigUnsigned<4> b(7u); in TEST()
40 BigUnsigned<4> c(3u); in TEST()
49 BigUnsigned<84> a(15u); in TEST()
50 BigUnsigned<84> b(7u); in TEST()
51 BigUnsigned<84> c(3u); in TEST()
62 BigUnsigned<84> a(seed); in TEST()
[all …]
Dcharconv_bigint.h57 class BigUnsigned {
62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned() function
63 explicit constexpr BigUnsigned(uint64_t v) in BigUnsigned() function
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned() function
191 static BigUnsigned FiveToTheNth(int n);
195 void MultiplyBy(const BigUnsigned<M>& other) { in MultiplyBy()
353 int Compare(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) { in Compare()
368 bool operator==(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
379 bool operator!=(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
384 bool operator<(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
[all …]
Dcharconv_bigint.cc171 int BigUnsigned<max_words>::ReadFloatMantissa(const ParsedFloat& fp, in ReadFloatMantissa()
193 int BigUnsigned<max_words>::ReadDigits(const char* begin, const char* end, in ReadDigits()
288 /* static */ BigUnsigned<max_words> BigUnsigned<max_words>::FiveToTheNth( in FiveToTheNth()
290 BigUnsigned answer(1u); in FiveToTheNth()
314 void BigUnsigned<max_words>::MultiplyStep(int original_size, in MultiplyStep()
337 std::string BigUnsigned<max_words>::ToString() const { in ToString()
338 BigUnsigned<max_words> copy = *this; in ToString()
352 template class BigUnsigned<4>; variable
353 template class BigUnsigned<84>; variable
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dcharconv_bigint_test.cc25 TEST(BigUnsigned, ShiftLeft) { in TEST() argument
28 BigUnsigned<4> num(3u); in TEST()
30 EXPECT_EQ(num, BigUnsigned<4>("3802951800684688204490109616128")); in TEST()
38 BigUnsigned<4> a(15u); in TEST()
39 BigUnsigned<4> b(7u); in TEST()
40 BigUnsigned<4> c(3u); in TEST()
49 BigUnsigned<84> a(15u); in TEST()
50 BigUnsigned<84> b(7u); in TEST()
51 BigUnsigned<84> c(3u); in TEST()
62 BigUnsigned<84> a(seed); in TEST()
[all …]
Dcharconv_bigint.h57 class BigUnsigned {
62 BigUnsigned() : size_(0), words_{} {} in BigUnsigned() function
63 explicit constexpr BigUnsigned(uint64_t v) in BigUnsigned() function
71 explicit BigUnsigned(absl::string_view sv) : size_(0), words_{} { in BigUnsigned() function
191 static BigUnsigned FiveToTheNth(int n);
195 void MultiplyBy(const BigUnsigned<M>& other) { in MultiplyBy()
353 int Compare(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) { in Compare()
368 bool operator==(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
379 bool operator!=(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
384 bool operator<(const BigUnsigned<N>& lhs, const BigUnsigned<M>& rhs) {
[all …]
Dcharconv_bigint.cc171 int BigUnsigned<max_words>::ReadFloatMantissa(const ParsedFloat& fp, in ReadFloatMantissa()
193 int BigUnsigned<max_words>::ReadDigits(const char* begin, const char* end, in ReadDigits()
288 /* static */ BigUnsigned<max_words> BigUnsigned<max_words>::FiveToTheNth( in FiveToTheNth()
290 BigUnsigned answer(1u); in FiveToTheNth()
316 void BigUnsigned<max_words>::MultiplyStep(int original_size, in MultiplyStep()
339 std::string BigUnsigned<max_words>::ToString() const { in ToString()
340 BigUnsigned<max_words> copy = *this; in ToString()
354 template class BigUnsigned<4>; variable
355 template class BigUnsigned<84>; variable

123