HomeSort by relevance Sort by last modified time
    Searched refs:allocSize (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /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));
SkPictureFlat.h 296 size_t allocSize = sizeof(SkFlatData) + size;
297 SkFlatData* result = (SkFlatData*) controller->allocThrow(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);
  /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);
  /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/base/tools/preload/loadclass/
LoadClass.java 52 int allocSize = Debug.getGlobalAllocSize();
72 response.append(',').append(allocSize);
  /frameworks/av/media/libstagefright/
SampleTable.cpp 403 uint64_t allocSize = (uint64_t)mTimeToSampleCount * 2 * sizeof(uint32_t);
404 mTotalSize += allocSize;
410 (unsigned long long)allocSize,
424 (size_t)allocSize) < (ssize_t)allocSize) {
472 uint64_t allocSize = (uint64_t)numEntries * 2 * sizeof(int32_t);
473 if (allocSize > kMaxTotalSize) {
478 mTotalSize += allocSize;
484 (unsigned long long)allocSize,
498 (size_t)allocSize) < (ssize_t)allocSize)
    [all...]
  /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);
  /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/utils/
LinearAllocator.cpp 221 void LinearAllocator::rewindIfLastAlloc(void* ptr, size_t allocSize) {
227 allocSize = ALIGN(allocSize);
229 && ptr == ((char*)mNext - allocSize)) {
230 mWastedSpace += allocSize;
LinearAllocator.h 98 void rewindIfLastAlloc(void* ptr, size_t allocSize);
  /frameworks/base/libs/hwui/
VertexBuffer.h 145 void createDegenerateSeparators(int allocSize) {
147 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + 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/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);
  /external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
btAlignedObjectArray.h 70 SIMD_FORCE_INLINE int allocSize(int size)
244 reserve( allocSize(size()) );
257 reserve( allocSize(size()) );
273 reserve( allocSize(size()) );
  /dalvik/libdex/
DexFile.cpp 214 int allocSize;
230 allocSize = offsetof(DexClassLookup, table)
233 pLookup = (DexClassLookup*) calloc(1, allocSize);
236 pLookup->size = allocSize;
259 allocSize, totalProbes, maxProbes);
  /external/icu/icu4c/source/common/
unisetspan.cpp 266 int32_t allocSize;
269 allocSize=stringsLength*(4+1+1+1+1)+utf8Length;
271 allocSize=stringsLength; // One set of span lengths.
274 allocSize+=stringsLength*4+utf8Length;
277 if(allocSize<=(int32_t)sizeof(staticLengths)) {
280 utf8Lengths=(int32_t *)uprv_malloc(allocSize);
407 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length;
408 if(allocSize<=(int32_t)sizeof(staticLengths)) {
411 utf8Lengths=(int32_t *)uprv_malloc(allocSize);
420 uprv_memcpy(utf8Lengths, otherStringSpan.utf8Lengths, allocSize);
    [all...]
  /external/libvncserver/libvncclient/
vncviewer.c 92 uint64_t allocSize;
101 allocSize = (uint64_t)client->width * client->height * client->format.bitsPerPixel/8;
103 if (allocSize >= SIZE_MAX) {
108 client->frameBuffer=malloc( (size_t)allocSize );
  /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;
  /external/libvncserver/libvncserver/
scale.c 290 int allocSize;
299 allocSize = pad4(width * (ptr->bitsPerPixel/8)); /* per protocol, width<2**16 and bpp<256 */
300 if (height == 0 || allocSize >= SIZE_MAX / height)
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
UnicodeSetStringSpan.java 138 int allocSize;
141 allocSize = stringsLength * (2);
143 allocSize = stringsLength; // One set of span lengths.
145 spanLengths = new short[allocSize];
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
UnicodeSetStringSpan.java 134 int allocSize;
137 allocSize = stringsLength * (2);
139 allocSize = stringsLength; // One set of span lengths.
141 spanLengths = new short[allocSize];
    [all...]
  /frameworks/rs/driver/
rsdAllocation.cpp 353 size_t allocSize = alloc->mHal.drvState.faceOffset;
355 allocSize *= 6;
358 return allocSize;
366 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero, size_t requiredAlignment) {
368 uint8_t* ptr = (uint8_t *)memalign(requiredAlignment, allocSize);
373 memset(ptr, 0, allocSize);
391 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), nullptr, requiredAlignment);
432 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment);
444 ptr = allocAlignedMemory(allocSize, forceZero, requiredAlignment);
453 if(allocSize != verifySize)
    [all...]

Completed in 2498 milliseconds

1 2 3 4 5 6