Home | History | Annotate | Download | only in src

Lines Matching refs:Chunk

69     bigits_[i] = static_cast<Chunk>(value & kBigitMask);
142 Chunk current_bigit = 0;
150 Chunk most_significant_bigit = 0; // Could be = 0;
192 Chunk carry = 0;
196 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry;
203 Chunk sum = bigits_[bigit_pos] + carry;
222 Chunk borrow = 0;
226 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow;
231 Chunk difference = bigits_[i + offset] - borrow;
258 // Assert that this number + 1 (for the carry) fits into double chunk.
263 bigits_[i] = static_cast<Chunk>(product & kBigitMask);
268 bigits_[used_digits_] = static_cast<Chunk>(carry & kBigitMask);
289 bigits_[i] = static_cast<Chunk>(tmp & kBigitMask);
295 bigits_[used_digits_] = static_cast<Chunk>(carry & kBigitMask);
376 Chunk chunk1 = bigits_[copy_offset + bigit_index1];
377 Chunk chunk2 = bigits_[copy_offset + bigit_index2];
382 bigits_[i] = static_cast<Chunk>(accumulator) & kBigitMask;
391 Chunk chunk1 = bigits_[copy_offset + bigit_index1];
392 Chunk chunk2 = bigits_[copy_offset + bigit_index2];
400 bigits_[i] = static_cast<Chunk>(accumulator) & kBigitMask;
521 Chunk this_bigit = bigits_[used_digits_ - 1];
522 Chunk other_bigit = other.bigits_[other.used_digits_ - 1];
594 Chunk current_bigit = bigits_[i];
601 Chunk most_significant_bigit = bigits_[used_digits_ - 1];
610 Bignum::Chunk Bignum::BigitAt(int index) const {
625 Chunk bigit_a = a.BigitAt(i);
626 Chunk bigit_b = b.BigitAt(i);
651 Chunk borrow = 0;
655 Chunk chunk_a = a.BigitAt(i);
656 Chunk chunk_b = b.BigitAt(i);
657 Chunk chunk_c = c.BigitAt(i);
658 Chunk sum = chunk_a + chunk_b;
724 Chunk carry = 0;
726 Chunk new_carry = bigits_[i] >> (kBigitSize - shift_amount);
745 Chunk borrow = 0;
750 Chunk difference =
751 bigits_[i + exponent_diff] - static_cast<Chunk>(remove & kBigitMask);
753 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) +
758 Chunk difference = bigits_[i] - borrow;