Lines Matching refs:product
81 static int addsubunit(char *product[], char *toadd);
234 addsubunit(char *product[], char *toadd)
238 for (ptr = product; *ptr && *ptr != NULLUNIT; ptr++);
239 if (ptr >= product + MAXSUBUNITS) {
537 reduces a product of symbolic units to primitive units.
553 char **product;
557 product = theunit->denominator;
559 product = theunit->numerator;
561 for (; *product; product++) {
564 if (!strlen(*product))
566 toadd = lookupunit(*product);
568 printf("unknown unit '%s'\n", *product);
574 if (*product != NULLUNIT) {
575 free(*product);
576 *product = NULLUNIT;