Home
last modified time | relevance | path

Searched refs:target_function (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/tools/memory_watcher/
Dpreamble_patcher.cc19 void* target_function, void *replacement_function, in RawPatchWithStubAndProtections() argument
27 BOOL succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function), in RawPatchWithStubAndProtections()
37 SideStepError error_code = RawPatchWithStub(target_function, in RawPatchWithStubAndProtections()
49 succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function), in RawPatchWithStubAndProtections()
68 target_function, in RawPatchWithStubAndProtections()
80 SideStepError PreamblePatcher::RawPatch(void* target_function, in RawPatch() argument
83 if (!target_function || !replacement_function || !original_function_stub || in RawPatch()
84 (*original_function_stub) || target_function == replacement_function) { in RawPatch()
112 SideStepError error_code = RawPatchWithStubAndProtections(target_function, in RawPatch()
135 SideStepError PreamblePatcher::Unpatch(void* target_function, in Unpatch() argument
[all …]
Dpreamble_patcher.h118 static SideStepError Patch(T target_function, in Patch() argument
124 return RawPatch((void*)(target_function), in Patch()
213 static SideStepError RawPatch(void* target_function,
241 static SideStepError Unpatch(void* target_function,
275 static SideStepError RawPatchWithStubAndProtections(void* target_function,
284 static SideStepError RawPatchWithStub(void* target_function,
Dpreamble_patcher_with_stub.cc20 void* target_function, in RawPatchWithStub() argument
25 if ((NULL == target_function) || in RawPatchWithStub()
50 unsigned char* target = reinterpret_cast<unsigned char*>(target_function); in RawPatchWithStub()
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/
Dpreamble_patcher.h167 static SideStepError Patch(T target_function, in Patch() argument
173 return RawPatch((void*)(target_function), in Patch()
264 static SideStepError RawPatch(void* target_function,
292 static SideStepError Unpatch(void* target_function,
308 static T ResolveTarget(T target_function) { in ResolveTarget() argument
309 return (T)ResolveTargetImpl((unsigned char*)target_function, NULL); in ResolveTarget()
390 void* target_function,
420 static SideStepError RawPatchWithStub(void* target_function,
447 static void* ResolveTargetImpl(unsigned char* target_function,
Dauto_testing_hook.h88 static AutoTestingHookImpl<T> MakeTestingHook(T target_function, in MakeTestingHook() argument
91 return AutoTestingHookImpl<T>(target_function, replacement_function, do_it); in MakeTestingHook()
94 static AutoTestingHookImpl<T>* MakeTestingHookHolder(T target_function, in MakeTestingHookHolder() argument
97 return new AutoTestingHookImpl<T>(target_function, in MakeTestingHookHolder()
117 AutoTestingHookImpl(T target_function, T replacement_function, bool do_it) in AutoTestingHookImpl() argument
118 : target_function_(target_function), in AutoTestingHookImpl()
123 SIDESTEP_CHK(SIDESTEP_SUCCESS == PreamblePatcher::Patch(target_function, in AutoTestingHookImpl()
Dpreamble_patcher.cc157 void* target_function, void *replacement_function, in RawPatchWithStubAndProtections() argument
163 BOOL succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function), in RawPatchWithStubAndProtections()
173 SideStepError error_code = RawPatchWithStub(target_function, in RawPatchWithStubAndProtections()
182 succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function), in RawPatchWithStubAndProtections()
209 target_function, in RawPatchWithStubAndProtections()
221 SideStepError PreamblePatcher::RawPatch(void* target_function, in RawPatch() argument
224 if (!target_function || !replacement_function || !original_function_stub || in RawPatch()
225 (*original_function_stub) || target_function == replacement_function) { in RawPatch()
239 void* new_target = ResolveTarget(target_function); in RawPatch()
240 if (new_target != target_function) { in RawPatch()
[all …]
Dpreamble_patcher_with_stub.cc56 void* target_function, in RawPatchWithStub() argument
61 if ((NULL == target_function) || in RawPatchWithStub()
87 unsigned char* target = reinterpret_cast<unsigned char*>(target_function); in RawPatchWithStub()
Dpreamble_patcher_test.cc62 #define UNPATCH(target_function, replacement_function, original_function_stub) \ argument
63 sidestep::PreamblePatcher::Unpatch((void*)(target_function), \
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/
Dpreamble_patcher.h167 static SideStepError Patch(T target_function, in Patch() argument
173 return RawPatch((void*)(target_function), in Patch()
264 static SideStepError RawPatch(void* target_function,
292 static SideStepError Unpatch(void* target_function,
308 static T ResolveTarget(T target_function) { in ResolveTarget() argument
309 return (T)ResolveTargetImpl((unsigned char*)target_function, NULL); in ResolveTarget()
390 void* target_function,
420 static SideStepError RawPatchWithStub(void* target_function,
447 static void* ResolveTargetImpl(unsigned char* target_function,
Dauto_testing_hook.h88 static AutoTestingHookImpl<T> MakeTestingHook(T target_function, in MakeTestingHook() argument
91 return AutoTestingHookImpl<T>(target_function, replacement_function, do_it); in MakeTestingHook()
94 static AutoTestingHookImpl<T>* MakeTestingHookHolder(T target_function, in MakeTestingHookHolder() argument
97 return new AutoTestingHookImpl<T>(target_function, in MakeTestingHookHolder()
117 AutoTestingHookImpl(T target_function, T replacement_function, bool do_it) in AutoTestingHookImpl() argument
118 : target_function_(target_function), in AutoTestingHookImpl()
123 SIDESTEP_CHK(SIDESTEP_SUCCESS == PreamblePatcher::Patch(target_function, in AutoTestingHookImpl()
Dpreamble_patcher.cc157 void* target_function, void *replacement_function, in RawPatchWithStubAndProtections() argument
163 BOOL succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function), in RawPatchWithStubAndProtections()
173 SideStepError error_code = RawPatchWithStub(target_function, in RawPatchWithStubAndProtections()
182 succeeded = ::VirtualProtect(reinterpret_cast<void*>(target_function), in RawPatchWithStubAndProtections()
209 target_function, in RawPatchWithStubAndProtections()
221 SideStepError PreamblePatcher::RawPatch(void* target_function, in RawPatch() argument
224 if (!target_function || !replacement_function || !original_function_stub || in RawPatch()
225 (*original_function_stub) || target_function == replacement_function) { in RawPatch()
239 void* new_target = ResolveTarget(target_function); in RawPatch()
240 if (new_target != target_function) { in RawPatch()
[all …]
Dpreamble_patcher_with_stub.cc56 void* target_function, in RawPatchWithStub() argument
61 if ((NULL == target_function) || in RawPatchWithStub()
87 unsigned char* target = reinterpret_cast<unsigned char*>(target_function); in RawPatchWithStub()
Dpreamble_patcher_test.cc62 #define UNPATCH(target_function, replacement_function, original_function_stub) \ argument
63 sidestep::PreamblePatcher::Unpatch((void*)(target_function), \
/external/chromium_org/sandbox/win/src/sidestep/
Dpreamble_patcher.h65 static SideStepError Patch(T target_function, T replacement_function, in Patch() argument
67 return RawPatchWithStub(target_function, replacement_function, in Patch()
102 static SideStepError RawPatchWithStub(void* target_function,
Dpreamble_patcher_with_stub.cpp50 void* target_function, in RawPatchWithStub() argument
55 if ((NULL == target_function) || in RawPatchWithStub()
80 unsigned char* target = reinterpret_cast<unsigned char*>(target_function); in RawPatchWithStub()
/external/chromium_org/v8/src/
Ddebug.cc2210 Handle<JSFunction> target_function; in FindSharedFunctionInfoInScript() local
2249 target_function = function; in FindSharedFunctionInfoInScript()
2259 target_function = function; in FindSharedFunctionInfoInScript()
2268 target_function = function; in FindSharedFunctionInfoInScript()
2290 if (target_function.is_null()) { in FindSharedFunctionInfoInScript()
2293 JSFunction::CompileLazy(target_function, KEEP_EXCEPTION); in FindSharedFunctionInfoInScript()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_disasm.c302 char *target_function[16] = { variable
1161 err |= control (file, "target function", target_function, in brw_disasm()
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
Dbrw_disasm.c302 char *target_function[16] = { variable
1161 err |= control (file, "target function", target_function, in brw_disasm()