HomeSort by relevance Sort by last modified time
    Searched defs:allocSize (Results 1 - 17 of 17) sorted by null

  /external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
alloc.c 70 size_t allocSize = common->filterBufferLen * sizeof(common->filterBuffer[0][0]);
72 OI_ASSERT(codecDataBytes >= allocSize);
73 codecData += allocSize;
74 codecDataBytes -= allocSize;
  /external/chromium_org/third_party/skia/src/core/
SkColorTable.cpp 94 size_t allocSize = fCount * sizeof(SkPMColor);
96 if (buffer.validateAvailable(allocSize)) {
97 fColors = (SkPMColor*)sk_malloc_throw(allocSize);
SkPictureFlat.h 281 size_t allocSize = sizeof(SkFlatData) + size;
282 SkFlatData* result = (SkFlatData*) controller->allocThrow(allocSize);
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
SocketStream.cpp 66 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize);
68 m_buf = (unsigned char *)malloc(allocSize);
70 else if (m_bufsize < allocSize) {
71 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize);
74 m_bufsize = allocSize;
76 ERR("%s: realloc (%zu) failed\n", __FUNCTION__, allocSize);
  /device/generic/goldfish/opengl/system/OpenglSystemCommon/
QemuPipeStream.cpp 61 size_t allocSize = (m_bufsize < minSize ? minSize : m_bufsize);
63 m_buf = (unsigned char *)malloc(allocSize);
65 else if (m_bufsize < allocSize) {
66 unsigned char *p = (unsigned char *)realloc(m_buf, allocSize);
69 m_bufsize = allocSize;
71 ERR("realloc (%d) failed\n", allocSize);
  /external/chromium_org/third_party/angle/tests/angle_tests/
BufferDataTest.cpp 135 GLsizei allocSize = std::numeric_limits<GLsizei>::max() >> 2;
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/eigen/Eigen/src/SparseCore/
AmbiVector.h 72 Index allocSize = (size * sizeof(ListEl))/sizeof(Scalar);
73 m_allocatedElements = (allocSize*sizeof(Scalar))/sizeof(ListEl);
74 m_buffer = new Scalar[allocSize];
90 Index allocSize = m_allocatedElements * sizeof(ListEl);
91 allocSize = allocSize/sizeof(Scalar) + (allocSize%sizeof(Scalar)>0?1:0);
92 Scalar* newBuffer = new Scalar[allocSize];
  /art/runtime/native/
dalvik_system_VMDebug.cc 276 size_t allocSize = 0;
293 allocSize += malloc_space->GetFootprint();
298 allocSize += bump_pointer_space->Size();
309 size_t allocFree = allocSize - allocUsed;
314 arr[j++] = allocSize;
  /dalvik/libdex/
DexFile.cpp 214 int allocSize;
230 allocSize = offsetof(DexClassLookup, table)
233 pLookup = (DexClassLookup*) calloc(1, allocSize);
236 pLookup->size = allocSize;
259 allocSize, totalProbes, maxProbes);
  /dalvik/vm/
Profile.h 70 int allocSize; // cumulative size of objects
  /external/chromium_org/third_party/icu/source/common/
unisetspan.cpp 266 int32_t allocSize;
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;
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/
unisetspan.cpp 266 int32_t allocSize;
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;
408 if(allocSize<=(int32_t)sizeof(staticLengths)) {
411 utf8Lengths=(int32_t *)uprv_malloc(allocSize);
420 uprv_memcpy(utf8Lengths, otherStringSpan.utf8Lengths, allocSize);
    [all...]
  /art/runtime/jdwp/
jdwp_event.cc 363 int allocSize = offsetof(JdwpEvent, mods) + numMods * sizeof(newEvent->mods[0]);
364 newEvent = reinterpret_cast<JdwpEvent*>(malloc(allocSize));
365 memset(newEvent, 0, allocSize);
    [all...]
  /external/chromium_org/third_party/webrtc/test/channel_transport/
udp_socket2_win.cc 1050 int allocSize = sizeof(TC_GEN_FLOW) + sizeof(QOS_DS_CLASS) +
1052 _flow = (PTC_GEN_FLOW)malloc(allocSize);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
HashTable.h     [all...]
  /external/chromium_org/third_party/skia/src/effects/gradients/
SkGradientShader.cpp 36 size_t allocSize = (sizeof(SkColor) + sizeof(SkScalar)) * fCount;
37 fDynamicStorage.reset(allocSize);
219 size_t allocSize = (sizeof(SkColor) + sizeof(SkScalar) + sizeof(Rec)) * colorCount;
220 if (buffer.validateAvailable(allocSize)) {
221 fOrigColors = reinterpret_cast<SkColor*>(sk_malloc_throw(allocSize));
594 const size_t allocSize = sizeof(uint16_t) * entryCount;
597 cache->fCache16Storage = (uint16_t*)sk_malloc_throw(allocSize);
    [all...]
  /external/clang/lib/CodeGen/
CGExprCXX.cpp     [all...]

Completed in 1323 milliseconds