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

/frameworks/base/core/jni/
H A Dandroid_ddm_DdmHandleNativeHeap.cpp48 size_t allocSize; member in struct:Header
82 get_malloc_leak_info(&allocBytes, &header.allocSize, &header.allocInfoSize,
85 ALOGD("*** mapSize: %d allocSize: %d allocInfoSize: %d totalMemory: %d",
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 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/base/libs/hwui/
H A DVertexBuffer.h144 void createDegenerateSeparators(int allocSize) { argument
146 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) {
H A DPathTessellator.cpp269 const int allocSize = (vertices.size() + extra) * 2; local
270 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize);
302 Vertex::set(&buffer[allocSize - 1 - capOffset],
581 const int allocSize = 6 * vertices.size() + 2 + 6 * extra; local
583 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(allocSize);
/frameworks/av/media/libstagefright/
H A DSampleTable.cpp333 uint64_t allocSize = mTimeToSampleCount * 2 * sizeof(uint32_t); local
334 if (allocSize > SIZE_MAX) {
379 uint64_t allocSize = numEntries * 2 * sizeof(uint32_t); local
380 if (allocSize > SIZE_MAX) {
429 uint64_t allocSize = mNumSyncSamples * sizeof(uint32_t); local
430 if (allocSize > SIZE_MAX) {
/frameworks/rs/driver/
H A DrsdAllocation.cpp351 size_t allocSize = alloc->mHal.drvState.faceOffset; local
353 allocSize *= 6;
356 return allocSize;
359 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero) { argument
361 uint8_t* ptr = (uint8_t *)memalign(16, allocSize);
366 memset(ptr, 0, allocSize);
379 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), NULL); local
406 ptr = allocAlignedMemory(allocSize, forceZero);
418 ptr = allocAlignedMemory(allocSize, forceZero);
427 if(allocSize !
[all...]
/frameworks/rs/
H A DrsScriptC_LibGL.cpp223 size_t allocSize = a->getType()->getPackedSizeBytes(); local
224 rsc->mStateFont.renderText(text, allocSize, x, y);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp390 jint width, jint height, jint configHandle, jint allocSize,
400 if (width * height * SkColorTypeBytesPerPixel(colorType) > allocSize) {
389 Bitmap_reconfigure(JNIEnv* env, jobject clazz, jlong bitmapHandle, jint width, jint height, jint configHandle, jint allocSize, jboolean requestPremul) argument
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp473 size_t allocSize = (size*3)/2; local
474 void* buf = realloc(mData, allocSize);
480 mBufferSize = allocSize;
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java1615 int config, int allocSize,
1614 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java317 int config, int allocSize, boolean isPremultiplied) {
316 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument

Completed in 6035 milliseconds