Lines Matching refs:remainder
330 int remainder = branches->count() % fMaxChildren;
333 if (0 != remainder) {
335 // If the remainder isn't enough to fill a node, we'll need to add fewer nodes to
337 if (remainder >= fMinChildren) {
338 remainder = 0;
340 remainder = fMinChildren - remainder;
352 int end = currentBranch + numTiles * fMaxChildren - SkMin32(remainder,
363 if (remainder != 0) {
364 // if need be, omit some nodes to make up for remainder
365 if (remainder <= fMaxChildren - fMinChildren) {
366 incrementBy -= remainder;
367 remainder = 0;
370 remainder -= fMaxChildren - fMinChildren;