/external/chromium_org/sandbox/win/src/sidestep/ |
H A D | preamble_patcher.h | 61 // Patches target_function to point to replacement_function using a provided 65 static SideStepError Patch(T target_function, T replacement_function, argument 67 return RawPatchWithStub(target_function, replacement_function, 82 // target_function: A pointer to the function that should be 102 static SideStepError RawPatchWithStub(void* target_function,
|
H A D | preamble_patcher_with_stub.cpp | 50 void* target_function, 55 if ((NULL == target_function) || 80 unsigned char* target = reinterpret_cast<unsigned char*>(target_function); 168 // Inv: The memory pointed to by target_function now points to a relative 49 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, size_t stub_size, size_t* bytes_needed) argument
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
H A D | auto_testing_hook.h | 88 static AutoTestingHookImpl<T> MakeTestingHook(T target_function, argument 91 return AutoTestingHookImpl<T>(target_function, replacement_function, do_it); 94 static AutoTestingHookImpl<T>* MakeTestingHookHolder(T target_function, argument 97 return new AutoTestingHookImpl<T>(target_function, 117 AutoTestingHookImpl(T target_function, T replacement_function, bool do_it) argument 118 : target_function_(target_function), 123 SIDESTEP_CHK(SIDESTEP_SUCCESS == PreamblePatcher::Patch(target_function,
|
H A D | preamble_patcher.h | 167 static SideStepError Patch(T target_function, argument 173 return RawPatch((void*)(target_function), 237 // @param target_function A pointer to the function that should be 264 static SideStepError RawPatch(void* target_function, 268 // Unpatches target_function and deletes the stub that previously could be 273 // @param target_function Pointer to the target function which was 277 // @param replacement_function Pointer to the function target_function 292 static SideStepError Unpatch(void* target_function, 301 // @param target_function Pointer to a function. 303 // @return Either target_function (th 308 ResolveTarget(T target_function) argument [all...] |
H A D | preamble_patcher_with_stub.cc | 56 void* target_function, 61 if ((NULL == target_function) || 87 unsigned char* target = reinterpret_cast<unsigned char*>(target_function); 281 // Inv: The memory pointed to by target_function now points to a relative 287 // In 64-bit mode the memory pointed to by target_function *may* point to a 55 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
|
H A D | preamble_patcher.cc | 157 void* target_function, void *replacement_function, 161 // MAX_PREAMBLE_STUB_SIZE bytes of target_function 163 BOOL succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function), 173 SideStepError error_code = RawPatchWithStub(target_function, 182 succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function), 209 target_function, 221 SideStepError PreamblePatcher::RawPatch(void* target_function, argument 224 if (!target_function || !replacement_function || !original_function_stub || 225 (*original_function_stub) || target_function == replacement_function) { 239 void* new_target = ResolveTarget(target_function); 156 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument 290 Unpatch(void* target_function, void* replacement_function, void* original_function_stub) argument [all...] |
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
H A D | auto_testing_hook.h | 88 static AutoTestingHookImpl<T> MakeTestingHook(T target_function, argument 91 return AutoTestingHookImpl<T>(target_function, replacement_function, do_it); 94 static AutoTestingHookImpl<T>* MakeTestingHookHolder(T target_function, argument 97 return new AutoTestingHookImpl<T>(target_function, 117 AutoTestingHookImpl(T target_function, T replacement_function, bool do_it) argument 118 : target_function_(target_function), 123 SIDESTEP_CHK(SIDESTEP_SUCCESS == PreamblePatcher::Patch(target_function,
|
H A D | preamble_patcher.h | 167 static SideStepError Patch(T target_function, argument 173 return RawPatch((void*)(target_function), 237 // @param target_function A pointer to the function that should be 264 static SideStepError RawPatch(void* target_function, 268 // Unpatches target_function and deletes the stub that previously could be 273 // @param target_function Pointer to the target function which was 277 // @param replacement_function Pointer to the function target_function 292 static SideStepError Unpatch(void* target_function, 301 // @param target_function Pointer to a function. 303 // @return Either target_function (th 308 ResolveTarget(T target_function) argument [all...] |
H A D | preamble_patcher_with_stub.cc | 56 void* target_function, 61 if ((NULL == target_function) || 87 unsigned char* target = reinterpret_cast<unsigned char*>(target_function); 281 // Inv: The memory pointed to by target_function now points to a relative 287 // In 64-bit mode the memory pointed to by target_function *may* point to a 55 RawPatchWithStub( void* target_function, void* replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument
|
H A D | preamble_patcher.cc | 157 void* target_function, void *replacement_function, 161 // MAX_PREAMBLE_STUB_SIZE bytes of target_function 163 BOOL succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function), 173 SideStepError error_code = RawPatchWithStub(target_function, 182 succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function), 209 target_function, 221 SideStepError PreamblePatcher::RawPatch(void* target_function, argument 224 if (!target_function || !replacement_function || !original_function_stub || 225 (*original_function_stub) || target_function == replacement_function) { 239 void* new_target = ResolveTarget(target_function); 156 RawPatchWithStubAndProtections( void* target_function, void *replacement_function, unsigned char* preamble_stub, unsigned long stub_size, unsigned long* bytes_needed) argument 290 Unpatch(void* target_function, void* replacement_function, void* original_function_stub) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
H A D | brw_disasm.c | 302 char *target_function[16] = { variable 1161 err |= control (file, "target function", target_function,
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
H A D | brw_disasm.c | 302 char *target_function[16] = { variable 1161 err |= control (file, "target function", target_function,
|
/external/chromium_org/v8/src/ |
H A D | debug.cc | 2087 Handle<JSFunction> target_function; local 2124 target_function = function; 2134 target_function = function; 2143 target_function = function; 2165 MaybeHandle<Code> maybe_result = target_function.is_null() 2167 : Compiler::GetUnoptimizedCode(target_function);
|