HomeSort by relevance Sort by last modified time
    Searched refs:allocLen (Results 1 - 6 of 6) sorted by null

  /development/tools/emulator/opengl/host/include/libOpenglRender/
IOStream.h 54 int allocLen = m_bufsize < len ? len : m_bufsize;
55 m_buf = (unsigned char *)allocBuffer(allocLen);
57 ERR("Alloc (%u bytes) failed\n", allocLen);
60 m_bufsize = m_free = allocLen;
  /dalvik/vm/hprof/
HprofOutput.cpp 86 ctx->curRec.allocLen = 128;
87 ctx->curRec.body = (unsigned char *)malloc(ctx->curRec.allocLen);
149 //xxx if we used less than half (or whatever) of allocLen, shrink the buffer.
184 if (minSize > rec->allocLen) {
188 newAllocLen = rec->allocLen * 2;
190 newAllocLen = rec->allocLen + nmore + nmore/2;
195 rec->allocLen = newAllocLen;
202 assert(rec->length + nmore <= rec->allocLen);
Hprof.h 109 size_t allocLen;
  /dalvik/vm/alloc/
HeapBitmap.h 59 size_t allocLen;
HeapBitmap.cpp 41 hb->bitsLen = hb->allocLen = bitsLen;
55 munmap((char *)hb->bits, hb->allocLen);
  /frameworks/base/libs/utils/
Asset.cpp 574 long allocLen;
578 allocLen = mLength;
580 allocLen = 1;
582 buf = new unsigned char[allocLen];
584 LOGE("alloc of %ld bytes failed\n", (long) allocLen);
588 LOGV("Asset %p allocating buffer size %d (smaller than threshold)", this, (int)allocLen);

Completed in 240 milliseconds