Lines Matching refs:Chunk

44     bigits_[i] = static_cast<Chunk>(value & kBigitMask);
112 Chunk current_bigit = 0;
120 Chunk most_significant_bigit = 0; // Could be = 0;
160 Chunk carry = 0;
164 Chunk sum = bigits_[bigit_pos] + other.bigits_[i] + carry;
171 Chunk sum = bigits_[bigit_pos] + carry;
189 Chunk borrow = 0;
193 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow;
198 Chunk difference = bigits_[i + offset] - borrow;
228 bigits_[i] = static_cast<Chunk>(product & kBigitMask);
233 bigits_[used_digits_] = static_cast<Chunk>(carry & kBigitMask);
253 bigits_[i] = static_cast<Chunk>(tmp & kBigitMask);
259 bigits_[used_digits_] = static_cast<Chunk>(carry & kBigitMask);
338 Chunk chunk1 = bigits_[copy_offset + bigit_index1];
339 Chunk chunk2 = bigits_[copy_offset + bigit_index2];
344 bigits_[i] = static_cast<Chunk>(accumulator) & kBigitMask;
353 Chunk chunk1 = bigits_[copy_offset + bigit_index1];
354 Chunk chunk2 = bigits_[copy_offset + bigit_index2];
362 bigits_[i] = static_cast<Chunk>(accumulator) & kBigitMask;
481 Chunk this_bigit = bigits_[used_digits_ - 1];
482 Chunk other_bigit = other.bigits_[other.used_digits_ - 1];
545 Chunk current_bigit = bigits_[i];
552 Chunk most_significant_bigit = bigits_[used_digits_ - 1];
560 Bignum::Chunk Bignum::BigitAt(int index) const {
575 Chunk bigit_a = a.BigitAt(i);
576 Chunk bigit_b = b.BigitAt(i);
600 Chunk borrow = 0;
604 Chunk chunk_a = a.BigitAt(i);
605 Chunk chunk_b = b.BigitAt(i);
606 Chunk chunk_c = c.BigitAt(i);
607 Chunk sum = chunk_a + chunk_b;
668 Chunk carry = 0;
670 Chunk new_carry = bigits_[i] >> (kBigitSize - shift_amount);
695 Chunk borrow = 0;
700 Chunk difference =
701 bigits_[i + exponent_diff] - static_cast<Chunk>(remove & kBigitMask);
703 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) +
708 Chunk difference = bigits_[i] - borrow;