Searched refs:allocSize (Results 1 – 10 of 10) sorted by relevance
72 Index allocSize = (size * sizeof(ListEl) + sizeof(Scalar) - 1)/sizeof(Scalar); in reallocate() local73 m_allocatedElements = (allocSize*sizeof(Scalar))/sizeof(ListEl); in reallocate()74 m_buffer = new Scalar[allocSize]; in reallocate()90 Index allocSize = m_allocatedElements * sizeof(ListEl); in reallocateSparse() local91 allocSize = (allocSize + sizeof(Scalar) - 1)/sizeof(Scalar); in reallocateSparse()92 Scalar* newBuffer = new Scalar[allocSize]; in reallocateSparse()
72 size_t allocSize = fCount * sizeof(SkPMColor); in SkColorTable() local74 if (buffer.validateAvailable(allocSize)) { in SkColorTable()75 fColors = (SkPMColor*)sk_malloc_throw(allocSize); in SkColorTable()
280 size_t allocSize = sizeof(SkFlatData) + size; in Create() local281 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize); in Create()
266 int32_t allocSize; in UnicodeSetStringSpan() local269 allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan()271 allocSize=stringsLength; // One set of span lengths. in UnicodeSetStringSpan()274 allocSize+=stringsLength*4+utf8Length; in UnicodeSetStringSpan()277 if(allocSize<=(int32_t)sizeof(staticLengths)) { in UnicodeSetStringSpan()280 utf8Lengths=(int32_t *)uprv_malloc(allocSize); in UnicodeSetStringSpan()407 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan() local408 if(allocSize<=(int32_t)sizeof(staticLengths)) { in UnicodeSetStringSpan()411 utf8Lengths=(int32_t *)uprv_malloc(allocSize); in UnicodeSetStringSpan()420 uprv_memcpy(utf8Lengths, otherStringSpan.utf8Lengths, allocSize); in UnicodeSetStringSpan()
134 int allocSize; in UnicodeSetStringSpan() local137 allocSize = stringsLength * (2); in UnicodeSetStringSpan()139 allocSize = stringsLength; // One set of span lengths. in UnicodeSetStringSpan()141 spanLengths = new short[allocSize]; in UnicodeSetStringSpan()
35 size_t allocSize = (sizeof(SkColor) + sizeof(SkScalar)) * fCount; in unflatten() local36 fDynamicStorage.reset(allocSize); in unflatten()536 const size_t allocSize = sizeof(uint16_t) * entryCount; in initCache16() local539 cache->fCache16Storage = (uint16_t*)sk_malloc_throw(allocSize); in initCache16()
1261 llvm::Value *allocSize = in EmitCXXNewExpr() local1265 allocatorArgs.add(RValue::get(allocSize), sizeType); in EmitCXXNewExpr()1320 EnterNewDeleteCleanup(*this, E, allocation, allocSize, allocatorArgs); in EmitCXXNewExpr()1325 assert((allocSize == allocSizeWithoutCookie) == in EmitCXXNewExpr()1327 if (allocSize != allocSizeWithoutCookie) { in EmitCXXNewExpr()
1941 int allocSize = otherInstanceCount + fInstanceCount; in onCombineIfPossible() local1942 if (allocSize > fAllocatedCount) { in onCombineIfPossible()1943 while (allocSize > fAllocatedCount) { in onCombineIfPossible()
20607 int allocSize20610 sqlite3_release_memory(allocSize);