Home
last modified time | relevance | path

Searched refs:oldSize (Results 1 – 25 of 25) sorted by relevance

/external/webkit/WebCore/platform/network/
DFormData.cpp123 size_t oldSize = e.m_data.size(); in appendData() local
124 e.m_data.grow(oldSize + size); in appendData()
125 memcpy(e.m_data.data() + oldSize, data, size); in appendData()
141 size_t oldSize = data.size(); in flatten() local
143 data.grow(oldSize + delta); in flatten()
144 memcpy(data.data() + oldSize, e.m_data.data(), delta); in flatten()
/external/guava/src/com/google/common/collect/
DAbstractMultimap.java236 int oldSize = collection.size(); in putAll() local
249 totalSize += (collection.size() - oldSize); in putAll()
554 int oldSize = size(); // calls refreshIfEmpty in addAll() local
558 totalSize += (newSize - oldSize); in addAll()
559 if (oldSize == 0) { in addAll()
577 int oldSize = size(); // calls refreshIfEmpty in clear() local
578 if (oldSize == 0) { in clear()
582 totalSize -= oldSize; in clear()
600 int oldSize = size(); // calls refreshIfEmpty in removeAll() local
604 totalSize += (newSize - oldSize); in removeAll()
[all …]
/external/srec/portable/src/
Dpmemory.c746 size_t oldSize; in prealloc() local
778 oldSize = oldData->size; in prealloc()
779 passert(oldSize >= 0); in prealloc()
790 if (oldSize != actualSize) in prealloc()
800 if (oldSize >= actualSize) in prealloc()
806 memcpy(newData, oldData, oldSize); in prealloc()
824 e->curAlloc += actualSize - oldSize; in prealloc()
828 gCurAlloc += actualSize - oldSize; in prealloc()
869 …pfprintf(gFile, L("pmem|%s|%d|realloc|%d|0x%x|%s|\n"), e->tag, oldSize, actualSize, ptr, stackTrac… in prealloc()
871 pfprintf(gFile, L("pmem|%s|%d|realloc|%d|0x%x|\n"), e->tag, oldSize, actualSize, ptr); in prealloc()
/external/webkit/WebCore/loader/
DTextResourceDecoder.cpp463 size_t oldSize = m_buffer.size(); in checkForCSSCharset() local
464 m_buffer.grow(oldSize + len); in checkForCSSCharset()
465 memcpy(m_buffer.data() + oldSize, data, len); in checkForCSSCharset()
549 size_t oldSize = m_buffer.size(); in checkForHeadCharset() local
550 m_buffer.grow(oldSize + len); in checkForHeadCharset()
551 memcpy(m_buffer.data() + oldSize, data, len); in checkForHeadCharset()
821 size_t oldSize = m_buffer.size(); in decode() local
822 m_buffer.grow(oldSize + len); in decode()
823 memcpy(m_buffer.data() + oldSize, data, len); in decode()
/external/webkit/WebCore/platform/image-encoders/skia/
DPNGImageEncoder.cpp78 size_t oldSize = state->m_out->size(); in encoderWriteCallback() local
79 state->m_out->resize(oldSize + size); in encoderWriteCallback()
80 memcpy(&(*state->m_out)[oldSize], data, size); in encoderWriteCallback()
/external/webkit/WebCore/rendering/
DRenderHTMLCanvas.cpp82 IntSize oldSize = size(); in canvasSizeChanged() local
85 if (oldSize == size()) in canvasSizeChanged()
DRenderTable.cpp615 int oldSize = m_columns.size(); in splitColumn() local
616 m_columns.grow(oldSize + 1); in splitColumn()
620 …memmove(m_columns.data() + pos + 1, m_columns.data() + pos, (oldSize - pos) * sizeof(ColumnStruct)… in splitColumn()
626 toRenderTableSection(child)->splitColumn(pos, oldSize + 1); in splitColumn()
DRenderSlider.cpp347 IntSize oldSize = size(); in layout() local
354 if (oldSize != size()) in layout()
DRenderMedia.cpp145 IntSize oldSize = contentBoxRect().size(); in layout() local
153 if (newSize != oldSize || controlsRenderer->needsLayout()) { in layout()
DRenderLayerBacking.cpp293 FloatSize oldSize = m_graphicsLayer->size(); in updateGraphicsLayerGeometry() local
295 if (oldSize != newSize) { in updateGraphicsLayerGeometry()
/external/webkit/WebCore/css/
DCSSImageGeneratorValue.cpp87 IntSize oldSize = sizeCount.first; in getImage() local
88 if (oldSize != size) { in getImage()
DCSSStyleSelector.cpp3923 float oldSize = 0; in applyProperty() local
3928 oldSize = m_parentStyle->fontDescription().specifiedSize(); in applyProperty()
3933 size = oldSize; in applyProperty()
3954 size = largerFontSize(oldSize, m_style->htmlHacks()); in applyProperty()
3957 size = smallerFontSize(oldSize, m_style->htmlHacks()); in applyProperty()
3976 size = (primitiveValue->getFloatValue() * oldSize) / 100.0f; in applyProperty()
/external/webkit/JavaScriptCore/runtime/
DJSObject.h200 void allocatePropertyStorage(size_t oldSize, size_t newSize);
201 void allocatePropertyStorageInline(size_t oldSize, size_t newSize);
657 ALWAYS_INLINE void JSObject::allocatePropertyStorageInline(size_t oldSize, size_t newSize) in allocatePropertyStorageInline() argument
659 ASSERT(newSize > oldSize); in allocatePropertyStorageInline()
663 bool wasInline = (oldSize == JSObject::inlineStorageCapacity); in allocatePropertyStorageInline()
668 for (unsigned i = 0; i < oldSize; ++i) in allocatePropertyStorageInline()
DJSGlobalObject.h319 size_t oldSize = d()->registerArraySize; in addStaticGlobals() local
320 size_t newSize = oldSize + count; in addStaticGlobals()
323 memcpy(registerArray + count, d()->registerArray.get(), oldSize * sizeof(Register)); in addStaticGlobals()
326 for (int i = 0, index = -static_cast<int>(oldSize) - 1; i < count; ++i, --index) { in addStaticGlobals()
DJSObject.cpp531 void JSObject::allocatePropertyStorage(size_t oldSize, size_t newSize) in allocatePropertyStorage() argument
533 allocatePropertyStorageInline(oldSize, newSize); in allocatePropertyStorage()
/external/webkit/WebCore/plugins/
DPluginStream.cpp440 int oldSize = m_deliveryData->size(); in didReceiveData() local
441 m_deliveryData->resize(oldSize + length); in didReceiveData()
442 memcpy(m_deliveryData->data() + oldSize, data, length); in didReceiveData()
/external/webkit/WebCore/platform/graphics/opentype/
DOpenTypeUtilities.cpp177 size_t oldSize = m_buffer.size(); in appendBigEndianString() local
178 m_buffer.resize(oldSize + length + 2 * sizeof(unsigned short)); in appendBigEndianString()
179 UChar* dst = reinterpret_cast<UChar*>(m_buffer.data() + oldSize); in appendBigEndianString()
/external/webkit/WebCore/html/
DHTMLCanvasElement.cpp227 IntSize oldSize = m_size; in reset() local
243 if (oldSize != m_size) in reset()
DHTMLSelectElement.cpp177 int oldSize = m_data.size(); in parseMappedAttribute() local
186 …nuList != m_data.usesMenuList() || (!oldUsesMenuList && m_data.size() != oldSize)) && attached()) { in parseMappedAttribute()
/external/webkit/WebCore/platform/graphics/haiku/
DGraphicsContextHaiku.cpp283 float oldSize = m_data->m_view->PenSize(); in strokeRect() local
286 m_data->m_view->SetPenSize(oldSize); in strokeRect()
/external/jdiff/src/jdiff/
DAPIComparator.java376 int oldSize = oldClass.ctors_.size(); in compareAllCtors() local
378 if (oldSize == 1 && oldSize == newSize) { in compareAllCtors()
/external/webkit/WebCore/page/
DFrameView.cpp673 IntSize oldSize = m_size; in layout() local
677 if (oldSize != m_size) in layout()
/external/icu4c/i18n/
Ducol.cpp7238 uint32_t oldSize; in ucol_CEBuf_Expand() local
7243 oldSize = (uint32_t)(b->pos - b->buf); in ucol_CEBuf_Expand()
7244 newSize = oldSize * 2; in ucol_CEBuf_Expand()
7250 uprv_memcpy(newBuf, b->buf, oldSize * sizeof(uint32_t)); in ucol_CEBuf_Expand()
7256 b->pos = b->buf + oldSize; in ucol_CEBuf_Expand()
/external/chromium/third_party/icu/source/i18n/
Ducol.cpp7499 uint32_t oldSize; in ucol_CEBuf_Expand() local
7504 oldSize = b->pos - b->buf; in ucol_CEBuf_Expand()
7505 newSize = oldSize * 2; in ucol_CEBuf_Expand()
7511 uprv_memcpy(newBuf, b->buf, oldSize * sizeof(uint32_t)); in ucol_CEBuf_Expand()
7517 b->pos = b->buf + oldSize; in ucol_CEBuf_Expand()
/external/webkit/JavaScriptCore/jit/
DJITStubs.cpp1259 int32_t oldSize = stackFrame.args[3].int32(); in DEFINE_STUB_FUNCTION() local
1264 base->allocatePropertyStorage(oldSize, newSize); in DEFINE_STUB_FUNCTION()