Home | History | Annotate | Download | only in src

Lines Matching refs:Chunk

46     bigits_[i] = static_cast<Chunk>(value & kBigitMask);
121 Chunk current_bigit = 0;
129 Chunk most_significant_bigit = 0; // Could be = 0;
171 Chunk carry = 0;
175 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry;
182 Chunk sum = bigits_[bigit_pos] + carry;
201 Chunk borrow = 0;
205 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow;
210 Chunk difference = bigits_[i + offset] - borrow;
237 // Assert that this number + 1 (for the carry) fits into double chunk.
242 bigits_[i] = static_cast<Chunk>(product & kBigitMask);
247 bigits_[used_digits_] = static_cast<Chunk>(carry & kBigitMask);
268 bigits_[i] = static_cast<Chunk>(tmp & kBigitMask);
274 bigits_[used_digits_] = static_cast<Chunk>(carry & kBigitMask);
355 Chunk chunk1 = bigits_[copy_offset + bigit_index1];
356 Chunk chunk2 = bigits_[copy_offset + bigit_index2];
361 bigits_[i] = static_cast<Chunk>(accumulator) & kBigitMask;
370 Chunk chunk1 = bigits_[copy_offset + bigit_index1];
371 Chunk chunk2 = bigits_[copy_offset + bigit_index2];
379 bigits_[i] = static_cast<Chunk>(accumulator) & kBigitMask;
500 Chunk this_bigit = bigits_[used_digits_ - 1];
501 Chunk other_bigit = other.bigits_[other.used_digits_ - 1];
566 Chunk
573 Chunk most_significant_bigit = bigits_[used_digits_ - 1];
582 Bignum::Chunk Bignum::BigitAt(int index) const {
597 Chunk bigit_a = a.BigitAt(i);
598 Chunk bigit_b = b.BigitAt(i);
623 Chunk borrow = 0;
627 Chunk chunk_a = a.BigitAt(i);
628 Chunk chunk_b = b.BigitAt(i);
629 Chunk chunk_c = c.BigitAt(i);
630 Chunk sum = chunk_a + chunk_b;
696 Chunk carry = 0;
698 Chunk new_carry = bigits_[i] >> (kBigitSize - shift_amount);
724 Chunk borrow = 0;
729 Chunk difference =
730 bigits_[i + exponent_diff] - static_cast<Chunk>(remove & kBigitMask);
732 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) +
737 Chunk difference = bigits_[i] - borrow;