/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CompactCharArray.java | 199 int newSize = 0; 226 newSize); 229 dest = newSize; 232 if (limit > newSize) { 233 for (int j = newSize; j < limit; ++j) { 236 newSize = limit; 248 char[] result = new char[newSize]; 249 System.arraycopy(target, 0, result, 0, newSize);
|
/external/lzma/CPP/Common/ |
MyVector.h | 84 void ClearAndSetSize(unsigned newSize)
86 ClearAndReserve(newSize);
87 _size = newSize;
90 void ChangeSize_KeepData(unsigned newSize)
92 if (newSize > _capacity)
94 T *p = new T[newSize];
98 _capacity = newSize;
100 _size = newSize;
|
/external/skia/src/core/ |
SkFont.cpp | 50 SkFont* SkFont::cloneWithSize(SkScalar newSize) const { 51 return SkFont::Create(this->getTypeface(), newSize, this->getScaleX(), this->getSkewX(),
|
/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)));
|
/packages/apps/TV/src/com/android/tv/menu/ |
PipOptionsRowAdapter.java | 132 int newSize = (oldSize + 1) % (TvSettings.PIP_SIZE_LAST + 1); 133 mTvViewUiManager.setPipSize(newSize, true);
|
/art/runtime/native/ |
libcore_util_CharsetUtils.cc | 62 bool resize(int newSize) { 63 if (newSize == mSize) { 68 jbyteArray newJavaArray = mEnv->NewByteArray(newSize); 88 mSize = newSize;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
AMutableArray.m | 286 NSInteger newSize = ([buffer length] / sizeof(id)) * 2; 287 if (index > newSize) { 288 newSize = index + 1; 290 BuffSize = newSize;
|
ANTLRPtrBuffer.m | 324 NSInteger newSize = ([buffer length] / sizeof(id)) * 2; 325 if (anIndex > newSize) { 326 newSize = anIndex + 1; 328 BuffSize = 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;
|
/external/icu/icu4c/source/common/ |
uvectr64.h | 134 * Change the size of this vector as follows: If newSize is 136 * elements for i >= newSize. If newSize is larger, grow the 139 void setSize(int32_t newSize);
|
/external/lzma/CPP/7zip/UI/Console/ |
ExtractCallbackConsole.h | 38 const wchar_t *newName, const FILETIME *newTime, const UInt64 *newSize,
|
/external/pdfium/core/src/fxcrt/ |
fx_basic_array.cpp | 65 pdfium::base::CheckedNumeric<int> newSize = m_nSize; 66 newSize += src.m_nSize; 67 if (m_nUnitSize != src.m_nUnitSize || !newSize.IsValid() || 68 !SetSize(newSize.ValueOrDie())) {
|
/frameworks/base/core/java/android/database/ |
MatrixCursor.java | 172 int newSize = data.length * 2; 173 if (newSize < size) { 174 newSize = size; 176 this.data = new Object[newSize];
|
/frameworks/base/core/java/android/util/ |
StateSet.java | 231 public static int[] trimStateSet(int[] states, int newSize) { 232 if (states.length == newSize) { 236 int[] trimmedStates = new int[newSize]; 237 System.arraycopy(states, 0, trimmedStates, 0, newSize);
|
/frameworks/base/core/java/com/android/internal/util/ |
LineBreakBufferedWriter.java | 262 int newSize = buffer.length * 2 + 2; 263 if (newSize < capacity) { 264 newSize = capacity; 266 buffer = Arrays.copyOf(buffer, newSize);
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
LevelListDrawable.java | 226 public void growArray(int oldSize, int newSize) { 227 super.growArray(oldSize, newSize); 228 int[] newInts = new int[newSize]; 231 newInts = new int[newSize];
|
/frameworks/native/libs/binder/ |
BufferedTextOutput.cpp | 52 size_t newSize = ((len+bufferPos)*3)/2; 53 if (newSize < (len+bufferPos)) return NO_MEMORY; // overflow 54 void* b = realloc(buffer, newSize); 57 bufferSize = 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;
|
/system/core/libpixelflinger/codeflinger/ |
CodeCache.cpp | 141 ssize_t Assembly::resize(size_t newSize) 143 mBase = (uint32_t*)mspace_realloc(getMspace(), mBase, newSize); 146 "of size %zd", newSize, kMaxCodeCacheCapacity); 147 mSize = newSize;
|
/dalvik/dx/src/com/android/dx/util/ |
LabeledList.java | 70 int newSize = i + 1; 72 labelToIndex.shrink(newSize); 74 return newSize;
|
/external/deqp/framework/platform/win32/ |
tcuWin32VulkanPlatform.cpp | 60 void resize (const UVec2& newSize) 62 m_window->setSize((int)newSize.x(), (int)newSize.y());
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
LabeledList.java | 70 int newSize = i + 1; 72 labelToIndex.shrink(newSize); 74 return newSize;
|
/external/eigen/Eigen/src/Core/ |
Random.h | 115 /** Resizes to the given \a newSize, and sets all coefficients in this expression to random values. 126 PlainObjectBase<Derived>::setRandom(Index newSize) 128 resize(newSize);
|
/external/webrtc/webrtc/modules/video_coding/codecs/i420/ |
i420.cc | 59 const size_t newSize = 62 uint8_t* newBuffer = new uint8_t[newSize]; 66 _encodedImage._size = newSize;
|