Searched refs:allocSize (Results 1 - 15 of 15) 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: %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 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/utils/
H A DLinearAllocator.cpp224 void LinearAllocator::rewindIfLastAlloc(void* ptr, size_t allocSize) { argument
230 allocSize = ALIGN(allocSize);
232 && ptr == ((char*)mNext - allocSize)) {
233 mWastedSpace += allocSize;
H A DLinearAllocator.h83 void rewindIfLastAlloc(void* ptr, size_t allocSize);
/frameworks/base/libs/hwui/
H A DVertexBuffer.h145 void createDegenerateSeparators(int allocSize) { argument
147 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) {
H A DPathTessellator.cpp268 const int allocSize = (vertices.size() + extra) * 2; local
269 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize);
300 Vertex::set(&buffer[allocSize - 1 - capOffset],
578 const int allocSize = 6 * vertices.size() + 2 + 6 * extra; local
580 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(allocSize);
/frameworks/av/media/libstagefright/
H A DSampleTable.cpp346 uint64_t allocSize = (uint64_t)mTimeToSampleCount * 2 * sizeof(uint32_t); local
347 if (allocSize > UINT32_MAX) {
394 uint64_t allocSize = (uint64_t)numEntries * 2 * sizeof(uint32_t); local
395 if (allocSize > UINT32_MAX) {
446 uint64_t allocSize = mNumSyncSamples * (uint64_t)sizeof(uint32_t); local
447 if (allocSize > SIZE_MAX) {
/frameworks/rs/driver/
H A DrsdAllocation.cpp354 size_t allocSize = alloc->mHal.drvState.faceOffset; local
356 allocSize *= 6;
359 return allocSize;
362 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero) { argument
364 uint8_t* ptr = (uint8_t *)memalign(16, allocSize);
369 memset(ptr, 0, allocSize);
382 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), nullptr); local
409 ptr = allocAlignedMemory(allocSize, forceZero);
421 ptr = allocAlignedMemory(allocSize, forceZero);
430 if(allocSize !
[all...]
/frameworks/rs/
H A DrsScriptC_LibGL.cpp219 size_t allocSize = a->getType()->getPackedSizeBytes(); local
220 rsc->mStateFont.renderText(text, allocSize, x, y);
/frameworks/native/opengl/libagl/
H A Degl.cpp397 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/base/tools/aapt/
H A DAaptAssets.cpp446 size_t allocSize = (size*3)/2; local
447 void* buf = realloc(mData, allocSize);
453 mBufferSize = allocSize;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java296 int config, int allocSize, boolean isPremultiplied) {
295 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp789 jint width, jint height, jint configHandle, jint allocSize,
799 if (width * height * SkColorTypeBytesPerPixel(colorType) > allocSize) {
788 Bitmap_reconfigure(JNIEnv* env, jobject clazz, jlong bitmapHandle, jint width, jint height, jint configHandle, jint allocSize, jboolean requestPremul) argument
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java1684 int config, int allocSize,
1683 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument

Completed in 330 milliseconds