Home
last modified time | relevance | path

Searched refs:old_bytes (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/interception/
Dinterception_win.cc147 char *old_bytes = (char *)old_func; in OverrideFunction() local
154 head = RoundUpToInstrBoundary(head, old_bytes); in OverrideFunction()
162 _memcpy(trampoline, old_bytes, head); in OverrideFunction()
163 WriteJumpInstruction(trampoline + head, old_bytes + head); in OverrideFunction()
172 if (!VirtualProtect((void *)old_bytes, head, PAGE_EXECUTE_READWRITE, in OverrideFunction()
176 WriteJumpInstruction(old_bytes, (char *)new_func); in OverrideFunction()
177 _memset(old_bytes + 5, 0xCC /* int 3 */, head - 5); in OverrideFunction()
180 if (!VirtualProtect((void *)old_bytes, head, old_prot, &unused_prot)) in OverrideFunction()
/external/dbus/dbus/
Ddbus-memory.c626 size_t old_bytes; in dbus_realloc() local
646 old_bytes = *(dbus_uint32_t*)block; in dbus_realloc()
647 if (bytes >= old_bytes) in dbus_realloc()