HomeSort by relevance Sort by last modified time
    Searched refs:newSize (Results 1 - 25 of 287) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
IntArray.java 78 int newSize = data.length*2;
79 if ( index>newSize ) {
80 newSize = index+1;
82 int[] newData = new int[newSize];
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
IntArray.m 78 int newSize = data.length*2;
79 if ( index>newSize ) {
80 newSize = index+1;
82 int[] newData = new int[newSize];
IntArray.h 78 int newSize = data.length*2;
79 if ( index>newSize ) {
80 newSize = index+1;
82 int[] newData = new int[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;
  /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;
  /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);
  /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);
  /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/
letest.h 33 #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 *) GROW_ARRAY(fTableCache, newSize);
79 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
84 fTableCacheSize = newSize;
  /external/icu4c/test/letest/
letest.h 33 #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 *) GROW_ARRAY(fTableCache, newSize);
79 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) {
84 fTableCacheSize = newSize;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderMedia.cpp 72 LayoutSize newSize = contentBoxRect().size();
73 if (newSize == oldSize && !controlsNeedLayout)
82 controlsRenderer->style()->setHeight(Length(newSize.height(), Fixed));
83 controlsRenderer->style()->setWidth(Length(newSize.width(), Fixed));
  /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/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];
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/
FilteredBasis.java 101 public FloatBuffer clip(FloatBuffer buf, int origSize, int newSize, int offset) {
102 FloatBuffer result = FloatBuffer.allocate(newSize * newSize);
105 for (int i = offset; i < offset + newSize; i++) {
106 result.put(orig, i * origSize + offset, newSize);
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSImageGeneratorValue.h 42 SizeAndCount(IntSize newSize = IntSize(), int newCount = 0)
43 : size(newSize)
  /external/chromium_org/third_party/WebKit/Source/core/events/
EventPath.h 59 void shrink(size_t newSize) { m_eventContexts.shrink(newSize); }
  /external/lzma/CPP/7zip/Common/
OffsetStream.cpp 32 STDMETHODIMP COffsetOutStream::SetSize(UInt64 newSize)
34 return _stream->SetSize(_offset + newSize);
OffsetStream.h 22 STDMETHOD(SetSize)(UInt64 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/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
IntArrayList.java 68 public void setSize(int newSize) {
69 if ( newSize>=elements.length ) {
70 ensureCapacity(newSize);
72 n = newSize;

Completed in 193 milliseconds

1 2 3 4 5 6 7 8 91011>>