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

1 2

  /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);
  /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);
  /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/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);
  /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/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);
  /frameworks/base/tools/preload/loadclass/
LoadClass.java 52 int allocSize = Debug.getGlobalAllocSize();
72 response.append(',').append(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];
  /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;
  /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);
  /dalvik/vm/
Profile.h 70 int allocSize; // cumulative size of objects
  /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/
rsScriptC_LibGL.cpp 223 size_t allocSize = a->getType()->getPackedSizeBytes();
224 rsc->mStateFont.renderText(text, allocSize, x, y);
  /art/runtime/jdwp/
jdwp_event.cc 278 int allocSize = offsetof(JdwpEvent, mods) + numMods * sizeof(newEvent->mods[0]);
279 newEvent = reinterpret_cast<JdwpEvent*>(malloc(allocSize));
280 memset(newEvent, 0, allocSize);
    [all...]
  /dalvik/vm/jdwp/
JdwpEvent.cpp 332 int allocSize = offsetof(JdwpEvent, mods) +
335 newEvent = (JdwpEvent*)calloc(1, allocSize);
    [all...]
  /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...]
  /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...]
  /frameworks/rs/driver/
rsdAllocation.cpp 351 size_t allocSize = alloc->mHal.drvState.faceOffset;
353 allocSize *= 6;
356 return allocSize;
359 static uint8_t* allocAlignedMemory(size_t allocSize, bool forceZero) {
361 uint8_t* ptr = (uint8_t *)memalign(16, allocSize);
366 memset(ptr, 0, allocSize);
379 size_t allocSize = AllocationBuildPointerTable(rsc, alloc, alloc->getType(), NULL);
406 ptr = allocAlignedMemory(allocSize, forceZero);
418 ptr = allocAlignedMemory(allocSize, forceZero);
427 if(allocSize != verifySize)
    [all...]
  /hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/component/common/
Exynos_OMX_Baseport.h 65 OMX_U32 allocSize;
95 OMX_U32 allocSize;
  /frameworks/base/libs/hwui/
PathTessellator.cpp 251 const int allocSize = (vertices.size() + extra) * 2;
252 Vertex* buffer = vertexBuffer.alloc<Vertex>(allocSize);
284 Vertex::set(&buffer[allocSize - 1 - capOffset],
566 const int allocSize = 6 * vertices.size() + 2 + 6 * extra;
568 AlphaVertex* buffer = vertexBuffer.alloc<AlphaVertex>(allocSize);
    [all...]

Completed in 397 milliseconds

1 2