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

1 2 3

  /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 40 size_t allocSize;
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));
  /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);
  /frameworks/base/libs/hwui/
PathTessellator.h 81 void createDegenerateSeparators(int allocSize) {
83 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + 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;
  /external/chromium_org/third_party/skia/src/core/
SkPictureFlat.cpp 127 size_t allocSize = sizeof(SkFlatData) + size + sizeof(uint32_t);
128 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize);
SkDataTable.cpp 102 size_t allocSize = fCount * sizeof(Dir) + dataSize;
103 void* addr = sk_malloc_throw(allocSize);
  /external/skia/src/core/
SkPictureFlat.cpp 127 size_t allocSize = sizeof(SkFlatData) + size + sizeof(uint32_t);
128 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize);
SkDataTable.cpp 102 size_t allocSize = fCount * sizeof(Dir) + dataSize;
103 void* addr = sk_malloc_throw(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;
  /art/runtime/native/
dalvik_system_VMDebug.cc 254 size_t allocSize = 0;
276 allocSize += dlmalloc_space->GetFootprint();
289 size_t allocFree = allocSize - allocUsed;
294 arr[j++] = 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/icu4c/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...]
  /dalvik/vm/
Profile.h 70 int allocSize; // cumulative size of objects
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/video/enc/
Exynos_OMX_Venc.c 213 pData->allocSize = pInputCodecBuffer->bufferSize[0] + pInputCodecBuffer->bufferSize[1];
231 OMX_U32 allocSize;
233 pVideoEnc->exynos_codec_getCodecOutputPrivateData(codecBuffer, &pSrcBuf, &allocSize);
235 pData->allocSize = allocSize;
446 OMX_U32 allocSize[MAX_BUFFER_PLANE];
459 allocSize[0] = ALIGN(nFrameWidth, 16) * ALIGN(nFrameHeight, 16);
460 srcInputData->buffer.multiPlaneBuffer.dataBuffer[0] = (void *)Exynos_OSAL_SharedMemory_Alloc(pVideoEnc->hSharedMemory, allocSize[0], NORMAL_MEMORY);
463 allocSize[1] = ALIGN(allocSize[0] / 2, 256)
    [all...]
  /hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
ExynosVideoDecoder.c 236 munmap(pVideoPlane->addr, pVideoPlane->allocSize);
238 pVideoPlane->allocSize = 0;
254 munmap(pVideoPlane->addr, pVideoPlane->allocSize);
256 pVideoPlane->allocSize = 0;
918 pVideoPlane->allocSize = buf.m.planes[0].length;
939 munmap(pVideoPlane->addr, pVideoPlane->allocSize);
1036 pVideoPlane->allocSize = buf.m.planes[j].length;
1061 munmap(pVideoPlane->addr, pVideoPlane->allocSize);
    [all...]

Completed in 476 milliseconds

1 2 3