Lines Matching defs:Patch
254 bool Patch(const LibcInfo& me_info);
329 void Patch();
545 bool LibcInfoWithPatchFunctions<T>::Patch(const LibcInfo& me_info) {
550 // patch. We need to set it to NULL for the new Patch call.
558 origstub_fn_[i] = NULL; // Patch() will fill this in
560 PreamblePatcher::Patch(windows_fn_[i], perftools_fn_[i],
582 void WindowsInfo::Patch() {
592 // patch. We need to set it to NULL for the new Patch call.
600 function_info_[i].origstub_fn = NULL; // Patch() will fill this in
602 PreamblePatcher::Patch(function_info_[i].windows_fn,
624 // Patch() returns false if there were no libc functions in the module.
628 case 0: libc1.Patch(me_info); return;
629 case 1: libc2.Patch(me_info); return;
630 case 2: libc3.Patch(me_info); return;
631 case 3: libc4.Patch(me_info); return;
632 case 4: libc5.Patch(me_info); return;
633 case 5: libc6.Patch(me_info); return;
634 case 6: libc7.Patch(me_info); return;
635 case 7: libc8.Patch(me_info); return;
645 ModuleEntryCopy fake_module_entry; // make a fake one to pass into Patch()
648 main_executable.Patch(main_executable);
1036 // since main_executable_windows.Patch() is not thread-safe.
1042 main_executable_windows.Patch();