Lines Matching refs:toybuf
34 int endian = toybuf[5], bits = toybuf[4], i, j, dynamic = 0, stripped = 1,
59 i = elf_int(toybuf+16, 2);
65 if (elf_int(toybuf+36+12*(bits==2), 4) & 0x8000) printf(" (fdpic)");
85 j = elf_int(toybuf+18, 2);
104 phentsize = elf_int(toybuf+42+12*bits, 2);
105 phnum = elf_int(toybuf+44+12*bits, 2);
106 phoff = elf_int(toybuf+28+4*bits, 4+4*bits);
107 shsize = elf_int(toybuf+46+12*bits, 2);
108 shnum = elf_int(toybuf+48+12*bits, 2);
109 shoff = elf_int(toybuf+32+8*bits, 4+4*bits);
210 memset(toybuf, 0, 80); in do_regular_file()
211 if ((len = readall(fd, s = toybuf, sizeof(toybuf)))<0) perror_msg("%s", name); in do_regular_file()
245 else if (len>32 && !memcmp(toybuf, "\xff\xd8", 2)) xputs("JPEG image data"); in do_regular_file()
262 if (toybuf[5] == '7') cpioformat = "pre-SVR4 or odc"; in do_regular_file()
263 else if (toybuf[5] == '1') cpioformat = "SVR4 with no CRC"; in do_regular_file()
264 else if (toybuf[5] == '2') cpioformat = "SVR4 with CRC"; in do_regular_file()
274 int ver = toybuf[4]; in do_regular_file()
386 for (what = s; (s-toybuf)<len && !isspace(*s); s++); in do_regular_file()
391 if (!(isprint(toybuf[i]) || isspace(toybuf[i]))) { in do_regular_file()