Home | History | Annotate | Download | only in cat

Lines Matching refs:length

47      * @param length Length of the value
51 protected ComprehensionTlv(int tag, boolean cr, int length, byte[] data,
55 mLength = length;
91 int endIndex = data.length;
117 int endIndex = data.length;
150 /* length */
151 int length;
154 length = temp;
156 length = data[curIndex++] & 0xff;
157 if (length < 0x80) {
160 "length < 0x80 length=" + Integer.toHexString(length) +
165 length = ((data[curIndex] & 0xff) << 8)
168 if (length < 0x100) {
171 "two byte length < 0x100 length=" + Integer.toHexString(length) +
176 length = ((data[curIndex] & 0xff) << 16)
180 if (length < 0x10000) {
183 "three byte length < 0x10000 length=0x" + Integer.toHexString(length) +
189 "Bad length modifer=" + temp +
195 return new ComprehensionTlv(tag, cr, length, data, curIndex);