Home
last modified time | relevance | path

Searched refs:osize (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/collection/src/main/java/androidx/collection/
DSimpleArrayMap.java269 final int osize = mSize; in clear() local
273 freeArrays(ohashes, oarray, osize); in clear()
285 final int osize = mSize; in ensureCapacity() local
291 System.arraycopy(ohashes, 0, mHashes, 0, osize); in ensureCapacity()
292 System.arraycopy(oarray, 0, mArray, 0, osize<<1); in ensureCapacity()
294 freeArrays(ohashes, oarray, osize); in ensureCapacity()
296 if (CONCURRENT_MODIFICATION_EXCEPTIONS && mSize != osize) { in ensureCapacity()
409 final int osize = mSize; in put() local
427 if (osize >= mHashes.length) { in put()
428 final int n = osize >= (BASE_SIZE*2) ? (osize+(osize>>1)) in put()
[all …]
/frameworks/base/core/java/android/util/
DArrayMap.java312 final int osize = mSize; in clear() local
316 freeArrays(ohashes, oarray, osize); in clear()
343 final int osize = mSize; in ensureCapacity() local
349 System.arraycopy(ohashes, 0, mHashes, 0, osize); in ensureCapacity()
350 System.arraycopy(oarray, 0, mArray, 0, osize<<1); in ensureCapacity()
352 freeArrays(ohashes, oarray, osize); in ensureCapacity()
354 if (CONCURRENT_MODIFICATION_EXCEPTIONS && mSize != osize) { in ensureCapacity()
473 final int osize = mSize; in put() local
491 if (osize >= mHashes.length) { in put()
492 final int n = osize >= (BASE_SIZE*2) ? (osize+(osize>>1)) in put()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/
DPackedIntVectorTest.java140 int osize = p.size(); in testBasic() local
141 int del = osize / 3; in testBasic()
147 int at = (osize - del) / 2; in testBasic()
150 assertEquals(p.size(), osize - del); in testBasic()