Lines Matching refs:index
144 private static void checkBounds(int index, int length) { in checkBounds() argument
145 if (index < 0 || index >= length) { in checkBounds()
146 throw new IndexOutOfBoundsException("index:" + index + ", length=" + length); in checkBounds()
715 public String get(int index) { in get() argument
716 checkBounds(index, tableOfContents.stringIds.size); in get()
717 return open(tableOfContents.stringIds.off + (index * SizeOf.STRING_ID_ITEM)) in get()
729 public Integer get(int index) { in get() argument
730 return descriptorIndexFromTypeIndex(index); in get()
741 public String get(int index) { in get() argument
742 return strings.get(descriptorIndexFromTypeIndex(index)); in get()
752 public ProtoId get(int index) { in get() argument
753 checkBounds(index, tableOfContents.protoIds.size); in get()
754 return open(tableOfContents.protoIds.off + (SizeOf.PROTO_ID_ITEM * index)) in get()
765 public FieldId get(int index) { in get() argument
766 checkBounds(index, tableOfContents.fieldIds.size); in get()
767 return open(tableOfContents.fieldIds.off + (SizeOf.MEMBER_ID_ITEM * index)) in get()
778 public MethodId get(int index) { in get() argument
779 checkBounds(index, tableOfContents.methodIds.size); in get()
780 return open(tableOfContents.methodIds.off + (SizeOf.MEMBER_ID_ITEM * index)) in get()