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

1 2 3 4 5 6 7 8 91011>>

  /external/icu4c/samples/layout/
arraymem.h 20 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
FontTableCache.cpp 75 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW;
77 fTableCache = (FontTableCacheEntry *) LE_GROW_ARRAY(fTableCache, newSize);
79 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
84 fTableCacheSize = newSize;
  /external/lzma/C/
7zBuf2.c 23 size_t newSize = p->pos + size;
25 newSize += newSize / 4;
26 data = (Byte *)alloc->Alloc(alloc, newSize);
29 p->size = newSize;
  /external/chromium_org/third_party/icu/source/test/letest/
FontTableCache.cpp 75 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW;
77 fTableCache = (FontTableCacheEntry *) GROW_ARRAY(fTableCache, newSize);
79 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
84 fTableCacheSize = newSize;
letest.h 33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
  /external/chromium_org/third_party/icu/source/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/harfbuzz_ng/src/hb-icu-le/
FontTableCache.cpp 75 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW;
77 fTableCache = (FontTableCacheEntry *) GROW_ARRAY(fTableCache, newSize);
79 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
84 fTableCacheSize = newSize;
letest.h 45 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
  /external/icu4c/test/letest/
FontTableCache.cpp 75 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW;
77 fTableCache = (FontTableCacheEntry *) GROW_ARRAY(fTableCache, newSize);
79 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
84 fTableCacheSize = newSize;
letest.h 33 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
  /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/lzma/CPP/7zip/Common/
OffsetStream.h 22 STDMETHOD(SetSize)(UInt64 newSize);
OffsetStream.cpp 32 STDMETHODIMP COffsetOutStream::SetSize(UInt64 newSize)
34 return _stream->SetSize(_offset + newSize);
  /frameworks/base/media/mca/filterfw/native/core/
native_frame.cpp 52 bool NativeFrame::Resize(int newSize) {
53 if (newSize <= capacity_ && newSize >= 0) {
54 size_ = newSize;
  /system/core/libpixelflinger/codeflinger/tinyutils/
SharedBuffer.cpp 60 SharedBuffer* SharedBuffer::editResize(size_t newSize) const
64 if (buf->mSize == newSize) return buf;
65 buf = (SharedBuffer*)realloc(buf, sizeof(SharedBuffer) + newSize);
67 buf->mSize = newSize;
71 SharedBuffer* sb = alloc(newSize);
74 memcpy(sb->data(), data(), newSize < mySize ? newSize : mySize);
  /system/core/libutils/
SharedBuffer.cpp 58 SharedBuffer* SharedBuffer::editResize(size_t newSize) const
62 if (buf->mSize == newSize) return buf;
63 buf = (SharedBuffer*)realloc(buf, sizeof(SharedBuffer) + newSize);
65 buf->mSize = newSize;
69 SharedBuffer* sb = alloc(newSize);
72 memcpy(sb->data(), data(), newSize < mySize ? newSize : mySize);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
CustomTypefaceSpan.java 32 private int newSize;
46 newSize = size;
52 applyCustomTypeFace(ds, newType, newSize, newColor);
57 applyCustomTypeFace(paint, newType, newSize, newColor);
60 private static void applyCustomTypeFace(Paint paint, Typeface tf, int newSize, int newColor) {
78 paint.setTextSize(newSize);
  /external/qemu/android/utils/
refset.c 85 _arefSet_resize( ARefSet* s, unsigned newSize )
90 AVECTOR_INIT_ALLOC(&newSet,buckets, newSize);
162 unsigned nn, newSize;
171 newSize = s->max_buckets;
172 while (s->num_buckets < newSize*0.25)
173 newSize /= 2;
175 if (newSize != s->max_buckets)
176 _arefSet_resize(s, newSize);
  /external/lzma/CPP/Common/
MyVector.cpp 43 size_t newSize = (size_t)(unsigned)newCapacity * _itemSize;
44 if (newSize / _itemSize != (size_t)(unsigned)newCapacity)
47 if (newSize > 0)
49 p = new unsigned char[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;
  /external/bsdiff/
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/chromium_org/third_party/icu/source/common/
uvectr64.cpp 186 * Change the size of this vector as follows: If newSize is smaller,
188 * newSize. If newSize is larger, grow the array, filling in new
191 void UVector64::setSize(int32_t newSize) {
193 if (newSize < 0) {
196 if (newSize > count) {
198 if (!ensureCapacity(newSize, ec)) {
201 for (i=count; i<newSize; ++i) {
205 count = newSize;
  /external/chromium_org/third_party/sfntly/cpp/src/test/tinyxml/
tinystr.cpp 70 size_type newsize = length() + len; local
71 if (newsize > capacity())
73 reserve (newsize + capacity());
76 set_size(newsize);
  /external/icu4c/common/
uvectr64.cpp 186 * Change the size of this vector as follows: If newSize is smaller,
188 * newSize. If newSize is larger, grow the array, filling in new
191 void UVector64::setSize(int32_t newSize) {
193 if (newSize < 0) {
196 if (newSize > count) {
198 if (!ensureCapacity(newSize, ec)) {
201 for (i=count; i<newSize; ++i) {
205 count = newSize;
  /external/sfntly/cpp/src/test/tinyxml/
tinystr.cpp 70 size_type newsize = length() + len; local
71 if (newsize > capacity())
73 reserve (newsize + capacity());
76 set_size(newsize);

Completed in 648 milliseconds

1 2 3 4 5 6 7 8 91011>>