HomeSort by relevance Sort by last modified time
    Searched full:allocsize (Results 1 - 25 of 124) sorted by null

1 2 3 4 5

  /system/bt/embdrv/sbc/decoder/srce/
alloc.c 70 size_t allocSize = common->filterBufferLen * sizeof(common->filterBuffer[0][0]);
72 OI_ASSERT(codecDataBytes >= allocSize);
73 codecData += allocSize;
74 codecDataBytes -= allocSize;
  /external/skia/src/core/
SkColorTable.cpp 69 size_t allocSize = fCount * sizeof(SkPMColor);
71 if (buffer.validateAvailable(allocSize)) {
72 fColors = (SkPMColor*)sk_malloc_throw(allocSize);
104 const size_t allocSize = count * sizeof(SkPMColor);
105 SkAutoTDelete<SkPMColor> colors((SkPMColor*)sk_malloc_throw(allocSize));
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
SocketStream.cpp 66 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize);
68 m_buf = (unsigned char *)malloc(allocSize);
70 else if (m_bufsize < allocSize) {
71 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize);
74 m_bufsize = allocSize;
76 ERR("%s: realloc (%zu) failed\n", __FUNCTION__, allocSize);
  /frameworks/base/core/jni/
android_ddm_DdmHandleNativeHeap.cpp 48 size_t allocSize;
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/
MemoryUsage.java 47 final int allocSize;
62 allocSize = Integer.parseInt(parsed[8]);
77 allocSize = -1;
90 int allocSize,
101 this.allocSize = allocSize;
116 allocSize - baseline.allocSize,
123 return allocSize - freedSize;
  /frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
rslist.rs 51 int allocSize = rsAllocationGetDimX(listAlloc);
57 int totalItemHeight = itemHeight * allocSize;
80 for(int i = 0; i < allocSize; i ++) {
  /frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
rslist.rs 51 int allocSize = rsAllocationGetDimX(listAlloc);
57 int totalItemHeight = itemHeight * allocSize;
80 for(int i = 0; i < allocSize; i ++) {
  /frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
rslist.rs 51 int allocSize = rsAllocationGetDimX(listAlloc);
57 int totalItemHeight = itemHeight * allocSize;
80 for(int i = 0; i < allocSize; i ++) {
  /device/generic/goldfish/opengl/system/OpenglSystemCommon/
QemuPipeStream.cpp 61 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize);
63 m_buf = (unsigned char *)malloc(allocSize);
65 else if (m_bufsize < allocSize) {
66 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize);
69 m_bufsize = allocSize;
71 ERR("realloc (%d) failed\n", allocSize);
  /external/eigen/Eigen/src/SparseCore/
AmbiVector.h 72 Index allocSize = (size * sizeof(ListEl) + sizeof(Scalar) - 1)/sizeof(Scalar);
73 m_allocatedElements = (allocSize*sizeof(Scalar))/sizeof(ListEl);
74 m_buffer = new Scalar[allocSize];
90 Index allocSize = m_allocatedElements * sizeof(ListEl);
91 allocSize = (allocSize + sizeof(Scalar) - 1)/sizeof(Scalar);
92 Scalar* newBuffer = new Scalar[allocSize];
  /frameworks/base/libs/hwui/
VertexBuffer.h 145 void createDegenerateSeparators(int allocSize) {
147 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) {
  /frameworks/base/tools/preload/loadclass/
LoadClass.java 52 int allocSize = Debug.getGlobalAllocSize();
72 response.append(',').append(allocSize);
  /prebuilts/go/darwin-x86/src/runtime/
msize.go 88 allocsize := _PageSize
89 for allocsize%size > allocsize/8 {
90 allocsize += _PageSize
92 npages := allocsize >> _PageShift
99 if sizeclass > 1 && npages == int(class_to_allocnpages[sizeclass-1]) && allocsize/size == allocsize/int(class_to_size[sizeclass-1]) {
export_test.go 146 allocSize := roundupsize(size)
149 heapBitsSetType(uintptr(p), allocSize, size, t)
  /prebuilts/go/linux-x86/src/runtime/
msize.go 88 allocsize := _PageSize
89 for allocsize%size > allocsize/8 {
90 allocsize += _PageSize
92 npages := allocsize >> _PageShift
99 if sizeclass > 1 && npages == int(class_to_allocnpages[sizeclass-1]) && allocsize/size == allocsize/int(class_to_size[sizeclass-1]) {
export_test.go 146 allocSize := roundupsize(size)
149 heapBitsSetType(uintptr(p), allocSize, size, t)
  /external/skia/src/gpu/batches/
GrDrawAtlasBatch.cpp 80 size_t allocSize = args.fVerts.count();
81 memcpy(vertPtr, args.fVerts.begin(), allocSize);
82 vertPtr += allocSize;
109 int allocSize = static_cast<int>(4*vertexStride*spriteCount);
110 installedGeo.fVerts.reset(allocSize);
  /frameworks/base/libs/hwui/utils/
LinearAllocator.cpp 221 void LinearAllocator::rewindIfLastAlloc(void* ptr, size_t allocSize) {
227 allocSize = ALIGN(allocSize);
229 && ptr == ((char*)mNext - allocSize)) {
230 mWastedSpace += allocSize;
  /system/core/libcutils/
open_memstream.c 69 size_t allocSize; /* size of buffer */
89 if (neededSize <= stream->allocSize)
94 if (stream->allocSize == 0) {
97 newSize = stream->allocSize;
110 stream->allocSize = newSize;
143 assert(stream->offset < stream->allocSize);
  /cts/tests/aslr/src/
AslrMallocTest.cpp 72 void GetAddress(size_t allocSize, uintptr_t& address)
90 android::base::StringPrintf("%zu", allocSize).c_str(),
  /external/llvm/tools/lli/ChildTarget/
ChildTarget.cpp 108 uint32_t AllocSize = 0;
111 rc = ReadBytes(&AllocSize, 4);
116 RT->allocateSpace(AllocSize, Alignment, Addr);
  /system/vold/
secdiscard.cpp 169 size_t allocsize = offsetof(struct fiemap, fm_extents[extent_count]); local
170 std::unique_ptr<struct fiemap> res(new (::operator new (allocsize)) struct fiemap);
171 memset(res.get(), 0, allocsize);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
perflib.h 22 typedef LPVOID (CALLBACK *PERF_MEM_ALLOC)(SIZE_T AllocSize,LPVOID pContext);
  /frameworks/rs/
rsScriptC_LibGL.cpp 219 size_t allocSize = a->getType()->getPackedSizeBytes();
220 rsc->mStateFont.renderText(text, allocSize, x, y);
  /art/runtime/native/
dalvik_system_VMDebug.cc 310 size_t allocSize = 0;
329 allocSize += malloc_space->GetFootprint();
333 allocSize += bump_pointer_space->Size();
344 size_t allocFree = allocSize - allocUsed;
349 arr[j++] = allocSize;

Completed in 510 milliseconds

1 2 3 4 5