Lines Matching refs:p
92 unsigned char *p = addr; in skip_prefix() local
100 if (*p == prefix_codes[i]) { in skip_prefix()
101 if (*p == 0x66) in skip_prefix()
104 if ((*p & 0xf8) == 0x48) in skip_prefix()
106 if ((*p & 0xf4) == 0x44) in skip_prefix()
108 if ((*p & 0xf0) == 0x40) in skip_prefix()
111 p++; in skip_prefix()
116 return (p - addr); in skip_prefix()
146 unsigned char *p; in get_ins_type() local
151 p = (unsigned char *)ins_addr; in get_ins_type()
152 p += skip_prefix(p, &prf); in get_ins_type()
153 p += get_opcode(p, &opcode); in get_ins_type()
167 unsigned char *p; in get_ins_reg_width() local
171 p = (unsigned char *)ins_addr; in get_ins_reg_width()
172 p += skip_prefix(p, &prf); in get_ins_reg_width()
173 p += get_opcode(p, &opcode); in get_ins_reg_width()
190 unsigned char *p; in get_ins_mem_width() local
194 p = (unsigned char *)ins_addr; in get_ins_mem_width()
195 p += skip_prefix(p, &prf); in get_ins_mem_width()
196 p += get_opcode(p, &opcode); in get_ins_mem_width()
414 unsigned char *p; in get_ins_reg_val() local
418 p = (unsigned char *)ins_addr; in get_ins_reg_val()
419 p += skip_prefix(p, &prf); in get_ins_reg_val()
420 p += get_opcode(p, &opcode); in get_ins_reg_val()
438 unsigned char mod_rm = *p; in get_ins_reg_val()
469 unsigned char *p; in get_ins_imm_val() local
473 p = (unsigned char *)ins_addr; in get_ins_imm_val()
474 p += skip_prefix(p, &prf); in get_ins_imm_val()
475 p += get_opcode(p, &opcode); in get_ins_imm_val()
485 mod_rm = *p; in get_ins_imm_val()
487 p++; in get_ins_imm_val()
493 p += 4; in get_ins_imm_val()
497 p += 1; in get_ins_imm_val()
501 p += 4; in get_ins_imm_val()
513 return *(unsigned char *)p; in get_ins_imm_val()
516 return *(unsigned short *)p; in get_ins_imm_val()
519 return *(unsigned int *)p; in get_ins_imm_val()
523 return *(unsigned long *)p; in get_ins_imm_val()