Home
last modified time | relevance | path

Searched refs:initialPosition (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java115 private final int initialPosition; field in CodedOutputStreamTest.NioHeapCoder
121 NioHeapCoder(int size, int initialPosition) { in NioHeapCoder() argument
122 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.NioDirectCoder
159 NioDirectCoder(int size, int initialPosition) { in NioDirectCoder() argument
160 this.initialPosition = initialPosition; in NioDirectCoder()
162 buffer.position(initialPosition); in NioDirectCoder()
174 dup.position(initialPosition); in toByteArray()
/external/easymock/src/org/easymock/internal/
DMocksBehavior.java93 int initialPosition = position; in addActual() local
114 position = initialPosition; in addActual()
129 - initialPosition + 1)); // rough approximation of the length in addActual()
138 for (int i = initialPosition; i <= endPosition; i++) { in addActual()
/external/icu/icu4c/source/common/
Drbbi.cpp770 int32_t initialPosition = 0; in handleNext() local
787 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()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java806 int initialPosition = fPosition; in handleNext() local
807 text.setIndex(initialPosition); in handleNext()
808 int result = initialPosition; in handleNext()
940 if (result == initialPosition) { in handleNext()
944 text.setIndex(initialPosition); in handleNext()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java827 int initialPosition = fPosition; in handleNext() local
828 text.setIndex(initialPosition); in handleNext()
829 int result = initialPosition; in handleNext()
961 if (result == initialPosition) { in handleNext()
965 text.setIndex(initialPosition); in handleNext()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java1459 private int initialPosition; field in CodedOutputStream.NioHeapEncoder
1465 this.initialPosition = byteBuffer.position(); in NioHeapEncoder()
1471 byteBuffer.position(initialPosition + getTotalBytesWritten()); in flush()
1481 private final int initialPosition; field in CodedOutputStream.NioEncoder
1486 initialPosition = buffer.position(); in NioEncoder()
1773 return buffer.position() - initialPosition; in getTotalBytesWritten()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowImageDecoder.java160 int initialPosition, int limit, Source source) throws DecodeException {