MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / ReallocatePool

Function ReallocatePool

Xcode/cpp_tests/src/Platform.cpp:152–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150}
151
152void* ReallocatePool(UINTN OldSize, UINTN NewSize, void* OldBuffer)
153{
154 (void)OldSize;
155 if ( !OldBuffer ) return AllocatePool(NewSize);
156 return (void*)realloc(OldBuffer, (size_t)NewSize);
157}
158
159void FreePool(const void* Buffer)
160{

Callers 15

DevicePathToText.cFile · 0.50
DevPathFromTextAcpiAdrFunction · 0.50
Hotkey.cFile · 0.50
ScanDriverDirFunction · 0.50
MarkTableAsSavedFunction · 0.50
ResetNativeNvramFunction · 0.50

Calls 2

AllocatePoolFunction · 0.70
reallocFunction · 0.50

Tested by

no test coverage detected