/external/webrtc/webrtc/modules/video_coding/ |
frame_buffer.cc | 114 const uint32_t newSize = _size + increments * kBufferIncStepSizeBytes; 115 if (newSize > kMaxJBFrameSizeBytes) { 120 VerifyAndAllocate(newSize);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
ByteArrayRingBufferTest.java | 163 final byte newSize = 1; 164 rb.resize(newSize); 166 assertFalse(rb.appendBuffer(new byte[newSize + 1]));
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
AbstractPollSelectorImpl.java | 148 int newSize = pollWrapper.totalChannels * 2; 149 SelectionKeyImpl temp[] = new SelectionKeyImpl[newSize]; 155 pollWrapper.grow(newSize);
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/ |
stack.h | 162 size_t newSize = GetSize() + sizeof(T) * count;
163 if (newCapacity < newSize)
164 newCapacity = newSize;
|
/bootable/recovery/minzip/ |
Hash.c | 137 static bool resizeHash(HashTable* pHashTable, int newSize) 144 pNewEntries = (HashEntry*) calloc(newSize, sizeof(HashTable)); 155 newIdx = hashValue & (newSize-1); 157 newIdx = (newIdx + 1) & (newSize-1); 166 pHashTable->tableSize = newSize;
|
/frameworks/base/core/java/android/text/ |
PackedIntVector.java | 258 int newsize = newvalues.length / columns; local 268 newvalues, (newsize - after) * columns, 274 valuegap[i] += newsize - mRows; 282 mRowGapLength += newsize - mRows; 283 mRows = newsize;
|
/frameworks/base/core/java/android/view/ |
NotificationHeaderView.java | 158 int newSize = appWidth - Math.min(appWidth - mChildMinWidth, overFlow); 159 int childWidthSpec = MeasureSpec.makeMeasureSpec(newSize, MeasureSpec.AT_MOST); 161 overFlow -= appWidth - newSize; 167 int newSize = Math.max(0, textWidth - overFlow); 168 int childWidthSpec = MeasureSpec.makeMeasureSpec(newSize, MeasureSpec.AT_MOST);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
Utils.java | 319 public static String[] copyOf(String[] source, int newSize) { 320 String[] result = new String[newSize]; 321 newSize = Math.min(source.length, newSize); 322 System.arraycopy(source, 0, result, 0, newSize);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Utils.java | 319 public static String[] copyOf(String[] source, int newSize) { 320 String[] result = new String[newSize]; 321 newSize = Math.min(source.length, newSize); 322 System.arraycopy(source, 0, result, 0, newSize);
|
/external/bison/lib/ |
ebitset.c | 126 bitset_windex newsize; local 132 newsize = EBITSET_N_ELTS (n_bits); 134 if (oldsize < newsize) 140 if (newsize > EBITSET_ASIZE (src)) 148 size = newsize; 150 size = newsize + newsize / 4; 158 (newsize - oldsize) * sizeof (ebitset_elt *)); 164 if ((oldsize - newsize) >= oldsize / 2) 167 = realloc (EBITSET_ELTS (src), newsize * sizeof (ebitset_elt *)) [all...] |
/external/deqp/framework/common/ |
tcuVector.hpp | 168 template <int NewSize> 169 Vector<T, NewSize> toWidth (void) const; 250 template <int NewSize> 251 inline Vector<T, NewSize> Vector<T, Size>::toWidth (void) const 253 Vector<T, NewSize> res; 255 for (i = 0; i < deMin32(Size, NewSize); i++) 257 for (; i < NewSize; i++)
|
/external/skia/include/core/ |
SkPathRef.h | 360 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount; 362 size_t minSize = newSize + newReserve; 376 fFreeSpace -= newSize; 421 size_t newSize = oldSize + growSize; 424 fPoints = reinterpret_cast<SkPoint*>(sk_realloc_throw(fPoints, newSize)); 427 reinterpret_cast<intptr_t>(fPoints) + newSize - oldVerbSize); 431 fVerbs = reinterpret_cast<uint8_t*>(reinterpret_cast<intptr_t>(fPoints) + newSize);
|
/external/eigen/Eigen/src/Core/ |
CwiseNullaryOp.h | 387 EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::setLinSpaced(Index newSize, const Scalar& low, const Scalar& high) 390 return derived() = Derived::NullaryExpr(newSize, internal::linspaced_op<Scalar,false>(low,high,newSize)); 515 PlainObjectBase<Derived>::setZero(Index newSize) 517 resize(newSize); 564 * The parameter \a newSize is the size of the returned vector. 580 DenseBase<Derived>::Ones(Index newSize) 582 return Constant(newSize, Scalar(1)); 630 /** Resizes to the given \a newSize, and sets all coefficients in this expression to one. 641 PlainObjectBase<Derived>::setOnes(Index newSize) [all...] |
/libcore/ojluni/src/main/java/java/util/ |
TimSort.java | [all...] |
/toolchain/binutils/binutils-2.25/gas/config/ |
tc-rx.c | 1510 int newsize = oldsize; local [all...] |
/external/lzma/C/ |
MtCoder.c | 150 #define MY_BUF_ALLOC(buf, size, newSize) \
151 if (buf == 0 || size != newSize) \
153 size = newSize; buf = (Byte *)IAlloc_Alloc(p->mtCoder->alloc, size); \
|
XzIn.c | 46 { UInt64 newSize = size + (val); if (newSize < size) return XZ_SIZE_OVERFLOW; size = newSize; }
|
/external/lzma/CPP/7zip/Common/ |
LimitedStreams.cpp | 345 STDMETHODIMP CTailOutStream::SetSize(UInt64 newSize)
347 _virtSize = newSize;
348 return Stream->SetSize(Offset + newSize);
|
FileStreams.h | 134 STDMETHOD(SetSize)(UInt64 newSize);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_addrhashmap.h | 265 uptr newsize = oldsize * 2; local 266 AddBucket *add1 = (AddBucket*)InternalAlloc(newsize); 267 internal_memset(add1, 0, newsize); 268 add1->cap = (newsize - sizeof(*add)) / sizeof(add->cells[0]) + 1;
|
/external/deqp/framework/delibs/debase/ |
deMemory.c | 294 size_t newSize; 339 void* const newPtr = deAlignedRealloc(ptr, s_alignedReallocCases[caseNdx].newSize, s_alignedReallocCases[caseNdx].alignment); 340 const size_t numPreserved = s_alignedReallocCases[caseNdx].newSize < s_alignedReallocCases[caseNdx].initialSize 341 ? s_alignedReallocCases[caseNdx].newSize
|
/external/icu/icu4c/source/common/ |
uvectr32.h | 135 * Change the size of this vector as follows: If newSize is 137 * elements for i >= newSize. If newSize is larger, grow the 140 void setSize(int32_t newSize);
|
/external/skia/src/gpu/ |
GrBufferAllocPool.cpp | 282 void* GrBufferAllocPool::resetCpuData(size_t newSize) { 284 if (newSize) { 286 fCpuData = sk_calloc(newSize); 288 fCpuData = sk_malloc_throw(newSize);
|
/frameworks/av/media/ndk/ |
NdkMediaExtractor.cpp | 279 size_t newsize = buffer->size() - (sizeof(uint32_t) * numentries) + sizeof(size_t) local 281 if (newsize <= buffer->size()) { 285 ex->mPsshBuf = new ABuffer(newsize); 286 ex->mPsshBuf->setRange(0, newsize);
|
/frameworks/base/media/mca/filterfw/native/core/ |
native_frame.h | 54 bool Resize(int newSize);
|