Searched refs:old_bytes (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/interception/ |
D | interception_win.cc | 157 char *old_bytes = (char *)old_func; in OverrideFunction() local 164 head = RoundUpToInstrBoundary(head, old_bytes); in OverrideFunction() 172 _memcpy(trampoline, old_bytes, head); in OverrideFunction() 173 WriteJumpInstruction(trampoline + head, old_bytes + head); in OverrideFunction() 182 if (!VirtualProtect((void *)old_bytes, head, PAGE_EXECUTE_READWRITE, in OverrideFunction() 186 WriteJumpInstruction(old_bytes, (char *)new_func); in OverrideFunction() 187 _memset(old_bytes + 5, 0xCC /* int 3 */, head - 5); in OverrideFunction() 190 if (!VirtualProtect((void *)old_bytes, head, old_prot, &unused_prot)) in OverrideFunction()
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_config.c | 416 short old_bytes = p->bytes; in alloc_node() local 418 memset(value + old_bytes, 0, grow); in alloc_node() 419 p->bytes = old_bytes + grow; in alloc_node() 421 return old_bytes;//return the previous size in alloc_node()
|