/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/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/skia/src/ports/ |
SkImageRef_ashmem.cpp | 21 size_t newsize = (size + mask) & ~mask; local 22 // SkDebugf("---- oldsize %d newsize %d\n", size, newsize); 23 return 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;
|
SpannableStringInternal.java | 118 int newsize = ArrayUtils.idealIntArraySize(mSpanCount + 1); local 119 Object[] newtags = new Object[newsize]; 120 int[] newdata = new int[newsize * 3];
|
SpannableStringBuilder.java | 590 int newsize = ArrayUtils.idealIntArraySize(mSpanCount + 1); local 591 Object[] newspans = new Object[newsize]; 592 int[] newspanstarts = new int[newsize]; 593 int[] newspanends = new int[newsize]; 594 int[] newspanflags = new int[newsize]; [all...] |
/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...] |
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/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/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/bluetooth/bluez/tools/ |
parser.c | 293 int newsize, i; local 297 if ((newsize = yystacksize) == 0) 298 newsize = YYINITSTACKSIZE; 299 else if (newsize >= YYMAXDEPTH) 301 else if ((newsize *= 2) > YYMAXDEPTH) 302 newsize = YYMAXDEPTH; 306 ? (short *)realloc(yyss, newsize * sizeof(*newss)) 307 : (short *)malloc(newsize * sizeof(*newss)); 314 ? (YYSTYPE *)realloc(yyvs, newsize * sizeof(*newvs)) 315 : (YYSTYPE *)malloc(newsize * sizeof(*newvs)) [all...] |
/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;
|
/external/ipsec-tools/src/libipsec/ |
pfkey.c | 1812 int newsize; local [all...] |
/bionic/libc/stdio/ |
vfprintf.c | 1199 int newsize = *tablesize * 2; local 1203 sizeof (unsigned char) * newsize, PROT_WRITE|PROT_READ, 1209 sizeof (unsigned char) * newsize, PROT_WRITE|PROT_READ, 1216 memset(*typetable + *tablesize, T_UNUSED, (newsize - *tablesize)); 1218 *tablesize = newsize;
|
/external/e2fsprogs/e2fsck/ |
profile.c | 981 size_t newsize; local 984 newsize = b->max + (b->max >> 1) + len + 1024; 985 newptr = realloc(b->base, newsize); 991 b->max = newsize; [all...] |
/external/opencv/cxcore/src/ |
cxarray.cpp | 843 int newsize = MAX( mat->hashsize*2, CV_SPARSE_HASH_SIZE0); local 844 int newrawsize = newsize*sizeof(newtable[0]); 847 assert( (newsize & (newsize - 1)) == 0 ); 857 int newidx = node->hashval & (newsize - 1); 865 mat->hashsize = newsize; 866 tabidx = hashval & (newsize - 1); [all...] |
/external/qemu/hw/ |
goldfish_pipe.c | 503 size_t newsize = pipe->size*2; local 504 uint8_t* newbuff = realloc(pipe->buffer, newsize); 514 pipe->size = newsize; 515 D("pingpong buffer is now %d bytes", newsize);
|
/bionic/libc/bionic/ |
dlmalloc.c | 3786 size_t newsize = sp->size - extra; local 3979 size_t newsize = oldsize + m->topsize; local 4062 size_t newsize = chunksize(p) - leadsize; local [all...] |
/external/icu4c/i18n/ |
ucol.cpp | 3470 int32_t newsize = 0; local [all...] |