Home
last modified time | relevance | path

Searched refs:lenByte (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/sun/security/util/
DDerIndefLenConverter.java151 int lenByte = data[dataPos++] & 0xff; in parseLength() local
152 if (isIndefinite(lenByte)) { in parseLength()
157 if (isLongForm(lenByte)) { in parseLength()
158 lenByte &= LEN_MASK; in parseLength()
159 if (lenByte > 4) { in parseLength()
162 if ((dataSize - dataPos) < (lenByte + 1)) { in parseLength()
165 for (int i = 0; i < lenByte; i++) { in parseLength()
172 curLen = (lenByte & LEN_MASK); in parseLength()
187 int lenByte = data[dataPos++] & 0xff; in writeLengthAndValue() local
188 if (isIndefinite(lenByte)) { in writeLengthAndValue()
[all …]
DDerInputStream.java426 byte lenByte = (byte)buffer.read(); in readVector()
427 int len = getLength(lenByte, buffer); in readVector()
435 indefData[1] = lenByte; in readVector()
624 static int getLength(int lenByte, InputStream in) throws IOException { in getLength() argument
626 if (lenByte == -1) { in getLength()
631 tmp = lenByte; in getLength()
DDerValue.java262 byte lenByte = (byte)in.read(); in DerValue()
263 length = DerInputStream.getLength(lenByte, in); in DerValue()
270 indefData[1] = lenByte; in DerValue()
381 byte lenByte = (byte)in.read(); in init()
382 length = DerInputStream.getLength(lenByte, in); in init()
388 indefData[1] = lenByte; in init()
/libcore/ojluni/annotations/hiddenapi/sun/security/util/
DDerInputStream.java208 static int getLength(int lenByte, java.io.InputStream in) throws java.io.IOException { in getLength() argument