OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:DumbAllocatorBase
(Results
1 - 2
of
2
) sorted by null
/system/chre/apps/chqts/src/shared/
dumb_allocator.h
25
// Implementation Note: We chose the pattern of having
DumbAllocatorBase
to
29
class
DumbAllocatorBase
{
31
DumbAllocatorBase
(size_t allocSize, size_t slotCount, uint8_t *rawMemory);
65
class DumbAllocator :
DumbAllocatorBase
{
68
:
DumbAllocatorBase
(kAllocSize, kSlotCount, mRawMemoryArray) {}
77
return
DumbAllocatorBase
::alloc(bytes);
87
return
DumbAllocatorBase
::free(ptr);
95
return
DumbAllocatorBase
::contains(ptr);
dumb_allocator.cc
23
DumbAllocatorBase
::
DumbAllocatorBase
(size_t allocSize, size_t slotCount,
36
void *
DumbAllocatorBase
::alloc(size_t bytes) {
56
bool
DumbAllocatorBase
::free(void *pointer) {
65
bool
DumbAllocatorBase
::contains(const void *pointer) const {
70
bool
DumbAllocatorBase
::getSlot(const void *pointer, size_t *slot) const {
Completed in 213 milliseconds