Lines Matching refs:what
93 // If what we've seen so far doesn't seem consistent, bail.
105 // Stash what we need from the header; it's okay to reuse toybuf after this.
292 char *what;
296 if (s[4] == 7) what = (bit==32)?"x86":"x86-";
297 else if (s[4] == 12) what = "arm";
298 else if (s[4] == 18) what = "ppc";
299 else what = NULL;
300 if (what) xprintf("%s%s ", what, (bit==32)?"":"64");
303 if (s[12] == 1) what = "object";
304 else if (s[12] == 2) what = "executable";
305 else if (s[12] == 6) what = "shared library";
306 else what = NULL;
307 if (what) xprintf("%s\n", what);
410 char *what = 0;
418 for (what = s; (s-toybuf)<len && !isspace(*s); s++);
427 if (!what) what = "UTF-8 text";
429 what = "data";
434 xputs(what ? what : "ASCII text");
450 char *name = *arg, *what = "unknown";
460 sprintf(what = toybuf, "%s special (%u/%u)",
466 if (!fd && !sb.st_size) what = "empty";
472 } else if (S_ISFIFO(sb.st_mode)) what = "fifo";
473 else if (S_ISDIR(sb.st_mode)) what = "directory";
474 else if (S_ISSOCK(sb.st_mode)) what = "socket";
478 sprintf(what = toybuf, "%ssymbolic link to %s",
482 xputs(what);