Lines Matching refs:offs
51 print_0x8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_0x8() argument
53 if (!zero && !buf[offs]) in print_0x8()
56 printf("%s=%#02hhx", prefix, buf[offs]); in print_0x8()
62 print_u8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_u8() argument
64 if (!zero && !buf[offs]) in print_u8()
67 printf("%s=%hhu", prefix, buf[offs]); in print_u8()
73 print_u16(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_u16() argument
75 uint16_t val = *(uint16_t *) (buf + offs); in print_u16()
86 print_x32(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_x32() argument
88 uint32_t val = *(uint32_t *) (buf + offs); in print_x32()
99 print_weight(const char *prefix, unsigned char *buf, unsigned int offs, in print_weight() argument
102 uint32_t val = *(uint32_t *) (buf + offs); in print_weight()
104 if (print_x32(prefix, buf, offs, zero)) { in print_weight()
183 print_ebcdic(const char *prefix, unsigned char *addr, unsigned int offs, in print_ebcdic() argument
186 const char *ascii = ebcdic2ascii(addr + offs, size); in print_ebcdic()
191 for (i = 0; (addr[offs + i] == (blank ? 64 : 0)) && (i < size); in print_ebcdic()
200 print_quoted_hex((char *) (addr + offs), size); in print_ebcdic()
212 uint16_t offs = *(uint16_t *) (buf + offs_pos); in print_hypervisor_header() local
216 if (!offs) in print_hypervisor_header()
222 cur = buf + offs; in print_hypervisor_header()
292 uint16_t offs = *(uint16_t *) (buf + offs_pos); in print_guest_header() local
296 if (!offs) in print_guest_header()
302 cur = buf + offs; in print_guest_header()
469 uint16_t offs; in print_sthyi() local
557 offs = *(uint16_t *) (buf + 12); in print_sthyi()
558 if (!offs) in print_sthyi()
566 cur = buf + offs; in print_sthyi()
619 offs = *(uint16_t *) (buf + 16); in print_sthyi()
620 if (!offs) in print_sthyi()
628 cur = buf + offs; in print_sthyi()