Lines Matching refs:index

184         int index = 0;
191 while (index < headerArray.length) {
192 headerID = 0xFF & headerArray[index];
207 index++;
208 length = 0xFF & headerArray[index];
210 index++;
211 length += 0xFF & headerArray[index];
213 index++;
215 System.arraycopy(headerArray, index, value, 0, length);
237 System.arraycopy(headerArray, index, headerImpl.mAuthChall, 0,
243 System.arraycopy(headerArray, index, headerImpl.mAuthResp, 0,
252 System.arraycopy(headerArray, index, body, 1, length);
290 index += length;
298 index++;
300 headerImpl.setHeader(headerID, Byte.valueOf(headerArray[index]));
304 index++;
313 index++;
315 System.arraycopy(headerArray, index, value, 0, 4);
336 index += 4;
737 * @param start the starting index to search
739 * @return the index of the end of the header block to send or -1 if the
746 int index = start;
751 while ((fullLength < maxSize) && (index < headerArray.length)) {
752 int headerID = (headerArray[index] < 0 ? headerArray[index] + 256 : headerArray[index]);
761 index++;
762 length = (headerArray[index] < 0 ? headerArray[index] + 256
763 : headerArray[index]);
765 index++;
766 length += (headerArray[index] < 0 ? headerArray[index] + 256
767 : headerArray[index]);
769 index++;
770 index += length;
776 index++;
777 index++;
783 index += 5;
884 int index = findTag(tag, triplet);
885 if (index == -1) {
889 index++;
890 int length = triplet[index] & 0xFF;
893 index++;
894 System.arraycopy(triplet, index, result, 0, length);
900 * Finds the index that starts the tag value pair in the byte array provide.
903 * @return the starting index of the tag or -1 if the tag could not be found
912 int index = 0;
914 while ((index < value.length) && (value[index] != tag)) {
915 length = value[index + 1] & 0xFF;
916 index += length + 2;
919 if (index >= value.length) {
923 return index;