Searched defs:allocSize (Results 1 - 10 of 10) 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/base/libs/hwui/
H A DPathTessellator.h81 void createDegenerateSeparators(int allocSize) { argument
83 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) {
H A DPathTessellator.cpp251 const int allocSize = (vertices.size() + extra) * 2; local
252 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize);
284 Vertex::set(&buffer[allocSize - 1 - capOffset],
566 const int allocSize = 6 * vertices.size() + 2 + 6 * extra; local
568 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/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.cpp357 int width, int height, SkBitmap::Config config, int allocSize) {
358 if (width * height * SkBitmap::ComputeBytesPerPixel(config) > allocSize) {
356 Bitmap_reconfigure(JNIEnv* env, jobject clazz, jint bitmapInt, int width, int height, SkBitmap::Config config, int allocSize) argument
/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/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/graphics/java/android/graphics/
H A DBitmap.java1576 int config, int allocSize);
1575 nativeReconfigure(int nativeBitmap, int width, int height, int config, int allocSize) argument
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp1565 size_t allocSize = (size*3)/2; local
1566 void* buf = realloc(mData, allocSize);
1572 mBufferSize = allocSize;

Completed in 339 milliseconds