Searched refs:allocSize (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_ddm_DdmHandleNativeHeap.cpp40 size_t allocSize; member in struct:Header
74 get_malloc_leak_info(&allocBytes, &header.allocSize, &header.allocInfoSize,
77 ALOGD("*** mapSize: %d allocSize: %d allocInfoSize: %d totalMemory: %d",
78 header.mapSize, header.allocSize, header.allocInfoSize, header.totalMemory);
80 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize);
87 header.allocSize, reinterpret_cast<jbyte*>(allocBytes));
/frameworks/native/libs/utils/
H A DLinearAllocator.cpp183 void LinearAllocator::rewindIfLastAlloc(void* ptr, size_t allocSize) { argument
185 allocSize = ALIGN(allocSize);
187 && ptr == ((char*)mNext - allocSize)) {
188 mTotalAllocated -= allocSize;
189 mWastedSpace += allocSize;
/frameworks/base/libs/hwui/
H A DPathTessellator.h69 void createDegenerateSeparators(int allocSize) { argument
71 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) {
H A DPathTessellator.cpp237 const int allocSize = (vertices.size() + extra) * 2; local
239 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize);
272 Vertex::set(&buffer[allocSize - 1 - capOffset],
565 const int allocSize = 6 * vertices.size() + 2 + 6 * extra; local
567 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(allocSize);
/frameworks/base/tools/preload/
H A DMemoryUsage.java47 final int allocSize; field in class:MemoryUsage
62 allocSize = Integer.parseInt(parsed[8]);
77 allocSize = -1;
90 int allocSize,
101 this.allocSize = allocSize;
116 allocSize - baseline.allocSize,
123 return allocSize - freedSize;
83 MemoryUsage(int nativeSharedPages, int javaSharedPages, int otherSharedPages, int nativePrivatePages, int javaPrivatePages, int otherPrivatePages, int allocCount, int allocSize, int freedCount, int freedSize, long nativeHeapSize) argument
/frameworks/base/tools/preload/loadclass/
H A DLoadClass.java52 int allocSize = Debug.getGlobalAllocSize();
72 response.append(',').append(allocSize);
/frameworks/native/include/utils/
H A DLinearAllocator.h58 void rewindIfLastAlloc(void* ptr, size_t allocSize);
/frameworks/rs/driver/
H A DrsdAllocation.cpp342 size_t allocSize = alloc->mHal.drvState.faceOffset; local
344 allocSize *= 6;
347 return allocSize;
350 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero) { argument
352 uint8_t* ptr = (uint8_t *)memalign(16, allocSize);
357 memset(ptr, 0, allocSize);
370 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), NULL); local
397 ptr = allocAlignedMemory(allocSize, forceZero);
409 ptr = allocAlignedMemory(allocSize, forceZero);
418 if(allocSize !
[all...]
/frameworks/rs/
H A DrsScriptC_LibGL.cpp223 size_t allocSize = a->getType()->getSizeBytes(); local
224 rsc->mStateFont.renderText(text, allocSize, x, y);
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp157 allocSize = 1 + size / 8192; // 1 bit per kilobyte
158 bitmap = (char*) calloc(1, allocSize);
175 int numlines = allocSize / 12;
190 size_t allocSize; member in struct:android::ReadTracker
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp1562 size_t allocSize = (size*3)/2; local
1563 void* buf = realloc(mData, allocSize);
1569 mBufferSize = allocSize;

Completed in 383 milliseconds