Lines Matching refs:temp
194 char temp[256]; in rdconfig() local
203 *temp = '\0'; in rdconfig()
205 while (value = fpkgparam(fp, temp)) { in rdconfig()
206 if (strcmp(temp, "ARCH") == 0 || in rdconfig()
207 strcmp(temp, "CATEGORY") == 0) { in rdconfig()
219 if (strcmp(temp, "NAME") == 0) in rdconfig()
221 else if (strcmp(temp, "VERSION") == 0) in rdconfig()
223 else if (strcmp(temp, "ARCH") == 0) in rdconfig()
225 else if (strcmp(temp, "VENDOR") == 0) in rdconfig()
227 else if (strcmp(temp, "BASEDIR") == 0) in rdconfig()
229 else if (strcmp(temp, "CATEGORY") == 0) in rdconfig()
232 temp[0] = '\0'; in rdconfig()
254 (void) snprintf(temp, sizeof (temp), in rdconfig()
256 if (access(temp, 0) == 0) in rdconfig()
259 (void) snprintf(temp, sizeof (temp), in rdconfig()
261 if (access(temp, 0) == 0) in rdconfig()
379 char temp[256]; in compver() local
381 (void) snprintf(temp, sizeof (temp), in compver()
383 if ((fp = fopen(temp, "r")) == NULL) in compver()
386 while (fgets(temp, 256, fp)) { in compver()
387 if (*temp == '#') in compver()
389 if (verscmp(temp, version) == 0) { in compver()
425 char temp[128]; in ckinfo() local
438 temp[0] = '\0'; in ckinfo()
440 while (value = fpkgparam(fp, temp)) { in ckinfo()
441 if (strcmp(temp, "ARCH") == 0) { in ckinfo()
453 } else if (strcmp(temp, "VERSION") == 0) { in ckinfo()
459 temp[0] = '\0'; in ckinfo()