Lines Matching refs:borrow
201 Chunk borrow = 0; in SubtractBignum() local
204 DCHECK((borrow == 0) || (borrow == 1)); in SubtractBignum()
205 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; in SubtractBignum()
207 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
209 while (borrow != 0) { in SubtractBignum()
210 Chunk difference = bigits_[i + offset] - borrow; in SubtractBignum()
212 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
630 Chunk borrow = 0; in PlusCompare() local
638 if (sum > chunk_c + borrow) { in PlusCompare()
641 borrow = chunk_c + borrow - sum; in PlusCompare()
642 if (borrow > 1) return -1; in PlusCompare()
643 borrow <<= kBigitSize; in PlusCompare()
646 if (borrow == 0) return 0; in PlusCompare()
731 Chunk borrow = 0; in SubtractTimes() local
735 DoubleChunk remove = borrow + product; in SubtractTimes()
739 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + in SubtractTimes()
743 if (borrow == 0) return; in SubtractTimes()
744 Chunk difference = bigits_[i] - borrow; in SubtractTimes()
746 borrow = difference >> (kChunkSize - 1); in SubtractTimes()