Lines Matching refs:flip
79 static int addunit(struct unittype *theunit, const char *toadd, int flip, int quantity);
89 static int reduceproduct(struct unittype * theunit, int flip);
309 addunit(struct unittype * theunit, const char *toadd, int flip, int quantity)
354 if (doingtop ^ flip) {
367 if (doingtop ^ flip) {
382 if (doingtop ^ flip) {
390 if (doingtop ^ flip)
402 if (addsubunit(doingtop ^ flip ? theunit->numerator : theunit->denominator, item)) {
550 reduceproduct(struct unittype * theunit, int flip)
557 if (flip)
579 if (addunit(theunit, toadd, flip, 0))