/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/ |
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...] |
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))
|
/frameworks/base/core/java/android/webkit/ |
EventLogTags.logtags | 11 70151 browser_text_size_change (oldSize|1|5), (newSize|1|5)
|
/cts/tests/tests/text/src/android/text/style/cts/ |
RelativeSizeSpanTest.java | 81 float oldSize = tp.getTextSize(); 87 oldSize = tp.getTextSize(); 89 assertEquals(oldSize * proportion, tp.getTextSize()); 111 float oldSize = tp.getTextSize(); 113 assertEquals(oldSize * proportion, tp.getTextSize()); 117 oldSize = tp.getTextSize(); 119 assertEquals(oldSize * proportion, tp.getTextSize());
|
/bootable/recovery/applypatch/ |
bsdiff.c | 121 static void qsufsort(off_t *I,off_t *V,u_char *old,off_t oldsize) 127 for(i=0;i<oldsize;i++) buckets[old[i]]++; 132 for(i=0;i<oldsize;i++) I[++buckets[old[i]]]=i; 133 I[0]=oldsize; 134 for(i=0;i<oldsize;i++) V[i]=buckets[old[i]]; 135 V[oldsize]=0; 139 for(h=1;I[0]!=-(oldsize+1);h+=h) { 141 for(i=0;i<oldsize+1;) { 156 for(i=0;i<oldsize+1;i++) I[V[i]]=i; 159 static off_t matchlen(u_char *old,off_t oldsize,u_char *new,off_t newsize [all...] |
/system/core/libcutils/ |
array.c | 144 int oldSize = array->size; 146 if (newSize > oldSize) { 154 memset(array->contents + sizeof(void*) * oldSize, 0, 155 sizeof(void*) * (newSize - oldSize));
|
/external/webkit/WebCore/platform/network/ |
FormData.cpp | 123 size_t oldSize = e.m_data.size(); 124 e.m_data.grow(oldSize + size); 125 memcpy(e.m_data.data() + oldSize, data, size); 141 size_t oldSize = data.size(); 143 data.grow(oldSize + delta); 144 memcpy(data.data() + oldSize, e.m_data.data(), delta);
|
/dalvik/libcore/xml/src/main/java/org/apache/xpath/compiler/ |
OpMapVector.java | 85 int oldSize = m_mapSize; 91 System.arraycopy(m_map, 0, newMap, 0, oldSize);
|
/external/webkit/WebCore/rendering/ |
RenderHTMLCanvas.cpp | 82 IntSize oldSize = size(); 85 if (oldSize == size())
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
LevelListDrawable.java | 198 public void growArray(int oldSize, int newSize) { 199 super.growArray(oldSize, newSize); 201 System.arraycopy(mLows, 0, newInts, 0, oldSize); 204 System.arraycopy(mHighs, 0, newInts, 0, oldSize);
|
StateListDrawable.java | 292 public void growArray(int oldSize, int newSize) { 293 super.growArray(oldSize, newSize); 295 System.arraycopy(mStateSets, 0, newStateSets, 0, oldSize);
|
AnimationDrawable.java | 331 public void growArray(int oldSize, int newSize) { 332 super.growArray(oldSize, newSize); 334 System.arraycopy(mDurations, 0, newDurations, 0, oldSize);
|
/external/webkit/WebCore/css/ |
CSSImageGeneratorValue.cpp | 87 IntSize oldSize = sizeCount.first; 88 if (oldSize != size) {
|
/external/webkit/WebCore/platform/image-encoders/skia/ |
PNGImageEncoder.cpp | 78 size_t oldSize = state->m_out->size(); 79 state->m_out->resize(oldSize + size); 80 memcpy(&(*state->m_out)[oldSize], data, size);
|
/frameworks/base/graphics/java/android/graphics/ |
Paint.java | [all...] |
/external/srec/portable/src/ |
pmemory.c | 746 size_t oldSize; 778 oldSize = oldData->size; 779 passert(oldSize >= 0); 790 if (oldSize != actualSize) 800 if (oldSize >= actualSize) 806 memcpy(newData, oldData, oldSize); 824 e->curAlloc += actualSize - oldSize; 828 gCurAlloc += actualSize - oldSize; 869 pfprintf(gFile, L("pmem|%s|%d|realloc|%d|0x%x|%s|\n"), e->tag, oldSize, actualSize, ptr, stackTrace); 871 pfprintf(gFile, L("pmem|%s|%d|realloc|%d|0x%x|\n"), e->tag, oldSize, actualSize, ptr) [all...] |
/external/bison/lib/ |
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)
|
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)
|
/external/webkit/JavaScriptCore/runtime/ |
JSGlobalObject.h | 319 size_t oldSize = d()->registerArraySize; 320 size_t newSize = oldSize + count; 323 memcpy(registerArray + count, d()->registerArray.get(), oldSize * sizeof(Register)); 326 for (int i = 0, index = -static_cast<int>(oldSize) - 1; i < count; ++i, --index) {
|
JSObject.h | 200 void allocatePropertyStorage(size_t oldSize, size_t newSize); 201 void allocatePropertyStorageInline(size_t oldSize, size_t newSize); 657 ALWAYS_INLINE void JSObject::allocatePropertyStorageInline(size_t oldSize, size_t newSize) 659 ASSERT(newSize > oldSize); 663 bool wasInline = (oldSize == JSObject::inlineStorageCapacity); 668 for (unsigned i = 0; i < oldSize; ++i)
|
/external/guava/src/com/google/common/collect/ |
AbstractMultimap.java | 236 int oldSize = collection.size(); 249 totalSize += (collection.size() - oldSize); 554 int oldSize = size(); // calls refreshIfEmpty 558 totalSize += (newSize - oldSize); 559 if (oldSize == 0) { 577 int oldSize = size(); // calls refreshIfEmpty 578 if (oldSize == 0) { 582 totalSize -= oldSize; 600 int oldSize = size(); // calls refreshIfEmpty 604 totalSize += (newSize - oldSize); [all...] |
/frameworks/base/core/java/android/os/ |
TokenWatcher.java | 71 int oldSize = mTokens.size(); 81 if (oldSize == 0 && !mAcquired) {
|
/external/webkit/WebCore/loader/ |
TextResourceDecoder.cpp | 463 size_t oldSize = m_buffer.size(); 464 m_buffer.grow(oldSize + len); 465 memcpy(m_buffer.data() + oldSize, data, len); 549 size_t oldSize = m_buffer.size(); 550 m_buffer.grow(oldSize + len); 551 memcpy(m_buffer.data() + oldSize, data, len); 821 size_t oldSize = m_buffer.size(); 822 m_buffer.grow(oldSize + len); 823 memcpy(m_buffer.data() + oldSize, data, len);
|
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/plugin/include/ |
vec.h | 785 int oldsize = VEC_OP(T,base,length) VEC_BASE(*vec_); \ 787 memset (&(VEC_OP (T,base,address) VEC_BASE(*vec_))[oldsize], 0, \ 788 sizeof (T) * (size_ - oldsize)); \ [all...] |