Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ber/
DByteBufferBerDataValueReader.java26 private final ByteBuffer mBuf; field in ByteBufferBerDataValueReader
32 mBuf = buf; in ByteBufferBerDataValueReader()
37 int startPosition = mBuf.position(); in readDataValue()
38 if (!mBuf.hasRemaining()) { in readDataValue()
41 byte firstIdentifierByte = mBuf.get(); in readDataValue()
45 if (!mBuf.hasRemaining()) { in readDataValue()
48 int firstLengthByte = mBuf.get() & 0xff; in readDataValue()
54 contentsOffsetInTag = mBuf.position() - startPosition; in readDataValue()
59 contentsOffsetInTag = mBuf.position() - startPosition; in readDataValue()
63 contentsOffsetInTag = mBuf.position() - startPosition; in readDataValue()
[all …]
DInputStreamBerDataValueReader.java234 private final ByteArrayOutputStream mBuf; field in InputStreamBerDataValueReader.RecordingInputStream
238 mBuf = new ByteArrayOutputStream(); in RecordingInputStream()
242 return mBuf.toByteArray(); in getReadBytes()
246 return mBuf.size(); in getReadByteCount()
253 mBuf.write(b); in read()
262 mBuf.write(b, 0, len); in read()
271 mBuf.write(b, off, len); in read()
285 mBuf.write(buf, 0, len); in skip()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DApiFile.java990 final char[] mBuf; field in ApiFile.Tokenizer
997 mBuf = buf; in Tokenizer()
1010 while (mPos < mBuf.length && isSpace(mBuf[mPos])) { in eatWhitespace()
1011 if (mBuf[mPos] == '\n') { in eatWhitespace()
1021 if (mPos + 1 < mBuf.length) { in eatComment()
1022 if (mBuf[mPos] == '/' && mBuf[mPos + 1] == '/') { in eatComment()
1024 while (mPos < mBuf.length && !isNewline(mBuf[mPos])) { in eatComment()
1064 return new String(mBuf, offset, mPos - offset); in getStringFromOffset()
1081 if (mPos >= mBuf.length) { in getToken()
1085 final char c = mBuf[mPos]; in getToken()
[all …]