/external/bison/lib/ |
ebitset.c | 126 bitset_windex newsize; local 132 newsize = EBITSET_N_ELTS (n_bits); 134 if (oldsize < newsize) 140 if (newsize > EBITSET_ASIZE (src)) 148 size = newsize; 150 size = newsize + newsize / 4; 158 (newsize - oldsize) * sizeof (ebitset_elt *)); 164 if ((oldsize - newsize) >= oldsize / 2) 167 = realloc (EBITSET_ELTS (src), newsize * sizeof (ebitset_elt *)) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
PartitionAlloc.cpp | 327 void* partitionReallocGeneric(PartitionRoot* root, void* ptr, size_t oldSize, size_t newSize) 330 return realloc(ptr, newSize); 335 size_t newIndex = partitionAllocRoundup(newSize) >> kBucketShift; 343 return WTF::fastRealloc(ptr, newSize); 347 void* ret = partitionAllocGeneric(root, newSize); 349 if (newSize < oldSize) 350 copySize = newSize;
|
/external/chromium_org/third_party/skia/src/core/ |
SkPathRef.h | 360 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount; 362 size_t minSize = newSize + newReserve; 376 fFreeSpace -= newSize; 464 size_t newSize = oldSize + growSize; 467 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize)); 470 reinterpret_cast<intptr_t>(fPoints) + newSize - oldVerbSize); 474 fVerbs = reinterpret_cast<uint8_t*>(reinterpret_cast<intptr_t>(fPoints) + newSize);
|
/external/skia/src/core/ |
SkPathRef.h | 360 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount; 362 size_t minSize = newSize + newReserve; 376 fFreeSpace -= newSize; 464 size_t newSize = oldSize + growSize; 467 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize)); 470 reinterpret_cast<intptr_t>(fPoints) + newSize - oldVerbSize); 474 fVerbs = reinterpret_cast<uint8_t*>(reinterpret_cast<intptr_t>(fPoints) + newSize);
|
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
goobspatch.c | 371 off_t expect_oldsize, oldsize, newsize, patchsize; local 427 newsize = offtin(header + 40); 430 if (expect_oldsize < 0 || newsize < 0) 462 if((new=malloc(newsize+1))==NULL) err(1,NULL); 465 while(newpos<newsize) { 473 if(newpos+ctrl[0]>newsize) 489 if(newpos+ctrl[1]>newsize) 505 SHA1(new, newsize, sha1); 515 (write(fd,new,newsize)!=newsize) || (close(fd)==-1) [all...] |
/external/llvm/lib/ExecutionEngine/JIT/ |
JITMemoryManager.cpp | 96 /// than NewSize, split it into two pieces (where the former is NewSize 99 uint64_t NewSize); 137 void GrowBlock(uintptr_t NewSize); 214 void FreeRangeHeader::GrowBlock(uintptr_t NewSize) { 215 assert(NewSize > BlockSize && "Not growing block?"); 216 BlockSize = NewSize; 222 /// than NewSize, split it into two pieces (where the former is NewSize 225 TrimAllocationToSize(FreeRangeHeader *FreeList, uint64_t NewSize) { [all...] |
/libcore/luni/src/main/java/java/util/ |
TimSort.java | [all...] |
/external/chromium/chrome/browser/renderer_host/ |
accelerated_plugin_view_mac.mm | 296 - (void)setFrameSize:(NSSize)newSize { 297 [self setCachedSize:newSize]; 298 [super setFrameSize:newSize];
|
/external/lzma/C/ |
MtCoder.c | 148 #define MY_BUF_ALLOC(buf, size, newSize) \
149 if (buf == 0 || size != newSize) \
151 size = newSize; buf = (Byte *)IAlloc_Alloc(p->mtCoder->alloc, size); \
|
XzIn.c | 44 { UInt64 newSize = size + (val); if (newSize < size) return XZ_SIZE_OVERFLOW; size = newSize; }
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
extension_popup_controller.mm | 57 - (void)onSizeChanged:(NSSize)newSize; 335 - (void)onSizeChanged:(NSSize)newSize { 338 pendingSize_ = newSize; 345 frame.size = newSize;
|
/external/chromium_org/third_party/icu/source/common/ |
uvectr32.h | 135 * Change the size of this vector as follows: If newSize is 137 * elements for i >= newSize. If newSize is larger, grow the 140 void setSize(int32_t newSize);
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
sortkey.h | 256 * If this CollationKey has capacity less than newSize, 257 * its internal capacity will be increased to newSize. 258 * @param newSize minimum size this CollationKey has to have 261 CollationKey& ensureCapacity(int32_t newSize);
|
/external/dropbear/ |
buffer.h | 43 void buf_resize(buffer *buf, unsigned int newsize);
|
/external/icu4c/common/ |
uvectr32.h | 135 * Change the size of this vector as follows: If newSize is 137 * elements for i >= newSize. If newSize is larger, grow the 140 void setSize(int32_t newSize);
|
/external/llvm/lib/Support/ |
SmallPtrSet.cpp | 130 void SmallPtrSetImpl::Grow(unsigned NewSize) { 138 CurArray = (const void**)malloc(sizeof(void*) * NewSize); 140 CurArraySize = NewSize; 141 memset(CurArray, -1, NewSize*sizeof(void*));
|
/external/lzma/CPP/7zip/Common/ |
FileStreams.h | 130 STDMETHOD(SetSize)(UInt64 newSize);
|
/frameworks/base/media/mca/filterfw/native/core/ |
native_frame.h | 54 bool Resize(int newSize);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/text/cf/ |
StringImplCF.cpp | 69 static void* reallocate(void* pointer, CFIndex newSize, CFOptionFlags, void*) 71 size_t newAllocationSize = sizeof(StringImpl*) + newSize;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
PinchViewports.cpp | 90 void PinchViewports::setViewportSize(const WebCore::IntSize& newSize) 92 m_innerViewportContainerLayer->setSize(newSize);
|
/external/llvm/include/llvm/ADT/ |
IntervalMap.h | 328 /// @param NewSize Array of desired node sizes. 331 unsigned CurSize[], const unsigned NewSize[]) { 334 if (CurSize[n] == NewSize[n]) 338 NewSize[n] - CurSize[n]); 342 if (CurSize[n] >= NewSize[n]) 352 if (CurSize[n] == NewSize[n]) 356 CurSize[n] - NewSize[n]); 360 if (CurSize[n] >= NewSize[n]) 367 assert(CurSize[n] == NewSize[n] && "Insufficient element shuffle"); 381 /// NewSize[] will be filled in such that [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
Update.cpp | 85 STDMETHOD(SetSize)(UInt64 newSize);
207 STDMETHODIMP COutMultiVolStream::SetSize(UInt64 newSize)
209 if (newSize < 0)
215 if ((UInt64)newSize < subStream.RealSize)
217 RINOK(subStream.Stream->SetSize(newSize));
218 subStream.RealSize = newSize;
221 newSize -= subStream.RealSize;
234 _length = newSize;
|
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
SDL_macevents.c | 297 int newSize; 305 newSize = GrowWindow(win, event.where, NULL); 307 newSize = GrowWindow(win, event.where, &theQD->screenBits.bounds); 309 if ( newSize ) { 313 SizeWindow ( win, LoWord (newSize), HiWord (newSize), 1 ); 314 SDL_PrivateResize ( LoWord (newSize), HiWord (newSize) );
|
/external/skia/gm/ |
rrect.cpp | 75 static SkScalar prop(SkScalar radius, SkScalar newSize, SkScalar oldSize) { 76 return newSize * radius / oldSize;
|
/external/valgrind/main/callgrind/ |
fn.c | 662 Int i, newsize; local 664 newsize = current_fn_active.size; 665 while (newsize <= CLG_(stat).distinct_fns) newsize *=2; 668 current_fn_active.size, newsize); 670 new_array = (UInt*) CLG_MALLOC("cl.fn.rfa.1", newsize * sizeof(UInt)); 673 while(i<newsize) 677 current_fn_active.size = newsize;
|