Lines Matching refs:cp
331 unsigned int *cp = (unsigned int *)buffer; in dasm_encode() local
348 case DASM_ESC: *cp++ = *p++; break; in dasm_encode()
350 n = DASM_EXTERN(Dst, (unsigned char *)cp, (ins & 2047), 1) - 4; in dasm_encode()
353 ins &= 255; while ((((char *)cp - base) & ins)) *cp++ = 0x60000000; in dasm_encode()
357 n = (int)((ptrdiff_t)D->globals[-n] - (ptrdiff_t)cp); in dasm_encode()
363 n = *DASM_POS2PTR(D, n) - (int)((char *)cp - base); in dasm_encode()
368 cp[-1] |= ((n+4) & ((ins & 2048) ? 0x0000fffc: 0x03fffffc)); in dasm_encode()
375 cp[-1] |= (n & ((1<<((ins>>5)&31))-1)) << (ins&31); in dasm_encode()
378 cp[-1] |= (ins & 1) ? ((n&31)<<11)|((n&32)>>4) : ((n&31)<<6)|(n&32); in dasm_encode()
380 default: *cp++ = ins; break; in dasm_encode()
387 if (base + D->codesize != (char *)cp) /* Check for phase errors. */ in dasm_encode()