Lines Matching defs:pinst

61 unsigned int DecoderBase::fill_prefs(const unsigned char * bytes, Inst * pinst)
78 return pinst->prefc;
106 return pinst->prefc;
108 return pinst->prefc;
119 return pinst->prefc;
124 if (InstPrefix_Null != pinst->pref[where]) //only one prefix in each group
127 pinst->pref[where] = (InstPrefix)by1;
129 if (pinst->prefc >= 4) //no more than 4 prefixes
132 pinst->prefc++;
139 unsigned DecoderBase::decode(const void * addr, Inst * pinst)
176 if (pinst) {
177 *pinst = tmp;
191 const unsigned char ** pbuf, Inst * pinst
200 EncoderBase::Operand& opnd = pinst->operands[pinst->argc];
201 const EncoderBase::OpndDesc& opndDesc = odesc.opnds[pinst->argc];
211 decodeModRM(odesc, pbuf, pinst, rex);
213 decodeModRM(odesc, pbuf, pinst);
215 ++pinst->argc;
216 const EncoderBase::OpndDesc& opndDesc2 = odesc.opnds[pinst->argc];
218 EncoderBase::Operand& regOpnd = pinst->operands[pinst->argc];
223 EncoderBase::Operand& regOpnd = pinst->operands[pinst->argc];
226 ++pinst->argc;
228 decodeModRM(odesc, pbuf, pinst, rex);
230 decodeModRM(odesc, pbuf, pinst);
233 ++pinst->argc;
271 ++pinst->argc;
280 ++pinst->argc;
281 //pinst->direct_addr = (void*)(pinst->offset + *pbuf);
291 ++pinst->argc;
300 ++pinst->argc;
309 decodeModRM(odesc, pbuf, pinst
314 ++pinst->argc;
321 ++pinst->argc;
329 ++pinst->argc;
337 ++pinst->argc;
346 ++pinst->argc;
369 bool DecoderBase::try_mn(Mnemonic mn, const unsigned char ** pbuf, Inst * pinst) {
423 if (!decode_aux(odesc, odesc.aux0, pbuf, pinst
431 if (!decode_aux(odesc, odesc.aux1, pbuf, pinst
439 pinst->odesc = &opcodes[i];
445 pinst->odesc = &opcodes[i];
453 const unsigned char ** pbuf, Inst * pinst
459 EncoderBase::Operand& opnd = pinst->operands[pinst->argc];
460 const EncoderBase::OpndDesc& opndDesc = odesc.opnds[pinst->argc];