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

12 3 4 5 6 7 8 91011>>

  /external/icu/icu4c/source/test/perf/leperf/
FontTableCache.cpp 79 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW;
81 fTableCache = (FontTableCacheEntry *) LE_GROW_ARRAY(fTableCache, newSize);
83 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
89 fTableCacheSize = newSize;
  /external/lzma/CPP/Common/
MyVector.cpp 43 size_t newSize = (size_t)(unsigned)newCapacity * _itemSize;
44 if (newSize / _itemSize != (size_t)(unsigned)newCapacity)
47 if (newSize > 0)
49 p = new unsigned char[newSize];
  /external/pdfium/core/src/fxcrt/
fx_basic_memmgr_mini.cpp 228 FX_LPVOID CFXMEM_Page::Realloc(FX_LPVOID p, size_t oldSize, size_t newSize)
231 size_t oldnewSize = newSize;
233 newSize = (newSize + 31) / 32 * 32;
235 newSize = (newSize + 7) / 8 * 8;
274 if (size >= newSize) {
291 return Alloc(pPrevBlock, pCurBlock, newSize, oldnewSize);
369 FX_LPVOID CFXMEM_Pages::Realloc(FX_LPVOID p, size_t oldSize, size_t newSize)
373 return pPage->Realloc(p, oldSize, newSize);
    [all...]
  /external/bsdiff/
bsdiff.c 142 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize)
146 for(i=0;(i<oldsize)&&(i<newsize);i++)
153 u_char *new,off_t newsize,off_t st,off_t en,off_t *pos)
158 x=matchlen(old+I[st],oldsize-I[st],new,newsize);
159 y=matchlen(old+I[en],oldsize-I[en],new,newsize);
171 if(memcmp(old+I[x],new,MIN(oldsize-I[x],newsize))<0) {
172 return search(I,old,oldsize,new,newsize,x,en,pos);
174 return search(I,old,oldsize,new,newsize,st,x,pos);
200 off_t oldsize,newsize; local
234 /* Allocate newsize+1 bytes instead of newsize bytes to ensur
    [all...]
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) {
161 if(newpos+ctrl[0]>newsize)
180 if(newpos+ctrl[1]>newsize)
203 (write(fd,new,newsize)!=newsize) || (close(fd)==-1))
  /external/chromium_org/third_party/icu/source/common/
uvectr64.cpp 186 * 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) {
193 if (newSize < 0) {
196 if (newSize > count) {
198 if (!ensureCapacity(newSize, ec)) {
201 for (i=count; i<newSize; ++i) {
205 count = newSize;
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/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/
tinystr.cpp 70 size_type newsize = length() + len; local
71 if (newsize > capacity())
73 reserve (newsize + capacity());
76 set_size(newsize);
  /external/chromium_org/third_party/skia/third_party/lua/src/
lstring.c 64 void luaS_resize (lua_State *L, int newsize) {
69 if (newsize > tb->size) {
70 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *);
71 for (i = tb->size; i < newsize; i++) tb->hash[i] = NULL;
79 unsigned int h = lmod(gco2ts(p)->hash, newsize); /* new position */
86 if (newsize < tb->size) {
88 lua_assert(tb->hash[newsize] == NULL && tb->hash[tb->size - 1] == NULL);
89 luaM_reallocvector(L, tb->hash, tb->size, newsize, GCObject *);
91 tb->size = newsize;
  /external/deqp/framework/opengl/
gluObjectWrapper.cpp 91 void ObjectVector::resize (size_t newSize)
95 if (newSize == 0)
99 if (oldSize < newSize)
101 m_objects.resize(newSize, 0);
102 (m_gl.*m_traits.genFunc)(glw::GLsizei(newSize - oldSize), &m_objects[oldSize]);
104 else if (oldSize > newSize)
106 (m_gl.*m_traits.deleteFunc)(glw::GLsizei(oldSize - newSize), &m_objects[newSize]);
107 m_objects.resize(newSize);
  /external/icu/icu4c/source/common/
uvectr64.cpp 186 * 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) {
193 if (newSize < 0) {
196 if (newSize > count) {
198 if (!ensureCapacity(newSize, ec)) {
201 for (i=count; i<newSize; ++i) {
205 count = newSize;
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/sfntly/cpp/src/test/tinyxml/
tinystr.cpp 70 size_type newsize = length() + len; local
71 if (newsize > capacity())
73 reserve (newsize + capacity());
76 set_size(newsize);
  /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/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];
  /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/
GestureTrailDrawingPoints.java 230 final int newSize = trailSize - startIndex;
231 if (newSize < startIndex) {
233 if (newSize > 0) {
234 System.arraycopy(eventTimes, startIndex, eventTimes, 0, newSize);
235 System.arraycopy(xCoords, startIndex, xCoords, 0, newSize);
236 System.arraycopy(yCoords, startIndex, yCoords, 0, newSize);
238 System.arraycopy(pointTypes, startIndex, pointTypes, 0, newSize);
241 mEventTimes.setLength(newSize);
242 mXCoordinates.setLength(newSize);
243 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);

Completed in 1846 milliseconds

12 3 4 5 6 7 8 91011>>