Lines Matching refs:platform
207 + if (!strcmp(platform->machine, "intel"))
213 + else if (!strcmp(platform->machine, "x86_64"))
219 + else if (!strcmp(platform->machine, "ppc"))
245 - if (strcmp(platform->machine, "intel") == 0)
246 + if (!strcmp(platform->machine, "intel"))
252 + else if (!strcmp(platform->machine, "x86_64"))
258 + else if (!strcmp(platform->machine, "ppc"))
261 fprintf(fp, "Architecture: %s\n", platform->machine);
307 strcpy(platform->machine, "mips");
309 strcpy(platform->machine, "hppa");
312 strcpy(platform->machine, "powerpc");
314 + if (strstr(platform->machine, "86") != NULL)
315 + strcpy(platform->machine, "intel");
317 + strcpy(platform->machine, "powerpc");
319 for (temp = platform->machine; *temp != '\0'; temp ++)
324 if (strstr(platform->machine, "86") != NULL)
325 - strcpy(platform->machine, "intel");
327 + if (strstr(platform->machine, "64") != NULL)
328 + strcpy(platform->machine, "x86_64");
330 + strcpy(platform->machine, "intel");
332 else if (strncmp(platform->machine, "sun", 3) == 0)
333 strcpy(platform->machine, "sparc");
493 struct utsname *platform) /* I - Platform information */
615 - if (strcmp(platform->machine, "intel") == 0)
622 - Verbosity == 0 ? "--quiet" : "", platform->machine,
631 - if (strcmp(platform->machine, "intel") == 0)
637 - rpmdir, platform->machine, prodname, dist->version,
638 - dist->relnumber, platform->machine, directory, name);