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