/frameworks/base/core/jni/ |
H A D | android_ddm_DdmHandleNativeHeap.cpp | 40 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 D | LinearAllocator.cpp | 183 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 D | PathTessellator.h | 69 void createDegenerateSeparators(int allocSize) { argument 71 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) {
|
H A D | PathTessellator.cpp | 237 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 D | MemoryUsage.java | 47 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 D | LoadClass.java | 52 int allocSize = Debug.getGlobalAllocSize(); 72 response.append(',').append(allocSize);
|
/frameworks/native/include/utils/ |
H A D | LinearAllocator.h | 58 void rewindIfLastAlloc(void* ptr, size_t allocSize);
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 342 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 D | rsScriptC_LibGL.cpp | 223 size_t allocSize = a->getType()->getSizeBytes(); local 224 rsc->mStateFont.renderText(text, allocSize, x, y);
|
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 157 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 D | AaptAssets.cpp | 1562 size_t allocSize = (size*3)/2; local 1563 void* buf = realloc(mData, allocSize); 1569 mBufferSize = allocSize;
|