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()
161 if ((dataSize - dataPos) < (lenByte + 1)) in parseLength()
163 for (int i = 0; i < lenByte; i++) in parseLength()
166 curLen = (lenByte & LEN_MASK); in parseLength()
181 int lenByte = data[dataPos++] & 0xff; in writeLengthAndValue() local
182 if (isIndefinite(lenByte)) { in writeLengthAndValue()
[all …]
DDerInputStream.java386 byte lenByte = (byte)buffer.read(); in readVector()
387 int len = getLength((lenByte & 0xff), buffer); in readVector()
395 indefData[1] = lenByte; in readVector()
583 static int getLength(int lenByte, InputStream in) throws IOException { in getLength() argument
586 tmp = lenByte; in getLength()
DDerValue.java259 byte lenByte = (byte)in.read(); in DerValue()
260 length = DerInputStream.getLength((lenByte & 0xff), in); in DerValue()
267 indefData[1] = lenByte; in DerValue()
377 byte lenByte = (byte)in.read(); in init()
378 length = DerInputStream.getLength((lenByte & 0xff), in); in init()
384 indefData[1] = lenByte; in init()