Searched refs:allocSize (Results 1 - 13 of 13) sorted by relevance

/external/skia/src/core/
H A DSkColorTable.cpp69 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 DSkPictureFlat.h296 size_t allocSize = sizeof(SkFlatData) + size; local
297 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize);
/external/eigen/Eigen/src/SparseCore/
H A DAmbiVector.h72 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 DGrDrawAtlasBatch.cpp80 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 Dunisetspan.cpp266 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 Dvncviewer.c92 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 Dscale.c290 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 DUnicodeSetStringSpan.java138 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 DUnicodeSetStringSpan.java134 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 Dcuda_stream.cpp98 const size_t allocSize = tip - ptr; local
99 CV_Assert( allocSize == allocations.back() );
/external/webrtc/webrtc/test/channel_transport/
H A Dudp_socket2_win.cc1034 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 DSkGradientShader.cpp36 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 DCGExprCXX.cpp1324 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