Lines Matching refs:code
29 * UNW_DEC_BAD_CODE(code)
85 unw_decode_x1 (unsigned char *dp, unsigned char code, void *arg)
102 unw_decode_x2 (unsigned char *dp, unsigned char code, void *arg)
120 unw_decode_x3 (unsigned char *dp, unsigned char code, void *arg)
140 unw_decode_x4 (unsigned char *dp, unsigned char code, void *arg)
161 unw_decode_r1 (unsigned char *dp, unsigned char code, void *arg)
163 int body = (code & 0x20) != 0;
166 rlen = (code & 0x1f);
172 unw_decode_r2 (unsigned char *dp, unsigned char code, void *arg)
179 mask = ((code & 0x7) << 1) | ((byte1 >> 7) & 1);
187 unw_decode_r3 (unsigned char *dp, unsigned char code, void *arg)
192 UNW_DEC_PROLOGUE(R3, ((code & 0x3) == 1), rlen, arg);
197 unw_decode_p1 (unsigned char *dp, unsigned char code, void *arg)
199 unsigned char brmask = (code & 0x1f);
206 unw_decode_p2_p5 (unsigned char *dp, unsigned char code, void *arg)
208 if ((code & 0x10) == 0)
212 UNW_DEC_BR_GR(P2, ((code & 0xf) << 1) | ((byte1 >> 7) & 1),
215 else if ((code & 0x08) == 0)
219 r = ((code & 0x7) << 1) | ((byte1 >> 7) & 1);
238 else if ((code & 0x7) == 0)
240 else if ((code & 0x7) == 1)
250 UNW_DEC_BAD_CODE(code);
255 unw_decode_p6 (unsigned char *dp, unsigned char code, void *arg)
257 int gregs = (code & 0x10) != 0;
258 unsigned char mask = (code & 0x0f);
268 unw_decode_p7_p10 (unsigned char *dp, unsigned char code, void *arg)
273 if ((code & 0x10) == 0)
275 r = (code & 0xf);
304 switch (code & 0xf)
347 return unw_decode_x1 (dp, code, arg);
350 return unw_decode_x2 (dp, code, arg);
353 return unw_decode_x3 (dp, code, arg);
356 return unw_decode_x4 (dp, code, arg);
359 UNW_DEC_BAD_CODE(code);
367 unw_decode_b1 (unsigned char *dp, unsigned char code, void *arg)
369 unw_word label = (code & 0x1f);
371 if ((code & 0x20) != 0)
379 unw_decode_b2 (unsigned char *dp, unsigned char code, void *arg)
384 UNW_DEC_EPILOGUE(B2, t, (code & 0x1f), arg);
389 unw_decode_b3_x4 (unsigned char *dp, unsigned char code, void *arg)
393 if ((code & 0x10) == 0)
399 else if ((code & 0x07) == 0)
402 if ((code & 0x08) != 0)
408 switch (code & 0x7)
410 case 1: return unw_decode_x1 (dp, code, arg);
411 case 2: return unw_decode_x2 (dp, code, arg);
412 case 3: return unw_decode_x3 (dp, code, arg);
413 case 4: return unw_decode_x4 (dp, code, arg);
414 default: UNW_DEC_BAD_CODE(code); break;
453 unsigned char code;
455 code = *dp++;
456 decoder = unw_decode_table[inside_body][code >> 5];
457 dp = (*decoder) (dp, code, arg);