Home
last modified time | relevance | path

Searched refs:newPosition (Results 1 – 25 of 89) sorted by relevance

1234

/external/lzma/CPP/7zip/Common/
DLimitedStreams.cpp59 STDMETHODIMP CLimitedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
71 if (newPosition) in Seek()
72 *newPosition = _virtPos; in Seek()
133 STDMETHODIMP CClusterInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
147 if (newPosition) in Seek()
148 *newPosition = offset; in Seek()
195 STDMETHODIMP CExtentsStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
207 if (newPosition) in Seek()
208 *newPosition = _virtPos; in Seek()
250 STDMETHODIMP CTailInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
[all …]
DFileStreams.cpp241 STDMETHODIMP CInFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
261 if (newPosition) in Seek()
262 *newPosition = offset; in Seek()
274 if (newPosition) in Seek()
275 *newPosition = realNewPosition; in Seek()
283 if (newPosition) in Seek()
284 *newPosition = (UInt64)res; in Seek()
367 STDMETHODIMP COutFileStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
376 if (newPosition) in Seek()
377 *newPosition = realNewPosition; in Seek()
[all …]
DStreamObjects.cpp29 STDMETHODIMP CBufferInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
41 if (newPosition) in Seek()
42 *newPosition = offset; in Seek()
64 STDMETHODIMP CBufInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
76 if (newPosition) in Seek()
77 *newPosition = offset; in Seek()
270 STDMETHODIMP CCachedInStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
282 if (newPosition) in Seek()
283 *newPosition = offset; in Seek()
DOffsetStream.cpp21 STDMETHODIMP COffsetOutStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
31 if (newPosition) in Seek()
32 *newPosition = absoluteNewPosition - _offset; in Seek()
DLimitedStreams.h62 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
101 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
126 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
178 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
222 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
248 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
DStreamObjects.h24 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
55 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
154 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition);
DCWrappers.cpp141 UInt64 newPosition; in InStreamWrap_Seek() local
142 p->Res = p->Stream->Seek(*offset, moveMethod, &newPosition); in InStreamWrap_Seek()
143 *offset = (Int64)newPosition; in InStreamWrap_Seek()
/external/lzma/CPP/Windows/
DFileIO.cpp118 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw() in Seek()
133 newPosition = (((UInt64)(UInt32)high) << 32) + low; in Seek()
137 bool CFileBase::Seek(UInt64 position, UInt64 &newPosition) const throw() in Seek()
139 return Seek(position, FILE_BEGIN, newPosition); in Seek()
144 UInt64 newPosition; in SeekToBegin() local
145 return Seek(0, newPosition); in SeekToBegin()
148 bool CFileBase::SeekToEnd(UInt64 &newPosition) const throw() in SeekToEnd()
150 return Seek(0, FILE_END, newPosition); in SeekToEnd()
424 UInt64 newPosition; in SetLength() local
425 if (!Seek(length, newPosition)) in SetLength()
[all …]
DFileIO.h111 bool Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw();
112 bool Seek(UInt64 position, UInt64 &newPosition) const throw();
114 bool SeekToEnd(UInt64 &newPosition) const throw();
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DSeekableInMemoryByteChannel.java83 public SeekableByteChannel position(long newPosition) throws IOException { in position() argument
85 if (newPosition < 0L || newPosition > Integer.MAX_VALUE) { in position()
88 position = (int) newPosition; in position()
/external/lzma/CPP/7zip/Archive/Common/
DMultiStream.cpp52 STDMETHODIMP CMultiStream::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
64 if (newPosition) in Seek()
65 *newPosition = offset; in Seek()
DInStreamWithCRC.cpp39 STDMETHODIMP CInStreamWithCRC::Seek(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) in Seek() argument
45 return _stream->Seek(offset, seekOrigin, newPosition); in Seek()
/external/apache-commons-io/src/main/java/org/apache/commons/io/input/
DTeeReader.java155 final int newPosition = target.position(); in read() local
158 target.position(originalPosition).limit(newPosition); in read()
162 target.position(newPosition).limit(newLimit); in read()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java157 Player.PositionInfo newPosition, in onPositionDiscontinuity() argument
182 .append(newPosition.mediaItemIndex) in onPositionDiscontinuity()
184 .append(newPosition.periodIndex) in onPositionDiscontinuity()
186 .append(newPosition.positionMs); in onPositionDiscontinuity()
187 if (newPosition.adGroupIndex != C.INDEX_UNSET) { in onPositionDiscontinuity()
190 .append(newPosition.contentPositionMs) in onPositionDiscontinuity()
192 .append(newPosition.adGroupIndex) in onPositionDiscontinuity()
194 .append(newPosition.adIndexInAdGroup); in onPositionDiscontinuity()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/
DFakeExoPlayer.java97 PositionInfo newPosition = in setPlayingContentPosition() local
112 oldPosition, newPosition, DISCONTINUITY_REASON_AUTO_TRANSITION)); in setPlayingContentPosition()
146 PositionInfo newPosition = in setPlayingAdPosition() local
161 oldPosition, newPosition, DISCONTINUITY_REASON_AUTO_TRANSITION)); in setPlayingAdPosition()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/ima/src/test/java/com/google/android/exoplayer2/ext/ima/
DFakeExoPlayer.java97 PositionInfo newPosition = in setPlayingContentPosition() local
112 oldPosition, newPosition, DISCONTINUITY_REASON_AUTO_TRANSITION)); in setPlayingContentPosition()
146 PositionInfo newPosition = in setPlayingAdPosition() local
161 oldPosition, newPosition, DISCONTINUITY_REASON_AUTO_TRANSITION)); in setPlayingAdPosition()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DDowngradedSeekableByteChannel.java56 public SeekableByteChannel position(long newPosition) throws IOException { in position() argument
57 channel.position(newPosition); in position()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/flac/src/main/jni/include/
Dflac_parser.h94 void reset(int64_t newPosition) { in reset() argument
96 mCurrentPos = newPosition; in reset()
98 if (newPosition == 0) { in reset()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/flac/src/main/jni/include/
Dflac_parser.h94 void reset(int64_t newPosition) { in reset() argument
96 mCurrentPos = newPosition; in reset()
98 if (newPosition == 0) { in reset()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DByteBufferChannel.java75 public SeekableByteChannel position(long newPosition) throws IOException { in position() argument
76 buffer.position((int) newPosition); in position()
/external/lzma/CPP/7zip/
DIStream.h84 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) PURE;
89 STDMETHOD(Seek)(Int64 offset, UInt32 seekOrigin, UInt64 *newPosition) PURE;
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/util/
DEventLogger.java154 Player.PositionInfo newPosition, in onPositionDiscontinuity() argument
179 .append(newPosition.mediaItemIndex) in onPositionDiscontinuity()
181 .append(newPosition.periodIndex) in onPositionDiscontinuity()
183 .append(newPosition.positionMs); in onPositionDiscontinuity()
184 if (newPosition.adGroupIndex != C.INDEX_UNSET) { in onPositionDiscontinuity()
187 .append(newPosition.contentPositionMs) in onPositionDiscontinuity()
189 .append(newPosition.adGroupIndex) in onPositionDiscontinuity()
191 .append(newPosition.adIndexInAdGroup); in onPositionDiscontinuity()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/
DFlacDecoderJni.java258 public void reset(long newPosition) { in reset() argument
259 flacReset(nativeDecoderContext, newPosition); in reset()
300 private native void flacReset(long context, long newPosition); in flacReset() argument
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/
DFlacDecoderJni.java258 public void reset(long newPosition) { in reset() argument
259 flacReset(nativeDecoderContext, newPosition); in reset()
300 private native void flacReset(long context, long newPosition); in flacReset() argument
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/test/java/com/google/android/exoplayer2/
DExoPlayerTest.java9783 ArgumentCaptor<Player.PositionInfo> newPosition =
9792 newPosition.capture(),
9795 Player.PositionInfo newPositionInfo = newPosition.getValue();
9814 newPosition.capture(),
9817 newPositionInfo = newPosition.getValue();
9836 newPosition.capture(),
9839 newPositionInfo = newPosition.getValue();
9896 ArgumentCaptor<Player.PositionInfo> newPosition =
9904 newPosition.capture(),
9910 List<Player.PositionInfo> newPositions = newPosition.getAllValues();
[all …]

1234