Home | History | Annotate | Download | only in core

Lines Matching refs:remainder

334         int remainder = branches->count() % fMaxChildren;
337 if (0 != remainder) {
339 // If the remainder isn't enough to fill a node, we'll need to add fewer nodes to
341 if (remainder >= fMinChildren) {
342 remainder = 0;
344 remainder = fMinChildren - remainder;
358 int end = currentBranch + numTiles * fMaxChildren - SkMin32(remainder,
370 if (remainder != 0) {
371 // if need be, omit some nodes to make up for remainder
372 if (remainder <= fMaxChildren - fMinChildren) {
373 incrementBy -= remainder;
374 remainder = 0;
377 remainder -= fMaxChildren - fMinChildren;