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

1 2 3 4

  /external/proguard/src/proguard/evaluation/
Stack.java 39 protected int currentSize;
108 System.arraycopy(other.values, 0, this.values, 0, other.currentSize);
111 currentSize = other.currentSize;
123 if (this.currentSize != other.currentSize)
125 throw new IllegalArgumentException("Stacks have different current sizes ["+this.currentSize+"] and ["+other.currentSize+"]");
131 for (int index = 0; index < currentSize; index++)
168 Arrays.fill(values, 0, currentSize, null)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/content/res/
GrowingArrayUtils.java 34 * @param currentSize The number of elements in the array. Must be less than or equal to
40 public static <T> T[] append(T[] array, int currentSize, T element) {
41 assert currentSize <= array.length;
43 if (currentSize + 1 > array.length) {
45 growSize(currentSize));
46 System.arraycopy(array, 0, newArray, 0, currentSize);
49 array[currentSize] = element;
56 public static int[] append(int[] array, int currentSize, int element) {
57 assert currentSize <= array.length;
59 if (currentSize + 1 > array.length)
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
GrowingArrayUtils.java 34 * @param currentSize The number of elements in the array. Must be less than or equal to
40 public static <T> T[] append(T[] array, int currentSize, T element) {
41 assert currentSize <= array.length;
43 if (currentSize + 1 > array.length) {
46 (Class<T>) array.getClass().getComponentType(), growSize(currentSize));
47 System.arraycopy(array, 0, newArray, 0, currentSize);
50 array[currentSize] = element;
57 public static int[] append(int[] array, int currentSize, int element) {
58 assert currentSize <= array.length;
60 if (currentSize + 1 > array.length)
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/util/
LruCache.java 17 private int currentSize = 0;
75 return currentSize;
118 currentSize += getSize(item);
122 currentSize -= getSize(result);
137 currentSize -= getSize(value);
156 while (currentSize > size) {
159 currentSize -= getSize(toRemove);
  /frameworks/base/core/java/android/util/
LongArray.java 94 final int currentSize = mSize;
95 final int minCapacity = currentSize + count;
97 final int targetCap = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2) ?
98 MIN_CAPACITY_INCREMENT : currentSize >> 1);
101 System.arraycopy(mValues, 0, newValues, 0, currentSize);
IntArray.java 114 final int currentSize = mSize;
115 final int minCapacity = currentSize + count;
117 final int targetCap = currentSize + (currentSize < (MIN_CAPACITY_INCREMENT / 2) ?
118 MIN_CAPACITY_INCREMENT : currentSize >> 1);
121 System.arraycopy(mValues, 0, newValues, 0, currentSize);
  /external/webrtc/talk/app/webrtc/objc/
RTCVideoRendererAdapter.mm 46 CGSize currentSize = CGSizeMake(frame->GetWidth(), frame->GetHeight());
47 if (!CGSizeEqualToSize(_size, currentSize)) {
48 _size = currentSize;
  /external/pdfium/xfa/src/fxbarcode/datamatrix/
BC_Base256Encoder.cpp 60 int32_t currentSize =
62 context.updateSymbolInfo(currentSize, e);
66 FX_BOOL mustPad = (context.m_symbolInfo->m_dataCapacity - currentSize) > 0;
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
LruBitmapPool.java 29 private int currentSize;
78 currentSize += size;
119 currentSize -= strategy.getSize(result);
149 while (currentSize > size) {
152 currentSize -= strategy.getSize(removed);
165 + " currentSize=" + currentSize + " maxSize=" + maxSize + "\nStrategy=" + strategy);
  /external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/
ParticleSorter.java 39 private int currentSize = 0;
43 if(currentSize < capacity){
47 currentSize = capacity;
  /external/lzma/CPP/Windows/
Registry.cpp 240 UInt32 currentSize = 0;
241 LONG res = RegQueryValueEx(_object, (LPTSTR)name, NULL, &type, NULL, (DWORD *)&currentSize);
244 res = QueryValue(name, value.GetBuffer(currentSize), currentSize);
262 UInt32 currentSize = 0;
267 res = RegQueryValueExW(_object, name, NULL, &type, NULL, (DWORD *)&currentSize);
270 res = QueryValue(name, value.GetBuffer(currentSize), currentSize);
  /prebuilts/misc/common/swig/include/2.0.11/d/
std_vector.i 71 size_t currentSize = size();
72 for (size_t i = 0; i < currentSize; ++i) {
83 size_t currentSize = size();
84 for (size_t i = 0; i < currentSize; ++i) {
417 size_t currentSize = size();
418 for (size_t i = 0; i < currentSize; ++i) {
429 size_t currentSize = size();
430 for (size_t i = 0; i < currentSize; ++i) {
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
SampleList.java 143 long currentSize = b.getSize();
148 mdatEndCache.put((MediaDataBox) b, contentOffset + currentSize);
154 currentOffset += currentSize;
  /external/opencv3/modules/cudalegacy/src/
NCV.cpp 335 currentSize(0),
348 currentSize(0),
397 ncvAssertPrintCheck(currentSize == 0, "NCVMemStackAllocator dtor:: not all objects were deallocated properly, forcing destruction");
427 this->currentSize += size;
428 this->_maxSize = std::max(this->_maxSize, this->currentSize);
452 currentSize -= seg.size;
503 currentSize(0),
512 ncvAssertPrintCheck(currentSize == 0, "NCVMemNativeAllocator dtor:: detected memory leak");
535 this->currentSize += alignUp(static_cast<Ncv32u>(size), this->_alignment);
536 this->_maxSize = std::max(this->_maxSize, this->currentSize);
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/csharp/
std_map.i 157 private int currentSize;
164 currentSize = collectionRef.Count;
172 if (currentIndex > currentSize - 1)
189 bool moveOkay = (currentIndex+1 < size) && (size == currentSize);
203 if (collectionRef.Count != currentSize) {
std_vector.i 150 private int currentSize;
156 currentSize = collectionRef.Count;
164 if (currentIndex > currentSize - 1)
181 bool moveOkay = (currentIndex+1 < size) && (size == currentSize);
194 if (collectionRef.Count != currentSize) {
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
ScanDetailCache.java 102 int currentSize = mMap.size();
103 if (currentSize <= num) {
123 for (int i = 0; i < currentSize - num; i++) {
  /packages/apps/Messaging/src/com/android/messaging/util/
ImageUtils.java 542 final int currentSize = (encoded == null ? 0 : encoded.length);
543 updateRecodeParameters(currentSize);
753 * @param currentSize encoded image size (will be 0 if OOM)
755 private void updateRecodeParameters(final int currentSize)
    [all...]
  /frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DownloadManagerBaseTest.java 475 long currentSize = 0;
476 while ((currentSize = getBytesDownloaded(id)) <= expectedSize) {
478 expectedSize, currentSize));
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsState.java 377 Integer currentSize = mPackageToMemoryUsage.get(packageName);
378 final int newSize = Math.max((currentSize != null)
379 ? currentSize + deltaSize : deltaSize, 0);
  /external/skia/src/gpu/gl/
GrGLGpu.h 106 void* mapBuffer(GrGLuint id, GrGLenum type, GrGLBufferImpl::Usage usage, size_t currentSize,
111 void bufferData(GrGLuint id, GrGLenum type, GrGLBufferImpl::Usage usage, size_t currentSize,
GrGLGpu.cpp     [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
PackageInstallerSession.java     [all...]
  /external/deqp/external/vulkancts/modules/vulkan/memory/
vktMemoryPipelineBarrierTests.cpp 832 vk::VkDeviceSize currentSize = memorySize / 2;
842 for (vk::VkDeviceSize stepSize = memorySize / 4; currentSize > 0; stepSize /= 2)
844 const vk::Unique<vk::VkBuffer> buffer (createBuffer(vkd, device, currentSize, usage, sharingMode, queueFamilies));
849 lastSuccess = currentSize;
850 currentSize += stepSize;
853 currentSize -= stepSize;
918 IVec2 currentSize;
925 currentSize[0] = deMaxu32(width, height);
926 currentSize[1] = deMinu32(width, height);
929 for (deInt32 stepSize = currentSize[0] / 2; currentSize[0] > 0; stepSize /= 2
    [all...]
  /external/opencv3/modules/cudalegacy/include/opencv2/cudalegacy/
NCV.hpp 511 size_t currentSize;
544 size_t currentSize;

Completed in 758 milliseconds

1 2 3 4