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

12 3 4 5 6 7 8 91011>>

  /external/tinyxml/
tinystr.cpp 74 size_type newsize = length() + len; local
75 if (newsize > capacity())
77 reserve (newsize + capacity());
80 set_size(newsize);
  /bootable/recovery/applypatch/
bsdiff.c 159 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize)
163 for(i=0;(i<oldsize)&&(i<newsize);i++)
170 u_char *new,off_t newsize,off_t st,off_t en,off_t *pos)
175 x=matchlen(old+I[st],oldsize-I[st],new,newsize);
176 y=matchlen(old+I[en],oldsize-I[en],new,newsize);
188 if(memcmp(old+I[x],new,MIN(oldsize-I[x],newsize))<0) {
189 return search(I,old,oldsize,new,newsize,x,en,pos);
191 return search(I,old,oldsize,new,newsize,st,x,pos);
215 // - old, oldsize, new, newsize are arguments; we don't load this
224 int bsdiff(u_char* old, off_t oldsize, off_t** IP, u_char* new, off_t newsize,
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
u_dynarray.h 64 util_dynarray_resize(struct util_dynarray *buf, unsigned newsize)
67 if(newsize > buf->capacity)
70 if(newsize > newcap)
71 newcap = newsize;
77 buf->size = newsize;
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
FilteredBasis.java 101 public FloatBuffer clip(FloatBuffer buf, int origSize, int newSize, int offset) {
102 FloatBuffer result = FloatBuffer.allocate(newSize * newSize);
105 for (int i = offset; i < offset + newSize; i++) {
106 result.put(orig, i * origSize + offset, newSize);
  /external/mesa3d/src/gallium/auxiliary/util/
u_dynarray.h 64 util_dynarray_resize(struct util_dynarray *buf, unsigned newsize)
67 if(newsize > buf->capacity)
70 if(newsize > newcap)
71 newcap = newsize;
77 buf->size = newsize;
  /external/llvm/lib/Support/
IntervalMap.cpp 121 const unsigned *CurSize, unsigned NewSize[],
134 Sum += NewSize[n] = PerNode + (n < Extra);
136 PosPair = IdxPair(n, Position - (Sum - NewSize[n]));
143 assert(NewSize[PosPair.first] && "Too few elements to need Grow");
144 --NewSize[PosPair.first];
150 assert(NewSize[n] <= Capacity && "Overallocated node");
151 Sum += NewSize[n];
StringMap.cpp 185 unsigned NewSize;
192 NewSize = NumBuckets*2;
194 NewSize = NumBuckets;
202 (StringMapEntryBase **)calloc(NewSize+1, sizeof(StringMapEntryBase *) +
204 unsigned *NewHashArray = (unsigned *)(NewTableArray + NewSize + 1);
205 NewTableArray[NewSize] = (StringMapEntryBase*)2;
214 unsigned NewBucket = FullHash & (NewSize-1);
216 NewTableArray[FullHash & (NewSize-1)] = Bucket;
217 NewHashArray[FullHash & (NewSize-1)] = FullHash;
224 NewBucket = (NewBucket + ProbeSize++) & (NewSize-1)
    [all...]
  /external/bsdiff/
bspatch.c 64 ssize_t oldsize,newsize; local
107 newsize=offtin(header+24);
108 if((bzctrllen<0) || (bzdatalen<0) || (newsize<0))
142 if((new=malloc(newsize+1))==NULL) err(1,NULL);
145 while(newpos<newsize) {
156 if(newpos+ctrl[0]>newsize)
175 if(newpos+ctrl[1]>newsize)
198 (write(fd,new,newsize)!=newsize) || (close(fd)==-1))
  /external/chromium_org/third_party/icu/source/common/
uvectr32.cpp 268 * Change the size of this vector as follows: If newSize is smaller,
270 * newSize. If newSize is larger, grow the array, filling in new
273 void UVector32::setSize(int32_t newSize) {
275 if (newSize < 0) {
278 if (newSize > count) {
280 if (!ensureCapacity(newSize, ec)) {
283 for (i=count; i<newSize; ++i) {
287 count = newSize;
  /external/icu4c/common/
uvectr32.cpp 268 * Change the size of this vector as follows: If newSize is smaller,
270 * newSize. If newSize is larger, grow the array, filling in new
273 void UVector32::setSize(int32_t newSize) {
275 if (newSize < 0) {
278 if (newSize > count) {
280 if (!ensureCapacity(newSize, ec)) {
283 for (i=count; i<newSize; ++i) {
287 count = newSize;
  /packages/apps/Mms/src/com/android/mms/model/
CarrierContentRestriction.java 58 int newSize = messageSize + increaseSize;
60 if ( (newSize < 0) || (newSize > MmsConfig.getMaxMessageSize()) ) {
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
GestureTrail.java 272 final int newSize = trailSize - startIndex;
273 if (newSize < startIndex) {
275 if (newSize > 0) {
276 System.arraycopy(eventTimes, startIndex, eventTimes, 0, newSize);
277 System.arraycopy(xCoords, startIndex, xCoords, 0, newSize);
278 System.arraycopy(yCoords, startIndex, yCoords, 0, newSize);
280 System.arraycopy(pointTypes, startIndex, pointTypes, 0, newSize);
283 mEventTimes.setLength(newSize);
284 mXCoordinates.setLength(newSize);
285 mYCoordinates.setLength(newSize);
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
IntArray.java 78 int newSize = data.length*2;
79 if ( index>newSize ) {
80 newSize = index+1;
82 int[] newData = new int[newSize];
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
IntArray.h 78 int newSize = data.length*2;
79 if ( index>newSize ) {
80 newSize = index+1;
82 int[] newData = new int[newSize];
IntArray.m 78 int newSize = data.length*2;
79 if ( index>newSize ) {
80 newSize = index+1;
82 int[] newData = new int[newSize];
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
IntArrayList.java 68 public void setSize(int newSize) {
69 if ( newSize>=elements.length ) {
70 ensureCapacity(newSize);
72 n = newSize;
  /external/chromium-trace/trace-viewer/src/ui/
drag_handle.js 117 var newSize;
119 newSize = curSize + delta;
123 newSize = curSize - delta;
125 this.setTargetSize_(newSize);
  /external/chromium_org/chrome/installer/mac/third_party/bsdiff/
goobsdiff.c 157 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize)
161 for(i=0;(i<oldsize)&&(i<newsize);i++)
168 u_char *new,off_t newsize,off_t st,off_t en,off_t *pos)
173 x=matchlen(old+I[st],oldsize-I[st],new,newsize);
174 y=matchlen(old+I[en],oldsize-I[en],new,newsize);
186 if(memcmp(old+I[x],new,MIN(oldsize-I[x],newsize))<0) {
187 return search(I,old,oldsize,new,newsize,x,en,pos);
189 return search(I,old,oldsize,new,newsize,st,x,pos);
336 off_t oldsize,newsize; local
367 /* Allocate newsize+1 bytes instead of newsize bytes to ensur
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderMedia.cpp 72 LayoutSize newSize = contentBoxRect().size();
73 if (newSize == oldSize && !controlsNeedLayout)
82 controlsRenderer->style()->setHeight(Length(newSize.height(), Fixed));
83 controlsRenderer->style()->setWidth(Length(newSize.width(), Fixed));
  /external/lzma/CPP/7zip/UI/Common/
IFileExtractCallback.h 27 const wchar_t *newName, const FILETIME *newTime, const UInt64 *newSize,
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowCameraParameters.java 154 Camera.Size newSize = Robolectric.newInstanceOf(Camera.class).new Size(0, 0);
155 newSize.width = width;
156 newSize.height = height;
157 sizes.add(newSize);
  /dalvik/dx/src/com/android/dx/rop/code/
RegisterSpecList.java 248 int newSize = size() - 1;
250 if (newSize == 0) {
254 RegisterSpecList result = new RegisterSpecList(newSize);
256 for (int i = 0; i < newSize; i++) {
275 int newSize = size() - 1;
277 if (newSize == 0) {
281 RegisterSpecList result = new RegisterSpecList(newSize);
283 for (int i = 0; i < newSize; i++) {
304 int newSize = size() - exclusionSet.cardinality();
306 if (newSize == 0)
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/rop/code/
RegisterSpecList.java 249 int newSize = size() - 1;
251 if (newSize == 0) {
255 RegisterSpecList result = new RegisterSpecList(newSize);
257 for (int i = 0; i < newSize; i++) {
276 int newSize = size() - 1;
278 if (newSize == 0) {
282 RegisterSpecList result = new RegisterSpecList(newSize);
284 for (int i = 0; i < newSize; i++) {
305 int newSize = size() - exclusionSet.cardinality();
307 if (newSize == 0)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/events/
EventPath.h 59 void shrink(size_t newSize) { m_eventContexts.shrink(newSize); }
  /external/chromium_org/third_party/skia/src/ports/
SkPurgeableMemoryBlock_android.cpp 41 size_t newSize = (size + mask) & ~mask;
42 return newSize;

Completed in 1016 milliseconds

12 3 4 5 6 7 8 91011>>