Lines Matching refs:toybuf
36 int endian = toybuf[5], bits = toybuf[4], i, j, dynamic = 0, stripped = 1,
46 i = elf_int(toybuf+16, 2);
52 if (elf_int(toybuf+36+12*(bits==2), 4) & 0x8000) printf(" (fdpic)");
72 printf("%s", elf_arch_name(elf_int(toybuf+18, 2)));
88 phentsize = elf_int(toybuf+42+12*bits, 2);
89 phnum = elf_int(toybuf+44+12*bits, 2);
90 phoff = elf_int(toybuf+28+4*bits, 4+4*bits);
91 shsize = elf_int(toybuf+46+12*bits, 2);
92 shnum = elf_int(toybuf+48+12*bits, 2);
93 shoff = elf_int(toybuf+32+8*bits, 4+4*bits);
203 memset(toybuf, 0, 80); in do_regular_file()
204 if ((len = readall(fd, s = toybuf, sizeof(toybuf)))<0) perror_msg("%s", name); in do_regular_file()
238 else if (len>32 && !memcmp(toybuf, "\xff\xd8", 2)) xputs("JPEG image data"); in do_regular_file()
255 if (toybuf[5] == '7') cpioformat = "pre-SVR4 or odc"; in do_regular_file()
256 else if (toybuf[5] == '1') cpioformat = "SVR4 with no CRC"; in do_regular_file()
257 else if (toybuf[5] == '2') cpioformat = "SVR4 with CRC"; in do_regular_file()
268 int ver = toybuf[4]; in do_regular_file()
274 int ver = toybuf[6]*10+toybuf[7]; in do_regular_file()
417 for (what = s; (s-toybuf)<len && !isspace(*s); s++); in do_regular_file()
422 if (!(isprint(toybuf[i]) || isspace(toybuf[i]))) { in do_regular_file()
459 sprintf(what = toybuf, "%s special (%u/%u)", in file_main()
477 sprintf(what = toybuf, "%ssymbolic link to %s", in file_main()