Searched refs:newSize (Results 1 - 25 of 176) sorted by relevance

12345678

/macosx-10.9.5/Security-55471.14.18/include/security_cryptkit/
H A Dfalloc.h31 typedef void *(reallocExternFcn)(void *oldData, unsigned newSize);
41 void *frealloc(void *oldPtr, unsigned newSize);
H A Dfalloc.c95 void *frealloc(void *oldPtr, unsigned newSize) argument
104 return (reallocExt)(oldPtr, newSize);
107 return realloc(oldPtr, newSize);
/macosx-10.9.5/Security-55471.14.18/libsecurity_cryptkit/lib/
H A Dfalloc.h31 typedef void *(reallocExternFcn)(void *oldData, unsigned newSize);
41 void *frealloc(void *oldPtr, unsigned newSize);
H A Dfalloc.c95 void *frealloc(void *oldPtr, unsigned newSize) argument
104 return (reallocExt)(oldPtr, newSize);
107 return realloc(oldPtr, newSize);
/macosx-10.9.5/ICU-511.35/icuSources/samples/layout/
H A Darraymem.h20 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
H A DFontTableCache.cpp75 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW; local
77 fTableCache = (FontTableCacheEntry *) LE_GROW_ARRAY(fTableCache, newSize);
79 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
84 fTableCacheSize = newSize;
/macosx-10.9.5/ICU-511.35/icuSources/test/letest/
H A Dletest.h33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
H A DFontTableCache.cpp75 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW; local
77 fTableCache = (FontTableCacheEntry *) GROW_ARRAY(fTableCache, newSize);
79 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
84 fTableCacheSize = newSize;
/macosx-10.9.5/WebCore-7537.78.1/rendering/
H A DRenderMedia.cpp80 LayoutSize newSize = contentBoxRect().size(); local
81 if (newSize == oldSize && !controlsNeedLayout)
90 controlsRenderer->style()->setHeight(Length(newSize.height(), Fixed));
91 controlsRenderer->style()->setWidth(Length(newSize.width(), Fixed));
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/
H A Dalloc.cpp105 void *DefaultAllocator::realloc(void *addr, size_t newSize) throw(std::bad_alloc) argument
107 if (void *result = ::realloc(addr, newSize))
118 void *SensitiveAllocator::realloc(void *addr, size_t newSize) throw(std::bad_alloc) argument
121 if (newSize < oldSize)
122 memset(increment(addr, newSize), 0, oldSize - newSize);
123 return DefaultAllocator::realloc(addr, newSize);
H A Dstreams.cpp134 void MemorySink::grow(size_t newSize) argument
136 if (void *p = realloc(mBuffer, newSize)) {
138 mMax = newSize;
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/
H A Dalloc.cpp105 void *DefaultAllocator::realloc(void *addr, size_t newSize) throw(std::bad_alloc) argument
107 if (void *result = ::realloc(addr, newSize))
118 void *SensitiveAllocator::realloc(void *addr, size_t newSize) throw(std::bad_alloc) argument
121 if (newSize < oldSize)
122 memset(increment(addr, newSize), 0, oldSize - newSize);
123 return DefaultAllocator::realloc(addr, newSize);
H A Dstreams.cpp134 void MemorySink::grow(size_t newSize) argument
136 if (void *p = realloc(mBuffer, newSize)) {
138 mMax = newSize;
/macosx-10.9.5/tcl-102/tcl_ext/tclxml/tclxml/expat/xmlparse/
H A Dhashtable.c86 size_t newSize = table->size * 2; local
87 NAMED **newV = calloc(newSize, sizeof(NAMED *));
93 for (j = hash(table->v[i]->name) & (newSize - 1);
95 j == 0 ? j = newSize - 1 : --j)
101 table->size = newSize;
102 table->usedLim = newSize/2;
/macosx-10.9.5/tcl-102/tcl_ext/xotcl/xotcl/library/xml/TclExpat-1.1/
H A Dhashtable.c69 size_t newSize = table->size * 2; local
70 NAMED **newV = calloc(newSize, sizeof(NAMED *));
76 for (j = hash(table->v[i]->name) & (newSize - 1);
78 j == 0 ? j = newSize - 1 : --j)
84 table->size = newSize;
85 table->usedLim = newSize/2;
/macosx-10.9.5/WebKit-7537.78.2/gtk/WebCoreSupport/
H A DAcceleratedCompositingContextClutter.cpp147 void AcceleratedCompositingContext::resizeRootLayer(const IntSize& newSize) argument
152 if (m_rootLayer->size() == newSize)
158 allocation.width = newSize.width();
159 allocation.height = newSize.height();
162 m_rootLayer->setSize(newSize);
164 // If the newSize exposes new areas of the non-composited content a setNeedsDisplay is needed
167 m_nonCompositedContentLayer->setSize(newSize);
169 if (newSize.width() > oldSize.width()) {
170 float height = std::min(static_cast<float>(newSize.height()), oldSize.height());
171 m_nonCompositedContentLayer->setNeedsDisplayInRect(FloatRect(oldSize.width(), 0, newSize
[all...]
H A DAcceleratedCompositingContextGL.cpp277 void AcceleratedCompositingContext::resizeRootLayer(const IntSize& newSize) argument
282 if (m_rootLayer->size() == newSize)
285 m_redirectedWindow->resize(newSize);
286 m_rootLayer->setSize(newSize);
288 // If the newSize exposes new areas of the non-composited content a setNeedsDisplay is needed
291 m_nonCompositedContentLayer->setSize(newSize);
293 if (newSize.width() > oldSize.width()) {
294 float height = std::min(static_cast<float>(newSize.height()), oldSize.height());
295 m_nonCompositedContentLayer->setNeedsDisplayInRect(FloatRect(oldSize.width(), 0, newSize.width() - oldSize.width(), height));
298 if (newSize
[all...]
/macosx-10.9.5/JavaScriptCore-7537.78.1/heap/
H A DCopiedSpace.cpp100 CheckedBoolean CopiedSpace::tryReallocate(void** ptr, size_t oldSize, size_t newSize) argument
102 if (oldSize >= newSize)
108 if (CopiedSpace::blockFor(oldPtr)->isOversize() || isOversize(newSize))
109 return tryReallocateOversize(ptr, oldSize, newSize);
111 if (m_allocator.tryReallocate(oldPtr, oldSize, newSize))
115 if (!tryAllocate(newSize, &result)) {
124 CheckedBoolean CopiedSpace::tryReallocateOversize(void** ptr, size_t oldSize, size_t newSize) argument
126 ASSERT(isOversize(oldSize) || isOversize(newSize));
127 ASSERT(newSize > oldSize);
132 if (!tryAllocateOversize(newSize,
[all...]
/macosx-10.9.5/ICU-511.35/icuSources/common/
H A Duvectr64.cpp186 * Change the size of this vector as follows: If newSize is smaller,
188 * newSize. If newSize is larger, grow the array, filling in new
191 void UVector64::setSize(int32_t newSize) { argument
193 if (newSize < 0) {
196 if (newSize > count) {
198 if (!ensureCapacity(newSize, ec)) {
201 for (i=count; i<newSize; ++i) {
205 count = newSize;
/macosx-10.9.5/xnu-2422.115.4/libkern/c++/
H A DOSData.cpp252 unsigned int newSize; local
260 newSize = length + inLength;
261 if ( (newSize > capacity) && newSize > ensureCapacity(newSize) )
269 length = newSize;
276 unsigned int newSize; local
284 newSize = length + inLength;
285 if ( (newSize > capacity) && newSize > ensureCapacit
[all...]
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/gtk/
H A DLayerTreeHostGtk.cpp209 void LayerTreeHostGtk::sizeDidChange(const IntSize& newSize) argument
211 if (m_rootLayer->size() == newSize)
213 m_rootLayer->setSize(newSize);
215 // If the newSize exposes new areas of the non-composited content a setNeedsDisplay is needed
218 m_nonCompositedContentLayer->setSize(newSize);
220 if (newSize.width() > oldSize.width()) {
221 float height = std::min(static_cast<float>(newSize.height()), oldSize.height());
222 m_nonCompositedContentLayer->setNeedsDisplayInRect(FloatRect(oldSize.width(), 0, newSize.width() - oldSize.width(), height));
225 if (newSize.height() > oldSize.height())
226 m_nonCompositedContentLayer->setNeedsDisplayInRect(FloatRect(0, oldSize.height(), newSize
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/generic/
H A DtclXfilecmds.c29 off_t newSize));
118 * o newSize (I) - Size to truncate the file to.
124 TruncateByPath (interp, filePath, newSize)
127 off_t newSize;
139 if (truncate (filePath, newSize) != 0) {
174 off_t newSize;
201 newSize = convSize;
206 return TclXOSftruncate (interp, channel, newSize,
210 return TruncateByPath (interp, pathString, newSize);
171 off_t newSize; local
/macosx-10.9.5/WebKit2-7537.78.2/WebProcess/WebPage/mac/
H A DLayerTreeHostMac.mm151 void LayerTreeHostMac::sizeDidChange(const IntSize& newSize)
153 m_rootLayer->setSize(newSize);
155 // If the newSize exposes new areas of the non-composited content a setNeedsDisplay is needed
158 m_nonCompositedContentLayer->setSize(newSize);
160 if (newSize.width() > oldSize.width()) {
161 float height = std::min(static_cast<float>(newSize.height()), oldSize.height());
162 m_nonCompositedContentLayer->setNeedsDisplayInRect(FloatRect(oldSize.width(), 0, newSize.width() - oldSize.width(), height));
165 if (newSize.height() > oldSize.height())
166 m_nonCompositedContentLayer->setNeedsDisplayInRect(FloatRect(0, oldSize.height(), newSize.width(), newSize
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/blackberry/
H A DDrawingBufferBlackBerry.cpp107 bool DrawingBuffer::reset(const IntSize& newSize) argument
112 if (m_size == newSize)
115 m_size = newSize;
/macosx-10.9.5/hfs-226.1.1/fsck_hfs/dfalib/
H A DSStubs.c153 void SetHandleSize(Handle h, Size newSize) argument
160 if ((p = realloc(*h, newSize)))
163 *((Size *)(h + 1)) = newSize;

Completed in 171 milliseconds

12345678