/external/chromium_org/third_party/icu/source/tools/tzcode/ |
ialloc.c | 51 register int oldsize, newsize; local 53 newsize = (new == NULL) ? 0 : strlen(new); 56 else if (newsize == 0) 59 if ((result = irealloc(old, oldsize + newsize + 1)) != NULL)
|
/external/icu4c/tools/tzcode/ |
ialloc.c | 51 register int oldsize, newsize; local 53 newsize = (new == NULL) ? 0 : strlen(new); 56 else if (newsize == 0) 59 if ((result = irealloc(old, oldsize + newsize + 1)) != NULL)
|
/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);
|
/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))
|
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...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_tgsi.c | 64 unsigned newsize = emit->size * 2; local 67 new_buf = REALLOC(emit->buf, emit->size, newsize); 78 emit->size = newsize;
|
/external/chromium_org/third_party/skia/src/images/ |
SkImageRef_ashmem.cpp | 29 size_t newsize = (size + mask) & ~mask; local 30 // SkDebugf("---- oldsize %d newsize %d\n", size, newsize); 31 return newsize;
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_tgsi.c | 64 unsigned newsize = emit->size * 2; local 67 new_buf = REALLOC(emit->buf, emit->size, newsize); 78 emit->size = newsize;
|
/external/skia/src/images/ |
SkImageRef_ashmem.cpp | 29 size_t newsize = (size + mask) & ~mask; local 30 // SkDebugf("---- oldsize %d newsize %d\n", size, newsize); 31 return newsize;
|
/external/smack/src/org/xbill/DNS/ |
DNSOutput.java | 60 int newsize = array.length * 2; local 61 if (newsize < pos + n) { 62 newsize = pos + n; 64 byte [] newarray = new byte[newsize];
|
/external/valgrind/main/none/tests/linux/ |
mremap2.c | 127 int newsize = newsizes[nsi] * PAGE; local 146 syscall(__NR_mremap, src, 20*PAGE, newsize, flags, dst, 0 ); 162 tidylen = newsize;
|
/frameworks/base/core/java/android/text/ |
PackedObjectVector.java | 112 int newsize = size() + 1; local 113 newsize = ArrayUtils.idealIntArraySize(newsize * mColumns) / mColumns; 114 Object[] newvalues = new Object[newsize * mColumns]; 119 System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, after * mColumns); 121 mRowGapLength += newsize - mRows; 122 mRows = newsize;
|
PackedIntVector.java | 255 int newsize = size() + 1; local 256 newsize = ArrayUtils.idealIntArraySize(newsize * columns) / columns; 257 int[] newvalues = new int[newsize * columns]; 267 newvalues, (newsize - after) * columns, 273 valuegap[i] += newsize - mRows; 281 mRowGapLength += newsize - mRows; 282 mRows = newsize;
|
/external/e2fsprogs/resize/ |
extent.c | 84 int newsize; local 88 newsize = extent->size + 100; 92 newsize, &extent->list); 95 extent->size = newsize;
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
SuballocatedIntVector.java | 166 int newsize=index+m_numblocks; local 167 int[][] newMap=new int[newsize][]; 206 int newsize=index+m_numblocks; local 207 int[][] newMap=new int[newsize][]; 264 int newsize=index+m_numblocks; local 265 int[][] newMap=new int[newsize][]; 398 int newsize=index+m_numblocks; local 399 int[][] newMap=new int[newsize][];
|
/external/bison/lib/ |
vbitset.c | 59 bitset_windex newsize; local 65 newsize = VBITSET_N_WORDS (n_bits); 67 if (oldsize < newsize) 73 if (newsize > VBITSET_ASIZE (src)) 81 size = newsize; 83 size = newsize + newsize / 4; 91 (newsize - oldsize) * sizeof (bitset_word)); 92 VBITSET_SIZE (src) = newsize; 98 if ((oldsize - newsize) >= oldsize / 2 [all...] |
/external/chromium/third_party/libevent/ |
evport.c | 239 int newsize = factor * oldsize; local 244 tmp = realloc(epdp->ed_fds, sizeof(struct fd_info) * newsize); 249 (newsize - oldsize)*sizeof(struct fd_info)); 250 epdp->ed_nevents = 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/chromium_org/courgette/third_party/ |
bsdiff_create.cc | 154 matchlen(const unsigned char *old,int oldsize,const unsigned char *newbuf,int newsize) 158 for(i=0;(i<oldsize)&&(i<newsize);i++) 166 const unsigned char *newbuf,int newsize,int st,int en,int *pos) 171 x=matchlen(old+I[st],oldsize-I[st],newbuf,newsize); 172 y=matchlen(old+I[en],oldsize-I[en],newbuf,newsize); 184 if(memcmp(old+I[x],newbuf,std::min(oldsize-I[x],newsize))<0) { 185 return search(I,old,oldsize,newbuf,newsize,x,en,pos); 187 return search(I,old,oldsize,newbuf,newsize,st,x,pos); 245 const int newsize = static_cast<int>(new_stream->Remaining()); local 296 while (scan < newsize) { [all...] |
/external/chromium_org/net/websockets/ |
websocket_channel.cc | 38 int newsize = part1->size() + part2->size(); local 39 IOBufferWithSize* newbuffer = new IOBufferWithSize(newsize);
|
/external/chromium_org/third_party/libevent/ |
evport.c | 239 int newsize = factor * oldsize; local 244 tmp = realloc(epdp->ed_fds, sizeof(struct fd_info) * newsize); 249 (newsize - oldsize)*sizeof(struct fd_info)); 250 epdp->ed_nevents = newsize;
|
/external/chromium_org/third_party/openssl/openssl/crypto/bn/ |
bn_ctx.c | 335 unsigned int newsize = (st->size ? local 337 unsigned int *newitems = OPENSSL_malloc(newsize * 345 st->size = newsize;
|
/external/chromium_org/third_party/smhasher/src/ |
Types.h | 129 size_t newsize = m_hashes.size() + 1; local 131 m_hashes.resize(newsize);
|
/external/openssl/crypto/bn/ |
bn_ctx.c | 335 unsigned int newsize = (st->size ? local 337 unsigned int *newitems = OPENSSL_malloc(newsize * 345 st->size = newsize;
|