/frameworks/base/core/java/android/text/ |
PackedObjectVector.java | 116 int newsize = newvalues.length / mColumns; local 120 System.arraycopy(mValues, (mRows - after) * mColumns, newvalues, (newsize - after) * mColumns, after * mColumns); 122 mRowGapLength += newsize - mRows; 123 mRows = newsize;
|
PackedIntVector.java | 258 int newsize = newvalues.length / columns; local 268 newvalues, (newsize - after) * columns, 274 valuegap[i] += newsize - mRows; 282 mRowGapLength += newsize - mRows; 283 mRows = newsize;
|
/toolchain/binutils/binutils-2.25/bfd/ |
bfdio.c | 495 bfd_size_type newsize, oldsize; local 500 newsize = (bim->size + 127) & ~(bfd_size_type) 127; 501 if (newsize > oldsize) 503 bim->buffer = (bfd_byte *) bfd_realloc_or_free (bim->buffer, newsize); 509 if (newsize > bim->size) 510 memset (bim->buffer + bim->size, 0, newsize - bim->size); 548 bfd_size_type newsize, oldsize; local 553 newsize = (bim->size + 127) & ~(bfd_size_type) 127; 554 if (newsize > oldsize) 556 bim->buffer = (bfd_byte *) bfd_realloc_or_free (bim->buffer, newsize); [all...] |
hash.c | 521 unsigned long newsize = higher_prime_number (table->size); local 524 unsigned long alloc = newsize * sizeof (struct bfd_hash_entry *); 528 if (newsize == 0 || alloc / sizeof (struct bfd_hash_entry *) != newsize) 553 _index = chain->hash % newsize; 558 table->size = newsize;
|
/external/vboot_reference/firmware/2lib/ |
2common.c | 93 uint32_t newsize) 101 return vb2_workbuf_alloc(wb, newsize);
|
/external/bsdiff/ |
bspatch.cc | 191 uint64_t oldsize, newsize; local 195 newsize = signed_newsize; 255 new_file.reset(new MemoryFile(std::move(new_file), newsize)); 262 while (newpos < newsize) { 276 if (newpos + ctrl[0] > newsize) 329 if (newpos + ctrl[1] > newsize)
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
gim_memory.h | 93 typedef void * gim_realloc_function (void *ptr, size_t oldsize, size_t newsize); 115 void * gim_realloc(void *ptr, size_t oldsize, size_t newsize);
|
btGenericPoolAllocator.h | 159 void * btPoolRealloc(void *ptr, size_t oldsize, size_t newsize);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
ios.cpp | 178 size_t newsize = newcap * sizeof(long); local 179 long* iarray = static_cast<long*>(realloc(__iarray_, newsize)); 207 size_t newsize = newcap * sizeof(void*); local 208 void** parray = static_cast<void**>(realloc(__parray_, newsize)); 331 size_t newsize = sizeof(long) * rhs.__iarray_size_; local 332 new_longs.reset(static_cast<long*>(malloc(newsize))); 340 size_t newsize = sizeof(void*) * rhs.__parray_size_; local 341 new_pointers.reset(static_cast<void**>(malloc(newsize)));
|
/external/curl/tests/ |
memanalyze.pl | 187 my ($oldaddr, $newsize, $newaddr) = ($2, $3, $4); 195 $totalmem += $newsize; 196 $sizeataddr{$newaddr}=$newsize; 199 printf("%d more bytes ($source:$linenum)\n", $newsize);
|
/external/curl/tests/server/ |
fake_ntlm.c | 54 size_t newsize; local 86 newsize = outsize + outincr; 87 newbuf = realloc(outbuf, newsize); 93 outsize = newsize;
|
getpart.c | 173 size_t newsize = need_alloc * 2; local 174 char *newptr = realloc(*dst_buf, newsize); 178 *dst_alloc = newsize;
|
/external/e2fsprogs/resize/ |
extent.c | 84 __u64 newsize; local 88 newsize = extent->size + 100; 92 newsize, &extent->list); 95 extent->size = newsize;
|
/external/libevent/ |
evport.c | 215 int newsize = factor * oldsize; local 220 tmp = mm_realloc(epdp->ed_fds, sizeof(struct fd_info) * newsize); 225 (newsize - oldsize)*sizeof(struct fd_info)); 226 epdp->ed_nevents = newsize;
|
/external/vboot_reference/firmware/2lib/include/ |
2common.h | 103 * @param newsize Requested size in bytes 108 uint32_t newsize);
|
/ndk/tests/device/test-stlport_shared-exception/jni/ |
unroll1.cpp | 236 void reallocateStorage(unsigned int newsize, bool copyold = false) 242 if (newsize > 0) 244 int nsize = newsize * sizeof(double); 247 pEndNew = pBeginNew + newsize;
|
/ndk/tests/device/test-stlport_static-exception/jni/ |
unroll1.cpp | 236 void reallocateStorage(unsigned int newsize, bool copyold = false) 242 if (newsize > 0) 244 int nsize = newsize * sizeof(double); 247 pEndNew = pBeginNew + newsize;
|
/external/libopus/src/ |
opus_demo.c | 258 int random_framesize=0, newsize=0, delayed_celt=0; local 626 frame_size = newsize; 630 newsize = rand()%6; 631 switch(newsize) 633 case 0: newsize=sampling_rate/400; break; 634 case 1: newsize=sampling_rate/200; break; 635 case 2: newsize=sampling_rate/100; break; 636 case 3: newsize=sampling_rate/50; break; 637 case 4: newsize=sampling_rate/25; break; 638 case 5: newsize=3*sampling_rate/50; break [all...] |
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-rx.c | 1510 int newsize = oldsize; local [all...] |
/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/dlmalloc/ |
malloc.h | 596 void* mspace_realloc(mspace msp, void* mem, size_t newsize); 597 void* mspace_realloc_in_place(mspace msp, void* mem, size_t newsize);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_addrhashmap.h | 265 uptr newsize = oldsize * 2; local 266 AddBucket *add1 = (AddBucket*)InternalAlloc(newsize); 267 internal_memset(add1, 0, newsize); 268 add1->cap = (newsize - sizeof(*add)) / sizeof(add->cells[0]) + 1;
|
/external/zopfli/src/zopflipng/ |
zopflipng_bin.cc | 131 void PrintResultSize(const char* label, size_t oldsize, size_t newsize) { 133 label, (int) newsize, (int) newsize / 1024, newsize * 100.0 / oldsize);
|
/frameworks/av/media/ndk/ |
NdkMediaExtractor.cpp | 286 size_t newsize = buffer->size() - (sizeof(uint32_t) * numentries) + sizeof(size_t) local 288 if (newsize <= buffer->size()) { 292 ex->mPsshBuf = new ABuffer(newsize); 293 ex->mPsshBuf->setRange(0, newsize);
|
/external/boringssl/src/crypto/bn/ |
ctx.c | 214 unsigned int newsize = local 216 unsigned int *newitems = OPENSSL_malloc(newsize * sizeof(unsigned int)); 225 st->size = newsize;
|