Searched refs:mBuf (Results 1 – 3 of 3) sorted by relevance
26 private final ByteBuffer mBuf; field in ByteBufferBerDataValueReader32 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 …]
234 private final ByteArrayOutputStream mBuf; field in InputStreamBerDataValueReader.RecordingInputStream238 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()
841 final char[] mBuf; field in ApiFile.Tokenizer848 mBuf = buf; in Tokenizer()861 while (mPos < mBuf.length && isSpace(mBuf[mPos])) { in eatWhitespace()862 if (mBuf[mPos] == '\n') { in eatWhitespace()872 if (mPos + 1 < mBuf.length) { in eatComment()873 if (mBuf[mPos] == '/' && mBuf[mPos + 1] == '/') { in eatComment()875 while (mPos < mBuf.length && !isNewline(mBuf[mPos])) { in eatComment()911 return new String(mBuf, offset, mPos - offset); in getStringFromOffset()916 if (mPos >= mBuf.length) { in getToken()920 final char c = mBuf[mPos]; in getToken()[all …]