Lines Matching defs:patch
22 void x86_memcpy_select(const CodePatchInfo* patch) {
29 DEBUG_ASSERT(patch->dest_size == kSize);
30 DEBUG_ASSERT(reinterpret_cast<uintptr_t>(patch->dest_addr) ==
40 patch->dest_addr[0] = 0xeb; /* jmp rel8 */
41 patch->dest_addr[1] = static_cast<uint8_t>(offset);
44 void x86_memset_select(const CodePatchInfo* patch) {
51 DEBUG_ASSERT(patch->dest_size == kSize);
52 DEBUG_ASSERT(reinterpret_cast<uintptr_t>(patch->dest_addr) ==
62 patch->dest_addr[0] = 0xeb; /* jmp rel8 */
63 patch->dest_addr[1] = static_cast<uint8_t>(offset);