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

12345678

/macosx-10.10/Security-57031.1.35/Security/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.10/Security-57031.1.35/Security/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.10/ICU-531.30/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.10/ICU-531.30/icuSources/test/letest/
H A Dletest.h33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
H A DFontTableCache.cpp79 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW; local
81 fTableCache = (FontTableCacheEntry *) LE_GROW_ARRAY(fTableCache, newSize);
83 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
89 fTableCacheSize = newSize;
/macosx-10.10/Security-57031.1.35/Security/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.10/Security-57031.1.35/Security/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.10/tcl-105/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.10/tcl-105/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.10/ICU-531.30/icuSources/test/perf/leperf/
H A DFontTableCache.cpp79 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW; local
81 fTableCache = (FontTableCacheEntry *) LE_GROW_ARRAY(fTableCache, newSize);
83 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
89 fTableCacheSize = newSize;
/macosx-10.10/WTF-7600.1.24/wtf/
H A DStringPrintStream.cpp103 void StringPrintStream::increaseSize(size_t newSize)
105 ASSERT_WITH_SECURITY_IMPLICATION(newSize > m_size);
106 ASSERT(newSize > sizeof(m_inlineBuffer));
109 m_size = newSize << 1;
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
104 void* newBase = reserveAndCommit(newSize, usage, writable, executable);
105 memcpy(newBase, oldBase, std::min(oldSize, newSize));
H A DMallocPtr.h97 void realloc(size_t newSize) argument
99 m_ptr = static_cast<T*>(fastRealloc(m_ptr, newSize));
/macosx-10.10/bmalloc-7600.1.17/bmalloc/
H A Dbmalloc.h46 inline void* realloc(void* object, size_t newSize) argument
48 void* result = Cache::allocate(newSize);
78 size_t copySize = std::min(oldSize, newSize);
/macosx-10.10/ICU-531.30/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.10/xnu-2782.1.97/libkern/c++/
H A DOSData.cpp251 unsigned int newSize; local
259 newSize = length + inLength;
260 if ( (newSize > capacity) && newSize > ensureCapacity(newSize) )
268 length = newSize;
275 unsigned int newSize; local
283 newSize = length + inLength;
284 if ( (newSize > capacity) && newSize > ensureCapacit
[all...]
/macosx-10.10/Security-57031.1.35/SecurityTests/cspxutils/utilLib/
H A Dcommon.h27 #define CSSM_REALLOC(ptr, newSize) CSSM_Realloc(ptr, newSize)
41 #define CSSM_REALLOC(ptr, newSize) appRealloc(ptr, newSize, NULL)
/macosx-10.10/WebKit2-7600.1.25/WebProcess/WebPage/gtk/
H A DLayerTreeHostGtk.cpp206 void LayerTreeHostGtk::sizeDidChange(const IntSize& newSize) argument
208 if (m_rootLayer->size() == newSize)
210 m_rootLayer->setSize(newSize);
212 // If the newSize exposes new areas of the non-composited content a setNeedsDisplay is needed
215 m_nonCompositedContentLayer->setSize(newSize);
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
[all...]
/macosx-10.10/tcl-105/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.10/hfs-285/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 186 milliseconds

12345678