Searched refs:contentsLength (Results 1 – 3 of 3) sorted by relevance
49 int contentsLength; in readDataValue() local53 contentsLength = readShortFormLength(firstLengthByte); in readDataValue()55 skipDefiniteLengthContents(contentsLength); in readDataValue()58 contentsLength = readLongFormLength(firstLengthByte); in readDataValue()60 skipDefiniteLengthContents(contentsLength); in readDataValue()64 contentsLength = in readDataValue()81 encoded.limit(contentsOffsetInTag + contentsLength); in readDataValue()151 private void skipDefiniteLengthContents(int contentsLength) throws BerDataValueFormatException { in skipDefiniteLengthContents() argument152 if (mBuf.remaining() < contentsLength) { in skipDefiniteLengthContents()154 "Truncated contents. Need: " + contentsLength + " bytes, available: " in skipDefiniteLengthContents()[all …]
67 int contentsLength; in readDataValue() local71 contentsLength = readShortFormLength(firstLengthByte); in readDataValue()73 skipDefiniteLengthContents(in, contentsLength); in readDataValue()76 contentsLength = readLongFormLength(in, firstLengthByte); in readDataValue()78 skipDefiniteLengthContents(in, contentsLength); in readDataValue()82 contentsLength = in readDataValue()90 ByteBuffer.wrap(encoded, contentsOffsetInDataValue, contentsLength); in readDataValue()
447 int contentsLength = 0; in createTag() local449 contentsLength += c.length; in createTag()453 if (contentsLength < 0x80) { in createTag()456 result = new byte[contentsPosInResult + contentsLength]; in createTag()458 result[1] = (byte) contentsLength; in createTag()463 if (contentsLength <= 0xff) { in createTag()465 result = new byte[contentsPosInResult + contentsLength]; in createTag()467 result[2] = (byte) contentsLength; in createTag()468 } else if (contentsLength <= 0xffff) { in createTag()470 result = new byte[contentsPosInResult + contentsLength]; in createTag()[all …]