Searched refs:allocSize (Results 1 - 13 of 13) sorted by relevance
/external/skia/src/core/ |
H A D | SkColorTable.cpp | 69 size_t allocSize = fCount * sizeof(SkPMColor); 71 if (buffer.validateAvailable(allocSize)) { 72 fColors = (SkPMColor*)sk_malloc_throw(allocSize); 104 const size_t allocSize = count * sizeof(SkPMColor); 105 SkAutoTDelete<SkPMColor> colors((SkPMColor*)sk_malloc_throw(allocSize));
|
H A D | SkPictureFlat.h | 296 size_t allocSize = sizeof(SkFlatData) + size; local 297 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize);
|
/external/eigen/Eigen/src/SparseCore/ |
H A D | AmbiVector.h | 72 Index allocSize = (size * sizeof(ListEl) + sizeof(Scalar) - 1)/sizeof(Scalar); local 73 m_allocatedElements = (allocSize*sizeof(Scalar))/sizeof(ListEl); 74 m_buffer = new Scalar[allocSize]; 90 Index allocSize = m_allocatedElements * sizeof(ListEl); local 91 allocSize = (allocSize + sizeof(Scalar) - 1)/sizeof(Scalar); 92 Scalar* newBuffer = new Scalar[allocSize];
|
/external/skia/src/gpu/batches/ |
H A D | GrDrawAtlasBatch.cpp | 80 size_t allocSize = args.fVerts.count(); local 81 memcpy(vertPtr, args.fVerts.begin(), allocSize); 82 vertPtr += allocSize; 109 int allocSize = static_cast<int>(4*vertexStride*spriteCount); local 110 installedGeo.fVerts.reset(allocSize);
|
/external/icu/icu4c/source/common/ |
H A D | unisetspan.cpp | 266 int32_t allocSize; local 269 allocSize=stringsLength*(4+1+1+1+1)+utf8Length; 271 allocSize=stringsLength; // One set of span lengths. 274 allocSize+=stringsLength*4+utf8Length; 277 if(allocSize<=(int32_t)sizeof(staticLengths)) { 280 utf8Lengths=(int32_t *)uprv_malloc(allocSize); 407 int32_t allocSize=stringsLength*(4+1+1+1+1)+utf8Length; local 408 if(allocSize<=(int32_t)sizeof(staticLengths)) { 411 utf8Lengths=(int32_t *)uprv_malloc(allocSize); 420 uprv_memcpy(utf8Lengths, otherStringSpan.utf8Lengths, allocSize); [all...] |
/external/libvncserver/libvncclient/ |
H A D | vncviewer.c | 92 uint64_t allocSize; local 101 allocSize = (uint64_t)client->width * client->height * client->format.bitsPerPixel/8; 103 if (allocSize >= SIZE_MAX) { 108 client->frameBuffer=malloc( (size_t)allocSize );
|
/external/libvncserver/libvncserver/ |
H A D | scale.c | 290 int allocSize; local 299 allocSize = pad4(width * (ptr->bitsPerPixel/8)); /* per protocol, width<2**16 and bpp<256 */ 300 if (height == 0 || allocSize >= SIZE_MAX / height)
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
H A D | UnicodeSetStringSpan.java | 138 int allocSize; 141 allocSize = stringsLength * (2); 143 allocSize = stringsLength; // One set of span lengths. 145 spanLengths = new short[allocSize];
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | UnicodeSetStringSpan.java | 134 int allocSize; 137 allocSize = stringsLength * (2); 139 allocSize = stringsLength; // One set of span lengths. 141 spanLengths = new short[allocSize];
|
/external/opencv3/modules/core/src/ |
H A D | cuda_stream.cpp | 98 const size_t allocSize = tip - ptr; local 99 CV_Assert( allocSize == allocations.back() );
|
/external/webrtc/webrtc/test/channel_transport/ |
H A D | udp_socket2_win.cc | 1034 int allocSize = sizeof(TC_GEN_FLOW) + sizeof(QOS_DS_CLASS) + local 1036 _flow = (PTC_GEN_FLOW)malloc(allocSize); 1075 int allocSize = sizeof(TC_GEN_FLOW) + sizeof(QOS_DS_CLASS) + local 1077 _flow = (PTC_GEN_FLOW)malloc(allocSize);
|
/external/skia/src/effects/gradients/ |
H A D | SkGradientShader.cpp | 36 size_t allocSize = (sizeof(SkColor) + sizeof(SkScalar)) * fCount; local 37 fDynamicStorage.reset(allocSize); 557 const size_t allocSize = sizeof(uint16_t) * entryCount; local 560 cache->fCache16Storage = (uint16_t*)sk_malloc_throw(allocSize);
|
/external/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 1324 llvm::Value *allocSize = local 1351 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); 1361 allocatorArgs.add(RValue::get(allocSize), sizeType); 1377 if (allocSize != allocSizeWithoutCookie) { 1418 EnterNewDeleteCleanup(*this, E, allocation, allocSize, allocatorArgs); 1423 assert((allocSize == allocSizeWithoutCookie) == 1425 if (allocSize != allocSizeWithoutCookie) {
|
Completed in 492 milliseconds