Searched refs:allocLen (Results 1 – 2 of 2) sorted by relevance
102 StringDataTemplate(size_t dataLen, size_t allocLen) in StringDataTemplate() argument103 : m_nRefs(0), m_nDataLength(dataLen), m_nAllocLength(allocLen) { in StringDataTemplate()105 ASSERT(dataLen <= allocLen); in StringDataTemplate()
887 int allocLen; in getBuffer() local891 allocLen = toIntExact(mLength); in getBuffer()893 allocLen = 1; in getBuffer()895 buf = new byte[allocLen]; in getBuffer()897 ALOGE("alloc of %ld bytes failed\n", (long) allocLen); in getBuffer()901 ALOGV("Asset %s allocating buffer size %d (smaller than threshold)", this, (int)allocLen); in getBuffer()