MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / remove

Function remove

src/common/classes/alloc.cpp:222–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221 template <class T>
222 void remove(T* e)
223 {
224 fb_assert(e);
225 fb_assert(e->prev);
226
227 // adjust previous pointer in next element ...
228 if (e->next)
229 e->next->prev = e->prev;
230
231 // ... and next pointer in previous element
232 *(e->prev) = e->next;
233 }
234
235 template <class T>
236 T* pop(T* e)

Callers 15

removeIntoIfpMethod · 0.85
loginFailMethod · 0.85
loginSuccessMethod · 0.85
~WorkerMethod · 0.85
waitMethod · 0.85
setStateMethod · 0.85
CLIB_ROUTINE mainFunction · 0.85
backup_databaseMethod · 0.85
restore_databaseMethod · 0.85
releaseMethod · 0.85
setRuleMethod · 0.85
getMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected