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

1 2 3 4

  /external/bluetooth/bluedroid/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;
  /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);
  /sdk/emulator/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: %d allocSize: %d allocInfoSize: %d totalMemory: %d",
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));
  /system/core/libutils/
LinearAllocator.cpp 183 void LinearAllocator::rewindIfLastAlloc(void* ptr, size_t allocSize) {
185 allocSize = ALIGN(allocSize);
187 && ptr == ((char*)mNext - allocSize)) {
188 mTotalAllocated -= allocSize;
189 mWastedSpace += allocSize;
  /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);
  /external/chromium_org/third_party/skia/src/core/
SkColorTable.cpp 94 size_t allocSize = fCount * sizeof(SkPMColor);
96 if (buffer.validateAvailable(allocSize)) {
97 fColors = (SkPMColor*)sk_malloc_throw(allocSize);
  /external/skia/src/core/
SkColorTable.cpp 94 size_t allocSize = fCount * sizeof(SkPMColor);
96 if (buffer.validateAvailable(allocSize)) {
97 fColors = (SkPMColor*)sk_malloc_throw(allocSize);
  /system/core/include/utils/
LinearAllocator.h 58 void rewindIfLastAlloc(void* ptr, size_t allocSize);
  /external/eigen/Eigen/src/SparseCore/
AmbiVector.h 72 Index allocSize = (size * sizeof(ListEl))/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) + (allocSize%sizeof(Scalar)>0?1:0);
92 Scalar* newBuffer = new Scalar[allocSize];
  /system/core/libcutils/
open_memstream.c 71 size_t allocSize; /* size of buffer */
91 if (neededSize <= stream->allocSize)
96 if (stream->allocSize == 0) {
99 newSize = stream->allocSize;
112 stream->allocSize = newSize;
145 assert(stream->offset < stream->allocSize);
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/
Exynos_OSAL_SharedMemory.c 52 OMX_U32 allocSize;
108 if (ion_unmap(pDeleteElement->mapAddr, pDeleteElement->allocSize))
112 pDeleteElement->allocSize = 0;
194 pElement->allocSize = size;
255 if (ion_unmap(pDeleteElement->mapAddr, pDeleteElement->allocSize)) {
260 pDeleteElement->allocSize = 0;
308 pElement->allocSize = size;
369 if (ion_unmap(pDeleteElement->mapAddr, pDeleteElement->allocSize)) {
374 pDeleteElement->allocSize = 0;
  /frameworks/base/libs/hwui/
VertexBuffer.h 144 void createDegenerateSeparators(int allocSize) {
146 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) {
  /art/runtime/native/
dalvik_system_VMDebug.cc 276 size_t allocSize = 0;
293 allocSize += malloc_space->GetFootprint();
298 allocSize += bump_pointer_space->Size();
309 size_t allocFree = allocSize - allocUsed;
314 arr[j++] = allocSize;
  /external/srec/portable/src/
pmemory_ext.c 88 #define GUARD_OFF_END(allocSize) ((allocSize) - sizeof(unsigned int))
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/common/
Exynos_OMX_Baseport.h 65 OMX_U32 allocSize;
95 OMX_U32 allocSize;
  /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/chromium_org/third_party/icu/source/common/
unisetspan.cpp 264 int32_t allocSize;
267 allocSize=stringsLength*(4+1+1+1+1)+utf8Length;
269 allocSize=stringsLength; // One set of span lengths.
272 allocSize+=stringsLength*4+utf8Length;
275 if(allocSize<=(int32_t)sizeof(staticLengths)) {
278 utf8Lengths=(int32_t *)uprv_malloc(allocSize);
405 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length;
406 if(allocSize<=(int32_t)sizeof(staticLengths)) {
409 utf8Lengths=(int32_t *)uprv_malloc(allocSize);
418 uprv_memcpy(utf8Lengths, otherStringSpan.utf8Lengths, allocSize);
    [all...]
  /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...]
  /frameworks/av/media/libstagefright/
SampleTable.cpp 333 uint64_t allocSize = mTimeToSampleCount * 2 * sizeof(uint32_t);
334 if (allocSize > SIZE_MAX) {
379 uint64_t allocSize = numEntries * 2 * sizeof(uint32_t);
380 if (allocSize > SIZE_MAX) {
429 uint64_t allocSize = mNumSyncSamples * sizeof(uint32_t);
430 if (allocSize > SIZE_MAX) {
  /external/chromium_org/third_party/skia/src/effects/
SkDashPathEffect.cpp 264 size_t allocSize = sizeof(SkScalar) * fCount;
265 if (buffer.validateAvailable(allocSize)) {
266 fIntervals = (SkScalar*)sk_malloc_throw(allocSize);
  /external/skia/src/effects/
SkDashPathEffect.cpp 264 size_t allocSize = sizeof(SkScalar) * fCount;
265 if (buffer.validateAvailable(allocSize)) {
266 fIntervals = (SkScalar*)sk_malloc_throw(allocSize);
  /dalvik/vm/
Profile.h 70 int allocSize; // cumulative size of objects

Completed in 3999 milliseconds

1 2 3 4