Searched refs:usedBytes (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/ |
D | GrBufferAllocPool.cpp | 152 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpace() local 153 size_t pad = GrSizeAlignUpPad(usedBytes, alignment); in makeSpace() 155 memset((void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes), 0, pad); in makeSpace() 156 usedBytes += pad; in makeSpace() 157 *offset = usedBytes; in makeSpace() 162 return (void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes); in makeSpace() 202 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpaceAtLeast() local 203 size_t pad = GrSizeAlignUpPad(usedBytes, alignment); in makeSpaceAtLeast() 206 memset((void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes), 0, pad); in makeSpaceAtLeast() 207 usedBytes += pad; in makeSpaceAtLeast() [all …]
|
/external/svox/pico/lib/ |
D | picoextapi.c | 142 picoos_int32 *usedBytes, in getMemUsage() argument 153 picoos_getMemUsage(common->mm, resetIncremental, usedBytes, incrUsedBytes, maxUsedBytes); in getMemUsage()
|
D | picoos.c | 479 picoos_int32 *usedBytes, in picoos_getMemUsage() argument 483 *usedBytes = (picoos_int32) this->usedSize; in picoos_getMemUsage() 495 picoos_int32 usedBytes, incrUsedBytes, maxUsedBytes; in picoos_showMemUsage() local 497 picoos_getMemUsage(this, resetIncremental, &usedBytes, &incrUsedBytes, in picoos_showMemUsage() 502 PICODBG_DEBUG(("memory used: %d, maximally used: %d", usedBytes, maxUsedBytes)); in picoos_showMemUsage()
|
D | picoos.h | 195 picoos_int32 *usedBytes,
|