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

/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
H A Dalloc.c70 size_t allocSize = common->filterBufferLen * sizeof(common->filterBuffer[0][0]); local
72 OI_ASSERT(codecDataBytes >= allocSize);
73 codecData += allocSize;
74 codecDataBytes -= allocSize;
/external/chromium_org/third_party/skia/src/core/
H A DSkColorTable.cpp94 size_t allocSize = fCount * sizeof(SkPMColor); local
96 if (buffer.validateAvailable(allocSize)) {
97 fColors = (SkPMColor*)sk_malloc_throw(allocSize);
H A DSkPictureFlat.h281 size_t allocSize = sizeof(SkFlatData) + size; local
282 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize);
/external/skia/src/core/
H A DSkColorTable.cpp97 size_t allocSize = fCount * sizeof(SkPMColor); local
99 if (buffer.validateAvailable(allocSize)) {
100 fColors = (SkPMColor*)sk_malloc_throw(allocSize);
H A DSkPictureFlat.h278 size_t allocSize = sizeof(SkFlatData) + size; local
279 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize);
/external/eigen/Eigen/src/SparseCore/
H A DAmbiVector.h72 Index allocSize = (size * sizeof(ListEl))/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) + (allocSize%sizeof(Scalar)>0?1:0);
92 Scalar* newBuffer = new Scalar[allocSize];
/external/chromium_org/third_party/angle/tests/angle_tests/
H A DBufferDataTest.cpp135 GLsizei allocSize = std::numeric_limits<GLsizei>::max() >> 2; local
138 while (data == NULL && allocSize >= 4)
140 data = new (std::nothrow) uint8_t[allocSize];
144 allocSize >>= 1;
149 memset(data, 0, allocSize);
157 glBufferData(GL_ARRAY_BUFFER, allocSize, data, GL_STATIC_DRAW);
/external/srec/portable/src/
H A Dpmemory_ext.c88 #define GUARD_OFF_END(allocSize) ((allocSize) - sizeof(unsigned int))
/external/chromium_org/third_party/icu/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/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/skia/src/effects/
H A DSkDashPathEffect.cpp264 size_t allocSize = sizeof(SkScalar) * fCount;
265 if (buffer.validateAvailable(allocSize)) {
266 fIntervals = (SkScalar*)sk_malloc_throw(allocSize);
/external/chromium_org/third_party/skia/src/effects/
H A DSkDashPathEffect.cpp391 size_t allocSize = sizeof(SkScalar) * fCount;
392 if (buffer.validateAvailable(allocSize)) {
393 fIntervals = (SkScalar*)sk_malloc_throw(allocSize);
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkGradientShader.cpp36 size_t allocSize = (sizeof(SkColor) + sizeof(SkScalar)) * fCount; local
37 fDynamicStorage.reset(allocSize);
219 size_t allocSize = (sizeof(SkColor) + sizeof(SkScalar) + sizeof(Rec)) * colorCount; local
220 if (buffer.validateAvailable(allocSize)) {
221 fOrigColors = reinterpret_cast<SkColor*>(sk_malloc_throw(allocSize));
594 const size_t allocSize = sizeof(uint16_t) * entryCount; local
597 cache->fCache16Storage = (uint16_t*)sk_malloc_throw(allocSize);
/external/chromium_org/third_party/webrtc/test/channel_transport/
H A Dudp_socket2_win.cc1050 int allocSize = sizeof(TC_GEN_FLOW) + sizeof(QOS_DS_CLASS) + local
1052 _flow = (PTC_GEN_FLOW)malloc(allocSize);
1091 int allocSize = sizeof(TC_GEN_FLOW) + sizeof(QOS_DS_CLASS) + local
1093 _flow = (PTC_GEN_FLOW)malloc(allocSize);
/external/skia/src/effects/gradients/
H A DSkGradientShader.cpp150 size_t allocSize = (sizeof(SkColor) + sizeof(SkPMColor) + sizeof(Rec)) * colorCount; local
151 if (buffer.validateAvailable(allocSize)) {
152 fOrigColors = reinterpret_cast<SkColor*>(sk_malloc_throw(allocSize));
497 const size_t allocSize = sizeof(uint16_t) * entryCount; local
500 cache->fCache16Storage = (uint16_t*)sk_malloc_throw(allocSize);
/external/chromium_org/third_party/sqlite/src/src/
H A Dmalloc.c86 int allocSize
89 sqlite3_release_memory(allocSize);
/external/clang/lib/CodeGen/
H A DCGExprCXX.cpp1226 llvm::Value *allocSize = local
1230 allocatorArgs.add(RValue::get(allocSize), sizeType);
1287 EnterNewDeleteCleanup(*this, E, allocation, allocSize, allocatorArgs);
1292 assert((allocSize == allocSizeWithoutCookie) ==
1294 if (allocSize != allocSizeWithoutCookie) {
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DHashTable.h991 size_t allocSize = size * sizeof(ValueType); local
1000 result = Allocator::template zeroedBackingMalloc<ValueType*, HashTableBacking>(allocSize);
1002 result = Allocator::template backingMalloc<ValueType*, HashTableBacking>(allocSize);
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c17791 int allocSize
17794 sqlite3_release_memory(allocSize);
[all...]
/external/sqlite/dist/orig/
H A Dsqlite3.c19829 int allocSize
19832 sqlite3_release_memory(allocSize);
[all...]
/external/sqlite/dist/
H A Dsqlite3.c19829 int allocSize
19832 sqlite3_release_memory(allocSize);
[all...]

Completed in 949 milliseconds