MCPcopy Create free account
hub / github.com/Samsung/rlottie / NextBlock

Method NextBlock

src/vector/varenaalloc.cpp:82–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82char* VArenaAlloc::NextBlock(char* footerEnd) {
83 char* objEnd = footerEnd - (sizeof(Footer) + sizeof(char*));
84 char* next;
85 memmove(&next, objEnd, sizeof(char*));
86 RunDtorsOnBlock(next);
87 delete [] objEnd;
88 return nullptr;
89}
90
91void VArenaAlloc::installUint32Footer(FooterAction* action, uint32_t value, uint32_t padding) {
92 memmove(fCursor, &value, sizeof(uint32_t));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected