HomeSort by relevance Sort by last modified time
    Searched full:newsize (Results 126 - 150 of 374) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
Utils.java 319 public static String[] copyOf(String[] source, int newSize) {
320 String[] result = new String[newSize];
321 newSize = Math.min(source.length, newSize);
322 System.arraycopy(source, 0, result, 0, newSize);
  /packages/apps/Camera2/src/com/android/camera/crop/
Utils.java 319 public static String[] copyOf(String[] source, int newSize) {
320 String[] result = new String[newSize];
321 newSize = Math.min(source.length, newSize);
322 System.arraycopy(source, 0, result, 0, newSize);
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Utils.java 319 public static String[] copyOf(String[] source, int newSize) {
320 String[] result = new String[newSize];
321 newSize = Math.min(source.length, newSize);
322 System.arraycopy(source, 0, result, 0, newSize);
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/common/
Utils.java 319 public static String[] copyOf(String[] source, int newSize) {
320 String[] result = new String[newSize];
321 newSize = Math.min(source.length, newSize);
322 System.arraycopy(source, 0, result, 0, newSize);
  /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/skia/include/core/
SkPathRef.h 329 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount;
331 size_t minSize = newSize + newReserve;
345 fFreeSpace -= newSize;
390 size_t newSize = oldSize + growSize;
393 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize));
396 reinterpret_cast<intptr_t>(fPoints) + newSize - oldVerbSize);
400 fVerbs = reinterpret_cast<uint8_t*>(reinterpret_cast<intptr_t>(fPoints) + newSize);
  /external/skia/include/core/
SkPathRef.h 329 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount;
331 size_t minSize = newSize + newReserve;
345 fFreeSpace -= newSize;
390 size_t newSize = oldSize + growSize;
393 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize));
396 reinterpret_cast<intptr_t>(fPoints) + newSize - oldVerbSize);
400 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 58 - (void)onSizeChanged:(NSSize)newSize;
369 - (void)onSizeChanged:(NSSize)newSize {
372 pendingSize_ = newSize;
379 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/wtf/
PartitionAlloc.cpp 436 void* partitionReallocGeneric(PartitionRoot* root, void* ptr, size_t newSize)
438 RELEASE_ASSERT(newSize <= QuantizedAllocation::kMaxUnquantizedAllocation);
440 return realloc(ptr, newSize);
452 size_t allocSize = QuantizedAllocation::quantizedSize(newSize);
462 return WTF::fastRealloc(ptr, newSize);
466 void* ret = partitionAllocGeneric(root, newSize);
469 if (newSize < copySize)
470 copySize = newSize;
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
StringImplCF.cpp 69 static void* reallocate(void* pointer, CFIndex newSize, CFOptionFlags, void*)
71 size_t newAllocationSize = sizeof(StringImpl*) + 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;

Completed in 3166 milliseconds

1 2 3 4 56 7 8 91011>>