HomeSort by relevance Sort by last modified time
    Searched full:oldsize (Results 1 - 25 of 173) sorted by null

1 2 3 4 5 6 7

  /external/icu/icu4c/source/tools/tzcode/
ialloc.c 14 register int oldsize, newsize; local
18 oldsize = 0;
21 else oldsize = strlen(old);
22 if ((result = realloc(old, oldsize + newsize + 1)) != NULL)
24 (void) strcpy(result + oldsize, new);
  /external/jemalloc/src/
huge.c 136 huge_ralloc_no_move_similar(void *ptr, size_t oldsize, size_t usize_min,
147 <= oldsize; usize = usize_next)
150 if (oldsize == usize)
158 if (oldsize > usize) {
159 size_t sdiff = oldsize - usize;
165 ptr, CHUNK_CEILING(oldsize), usize, sdiff);
178 arena_chunk_ralloc_huge_similar(arena, ptr, oldsize, usize);
181 if (oldsize < usize) {
184 memset((void *)((uintptr_t)ptr + oldsize), 0,
185 usize - oldsize);
    [all...]
arena.c 851 arena_huge_ralloc_stats_update(arena_t *arena, size_t oldsize, size_t usize)
854 arena_huge_dalloc_stats_update(arena, oldsize);
859 arena_huge_ralloc_stats_update_undo(arena_t *arena, size_t oldsize,
863 arena_huge_dalloc_stats_update_undo(arena, oldsize);
963 arena_chunk_ralloc_huge_similar(arena_t *arena, void *chunk, size_t oldsize,
967 assert(CHUNK_CEILING(oldsize) == CHUNK_CEILING(usize));
968 assert(oldsize != usize);
972 arena_huge_ralloc_stats_update(arena, oldsize, usize);
973 if (oldsize < usize)
974 arena_nactive_add(arena, (usize - oldsize) >> LG_PAGE)
    [all...]
  /frameworks/data-binding/extensions/library/src/main/java/android/databinding/
ObservableArrayList.java 57 int oldSize = size();
60 notifyAdd(oldSize, size() - oldSize);
76 int oldSize = size();
78 if (oldSize != 0) {
79 notifyRemove(0, oldSize);
  /external/jemalloc/include/jemalloc/internal/
huge.h 16 bool huge_ralloc_no_move(tsd_t *tsd, void *ptr, size_t oldsize,
18 void *huge_ralloc(tsd_t *tsd, arena_t *arena, void *ptr, size_t oldsize,
  /cts/tests/tests/text/src/android/text/style/cts/
RelativeSizeSpanTest.java 56 float oldSize = tp.getTextSize();
62 oldSize = tp.getTextSize();
64 assertEquals(oldSize * proportion, tp.getTextSize());
80 float oldSize = tp.getTextSize();
82 assertEquals(oldSize * proportion, tp.getTextSize());
86 oldSize = tp.getTextSize();
88 assertEquals(oldSize * proportion, tp.getTextSize());
  /bootable/recovery/applypatch/
bsdiff.cpp 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 *olddata,off_t oldsize,u_char *newdata,off_t newsize
    [all...]
  /external/bsdiff/
bsdiff.cc 53 static off_t matchlen(u_char *old, off_t oldsize, u_char *new_buf,
57 for(i=0;(i<oldsize)&&(i<newsize);i++)
63 static off_t search(saidx_t *I,u_char *old,off_t oldsize,
69 x=matchlen(old+I[st],oldsize-I[st],new_buf,newsize);
70 y=matchlen(old+I[en],oldsize-I[en],new_buf,newsize);
82 if(memcmp(old+I[x],new_buf,std::min(oldsize-I[x],newsize))<=0) {
83 return search(I,old,oldsize,new_buf,newsize,x,en,pos);
85 return search(I,old,oldsize,new_buf,newsize,st,x,pos);
111 off_t oldsize,newsize; local
127 /* Allocate oldsize+1 bytes instead of oldsize bytes to ensur
    [all...]
  /packages/apps/TV/src/com/android/tv/menu/
ItemListRowView.java 173 int oldSize = mItemList.size();
176 if (oldSize > newSize) {
178 notifyItemRangeRemoved(newSize, oldSize - newSize);
179 } else if (oldSize < newSize) {
180 notifyItemRangeChanged(0, oldSize);
181 notifyItemRangeInserted(oldSize, newSize - oldSize);
183 notifyItemRangeChanged(0, oldSize);
PipOptionsRowAdapter.java 131 int oldSize = mTvViewUiManager.getPipSize();
132 int newSize = (oldSize + 1) % (TvSettings.PIP_SIZE_LAST + 1);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
SortedMapInterfaceTest.java 91 int oldSize = map.size();
102 assertEquals(map.size(), oldSize - 1);
104 assertEquals(subMap.size(), oldSize - 2);
114 int oldSize = map.size();
125 assertEquals(map.size(), oldSize - subMapSize);
  /external/clang/test/Analysis/
uninit-vals.m 79 int oldSize = testObj->size;
80 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}}
83 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}}
129 int oldSize = testObj->size;
130 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}}
133 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}}
206 int oldSize = testObj->size;
207 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}}
210 clang_analyzer_eval(testObj->size == oldSize); // expected-warning{{TRUE}}
  /external/deqp/framework/opengl/
gluObjectWrapper.cpp 103 const size_t oldSize = m_objects.size();
109 if (oldSize < newSize)
112 (m_gl.*m_traits.genFunc)(glw::GLsizei(newSize - oldSize), &m_objects[oldSize]);
114 else if (oldSize > newSize)
116 (m_gl.*m_traits.deleteFunc)(glw::GLsizei(oldSize - newSize), &m_objects[newSize]);
  /external/deqp/executor/
xeBatchResult.cpp 43 const size_t oldSize = m_data.size();
44 m_data.resize(oldSize+numBytes);
45 deMemcpy(&m_data[oldSize], bytes, numBytes);
  /pdk/apps/TestingCamera2/src/com/android/testingcamera2/
TextureViewSubPane.java 69 Size oldSize = null;
71 oldSize = mSizes[mCurrentSizeId];
83 if (mSizes[i].equals(oldSize)) {
  /external/apache-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/icu/android_icu4j/src/main/java/android/icu/impl/
CalendarCache.java 73 int oldSize = arraySize;
85 for (int i = 0; i < oldSize; i++) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
CalendarCache.java 71 int oldSize = arraySize;
83 for (int i = 0; i < oldSize; i++) {
  /external/lzma/CPP/Common/
NewHandler.cpp 31 void * my_Realloc(void *p, size_t newSize, size_t oldSize)
34 memcpy(newBuf, p, oldSize);
NewHandler.h 32 // void * my_Realloc(void *p, size_t newSize, size_t oldSize);
  /external/vboot_reference/firmware/2lib/
2common.c 92 uint32_t oldsize,
100 vb2_workbuf_free(wb, oldsize);
  /external/deqp/framework/delibs/debase/
deMemory.c 194 const size_t oldSize = getAlignedAllocHeader(ptr)->numBytes;
196 const size_t oldSize = malloc_usable_size(ptr);
201 if (oldSize < numBytes || oldSize > numBytes*2)
208 const size_t copyBytes = numBytes < oldSize ? numBytes : oldSize;
  /frameworks/base/core/java/android/util/
MapCollections.java 173 int oldSize = colGetSize();
177 return oldSize != colGetSize();
467 int oldSize = map.size();
472 return oldSize != map.size();
476 int oldSize = map.size();
483 return oldSize != map.size();
  /frameworks/support/v4/java/android/support/v4/util/
MapCollections.java 171 int oldSize = colGetSize();
175 return oldSize != colGetSize();
465 int oldSize = map.size();
470 return oldSize != map.size();
474 int oldSize = map.size();
481 return oldSize != map.size();
  /external/deqp/modules/egl/
teglResizeTests.cpp 93 IVec2 oldSize;
105 , m_oldSize (params.oldSize)
238 void initSurface (const glw::Functions& gl, IVec2 oldSize)
244 drawRectangle(gl, IVec2(0, 0), oldSize, frameColor);
245 drawRectangle(gl, IVec2(2, 2), oldSize - IVec2(4, 4), fillColor);
248 drawRectangle(gl, oldSize - IVec2(16, 16), IVec2(8, 4), markColor);
249 drawRectangle(gl, IVec2(0, oldSize.y() - 16), IVec2(8, 4), markColor);
250 drawRectangle(gl, IVec2(oldSize.x() - 16, 0), IVec2(8, 4), markColor);

Completed in 1216 milliseconds

1 2 3 4 5 6 7