/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/ |
D | BufferUtils.java | 10 public static <T> T[] reallocateBuffer(Class<T> klass, T[] oldBuffer, int oldCapacity, in reallocateBuffer() argument 12 assert (newCapacity > oldCapacity); in reallocateBuffer() 16 System.arraycopy(oldBuffer, 0, newBuffer, 0, oldCapacity); in reallocateBuffer() 18 for (int i = oldCapacity; i < newCapacity; i++) { in reallocateBuffer() 29 public static int[] reallocateBuffer(int[] oldBuffer, int oldCapacity, int newCapacity) { in reallocateBuffer() argument 30 assert (newCapacity > oldCapacity); in reallocateBuffer() 33 System.arraycopy(oldBuffer, 0, newBuffer, 0, oldCapacity); in reallocateBuffer() 39 public static float[] reallocateBuffer(float[] oldBuffer, int oldCapacity, int newCapacity) { in reallocateBuffer() argument 40 assert (newCapacity > oldCapacity); in reallocateBuffer() 43 System.arraycopy(oldBuffer, 0, newBuffer, 0, oldCapacity); in reallocateBuffer() [all …]
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | ExpandedNameTable.java | 247 int oldCapacity = m_capacity; in rehash() local 250 int newCapacity = 2 * oldCapacity + 1; in rehash() 255 for (int i = oldCapacity-1; i >=0 ; i--) in rehash()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableCollection.java | 218 static int expandedCapacity(int oldCapacity, int minCapacity) { in expandedCapacity() argument 223 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; in expandedCapacity()
|
D | MinMaxPriorityQueue.java | 928 int oldCapacity = queue.length; in calculateNewCapacity() local 929 int newCapacity = (oldCapacity < 64) in calculateNewCapacity() 930 ? (oldCapacity + 1) * 2 in calculateNewCapacity() 931 : IntMath.checkedMultiply(oldCapacity / 2, 3); in calculateNewCapacity()
|
D | MapMakerInternalMap.java | 2571 int oldCapacity = oldTable.length(); in expand() local 2572 if (oldCapacity >= MAXIMUM_CAPACITY) { in expand() 2587 AtomicReferenceArray<ReferenceEntry<K, V>> newTable = newEntryArray(oldCapacity << 1); in expand() 2590 for (int oldIndex = 0; oldIndex < oldCapacity; ++oldIndex) { in expand()
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
D | IntArrayList.java | 90 int oldCapacity = elements.length; in ensureCapacity() local 91 if (n>=oldCapacity) { in ensureCapacity()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
D | btHashedSimplePairCache.cpp | 151 int oldCapacity = m_overlappingPairArray.capacity(); in internalAddPair() local 156 if (oldCapacity < newCapacity) in internalAddPair()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/ |
D | ParticleSystem.java | 238 int oldCapacity = m_proxyCapacity; in createParticle() local 241 BufferUtils.reallocateBuffer(Proxy.class, m_proxyBuffer, oldCapacity, newCapacity); in createParticle() 361 int oldCapacity = m_pairCapacity; in createParticleGroup() local 365 BufferUtils.reallocateBuffer(Pair.class, m_pairBuffer, oldCapacity, newCapacity); in createParticleGroup() 422 int oldCapacity = m_pairCapacity; in joinParticleGroups() local 426 BufferUtils.reallocateBuffer(Pair.class, m_pairBuffer, oldCapacity, newCapacity); in joinParticleGroups() 562 int oldCapacity = m_contactCapacity; 566 BufferUtils.reallocateBuffer(ParticleContact.class, m_contactBuffer, oldCapacity, 1757 static <T> T[] reallocateBuffer(ParticleBuffer<T> buffer, int oldCapacity, int newCapacity, 1759 assert (newCapacity > oldCapacity); [all …]
|
/external/skia/src/core/ |
D | SkTDynamicHash.h | 251 int oldCapacity = fCapacity; in resize() 258 for (int i = 0; i < oldCapacity; i++) { in resize()
|
/external/skia/include/private/ |
D | SkTHash.h | 148 int oldCapacity = fCapacity; in resize() local 156 for (int i = 0; i < oldCapacity; i++) { in resize()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
D | btHashMap.h | 281 int oldCapacity = m_valueArray.capacity(); in insert() local 286 if (oldCapacity < newCapacity) in insert()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/ |
D | btOverlappingPairCache.cpp | 242 int oldCapacity = m_overlappingPairArray.capacity(); in internalAddPair() local 251 if (oldCapacity < newCapacity) in internalAddPair()
|
/external/guava/guava/src/com/google/common/cache/ |
D | LocalCache.java | 2901 int oldCapacity = oldTable.length(); in expand() local 2902 if (oldCapacity >= MAXIMUM_CAPACITY) { in expand() 2917 AtomicReferenceArray<ReferenceEntry<K, V>> newTable = newEntryArray(oldCapacity << 1); in expand() 2920 for (int oldIndex = 0; oldIndex < oldCapacity; ++oldIndex) { in expand()
|