Lines Matching refs:position
171 public Section open(int position) { in open() argument
172 if (position < 0 || position >= data.capacity()) { in open()
173 throw new IllegalArgumentException("position=" + position in open()
178 sectionData.position(position); in open()
190 sectionData.position(nextSectionStart); in appendSection()
211 data.position(0); in getBytes()
282 data.position(SIGNATURE_OFFSET + SIGNATURE_SIZE); in computeSignature()
299 data.position(CHECKSUM_OFFSET + CHECKSUM_SIZE); in computeChecksum()
323 int position = tableOfContents.typeIds.off + (SizeOf.TYPE_ID_ITEM * typeIndex); in descriptorIndexFromTypeIndex() local
324 return data.getInt(position); in descriptorIndexFromTypeIndex()
336 this.initialPosition = data.position(); in Section()
340 return data.position(); in getPosition()
402 int savedPosition = data.position(); in readString()
404 data.position(offset); in readString()
417 data.position(savedPosition); in readString()
491 Section triesSection = open(data.position()); in readCode()
504 int baseOffset = data.position(); in readCatchHandlers()
508 int offset = data.position() - baseOffset; in readCatchHandlers()
589 int end = data.position(); in getBytesFrom()
591 data.position(start); in getBytesFrom()
598 int start = data.position(); in readAnnotation()
604 int start = data.position(); in readEncodedArray()
613 data.position(data.position() + count); in skip()
620 data.position((data.position() + 3) & ~3); in alignToFourBytes()
627 while ((data.position() & 3) != 0) { in alignToFourBytesWithZeroFill()
633 if ((data.position() & 3) != 0) { in assertFourByteAligned()
709 return data.position() - initialPosition; in used()