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

1 2

  /development/tools/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 (%d) failed\n", __FUNCTION__, allocSize);
  /development/tools/emulator/opengl/system/OpenglSystemCommon/
QemuPipeStream.cpp 60 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize);
62 m_buf = (unsigned char *)malloc(allocSize);
64 else if (m_bufsize < allocSize) {
65 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize);
68 m_bufsize = allocSize;
70 ERR("realloc (%d) failed\n", allocSize);
  /frameworks/base/core/jni/
android_ddm_DdmHandleNativeHeap.cpp 43 size_t allocSize;
95 get_malloc_leak_info(&allocBytes, &header.allocSize, &header.allocInfoSize,
100 jbyteArray array = env->NewByteArray(sizeof(Header) + header.mapSize + header.allocSize);
108 // LOGD("*** mapSize: %d allocSize: %d allocInfoSize: %d totalMemory: %d",
109 // header.mapSize, header.allocSize, header.allocInfoSize, header.totalMemory);
119 memcpy(ptr, allocBytes, header.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);
  /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);
  /external/webkit/Source/JavaScriptCore/jit/
ExecutableAllocator.h 346 size_t allocSize = roundUpAllocationSize(n, JIT_ALLOCATOR_PAGE_SIZE);
347 Allocation mem = systemAlloc(allocSize);
352 m_end = m_freePtr + allocSize;
357 size_t allocSize = roundUpAllocationSize(n, JIT_ALLOCATOR_PAGE_SIZE);
359 Allocation result = systemAlloc(allocSize);
364 if ((allocSize - n) > static_cast<size_t>(m_end - m_freePtr)) {
367 m_end = static_cast<char*>(result.base()) + allocSize;
  /external/webkit/Source/WebKit2/Shared/mac/
ShareableSurface.cpp 89 unsigned long allocSize = IOSurfaceAlignProperty(kIOSurfaceAllocSize, height * bytesPerRow);
90 if (!allocSize)
109 values[5] = CFNumberCreate(0, kCFNumberLongType, &allocSize);
  /external/srec/portable/src/
pmemory_ext.c 88 #define GUARD_OFF_END(allocSize) ((allocSize) - sizeof(unsigned int))
  /dalvik/vm/
Profile.h 67 int allocSize; // cumulative size of objects
Profile.cpp 682 gDvm.allocProf.allocSize);
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
HandleNativeHeap.java 137 // uint32_t allocSize;
144 int allocSize = buffer.getInt();
150 Log.d("ddms", "allocSize: " + allocSize);
166 int iterations = allocSize / allocInfoSize;
  /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/icu4c/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/webkit/Source/WebCore/platform/graphics/cg/
ImageBufferCG.cpp 68 unsigned long allocSize = IOSurfaceAlignProperty(kIOSurfaceAllocSize, size.height() * bytesPerRow);
69 if (!allocSize)
85 values[5] = CFNumberCreate(0, kCFNumberLongType, &allocSize);
  /dalvik/vm/alloc/
Heap.cpp 364 gDvm.allocProf.allocSize += size;
367 self->allocProf.allocSize += size;
Copying.cpp     [all...]
  /dalvik/vm/native/
dalvik_system_VMDebug.cpp 113 allocProf->allocSize = 0;
183 pResult->i = allocProf->allocSize;
  /frameworks/base/libs/rs/
rsScriptC_LibGL.cpp 278 size_t allocSize = a->getType()->getSizeBytes();
279 rsc->mStateFont.renderText(text, allocSize, x, y);
  /external/skia/src/pipe/
SkGPipeWrite.cpp 229 size_t allocSize = len + sizeof(FlatData);
231 SkAutoSMalloc<1024> storage(allocSize);
241 FlatData* copy = (FlatData*)sk_malloc_throw(allocSize);
242 memcpy(copy, flat, allocSize);
  /dalvik/vm/jdwp/
JdwpEvent.cpp 332 int allocSize = offsetof(JdwpEvent, mods) +
335 newEvent = (JdwpEvent*)malloc(allocSize);
336 memset(newEvent, 0, allocSize);
    [all...]
  /external/clang/lib/CodeGen/
CGExprCXX.cpp 844 llvm::Value *AllocSize;
856 llvm::Value *AllocSize)
858 Ptr(Ptr), AllocSize(AllocSize) {}
    [all...]
  /external/skia/src/effects/
SkGradientShader.cpp 575 const size_t allocSize = sizeof(uint16_t) * entryCount;
578 fCache16Storage = (uint16_t*)sk_malloc_throw(allocSize);
598 fCache16Storage = (uint16_t*)sk_malloc_throw(allocSize);
618 const size_t allocSize = sizeof(SkPMColor) * entryCount;
622 (NULL, allocSize, NULL));
646 (NULL, allocSize, NULL));
    [all...]
  /frameworks/base/tools/aapt/
AaptAssets.cpp     [all...]
  /external/sqlite/dist/
sqlite3.c     [all...]

Completed in 1821 milliseconds

1 2