Searched refs:mArray (Results 1 – 4 of 4) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | CircularByteArray.java | 24 private byte[] mArray; field in CircularByteArray 30 mArray = new byte[size]; in CircularByteArray() 40 mSum -= mArray[mCurPos]; in add() 42 mArray[mCurPos] = value; in add() 45 if (mCurPos >= mArray.length) { in add() 56 return mArray.length; in size()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ByteArrayInputStreamSource.java | 22 private byte[] mArray; field in ByteArrayInputStreamSource 26 mArray = array; in ByteArrayInputStreamSource() 38 return new ByteArrayInputStream(mArray); in createInputStream() 46 mArray = new byte[0]; in close() 55 return mArray.length; in size()
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
D | ByteArrayDataSink.java | 34 private byte[] mArray; field in ByteArrayDataSink 45 mArray = new byte[initialCapacity]; in ByteArrayDataSink() 66 System.arraycopy(buf, offset, mArray, mSize, length); in consume() 87 System.arraycopy(tmp, 0, mArray, mSize, chunkSize); in consume() 98 if (minCapacity <= mArray.length) { in ensureAvailable() 105 int doubleCurrentSize = (int) Math.min(mArray.length * 2L, Integer.MAX_VALUE); in ensureAvailable() 107 mArray = Arrays.copyOf(mArray, newSize); in ensureAvailable() 120 return ByteBuffer.wrap(mArray, (int) offset, size).slice(); in getByteBuffer() 128 sink.consume(mArray, (int) offset, (int) size); in feed() 136 dest.put(mArray, (int) offset, size); in copyTo() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/ |
D | ApkVerifier.java | 1765 private final byte[] mArray; field in ApkVerifier.ByteArray 1769 mArray = arr; in ByteArray() 1770 mHashCode = Arrays.hashCode(mArray); in ByteArray() 1793 if (!Arrays.equals(mArray, other.mArray)) { in equals()
|