Home
last modified time | relevance | path

Searched refs:mHeapSize (Results 1 – 4 of 4) sorted by relevance

/hardware/msm7k/libgralloc-qsd8k/
Dallocator.cpp26 : mHeapSize(0) in SimpleBestFitAllocator()
31 : mHeapSize(0) in SimpleBestFitAllocator()
46 if (mHeapSize != 0) return -EINVAL; in setSize()
48 mHeapSize = ((size + pagesize-1) & ~(pagesize-1)); in setSize()
49 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); in setSize()
57 return mHeapSize; in size()
63 if (mHeapSize == 0) return -EINVAL; in allocate()
71 if (mHeapSize == 0) return -EINVAL; in deallocate()
Dallocator.h127 size_t mHeapSize; variable
/hardware/msm7k/libgralloc/
Dallocator.cpp26 : mHeapSize(0) in SimpleBestFitAllocator()
31 : mHeapSize(0) in SimpleBestFitAllocator()
46 if (mHeapSize != 0) return -EINVAL; in setSize()
48 mHeapSize = ((size + pagesize-1) & ~(pagesize-1)); in setSize()
49 chunk_t* node = new chunk_t(0, mHeapSize / kMemoryAlign); in setSize()
57 return mHeapSize; in size()
63 if (mHeapSize == 0) return -EINVAL; in allocate()
71 if (mHeapSize == 0) return -EINVAL; in deallocate()
Dallocator.h126 size_t mHeapSize; variable