Lines Matching refs:unittype
57 struct unittype {
84 static int addunit(struct unittype *theunit, const char *toadd, int flip, int quantity);
85 static void cancelunit(struct unittype * theunit);
88 static int compareunits(struct unittype * first, struct unittype * second);
89 static int completereduce(struct unittype * unit);
91 static void initializeunit(struct unittype * theunit);
94 static int reduceproduct(struct unittype * theunit, int flip);
95 static int reduceunit(struct unittype * theunit);
96 static void showanswer(struct unittype * have, struct unittype * want);
97 static void showunit(struct unittype * theunit);
98 static void sortunit(struct unittype * theunit);
225 initializeunit(struct unittype * theunit)
252 showunit(struct unittype * theunit)
314 addunit(struct unittype * theunit, const char *toadd, int flip, int quantity)
435 sortunit(struct unittype * theunit)
448 cancelunit(struct unittype * theunit)
556 reduceproduct(struct unittype * theunit, int flip)
599 reduceunit(struct unittype * theunit)
639 compareunits(struct unittype * first, struct unittype * second)
648 completereduce(struct unittype * unit)
658 showanswer(struct unittype * have, struct unittype * want)
757 struct unittype have, want;