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