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

1234

/macosx-10.10/JavaScriptCore-7600.1.17/runtime/
H A DJSSegmentedVariableObject.cpp55 size_t oldSize = m_registers.size(); local
56 m_registers.grow(oldSize + numberOfRegistersToAdd);
59 m_registers[oldSize + i].setWithoutWriteBarrier(jsUndefined());
61 return static_cast<int>(oldSize);
H A DButterflyInlines.h120 size_t oldSize = totalSize(0, propertyCapacity, hadIndexingHeader, oldIndexingPayloadSizeInBytes); local
122 if (!vm.heap.tryReallocateStorage(intendedOwner, &theBase, oldSize, newSize))
/macosx-10.10/bmalloc-7600.1.17/bmalloc/
H A Dbmalloc.h52 size_t oldSize = 0;
57 oldSize = static_cast<char*>(end) - static_cast<char*>(object);
63 oldSize = static_cast<char*>(end) - static_cast<char*>(object);
68 oldSize = beginTag->size();
73 oldSize = chunk->size();
78 size_t copySize = std::min(oldSize, newSize);
/macosx-10.10/WebCore-7600.1.25/platform/image-encoders/
H A DPNGImageEncoder.cpp60 size_t oldSize = state->m_dump->size(); local
61 state->m_dump->resize(oldSize + size);
62 char* destination = state->m_dump->data() + oldSize;
/macosx-10.10/WTF-7600.1.24/wtf/
H A DOSAllocator.h72 static T* reallocateCommitted(T*, size_t oldSize, size_t newSize, Usage = UnknownUsage, bool writable = true, bool executable = false);
102 inline T* OSAllocator::reallocateCommitted(T* oldBase, size_t oldSize, size_t newSize, Usage usage, bool writable, bool executable) argument
105 memcpy(newBase, oldBase, std::min(oldSize, newSize));
106 decommitAndRelease(oldBase, oldSize);
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/
H A Dalloc.cpp120 size_t oldSize = malloc_size(addr); local
121 if (newSize < oldSize)
122 memset(increment(addr, newSize), 0, oldSize - newSize);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dalloc.cpp120 size_t oldSize = malloc_size(addr); local
121 if (newSize < oldSize)
122 memset(increment(addr, newSize), 0, oldSize - newSize);
/macosx-10.10/WebCore-7600.1.25/rendering/
H A DRenderHTMLCanvas.cpp107 LayoutSize oldSize = size(); local
110 if (oldSize == size())
H A DImageQualityController.cpp126 LayoutSize oldSize; local
132 oldSize = j->value;
173 if (isFirstResize || oldSize == size) {
H A DRenderSnapshottedPlugIn.cpp73 LayoutSize oldSize = contentBoxRect().size(); local
78 if (newSize == oldSize)
H A DRenderImage.h117 void layoutShadowControls(const LayoutSize& oldSize);
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebPage/gtk/
H A DLayerTreeHostGtk.cpp214 FloatSize oldSize = m_nonCompositedContentLayer->size(); local
217 if (newSize.width() > oldSize.width()) {
218 float height = std::min(static_cast<float>(newSize.height()), oldSize.height());
219 m_nonCompositedContentLayer->setNeedsDisplayInRect(FloatRect(oldSize.width(), 0, newSize.width() - oldSize.width(), height));
222 if (newSize.height() > oldSize.height())
223 m_nonCompositedContentLayer->setNeedsDisplayInRect(FloatRect(0, oldSize.height(), newSize.width(), newSize.height() - oldSize.height()));
/macosx-10.10/JavaScriptCore-7600.1.17/heap/
H A DCopiedSpace.cpp118 CheckedBoolean CopiedSpace::tryReallocate(void** ptr, size_t oldSize, size_t newSize) argument
120 if (oldSize >= newSize)
127 return tryReallocateOversize(ptr, oldSize, newSize);
129 if (m_allocator.tryReallocate(oldPtr, oldSize, newSize))
137 memcpy(result, oldPtr, oldSize);
142 CheckedBoolean CopiedSpace::tryReallocateOversize(void** ptr, size_t oldSize, size_t newSize) argument
144 ASSERT(isOversize(oldSize) || isOversize(newSize));
145 ASSERT(newSize > oldSize);
155 memcpy(newPtr, oldPtr, oldSize);
H A DHeapInlines.h219 inline CheckedBoolean Heap::tryReallocateStorage(JSCell* intendedOwner, void** ptr, size_t oldSize, size_t newSize) argument
224 CheckedBoolean result = m_storageSpace.tryReallocate(ptr, oldSize, newSize);
226 dataLogF("JSC GC reallocating %lu -> %lu bytes of storage for %p: %p -> %p.\n", oldSize, newSize, intendedOwner, oldPtr, *ptr);
H A DSlotVisitorInlines.h269 size_t oldSize = *counter; local
270 if (WTF::weakCompareAndSwapSize(counter, oldSize, oldSize + size))
/macosx-10.10/WebCore-7600.1.25/platform/text/
H A DLineEnding.cpp83 size_t oldSize = m_buffer.size(); local
84 m_buffer.grow(oldSize + size);
85 return m_buffer.data() + oldSize;
/macosx-10.10/xnu-2782.1.97/libkern/c++/
H A DOSArray.cpp195 unsigned int oldSize, newSize; local
212 oldSize = sizeof(const OSMetaClassBase *) * capacity;
214 ACCUMSIZE(newSize - oldSize);
216 bcopy(array, newArray, oldSize);
217 bzero(&newArray[capacity], newSize - oldSize);
218 kfree(array, oldSize);
H A DOSOrderedSet.cpp131 unsigned int finalCapacity, oldSize, newSize; local
147 oldSize = sizeof(_Element) * capacity;
149 ACCUMSIZE(newSize - oldSize);
151 bcopy(array, newArray, oldSize);
152 bzero(&newArray[capacity], newSize - oldSize);
153 kfree(array, oldSize);
H A DOSDictionary.cpp281 unsigned int finalCapacity, oldSize, newSize; local
298 oldSize = sizeof(dictEntry) * capacity;
300 bcopy(dictionary, newDict, oldSize);
301 bzero(&newDict[capacity], newSize - oldSize);
303 ACCUMSIZE(newSize - oldSize);
304 kfree(dictionary, oldSize);
/macosx-10.10/Security-57031.1.35/Security/libsecurity_cssm/lib/
H A Dcssmcontext.cpp84 size_t oldSize = size(*attr); local
87 if (newSize <= oldSize) { // give it a try...
/macosx-10.10/WTF-7600.1.24/wtf/text/
H A DStringView.h266 unsigned oldSize = buffer.size();
267 buffer.grow(oldSize + string.length());
268 string.getCharactersWithUpconvert(buffer.data() + oldSize);
/macosx-10.10/libxslt-13/libxslt/libxslt/
H A Dtemplates.c123 int oldPos, oldSize; local
130 oldSize = ctxt->xpathCtxt->contextSize;
159 ctxt->xpathCtxt->contextSize = oldSize;
/macosx-10.10/WebCore-7600.1.25/platform/graphics/gpu/
H A DDrawingBuffer.cpp272 int oldSize = 0; local
274 oldSize = m_size.width() * m_size.height();
275 pixelDelta -= oldSize;
287 pixelDelta -= oldSize;
369 pixelDelta -= oldSize;
/macosx-10.10/WebCore-7600.1.25/platform/text/win/
H A DTextCodecWin.cpp214 int oldSize = result.size(); local
215 result.resize(oldSize + resultLength);
217 MultiByteToWideChar(codePage, flags, bytes, testLength, result.data() + oldSize, resultLength);
/macosx-10.10/JavaScriptCore-7600.1.17/bytecode/
H A DOperands.h104 size_t oldSize = m_locals.size();
106 for (size_t i = oldSize; i < m_locals.size(); ++i)

Completed in 170 milliseconds

1234