Home
last modified time | relevance | path

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

/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/protobuf/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java113 private final int initialPosition; field in CodedOutputStreamTest.NioHeapCoder
119 NioHeapCoder(int size, int initialPosition) { in NioHeapCoder() argument
120 this.initialPosition = initialPosition; in NioHeapCoder()
122 buffer.position(initialPosition); in NioHeapCoder()
134 dup.position(initialPosition); in toByteArray()
149 private final int initialPosition; field in CodedOutputStreamTest.NioDirectCoder
158 NioDirectCoder(int size, int initialPosition, boolean unsafe) { in NioDirectCoder() argument
160 this.initialPosition = initialPosition; in NioDirectCoder()
162 buffer.position(initialPosition); in NioDirectCoder()
177 dup.position(initialPosition); in toByteArray()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ogg/
DDefaultOggSeekerTest.java104 int initialPosition = random.nextInt(data.length); in seeking() local
105 granule = seekTo(input, oggSeeker, targetGranule, initialPosition); in seeking()
252 FakeExtractorInput input, DefaultOggSeeker oggSeeker, long targetGranule, int initialPosition) in seekTo() argument
254 long nextSeekPosition = initialPosition; in seekTo()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DCapturingAudioSink.java176 int initialPosition = buffer.position(); in DumpableBuffer() local
179 buffer.position(initialPosition); in DumpableBuffer()
/external/icu/icu4c/source/common/
Drbbi.cpp804 int32_t initialPosition = 0; in handleNext() local
822 initialPosition = fPosition; in handleNext()
823 UTEXT_SETNATIVEINDEX(&fText, initialPosition); in handleNext()
824 result = initialPosition; in handleNext()
953 if (result == initialPosition) { in handleNext()
954 utext_setNativeIndex(&fText, initialPosition); in handleNext()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java788 int initialPosition = fPosition; in handleNext() local
789 text.setIndex(initialPosition); in handleNext()
790 int result = initialPosition; in handleNext()
919 if (result == initialPosition) { in handleNext()
923 text.setIndex(initialPosition); in handleNext()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java767 int initialPosition = fPosition; in handleNext() local
768 text.setIndex(initialPosition); in handleNext()
769 int result = initialPosition; in handleNext()
898 if (result == initialPosition) { in handleNext()
902 text.setIndex(initialPosition); in handleNext()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java1532 private int initialPosition; field in CodedOutputStream.HeapNioEncoder
1540 this.initialPosition = byteBuffer.position(); in HeapNioEncoder()
1546 byteBuffer.position(initialPosition + getTotalBytesWritten()); in flush()
1557 private final int initialPosition; field in CodedOutputStream.SafeDirectNioEncoder
1562 initialPosition = buffer.position(); in SafeDirectNioEncoder()
1860 return buffer.position() - initialPosition; in getTotalBytesWritten()
1880 private final long initialPosition; field in CodedOutputStream.UnsafeDirectNioEncoder
1889 initialPosition = address + buffer.position(); in UnsafeDirectNioEncoder()
1892 position = initialPosition; in UnsafeDirectNioEncoder()
2221 return (int) (position - initialPosition); in getTotalBytesWritten()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DAc3Util.java243 int initialPosition = data.getPosition(); in parseAc3SyncframeInfo() local
247 data.setPosition(initialPosition); in parseAc3SyncframeInfo()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowImageDecoder.java160 int initialPosition, int limit, Source source) throws DecodeException {
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DDefaultExtractorInputTest.java44 public void initialPosition() throws Exception { in initialPosition() method in DefaultExtractorInputTest