/frameworks/base/tools/preload/ |
D | MemoryUsage.java | 47 final int allocSize; field in MemoryUsage 62 allocSize = Integer.parseInt(parsed[8]); in MemoryUsage() 77 allocSize = -1; in MemoryUsage() 90 int allocSize, in MemoryUsage() argument 101 this.allocSize = allocSize; in MemoryUsage() 116 allocSize - baseline.allocSize, in subtract() 123 return allocSize - freedSize; in javaHeapSize()
|
/frameworks/base/core/jni/ |
D | android_ddm_DdmHandleNativeHeap.cpp | 48 size_t allocSize; member 82 get_malloc_leak_info(&allocBytes, &header.allocSize, &header.allocInfoSize, in DdmHandleNativeHeap_getLeakInfo() 86 header.mapSize, header.allocSize, header.allocInfoSize, header.totalMemory); in DdmHandleNativeHeap_getLeakInfo() 94 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize); in DdmHandleNativeHeap_getLeakInfo() 101 header.allocSize, reinterpret_cast<jbyte*>(allocBytes)); in DdmHandleNativeHeap_getLeakInfo()
|
/frameworks/av/media/libstagefright/ |
D | SampleTable.cpp | 408 uint64_t allocSize = (uint64_t)mTimeToSampleCount * 2 * sizeof(uint32_t); in setTimeToSampleParams() local 409 mTotalSize += allocSize; in setTimeToSampleParams() 415 (unsigned long long)allocSize, in setTimeToSampleParams() 429 (size_t)allocSize) < (ssize_t)allocSize) { in setTimeToSampleParams() 477 uint64_t allocSize = (uint64_t)numEntries * 2 * sizeof(int32_t); in setCompositionTimeToSampleParams() local 478 if (allocSize > kMaxTotalSize) { in setCompositionTimeToSampleParams() 483 mTotalSize += allocSize; in setCompositionTimeToSampleParams() 489 (unsigned long long)allocSize, in setCompositionTimeToSampleParams() 503 (size_t)allocSize) < (ssize_t)allocSize) { in setCompositionTimeToSampleParams() 542 uint64_t allocSize = (uint64_t)numSyncSamples * sizeof(uint32_t); in setSyncSampleParams() local [all …]
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | rslist.rs | 51 int allocSize = rsAllocationGetDimX(listAlloc); 57 int totalItemHeight = itemHeight * allocSize; 80 for(int i = 0; i < allocSize; i ++) {
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | rslist.rs | 51 int allocSize = rsAllocationGetDimX(listAlloc); 57 int totalItemHeight = itemHeight * allocSize; 80 for(int i = 0; i < allocSize; i ++) {
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | rslist.rs | 51 int allocSize = rsAllocationGetDimX(listAlloc); 57 int totalItemHeight = itemHeight * allocSize; 80 for(int i = 0; i < allocSize; i ++) {
|
/frameworks/base/libs/hwui/utils/ |
D | LinearAllocator.cpp | 221 void LinearAllocator::rewindIfLastAlloc(void* ptr, size_t allocSize) { in rewindIfLastAlloc() argument 227 allocSize = ALIGN(allocSize); in rewindIfLastAlloc() 229 && ptr == ((char*)mNext - allocSize)) { in rewindIfLastAlloc() 230 mWastedSpace += allocSize; in rewindIfLastAlloc()
|
D | LinearAllocator.h | 98 void rewindIfLastAlloc(void* ptr, size_t allocSize);
|
/frameworks/base/libs/hwui/ |
D | VertexBuffer.h | 145 void createDegenerateSeparators(int allocSize) { in createDegenerateSeparators() argument 147 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) { in createDegenerateSeparators()
|
D | PathTessellator.cpp | 269 const int allocSize = (vertices.size() + extra) * 2; in getStrokeVerticesFromUnclosedVertices() local 270 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize); in getStrokeVerticesFromUnclosedVertices() 301 Vertex::set(&buffer[allocSize - 1 - capOffset], in getStrokeVerticesFromUnclosedVertices() 580 const int allocSize = 6 * vertices.size() + 2 + 6 * extra; in getStrokeVerticesFromUnclosedVerticesAA() local 582 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(allocSize); in getStrokeVerticesFromUnclosedVerticesAA()
|
/frameworks/base/tools/preload/loadclass/ |
D | LoadClass.java | 52 int allocSize = Debug.getGlobalAllocSize(); in main() local 72 response.append(',').append(allocSize); in main()
|
/frameworks/base/libs/hwui/hwui/ |
D | Bitmap.h | 54 static sk_sp<Bitmap> allocateAshmemBitmap(size_t allocSize, const SkImageInfo& info, 61 Bitmap(void* address, size_t allocSize, const SkImageInfo& info, size_t rowBytes);
|
D | Bitmap.cpp | 49 typedef sk_sp<Bitmap> (*AllocPixelRef)(size_t allocSize, const SkImageInfo& info,
|
/frameworks/rs/driver/ |
D | rsdAllocation.cpp | 346 size_t allocSize = alloc->mHal.drvState.faceOffset; in AllocationBuildPointerTable() local 348 allocSize *= 6; in AllocationBuildPointerTable() 351 return allocSize; in AllocationBuildPointerTable() 359 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero, size_t requiredAlignment) { in allocAlignedMemory() argument 361 uint8_t* ptr = (uint8_t *)memalign(requiredAlignment, allocSize); in allocAlignedMemory() 366 memset(ptr, 0, allocSize); in allocAlignedMemory() 384 …size_t allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), nullptr, requiredAlig… in rsdAllocationInitStrided() local 425 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment); in rsdAllocationInitStrided() 437 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment); in rsdAllocationInitStrided() 446 if(allocSize != verifySize) { in rsdAllocationInitStrided() [all …]
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 412 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * in connect() local 415 allocSize > UINT32_MAX) { in connect() 418 depth.data = (GGLubyte*)malloc(allocSize); in connect() 566 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * in swapBuffers() local 569 allocSize > UINT32_MAX) { in swapBuffers() 573 depth.data = (GGLubyte*)malloc(allocSize); in swapBuffers() 691 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * in egl_pixmap_surface_t() local 694 allocSize > UINT32_MAX) { in egl_pixmap_surface_t() 698 depth.data = (GGLubyte*)malloc(allocSize); in egl_pixmap_surface_t() 779 uint64_t allocSize = static_cast<uint64_t>(depth.stride) * in egl_pbuffer_surface_t() local [all …]
|
/frameworks/rs/ |
D | rsScriptC_LibGL.cpp | 215 size_t allocSize = a->getType()->getPackedSizeBytes(); in rsrDrawTextAlloc() local 216 rsc->mStateFont.renderText(text, allocSize, x, y); in rsrDrawTextAlloc()
|
/frameworks/rs/rsov/driver/ |
D | rsovAllocation.cpp | 133 size_t allocSize = alloc->mHal.drvState.faceOffset; in AllocationBuildPointerTable() local 135 allocSize *= 6; in AllocationBuildPointerTable() 138 return allocSize; in AllocationBuildPointerTable() 305 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, type, nullptr); in rsovAllocationInit() local 306 RSoVAllocation *rsovAlloc = new RSoVAllocation(rsov, type, allocSize); in rsovAllocationInit()
|
/frameworks/av/media/libmedia/ |
D | IOMX.cpp | 680 size_t allocSize = 0; in onTransact() local 693 allocSize = (size + pageSize * 2) & ~(pageSize - 1); in onTransact() 694 params = mmap(NULL, allocSize, PROT_READ | PROT_WRITE, in onTransact() 713 if (mprotect((char*)params + allocSize - pageSize, pageSize, in onTransact() 748 munmap(params, allocSize); in onTransact()
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
D | BlobCache.cpp | 179 [value, valueSize](size_t allocSize) { in get() argument 180 return (allocSize <= valueSize ? value : nullptr); in get()
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.cpp | 449 size_t allocSize = (size*3)/2; in editData() local 450 void* buf = realloc(mData, allocSize); in editData() 456 mBufferSize = allocSize; in editData()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuCore.cpp | 744 const size_t allocSize = mtls->accumStride * numAllocAccum; in launchReduceParallel() local 745 mtls->accumAlloc = static_cast<uint8_t *>(memalign(mPageSize, allocSize)); in launchReduceParallel()
|