/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/ |
BufferUtils.java | 10 public static <T> T[] reallocateBuffer(Class<T> klass, T[] oldBuffer, int oldCapacity, 12 assert (newCapacity > oldCapacity); 16 System.arraycopy(oldBuffer, 0, newBuffer, 0, oldCapacity); 18 for (int i = oldCapacity; i < newCapacity; i++) { 29 public static int[] reallocateBuffer(int[] oldBuffer, int oldCapacity, int newCapacity) { 30 assert (newCapacity > oldCapacity); 33 System.arraycopy(oldBuffer, 0, newBuffer, 0, oldCapacity); 39 public static float[] reallocateBuffer(float[] oldBuffer, int oldCapacity, int newCapacity) { 40 assert (newCapacity > oldCapacity); 43 System.arraycopy(oldBuffer, 0, newBuffer, 0, oldCapacity); [all...] |
/libcore/ojluni/src/main/java/java/io/ |
ByteArrayOutputStream.java | 104 int oldCapacity = buf.length; 105 int newCapacity = oldCapacity << 1;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
IntArrayList.java | 90 int oldCapacity = elements.length; 91 if (n>=oldCapacity) {
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
DevPollArrayWrapper.java | 184 int oldCapacity = updateDescriptors.length; 185 if (updateCount == oldCapacity) { 186 int newCapacity = oldCapacity + INITIAL_PENDING_UPDATE_SIZE; 188 System.arraycopy(updateDescriptors, 0, newDescriptors, 0, oldCapacity);
|
EPollArrayWrapper.java | 203 int oldCapacity = updateDescriptors.length; 204 if (updateCount == oldCapacity) { 205 int newCapacity = oldCapacity + INITIAL_PENDING_UPDATE_SIZE; 207 System.arraycopy(updateDescriptors, 0, newDescriptors, 0, oldCapacity);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
btHashedSimplePairCache.cpp | 151 int oldCapacity = m_overlappingPairArray.capacity(); 156 if (oldCapacity < newCapacity)
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
ExpandedNameTable.java | 247 int oldCapacity = m_capacity; 250 int newCapacity = 2 * oldCapacity + 1; 255 for (int i = oldCapacity-1; i >=0 ; i--)
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableCollection.java | 218 static int expandedCapacity(int oldCapacity, int minCapacity) { 223 int newCapacity = oldCapacity + (oldCapacity >> 1) + 1;
|
MinMaxPriorityQueue.java | 928 int oldCapacity = queue.length; 929 int newCapacity = (oldCapacity < 64) 930 ? (oldCapacity + 1) * 2 931 : IntMath.checkedMultiply(oldCapacity / 2, 3);
|
/libcore/ojluni/src/main/java/java/util/ |
PriorityQueue.java | 292 int oldCapacity = queue.length; 294 int newCapacity = oldCapacity + ((oldCapacity < 64) ? 295 (oldCapacity + 2) : 296 (oldCapacity >> 1)); [all...] |
Vector.java | 205 int oldCapacity = elementData.length; 206 if (elementCount < oldCapacity) { 259 int oldCapacity = elementData.length; 260 int newCapacity = oldCapacity + ((capacityIncrement > 0) ? 261 capacityIncrement : oldCapacity); [all...] |
Hashtable.java | 392 int oldCapacity = table.length; 396 int newCapacity = (oldCapacity << 1) + 1; 398 if (oldCapacity == MAX_ARRAY_SIZE) 410 for (int i = oldCapacity ; i-- > 0 ;) { [all...] |
ArrayList.java | 242 int oldCapacity = elementData.length; 243 int newCapacity = oldCapacity + (oldCapacity >> 1); [all...] |
WeakHashMap.java | 468 int oldCapacity = oldTable.length; 469 if (oldCapacity == MAXIMUM_CAPACITY) { [all...] |
HashMap.java | 505 int oldCapacity = oldTable.length; 506 if (oldCapacity == MAXIMUM_CAPACITY) { [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
btHashMap.h | 281 int oldCapacity = m_valueArray.capacity(); 286 if (oldCapacity < newCapacity)
|
/external/skia/include/private/ |
SkTHash.h | 148 int oldCapacity = fCapacity; 156 for (int i = 0; i < oldCapacity; i++) {
|
/external/skia/src/core/ |
SkTDynamicHash.h | 251 int oldCapacity = fCapacity; 258 for (int i = 0; i < oldCapacity; i++) {
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/ |
ParticleSystem.java | 238 int oldCapacity = m_proxyCapacity; 241 BufferUtils.reallocateBuffer(Proxy.class, m_proxyBuffer, oldCapacity, newCapacity); 361 int oldCapacity = m_pairCapacity; 365 BufferUtils.reallocateBuffer(Pair.class, m_pairBuffer, oldCapacity, newCapacity); 422 int oldCapacity = m_pairCapacity; 426 BufferUtils.reallocateBuffer(Pair.class, m_pairBuffer, oldCapacity, newCapacity); 562 int oldCapacity = m_contactCapacity; 566 BufferUtils.reallocateBuffer(ParticleContact.class, m_contactBuffer, oldCapacity, [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ScheduledThreadPoolExecutor.java | [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/ |
btOverlappingPairCache.cpp | 242 int oldCapacity = m_overlappingPairArray.capacity(); 251 if (oldCapacity < newCapacity)
|
/prebuilts/tools/common/m2/repository/net/sf/trove4j/trove4j/1.1/ |
trove4j-1.1.jar | |
/frameworks/base/core/java/com/android/internal/widget/ |
PointerLocationView.java | [all...] |
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
document.h | [all...] |
/external/guava/guava/src/com/google/common/cache/ |
LocalCache.java | [all...] |