Home
last modified time | relevance | path

Searched refs:lenByte (Results 1 – 3 of 3) 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.java420 byte lenByte = (byte)buffer.read(); in readVector()
421 int len = getLength(lenByte, buffer); in readVector()
429 indefData[1] = lenByte; in readVector()
617 static int getLength(int lenByte, InputStream in) throws IOException { in getLength() argument
619 if (lenByte == -1) { in getLength()
624 tmp = lenByte; in getLength()
DDerValue.java259 byte lenByte = (byte)in.read(); in DerValue()
260 length = DerInputStream.getLength(lenByte, in); in DerValue()
267 indefData[1] = lenByte; in DerValue()
377 byte lenByte = (byte)in.read(); in init()
378 length = DerInputStream.getLength(lenByte, in); in init()
384 indefData[1] = lenByte; in init()