/external/chromium_org/third_party/icu/source/tools/tzcode/ |
ialloc.c | 51 register int oldsize, newsize; local 55 oldsize = 0; 58 else oldsize = strlen(old); 59 if ((result = irealloc(old, oldsize + newsize + 1)) != NULL) 61 (void) strcpy(result + oldsize, new);
|
/external/icu4c/tools/tzcode/ |
ialloc.c | 51 register int oldsize, newsize; local 55 oldsize = 0; 58 else oldsize = strlen(old); 59 if ((result = irealloc(old, oldsize + newsize + 1)) != NULL) 61 (void) strcpy(result + oldsize, new);
|
/external/bsdiff/ |
bspatch.c | 64 ssize_t oldsize,newsize; local 137 ((oldsize=lseek(fd,0,SEEK_END))==-1) || 138 ((old=malloc(oldsize+1))==NULL) || 140 (read(fd,old,oldsize)!=oldsize) || 167 if((oldpos+i>=0) && (oldpos+i<oldsize))
|
bsdiff.c | 104 static void qsufsort(off_t *I,off_t *V,u_char *old,off_t oldsize) 110 for(i=0;i<oldsize;i++) buckets[old[i]]++; 115 for(i=0;i<oldsize;i++) I[++buckets[old[i]]]=i; 116 I[0]=oldsize; 117 for(i=0;i<oldsize;i++) V[i]=buckets[old[i]]; 118 V[oldsize]=0; 122 for(h=1;I[0]!=-(oldsize+1);h+=h) { 124 for(i=0;i<oldsize+1;) { 139 for(i=0;i<oldsize+1;i++) I[V[i]]=i; 142 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize 200 off_t oldsize,newsize; local [all...] |
/external/valgrind/main/callgrind/ |
callstack.c | 91 Int oldsize; local 96 oldsize = cs->size; 104 for(i=oldsize; i<cs->size; i++)
|
/external/bison/lib/ |
vbitset.c | 58 bitset_windex oldsize; local 64 oldsize = VBITSET_SIZE (src); 67 if (oldsize < newsize) 75 /* We need to allocate more memory. When oldsize is 80 if (oldsize == 0) 90 memset (VBITSET_WORDS (src) + oldsize, 0, 91 (newsize - oldsize) * sizeof (bitset_word)); 98 if ((oldsize - newsize) >= oldsize / 2)
|
ebitset.c | 125 bitset_windex oldsize; local 131 oldsize = EBITSET_SIZE (src); 134 if (oldsize < newsize) 142 /* We need to allocate more memory. When oldsize is 147 if (oldsize == 0) 157 memset (EBITSET_ELTS (src) + oldsize, 0, 158 (newsize - oldsize) * sizeof (ebitset_elt *)); 164 if ((oldsize - newsize) >= oldsize / 2)
|
/external/chromium/third_party/libevent/ |
evport.c | 238 int oldsize = epdp->ed_nevents; local 239 int newsize = factor * oldsize; 248 memset((char*) (epdp->ed_fds + oldsize), 0, 249 (newsize - oldsize)*sizeof(struct fd_info));
|
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/ |
goobspatch.c | 371 off_t expect_oldsize, oldsize, newsize, patchsize; local 447 ((oldsize=lseek(fd,0,SEEK_END))==-1) || 448 ((old=malloc(oldsize+1))==NULL) || 450 (read(fd,old,oldsize)!=oldsize) || 452 if (expect_oldsize != oldsize) 454 oldsize, expect_oldsize); 455 SHA1(old, oldsize, sha1); 481 if((oldpos+i>=0) && (oldpos+i<oldsize))
|
goobsdiff.c | 119 static void qsufsort(off_t *I,off_t *V,u_char *old,off_t oldsize) 125 for(i=0;i<oldsize;i++) buckets[old[i]]++; 130 for(i=0;i<oldsize;i++) I[++buckets[old[i]]]=i; 131 I[0]=oldsize; 132 for(i=0;i<oldsize;i++) V[i]=buckets[old[i]]; 133 V[oldsize]=0; 137 for(h=1;I[0]!=-(oldsize+1);h+=h) { 139 for(i=0;i<oldsize+1;) { 154 for(i=0;i<oldsize+1;i++) I[V[i]]=i; 157 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize 336 off_t oldsize,newsize; local [all...] |
/external/chromium_org/courgette/third_party/ |
bsdiff_create.cc | 115 qsufsort(PagedArray<int>& I, PagedArray<int>& V,const unsigned char *old,int oldsize) 121 for(i=0;i<oldsize;i++) buckets[old[i]]++; 126 for(i=0;i<oldsize;i++) I[++buckets[old[i]]]=i; 127 I[0]=oldsize; 128 for(i=0;i<oldsize;i++) V[i]=buckets[old[i]]; 129 V[oldsize]=0; 133 for(h=1;I[0]!=-(oldsize+1);h+=h) { 135 for(i=0;i<oldsize+1;) { 150 for(i=0;i<oldsize+1;i++) I[V[i]]=i; 154 matchlen(const unsigned char *old,int oldsize,const unsigned char *newbuf,int newsize 219 const int oldsize = static_cast<int>(old_stream->Remaining()); local [all...] |
/external/chromium_org/third_party/libevent/ |
evport.c | 238 int oldsize = epdp->ed_nevents; local 239 int newsize = factor * oldsize; 248 memset((char*) (epdp->ed_fds + oldsize), 0, 249 (newsize - oldsize)*sizeof(struct fd_info));
|
/external/chromium_org/third_party/libxml/src/ |
hash.c | 199 int oldsize, i; local 213 oldsize = table->size; 232 for (i = 0; i < oldsize; i++) { 241 for (i = 0; i < oldsize; i++) { 273 "xmlHashGrow : from %d to %d, %d elems\n", oldsize, size, nbElem);
|
dict.c | 528 int oldsize, i; local 548 oldsize = dict->size; 552 if (oldsize == MIN_DICT_SIZE) 569 for (i = 0; i < oldsize; i++) { 607 for (i = 0; i < oldsize; i++) { 645 "xmlDictGrow : from %d to %d, %d elems\n", oldsize, size, nbElem);
|
xmlmemory.c | 317 size_t oldsize; local 338 oldsize = p->mh_size; 374 "Realloced(%d to %d) Ok\n", oldsize, size);
|
/external/libxml2/ |
dict.c | 561 int oldsize, i; local 581 oldsize = dict->size; 585 if (oldsize == MIN_DICT_SIZE) 602 for (i = 0; i < oldsize; i++) { 640 for (i = 0; i < oldsize; i++) { 678 "xmlDictGrow : from %d to %d, %d elems\n", oldsize, size, nbElem);
|
hash.c | 235 int oldsize, i; local 249 oldsize = table->size; 268 for (i = 0; i < oldsize; i++) { 277 for (i = 0; i < oldsize; i++) { 309 "xmlHashGrow : from %d to %d, %d elems\n", oldsize, size, nbElem);
|
xmlmemory.c | 319 size_t oldsize; local 340 oldsize = p->mh_size; 377 "Realloced(%d to %d) Ok\n", oldsize, size);
|
/bionic/libc/bionic/ |
pthread_debug.cpp | 232 size_t oldsize = pList->alloc * objSize; local 235 pList->data = debug_realloc(pList->data, size, oldsize);
|
/external/mksh/src/ |
eval.c | 1440 int oldsize = XPsize(*wp); local 1461 int oldsize = XPsize(*wp); local [all...] |
/frameworks/ex/carousel/java/com/android/ex/carousel/ |
CarouselRS.java | 483 int oldSize = mCards.getAllocation().getType().getX(); 485 mScript.invoke_createCards(oldSize, count); 662 int oldsize = mAllocationPool == null ? 0 : mAllocationPool.length; local 663 for (int i = 0; i < Math.min(count, oldsize); i++) { [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
bitvect.c | 521 N_word oldsize; local 529 oldsize = size_(oldaddr); 533 if (oldsize > 0) *(oldaddr+oldsize-1) &= oldmask; 534 if (newsize <= oldsize) 553 newsize -= oldsize; 554 BIT_VECTOR_COPY_WORDS(target,source,oldsize) [all...] |
/bionic/libc/upstream-dlmalloc/ |
malloc.c | 3873 size_t oldsize = chunksize(oldp); local 4836 size_t oldsize = chunksize(p); local [all...] |
/external/chromium_org/third_party/jemalloc/chromium/ |
jemalloc.c | 4759 size_t oldsize; local 6995 size_t oldsize = (ptr != NULL) ? isalloc(ptr) : 0; local [all...] |
/external/chromium_org/third_party/jemalloc/vendor/ |
jemalloc.c | 4748 size_t oldsize; local 6977 size_t oldsize = (ptr != NULL) ? isalloc(ptr) : 0; local [all...] |