Searched defs:preamble_bytes (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/tools/memory_watcher/
H A Dpreamble_patcher_with_stub.cc78 unsigned int preamble_bytes = 0; local
79 while (preamble_bytes < 5) {
81 disassembler.Disassemble(target + preamble_bytes, preamble_bytes);
97 *bytes_needed = preamble_bytes + 5;
103 if (preamble_bytes + 5 > stub_size) {
110 reinterpret_cast<void*>(target), preamble_bytes); local
120 = ((reinterpret_cast<unsigned char*>(target) + preamble_bytes) -
121 (preamble_stub + preamble_bytes + 5));
126 preamble_stub[preamble_bytes]
[all...]
H A Dpreamble_patcher.cc146 unsigned int preamble_bytes = 0; local
147 while (preamble_bytes < 5) {
150 preamble_bytes, preamble_bytes);
197 original_function_stub, preamble_bytes); local
/external/chromium_org/sandbox/win/src/sidestep/
H A Dpreamble_patcher_with_stub.cpp87 unsigned int preamble_bytes = 0; local
88 while (preamble_bytes < 5) {
90 disassembler.Disassemble(target + preamble_bytes, &preamble_bytes);
106 *bytes_needed = preamble_bytes + 5;
108 // Inv: preamble_bytes is the number of bytes (at least 5) that we need to
112 if (preamble_bytes + 5 > stub_size) {
119 reinterpret_cast<void*>(target), preamble_bytes); local
128 = ((reinterpret_cast<unsigned char*>(target) + preamble_bytes) -
129 (preamble_stub + preamble_bytes
[all...]
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
H A Dpreamble_patcher_with_stub.cc139 unsigned int preamble_bytes = 0; local
141 while (preamble_bytes < kRequiredTargetPatchBytes) {
144 disassembler.Disassemble(target + preamble_bytes, cur_bytes);
148 if (IsShortConditionalJump(target + preamble_bytes, cur_bytes)) {
149 jump_ret = PatchShortConditionalJump(target + preamble_bytes, cur_bytes,
153 } else if (IsNearConditionalJump(target + preamble_bytes, cur_bytes) ||
154 IsNearRelativeJump(target + preamble_bytes, cur_bytes) ||
155 IsNearAbsoluteCall(target + preamble_bytes, cur_bytes) ||
156 IsNearRelativeCall(target + preamble_bytes, cur_bytes)) {
157 jump_ret = PatchNearJumpOrCall(target + preamble_bytes, cur_byte
[all...]
H A Dpreamble_patcher.cc341 unsigned int preamble_bytes = 0; local
346 disassembler.Disassemble(preamble_stub + preamble_bytes, cur_bytes);
350 if (IsNearConditionalJump(preamble_stub + preamble_bytes, cur_bytes) ||
351 IsNearRelativeJump(preamble_stub + preamble_bytes, cur_bytes) ||
352 IsNearAbsoluteCall(preamble_stub + preamble_bytes, cur_bytes) ||
353 IsNearRelativeCall(preamble_stub + preamble_bytes, cur_bytes)) {
354 jump_ret = PatchNearJumpOrCall(preamble_stub + preamble_bytes,
365 if (IsMovWithDisplacement(preamble_stub + preamble_bytes, cur_bytes)) {
367 if (PatchMovWithDisplacement(preamble_stub + preamble_bytes, cur_bytes,
378 original_function_stub) + preamble_bytes), cur_byte
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
H A Dpreamble_patcher_with_stub.cc139 unsigned int preamble_bytes = 0; local
141 while (preamble_bytes < kRequiredTargetPatchBytes) {
144 disassembler.Disassemble(target + preamble_bytes, cur_bytes);
148 if (IsShortConditionalJump(target + preamble_bytes, cur_bytes)) {
149 jump_ret = PatchShortConditionalJump(target + preamble_bytes, cur_bytes,
153 } else if (IsNearConditionalJump(target + preamble_bytes, cur_bytes) ||
154 IsNearRelativeJump(target + preamble_bytes, cur_bytes) ||
155 IsNearAbsoluteCall(target + preamble_bytes, cur_bytes) ||
156 IsNearRelativeCall(target + preamble_bytes, cur_bytes)) {
157 jump_ret = PatchNearJumpOrCall(target + preamble_bytes, cur_byte
[all...]
H A Dpreamble_patcher.cc341 unsigned int preamble_bytes = 0; local
346 disassembler.Disassemble(preamble_stub + preamble_bytes, cur_bytes);
350 if (IsNearConditionalJump(preamble_stub + preamble_bytes, cur_bytes) ||
351 IsNearRelativeJump(preamble_stub + preamble_bytes, cur_bytes) ||
352 IsNearAbsoluteCall(preamble_stub + preamble_bytes, cur_bytes) ||
353 IsNearRelativeCall(preamble_stub + preamble_bytes, cur_bytes)) {
354 jump_ret = PatchNearJumpOrCall(preamble_stub + preamble_bytes,
365 if (IsMovWithDisplacement(preamble_stub + preamble_bytes, cur_bytes)) {
367 if (PatchMovWithDisplacement(preamble_stub + preamble_bytes, cur_bytes,
378 original_function_stub) + preamble_bytes), cur_byte
[all...]

Completed in 194 milliseconds