Lines Matching refs:v
158 uint64_t v; in ud_syn_print_imm() local
161 v = (int64_t)op->lval.sbyte; in ud_syn_print_imm()
164 v = (int64_t)op->lval.sdword; in ud_syn_print_imm()
167 v = v & ((1ull << u->opr_mode) - 1ull); in ud_syn_print_imm()
171 case 8 : v = op->lval.ubyte; break; in ud_syn_print_imm()
172 case 16: v = op->lval.uword; break; in ud_syn_print_imm()
173 case 32: v = op->lval.udword; break; in ud_syn_print_imm()
174 case 64: v = op->lval.uqword; break; in ud_syn_print_imm()
175 default: UD_ASSERT(!"invalid offset"); v = 0; /* keep cc happy */ in ud_syn_print_imm()
181 const char *name = u->sym_resolver(u, v, &offset); in ud_syn_print_imm()
192 ud_asmprintf(u, "0x%" FMT64 "x", v); in ud_syn_print_imm()
201 uint64_t v; in ud_syn_print_mem_disp() local
205 case 16: v = op->lval.uword; break; in ud_syn_print_mem_disp()
206 case 32: v = op->lval.udword; break; in ud_syn_print_mem_disp()
207 case 64: v = op->lval.uqword; break; in ud_syn_print_mem_disp()
208 default: UD_ASSERT(!"invalid offset"); v = 0; /* keep cc happy */ in ud_syn_print_mem_disp()
213 const char *name = u->sym_resolver(u, v, &offset); in ud_syn_print_mem_disp()
224 ud_asmprintf(u, "0x%" FMT64 "x", v); in ud_syn_print_mem_disp()
226 int64_t v; in ud_syn_print_mem_disp() local
229 case 8 : v = op->lval.sbyte; break; in ud_syn_print_mem_disp()
230 case 16: v = op->lval.sword; break; in ud_syn_print_mem_disp()
231 case 32: v = op->lval.sdword; break; in ud_syn_print_mem_disp()
232 default: UD_ASSERT(!"invalid offset"); v = 0; /* keep cc happy */ in ud_syn_print_mem_disp()
237 const char *name = u->sym_resolver(u, v, &offset); in ud_syn_print_mem_disp()
248 if (v < 0) { in ud_syn_print_mem_disp()
249 ud_asmprintf(u, "-0x%" FMT64 "x", -v); in ud_syn_print_mem_disp()
250 } else if (v > 0) { in ud_syn_print_mem_disp()
251 ud_asmprintf(u, "%s0x%" FMT64 "x", sign? "+" : "", v); in ud_syn_print_mem_disp()