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

/external/compiler-rt/lib/interception/
H A Dinterception_win.cc157 char *old_bytes = (char *)old_func; local
164 head = RoundUpToInstrBoundary(head, old_bytes);
172 _memcpy(trampoline, old_bytes, head);
173 WriteJumpInstruction(trampoline + head, old_bytes + head);
182 if (!VirtualProtect((void *)old_bytes, head, PAGE_EXECUTE_READWRITE,
186 WriteJumpInstruction(old_bytes, (char *)new_func);
187 _memset(old_bytes + 5, 0xCC /* int 3 */, head - 5);
190 if (!VirtualProtect((void *)old_bytes, head, old_prot, &unused_prot))
/external/bluetooth/bluedroid/btif/src/
H A Dbtif_config.c416 short old_bytes = p->bytes; local
418 memset(value + old_bytes, 0, grow);
419 p->bytes = old_bytes + grow;
421 return old_bytes;//return the previous size
423 else bdle("realloc failed, old_bytes:%d, grow:%d, total:%d", p->bytes, grow, p->bytes + grow);

Completed in 290 milliseconds