Home
last modified time | relevance | path

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

/external/eigen/Eigen/src/SparseCore/
DAmbiVector.h72 Index allocSize = (size * sizeof(ListEl))/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) + (allocSize%sizeof(Scalar)>0?1:0); in reallocateSparse()
92 Scalar* newBuffer = new Scalar[allocSize]; in reallocateSparse()
/external/webkit/Source/JavaScriptCore/jit/
DExecutableAllocator.h346 size_t allocSize = roundUpAllocationSize(n, JIT_ALLOCATOR_PAGE_SIZE); in ExecutablePool() local
347 Allocation mem = systemAlloc(allocSize); in ExecutablePool()
352 m_end = m_freePtr + allocSize; in ExecutablePool()
357 size_t allocSize = roundUpAllocationSize(n, JIT_ALLOCATOR_PAGE_SIZE); in poolAllocate() local
359 Allocation result = systemAlloc(allocSize); in poolAllocate()
364 if ((allocSize - n) > static_cast<size_t>(m_end - m_freePtr)) { in poolAllocate()
367 m_end = static_cast<char*>(result.base()) + allocSize; in poolAllocate()
/external/webkit/Source/WebCore/platform/graphics/android/utils/
DLinearAllocator.cpp178 void LinearAllocator::rewindIfLastAlloc(void* ptr, size_t allocSize) in rewindIfLastAlloc() argument
182 && ptr == ((char*)m_next - allocSize)) { in rewindIfLastAlloc()
183 m_totalAllocated -= allocSize; in rewindIfLastAlloc()
184 m_wastedSpace += allocSize; in rewindIfLastAlloc()
DLinearAllocator.h38 void rewindIfLastAlloc(void* ptr, size_t allocSize);
/external/webkit/Source/WebKit2/Shared/mac/
DShareableSurface.cpp89 unsigned long allocSize = IOSurfaceAlignProperty(kIOSurfaceAllocSize, height * bytesPerRow); in createIOSurface() local
90 if (!allocSize) in createIOSurface()
109 values[5] = CFNumberCreate(0, kCFNumberLongType, &allocSize); in createIOSurface()
/external/icu4c/common/
Dunisetspan.cpp264 int32_t allocSize; in UnicodeSetStringSpan() local
267 allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan()
269 allocSize=stringsLength; // One set of span lengths. in UnicodeSetStringSpan()
272 allocSize+=stringsLength*4+utf8Length; in UnicodeSetStringSpan()
275 if(allocSize<=(int32_t)sizeof(staticLengths)) { in UnicodeSetStringSpan()
278 utf8Lengths=(int32_t *)uprv_malloc(allocSize); in UnicodeSetStringSpan()
405 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length; in UnicodeSetStringSpan() local
406 if(allocSize<=(int32_t)sizeof(staticLengths)) { in UnicodeSetStringSpan()
409 utf8Lengths=(int32_t *)uprv_malloc(allocSize); in UnicodeSetStringSpan()
418 uprv_memcpy(utf8Lengths, otherStringSpan.utf8Lengths, allocSize); in UnicodeSetStringSpan()
/external/srec/portable/src/
Dpmemory_ext.c88 #define GUARD_OFF_END(allocSize) ((allocSize) - sizeof(unsigned int)) argument
/external/webkit/Source/WebCore/platform/graphics/cg/
DImageBufferCG.cpp68 …unsigned long allocSize = IOSurfaceAlignProperty(kIOSurfaceAllocSize, size.height() * bytesPerRow); in createIOSurface() local
69 if (!allocSize) in createIOSurface()
85 values[5] = CFNumberCreate(0, kCFNumberLongType, &allocSize); in createIOSurface()
/external/skia/src/pipe/
DSkGPipeWrite.cpp203 size_t allocSize = len + sizeof(FlatData); in flattenToIndex() local
205 SkAutoSMalloc<1024> storage(allocSize); in flattenToIndex()
215 FlatData* copy = (FlatData*)sk_malloc_throw(allocSize); in flattenToIndex()
216 memcpy(copy, flat, allocSize); in flattenToIndex()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp1175 llvm::Value *allocSize = in EmitCXXNewExpr() local
1179 allocatorArgs.add(RValue::get(allocSize), sizeType); in EmitCXXNewExpr()
1263 EnterNewDeleteCleanup(*this, E, allocation, allocSize, allocatorArgs); in EmitCXXNewExpr()
1268 assert((allocSize == allocSizeWithoutCookie) == in EmitCXXNewExpr()
1270 if (allocSize != allocSizeWithoutCookie) { in EmitCXXNewExpr()
/external/skia/src/effects/
DSkGradientShader.cpp630 const size_t allocSize = sizeof(uint16_t) * entryCount; in getCache16() local
633 fCache16Storage = (uint16_t*)sk_malloc_throw(allocSize); in getCache16()
655 fCache16Storage = (uint16_t*)sk_malloc_throw(allocSize); in getCache16()
684 const size_t allocSize = sizeof(SkPMColor) * entryCount; in getCache32() local
688 (NULL, allocSize, NULL)); in getCache32()
712 (NULL, allocSize, NULL)); in getCache32()
/external/sqlite/dist/orig/
Dsqlite3.c18671 int allocSize in softHeapLimitEnforcer() argument
18674 sqlite3_release_memory(allocSize); in softHeapLimitEnforcer()
/external/sqlite/dist/
Dsqlite3.c18671 int allocSize in softHeapLimitEnforcer() argument
18674 sqlite3_release_memory(allocSize); in softHeapLimitEnforcer()
/external/webkit/Source/WebCore/
DChangeLog-2011-02-1640623 IOSurface bounds checks on bytesPerRow and allocSize are incorrect