Searched refs:initialPosition (Results 1 – 7 of 7) sorted by relevance
115 private final int initialPosition; field in CodedOutputStreamTest.NioHeapCoder121 NioHeapCoder(int size, int initialPosition) { in NioHeapCoder() argument122 this.initialPosition = initialPosition; in NioHeapCoder()124 buffer.position(initialPosition); in NioHeapCoder()136 dup.position(initialPosition); in toByteArray()151 private final int initialPosition; field in CodedOutputStreamTest.NioDirectCoder159 NioDirectCoder(int size, int initialPosition) { in NioDirectCoder() argument160 this.initialPosition = initialPosition; in NioDirectCoder()162 buffer.position(initialPosition); in NioDirectCoder()174 dup.position(initialPosition); in toByteArray()
93 int initialPosition = position; in addActual() local114 position = initialPosition; in addActual()129 - initialPosition + 1)); // rough approximation of the length in addActual()138 for (int i = initialPosition; i <= endPosition; i++) { in addActual()
770 int32_t initialPosition = 0; in handleNext() local787 initialPosition = fPosition; in handleNext()788 UTEXT_SETNATIVEINDEX(&fText, initialPosition); in handleNext()789 result = initialPosition; in handleNext()924 if (result == initialPosition) { in handleNext()925 utext_setNativeIndex(&fText, initialPosition); in handleNext()
806 int initialPosition = fPosition; in handleNext() local807 text.setIndex(initialPosition); in handleNext()808 int result = initialPosition; in handleNext()940 if (result == initialPosition) { in handleNext()944 text.setIndex(initialPosition); in handleNext()
827 int initialPosition = fPosition; in handleNext() local828 text.setIndex(initialPosition); in handleNext()829 int result = initialPosition; in handleNext()961 if (result == initialPosition) { in handleNext()965 text.setIndex(initialPosition); in handleNext()
1459 private int initialPosition; field in CodedOutputStream.NioHeapEncoder1465 this.initialPosition = byteBuffer.position(); in NioHeapEncoder()1471 byteBuffer.position(initialPosition + getTotalBytesWritten()); in flush()1481 private final int initialPosition; field in CodedOutputStream.NioEncoder1486 initialPosition = buffer.position(); in NioEncoder()1773 return buffer.position() - initialPosition; in getTotalBytesWritten()
160 int initialPosition, int limit, Source source) throws DecodeException {