Lines Matching defs:flip
84 static int addunit(struct unittype *theunit, const char *toadd, int flip, int quantity);
94 static int reduceproduct(struct unittype * theunit, int flip);
315 addunit(struct unittype * theunit, const char *toadd, int flip, int quantity)
360 if (doingtop ^ flip) {
373 if (doingtop ^ flip) {
388 if (doingtop ^ flip) {
396 if (doingtop ^ flip)
408 if (addsubunit(doingtop ^ flip ? theunit->numerator : theunit->denominator, item)) {
557 reduceproduct(struct unittype * theunit, int flip)
564 if (flip)
586 if (addunit(theunit, toadd, flip, 0))