Home
last modified time | relevance | path

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

12

/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
160 NioDirectCoder(int size, int initialPosition, boolean unsafe) { in NioDirectCoder() argument
162 this.initialPosition = initialPosition; in NioDirectCoder()
164 buffer.position(initialPosition); in NioDirectCoder()
179 dup.position(initialPosition); in toByteArray()
/external/cronet/third_party/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
160 NioDirectCoder(int size, int initialPosition, boolean unsafe) { in NioDirectCoder() argument
162 this.initialPosition = initialPosition; in NioDirectCoder()
164 buffer.position(initialPosition); in NioDirectCoder()
179 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/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ogg/
DDefaultOggSeekerTest.java103 int initialPosition = random.nextInt(data.length); in seeking() local
104 granule = seekTo(input, oggSeeker, targetGranule, initialPosition); in seeking()
185 FakeExtractorInput input, DefaultOggSeeker oggSeeker, long targetGranule, int initialPosition) in seekTo() argument
187 long nextSeekPosition = initialPosition; in seekTo()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ogg/
DDefaultOggSeekerTest.java103 int initialPosition = random.nextInt(data.length); in seeking() local
104 granule = seekTo(input, oggSeeker, targetGranule, initialPosition); in seeking()
185 FakeExtractorInput input, DefaultOggSeeker oggSeeker, long targetGranule, int initialPosition) in seekTo() argument
187 long nextSeekPosition = initialPosition; in seekTo()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/transformer/src/test/java/com/google/android/exoplayer2/transformer/
DTestMuxer.java90 int initialPosition = sample.position(); in DumpableSample() local
94 sample.position(initialPosition); in DumpableSample()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/transformer/src/test/java/com/google/android/exoplayer2/transformer/
DTestMuxer.java89 int initialPosition = sample.position(); in DumpableSample() local
93 sample.position(initialPosition); in DumpableSample()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DCapturingAudioSink.java124 int initialPosition = buffer.position(); in DumpableBuffer() local
127 buffer.position(initialPosition); in DumpableBuffer()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DCapturingAudioSink.java124 int initialPosition = buffer.position(); in DumpableBuffer() local
127 buffer.position(initialPosition); in DumpableBuffer()
/external/icu/icu4c/source/common/
Drbbi.cpp818 int32_t initialPosition = 0; in handleNext() local
836 initialPosition = fPosition; in handleNext()
837 UTEXT_SETNATIVEINDEX(&fText, initialPosition); in handleNext()
838 result = initialPosition; in handleNext()
967 if (result == initialPosition) { in handleNext()
968 utext_setNativeIndex(&fText, initialPosition); in handleNext()
/external/cronet/third_party/icu/source/common/
Drbbi.cpp818 int32_t initialPosition = 0; in handleNext() local
836 initialPosition = fPosition; in handleNext()
837 UTEXT_SETNATIVEINDEX(&fText, initialPosition); in handleNext()
838 result = initialPosition; in handleNext()
967 if (result == initialPosition) { in handleNext()
968 utext_setNativeIndex(&fText, initialPosition); in handleNext()
/external/cronet/components/cronet/android/java/src/org/chromium/net/impl/
DCronetBidirectionalStream.java614 private void onReadCompleted(final ByteBuffer byteBuffer, int bytesRead, int initialPosition, in onReadCompleted() argument
617 if (byteBuffer.position() != initialPosition || byteBuffer.limit() != initialLimit) { in onReadCompleted()
622 if (bytesRead < 0 || initialPosition + bytesRead > initialLimit) { in onReadCompleted()
626 byteBuffer.position(initialPosition + bytesRead); in onReadCompleted()
DCronetUrlRequest.java720 private void onReadCompleted(final ByteBuffer byteBuffer, int bytesRead, int initialPosition, in onReadCompleted() argument
723 if (byteBuffer.position() != initialPosition || byteBuffer.limit() != initialLimit) { in onReadCompleted()
731 byteBuffer.position(initialPosition + bytesRead); in onReadCompleted()
/external/skia/src/text/gpu/
DTextBlob.cpp117 const SkMatrix& initialPositionMatrix() const { return fSubRuns->initialPosition(); } in initialPositionMatrix()
359 return fSubRuns->initialPosition().hasPerspective(); in hasPerspective()
365 if (fSubRuns->isEmpty() && fSubRuns->initialPosition() != positionMatrix) { in canReuse()
DSubRunContainer.h284 const SkMatrix& initialPosition() const { return fInitialPositionMatrix; } in initialPosition() function
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java1511 private int initialPosition; field in CodedOutputStream.HeapNioEncoder
1519 this.initialPosition = byteBuffer.position(); in HeapNioEncoder()
1525 byteBuffer.position(initialPosition + getTotalBytesWritten()); in flush()
1536 private final int initialPosition; field in CodedOutputStream.SafeDirectNioEncoder
1541 initialPosition = buffer.position(); in SafeDirectNioEncoder()
1839 return buffer.position() - initialPosition; in getTotalBytesWritten()
1859 private final long initialPosition; field in CodedOutputStream.UnsafeDirectNioEncoder
1868 initialPosition = address + buffer.position(); in UnsafeDirectNioEncoder()
1871 position = initialPosition; in UnsafeDirectNioEncoder()
2200 return (int) (position - initialPosition); in getTotalBytesWritten()
/external/cronet/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java1543 private int initialPosition; field in CodedOutputStream.HeapNioEncoder
1551 this.initialPosition = byteBuffer.position(); in HeapNioEncoder()
1557 byteBuffer.position(initialPosition + getTotalBytesWritten()); in flush()
1568 private final int initialPosition; field in CodedOutputStream.SafeDirectNioEncoder
1573 initialPosition = buffer.position(); in SafeDirectNioEncoder()
1871 return buffer.position() - initialPosition; in getTotalBytesWritten()
1891 private final long initialPosition; field in CodedOutputStream.UnsafeDirectNioEncoder
1900 initialPosition = address + buffer.position(); in UnsafeDirectNioEncoder()
1903 position = initialPosition; in UnsafeDirectNioEncoder()
2232 return (int) (position - initialPosition); in getTotalBytesWritten()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java816 int initialPosition = fPosition; in handleNext() local
817 text.setIndex(initialPosition); in handleNext()
818 int result = initialPosition; in handleNext()
947 if (result == initialPosition) { in handleNext()
951 text.setIndex(initialPosition); in handleNext()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java837 int initialPosition = fPosition; in handleNext() local
838 text.setIndex(initialPosition); in handleNext()
839 int result = initialPosition; in handleNext()
968 if (result == initialPosition) { in handleNext()
972 text.setIndex(initialPosition); in handleNext()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/audio/
DAc3Util.java224 int initialPosition = data.getPosition(); in parseAc3SyncframeInfo() local
228 data.setPosition(initialPosition); in parseAc3SyncframeInfo()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/audio/
DAc3Util.java228 int initialPosition = data.getPosition(); in parseAc3SyncframeInfo() local
232 data.setPosition(initialPosition); in parseAc3SyncframeInfo()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowImageDecoder.java170 ByteBuffer jbyteBuffer, int initialPosition, int limit, Source source)
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowImageDecoder.java169 int initialPosition, int limit, Source source) throws DecodeException {
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DDefaultExtractorInputTest.java44 public void initialPosition() throws Exception { in initialPosition() method in DefaultExtractorInputTest
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DDefaultExtractorInputTest.java44 public void initialPosition() throws Exception { in initialPosition() method in DefaultExtractorInputTest

12