/external/eigen/Eigen/src/SparseCore/ |
D | AmbiVector.h | 72 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/ |
D | ExecutableAllocator.h | 346 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/ |
D | LinearAllocator.cpp | 178 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()
|
D | LinearAllocator.h | 38 void rewindIfLastAlloc(void* ptr, size_t allocSize);
|
/external/webkit/Source/WebKit2/Shared/mac/ |
D | ShareableSurface.cpp | 89 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/ |
D | unisetspan.cpp | 264 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/ |
D | pmemory_ext.c | 88 #define GUARD_OFF_END(allocSize) ((allocSize) - sizeof(unsigned int)) argument
|
/external/webkit/Source/WebCore/platform/graphics/cg/ |
D | ImageBufferCG.cpp | 68 …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/ |
D | SkGPipeWrite.cpp | 203 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/ |
D | CGExprCXX.cpp | 1175 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/ |
D | SkGradientShader.cpp | 630 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/ |
D | sqlite3.c | 18671 int allocSize in softHeapLimitEnforcer() argument 18674 sqlite3_release_memory(allocSize); in softHeapLimitEnforcer()
|
/external/sqlite/dist/ |
D | sqlite3.c | 18671 int allocSize in softHeapLimitEnforcer() argument 18674 sqlite3_release_memory(allocSize); in softHeapLimitEnforcer()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2011-02-16 | 40623 IOSurface bounds checks on bytesPerRow and allocSize are incorrect
|