Lines Matching refs:product
78 static int addsubunit(char *product[], char *toadd);
230 addsubunit(char *product[], char *toadd)
234 for (ptr = product; *ptr && *ptr != NULLUNIT; ptr++);
235 if (ptr >= product + MAXSUBUNITS) {
538 reduces a product of symbolic units to primitive units.
554 char **product;
558 product = theunit->denominator;
560 product = theunit->numerator;
562 for (; *product; product++) {
565 if (!strlen(*product))
567 toadd = lookupunit(*product);
569 printf("unknown unit '%s'\n", *product);
575 if (*product != NULLUNIT) {
576 free(*product);
577 *product = NULLUNIT;