/frameworks/base/core/jni/ |
H A D | android_ddm_DdmHandleNativeHeap.cpp | 48 size_t allocSize; member in struct:Header 82 get_malloc_leak_info(&allocBytes, &header.allocSize, &header.allocInfoSize, 85 ALOGD("*** mapSize: %zu allocSize: %zu allocInfoSize: %zu totalMemory: %zu", 86 header.mapSize, header.allocSize, header.allocInfoSize, header.totalMemory); 94 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize); 101 header.allocSize, reinterpret_cast<jbyte*>(allocBytes));
|
/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/base/libs/hwui/utils/ |
H A D | LinearAllocator.cpp | 221 void LinearAllocator::rewindIfLastAlloc(void* ptr, size_t allocSize) { argument 227 allocSize = ALIGN(allocSize); 229 && ptr == ((char*)mNext - allocSize)) { 230 mWastedSpace += allocSize;
|
H A D | LinearAllocator.h | 98 void rewindIfLastAlloc(void* ptr, size_t allocSize);
|
/frameworks/base/libs/hwui/ |
H A D | VertexBuffer.h | 145 void createDegenerateSeparators(int allocSize) { argument 147 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) {
|
H A D | PathTessellator.cpp | 269 const int allocSize = (vertices.size() + extra) * 2; local 270 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize); 301 Vertex::set(&buffer[allocSize - 1 - capOffset], 580 const int allocSize = 6 * vertices.size() + 2 + 6 * extra; local 582 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(allocSize);
|
/frameworks/av/media/libstagefright/ |
H A D | SampleTable.cpp | 416 uint64_t allocSize = (uint64_t)numEntries * 2 * sizeof(uint32_t); local 417 if (allocSize > UINT32_MAX) { 468 uint64_t allocSize = mNumSyncSamples * (uint64_t)sizeof(uint32_t); local 469 if (allocSize > SIZE_MAX) {
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 353 size_t allocSize = alloc->mHal.drvState.faceOffset; local 355 allocSize *= 6; 358 return allocSize; 366 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero, size_t requiredAlignment) { argument 368 uint8_t* ptr = (uint8_t *)memalign(requiredAlignment, allocSize); 373 memset(ptr, 0, allocSize); 391 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), nullptr, requiredAlignment); local 432 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment); 444 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment); 453 if(allocSize ! [all...] |
/frameworks/rs/ |
H A D | rsScriptC_LibGL.cpp | 219 size_t allocSize = a->getType()->getPackedSizeBytes(); local 220 rsc->mStateFont.renderText(text, allocSize, x, y);
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 397 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * local 400 allocSize > UINT32_MAX) { 403 depth.data = (GGLubyte*)malloc(allocSize); 557 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * local 560 allocSize > UINT32_MAX) { 564 depth.data = (GGLubyte*)malloc(allocSize); 682 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * local 685 allocSize > UINT32_MAX) { 689 depth.data = (GGLubyte*)malloc(allocSize); 769 uint64_t allocSize local [all...] |
/frameworks/av/media/libmedia/ |
H A D | IOMX.cpp | 743 size_t allocSize = 0; local 757 allocSize = (size + pageSize * 2) & ~(pageSize - 1); 758 params = mmap(NULL, allocSize, PROT_READ | PROT_WRITE, 778 mprotect((char*)params + allocSize - pageSize, pageSize, PROT_NONE); 818 munmap(params, allocSize);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 449 size_t allocSize = (size*3)/2; local 450 void* buf = realloc(mData, allocSize); 456 mBufferSize = allocSize;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 330 int config, int allocSize, boolean isPremultiplied) { 329 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 800 jint width, jint height, jint configHandle, jint allocSize, 810 if (width * height * SkColorTypeBytesPerPixel(colorType) > allocSize) { 799 Bitmap_reconfigure(JNIEnv* env, jobject clazz, jlong bitmapHandle, jint width, jint height, jint configHandle, jint allocSize, jboolean requestPremul) argument
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 745 // allocSize = mtls->accumStride * (numAllocation - 1) + mtls->accumSize 746 const size_t allocSize = mtls->accumStride * numAllocAccum; local 747 mtls->accumAlloc = static_cast<uint8_t *>(memalign(mPageSize, allocSize));
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 1698 int config, int allocSize, 1697 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument
|