Home
last modified time | relevance | path

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

12

/external/webkit/Source/WebCore/fileapi/
DWebKitBlobBuilder.cpp74 size_t oldSize = buffer.size(); in append() local
80 m_size += buffer.size() - oldSize; in append()
94 size_t oldSize = buffer.size(); in append() local
96 m_size += buffer.size() - oldSize; in append()
/external/webkit/Source/WebCore/platform/image-encoders/
DPNGImageEncoder.cpp60 size_t oldSize = state->m_dump->size(); in encoderWriteCallback() local
61 state->m_dump->resize(oldSize + size); in encoderWriteCallback()
62 char* destination = state->m_dump->data() + oldSize; in encoderWriteCallback()
/external/webkit/Source/WebCore/loader/
DTextResourceDecoder.cpp441 size_t oldSize = m_buffer.size(); in checkForCSSCharset() local
442 m_buffer.grow(oldSize + len); in checkForCSSCharset()
443 memcpy(m_buffer.data() + oldSize, data, len); in checkForCSSCharset()
525 size_t oldSize = m_buffer.size(); in checkForHeadCharset() local
526 m_buffer.grow(oldSize + len); in checkForHeadCharset()
527 memcpy(m_buffer.data() + oldSize, data, len); in checkForHeadCharset()
661 size_t oldSize = m_buffer.size(); in decode() local
662 m_buffer.grow(oldSize + len); in decode()
663 memcpy(m_buffer.data() + oldSize, data, len); in decode()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DOpMapVector.java85 int oldSize = m_mapSize; in setElementAt() local
91 System.arraycopy(m_map, 0, newMap, 0, oldSize); in setElementAt()
/external/guava/guava/src/com/google/common/collect/
DAbstractMultimap.java245 int oldSize = collection.size(); in putAll() local
257 totalSize += (collection.size() - oldSize); in putAll()
570 int oldSize = size(); // calls refreshIfEmpty in addAll() local
574 totalSize += (newSize - oldSize); in addAll()
575 if (oldSize == 0) { in addAll()
593 int oldSize = size(); // calls refreshIfEmpty in clear() local
594 if (oldSize == 0) { in clear()
598 totalSize -= oldSize; in clear()
616 int oldSize = size(); // calls refreshIfEmpty in removeAll() local
620 totalSize += (newSize - oldSize); in removeAll()
[all …]
/external/webkit/Source/WebCore/platform/text/
DLineEnding.cpp83 size_t oldSize = m_buffer.size(); in allocate() local
84 m_buffer.grow(oldSize + size); in allocate()
85 return m_buffer.data() + oldSize; in allocate()
/external/webkit/Source/WebCore/rendering/
DRenderHTMLCanvas.cpp87 IntSize oldSize = size(); in canvasSizeChanged() local
90 if (oldSize == size()) in canvasSizeChanged()
DRenderMedia.cpp60 IntSize oldSize = contentBoxRect().size(); in layout() local
69 if (newSize == oldSize && !controlsRenderer->needsLayout()) in layout()
DRenderSlider.cpp149 IntSize oldSize = size(); in layout() local
157 if (oldSize != size()) in layout()
/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/Source/WebCore/css/
DCSSImageGeneratorValue.cpp87 IntSize oldSize = sizeCount.first; in getImage() local
88 if (oldSize != size) { in getImage()
/external/webkit/Source/WebCore/platform/graphics/
DWidthIterator.cpp226 int oldSize = glyphBuffer->size(); in advanceOneCharacter() local
229 for (int i = oldSize; i < glyphBuffer->size(); ++i) in advanceOneCharacter()
232 return glyphBuffer->size() > oldSize; in advanceOneCharacter()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DSortedMapInterfaceTest.java335 int oldSize = map.size();
346 assertEquals(map.size(), oldSize - 1);
348 assertEquals(subMap.size(), oldSize - 2);
358 int oldSize = map.size();
369 assertEquals(map.size(), oldSize - subMapSize);
/external/webkit/Source/JavaScriptCore/runtime/
DJSGlobalObject.cpp409 void JSGlobalObject::resizeRegisters(int oldSize, int newSize) in resizeRegisters() argument
411 ASSERT(oldSize <= newSize); in resizeRegisters()
412 if (newSize == oldSize) in resizeRegisters()
414 ASSERT(newSize && newSize > oldSize); in resizeRegisters()
416 ASSERT(static_cast<size_t>(oldSize) == m_registerArraySize); in resizeRegisters()
418 for (int i = 0; i < oldSize; i++) in resizeRegisters()
419 registerArray[newSize - oldSize + i].set(globalData(), this, m_registerArray[i].get()); in resizeRegisters()
427 for (int i = -newSize; i < -oldSize; ++i) in resizeRegisters()
DJSGlobalObject.h236 void resizeRegisters(int oldSize, int newSize);
303 size_t oldSize = m_registerArraySize; in addStaticGlobals() local
304 size_t newSize = oldSize + count; in addStaticGlobals()
308 memcpy(registerArray.get() + count, m_registerArray.get(), oldSize * sizeof(Register)); in addStaticGlobals()
314 for (int i = 0, index = -static_cast<int>(oldSize) - 1; i < count; ++i, --index) { in addStaticGlobals()
/external/webkit/Source/WebCore/platform/text/wince/
DTextCodecWinCE.cpp213 int oldSize = result.size(); in decodeInternal() local
214 result.resize(oldSize + resultLength); in decodeInternal()
216 … MultiByteToWideChar(codePage, flags, bytes, testLength, result.data() + oldSize, resultLength); in decodeInternal()
/external/webkit/Source/WebCore/plugins/
DPluginStream.cpp435 int oldSize = m_deliveryData->size(); in didReceiveData() local
436 m_deliveryData->resize(oldSize + length); in didReceiveData()
437 memcpy(m_deliveryData->data() + oldSize, data, length); in didReceiveData()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGPrinter.cpp232 unsigned oldSize = visited.size(); in setSubgraphColorHelper() local
234 if (visited.size() != oldSize) { in setSubgraphColorHelper()
/external/webkit/Source/WebCore/html/
DHTMLCanvasElement.cpp256 IntSize oldSize = size(); in reset() local
260 if (m_context && m_context->is3d() && oldSize != size()) in reset()
269 if (oldSize != size()) in reset()
DHTMLSelectElement.cpp253 int oldSize = m_data.size(); in parseMappedAttribute() local
263 if (oldSize != size) in parseMappedAttribute()
268 …nuList != m_data.usesMenuList() || (!oldUsesMenuList && m_data.size() != oldSize)) && attached()) { in parseMappedAttribute()
/external/webkit/Source/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/skia/src/pdf/
DSkPDFDocument.cpp202 int oldSize = fPages.count(); in setPage() local
204 for (int i = oldSize; i <= pageNumber; i++) { in setPage()
/external/opencv/cv/src/
Dcvsurf.cpp82 icvResizeHaarPattern( const int src[][5], CvSurfHF* dst, int n, int oldSize, int newSize, int width… in icvResizeHaarPattern() argument
86 int dx1 = src[k][0]*newSize/oldSize; in icvResizeHaarPattern()
87 int dy1 = src[k][1]*newSize/oldSize; in icvResizeHaarPattern()
88 int dx2 = src[k][2]*newSize/oldSize; in icvResizeHaarPattern()
89 int dy2 = src[k][3]*newSize/oldSize; in icvResizeHaarPattern()
/external/webkit/Source/WebCore/platform/network/
DFormData.cpp157 size_t oldSize = e.m_data.size(); in appendData() local
158 e.m_data.grow(oldSize + size); in appendData()
159 memcpy(e.m_data.data() + oldSize, data, size); in appendData()
/external/webkit/Source/JavaScriptCore/jit/
DExecutableAllocator.h147 void tryShrink(void* allocation, size_t oldSize, size_t newSize) in tryShrink() argument
149 if (static_cast<char*>(allocation) + oldSize != m_freePtr) in tryShrink()

12