Home
last modified time | relevance | path

Searched refs:allocSize (Results 1 – 10 of 10) sorted by relevance

/external/eigen/Eigen/src/SparseCore/
DAmbiVector.h72 Index allocSize = (size * sizeof(ListEl) + sizeof(Scalar) - 1)/sizeof(Scalar); in reallocate() local
73 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() local
91 allocSize = (allocSize + sizeof(Scalar) - 1)/sizeof(Scalar); in reallocateSparse()
92 Scalar* newBuffer = new Scalar[allocSize]; in reallocateSparse()
/external/skia/src/core/
DSkColorTable.cpp72 size_t allocSize = fCount * sizeof(SkPMColor); in SkColorTable() local
74 if (buffer.validateAvailable(allocSize)) { in SkColorTable()
75 fColors = (SkPMColor*)sk_malloc_throw(allocSize); in SkColorTable()
DSkPictureFlat.h280 size_t allocSize = sizeof(SkFlatData) + size; in Create() local
281 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize); in Create()
/external/icu/icu4c/source/common/
Dunisetspan.cpp266 int32_t allocSize; in UnicodeSetStringSpan() local
269 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() local
408 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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java134 int allocSize; in UnicodeSetStringSpan() local
137 allocSize = stringsLength * (2); in UnicodeSetStringSpan()
139 allocSize = stringsLength; // One set of span lengths. in UnicodeSetStringSpan()
141 spanLengths = new short[allocSize]; in UnicodeSetStringSpan()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp35 size_t allocSize = (sizeof(SkColor) + sizeof(SkScalar)) * fCount; in unflatten() local
36 fDynamicStorage.reset(allocSize); in unflatten()
536 const size_t allocSize = sizeof(uint16_t) * entryCount; in initCache16() local
539 cache->fCache16Storage = (uint16_t*)sk_malloc_throw(allocSize); in initCache16()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp1261 llvm::Value *allocSize = in EmitCXXNewExpr() local
1265 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()
/external/skia/src/gpu/
DGrAtlasTextContext.cpp1941 int allocSize = otherInstanceCount + fInstanceCount; in onCombineIfPossible() local
1942 if (allocSize > fAllocatedCount) { in onCombineIfPossible()
1943 while (allocSize > fAllocatedCount) { in onCombineIfPossible()
/external/sqlite/dist/
Dsqlite3.c20607 int allocSize
20610 sqlite3_release_memory(allocSize);
/external/sqlite/dist/orig/
Dsqlite3.c20607 int allocSize
20610 sqlite3_release_memory(allocSize);