Home
last modified time | relevance | path

Searched refs:skipFully (Results 1 – 25 of 38) sorted by relevance

12

/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DFlacMetadataReaderTest.java174 input.skipFully(FlacConstants.STREAM_MARKER_SIZE); in readMetadataBlock_updatesReadPositionAndAlignsPeekPosition()
188 input.skipFully(FlacConstants.STREAM_MARKER_SIZE); in readMetadataBlock_lastMetadataBlock_isTrue()
200 input.skipFully(FlacConstants.STREAM_MARKER_SIZE); in readMetadataBlock_notLastMetadataBlock_isFalse()
212 input.skipFully(FlacConstants.STREAM_MARKER_SIZE); in readMetadataBlock_streamInfoBlock_setsStreamMetadata()
226 input.skipFully(FlacConstants.STREAM_MARKER_SIZE + FlacConstants.STREAM_INFO_BLOCK_SIZE); in readMetadataBlock_seekTableBlock_updatesStreamMetadata()
243 input.skipFully(640); in readMetadataBlock_vorbisCommentBlock_updatesStreamMetadata()
264 input.skipFully(640); in readMetadataBlock_pictureBlock_updatesStreamMetadata()
291 input.skipFully(640); in readMetadataBlock_blockToSkip_updatesReadPosition()
305 input.skipFully(FlacConstants.STREAM_MARKER_SIZE + FlacConstants.STREAM_INFO_BLOCK_SIZE); in readMetadataBlock_nonStreamInfoBlockWithNullStreamMetadata_throwsException()
318 input.skipFully(FlacConstants.STREAM_MARKER_SIZE + FlacConstants.STREAM_INFO_BLOCK_SIZE); in readSeekTableMetadataBlock_updatesPosition()
[all …]
DDefaultExtractorInputTest.java100 input.skipFully(TEST_DATA.length); in readEndOfInputBeforeFirstByteRead()
112 input.skipFully(TEST_DATA.length - 1); in readEndOfInputAfterFirstByteRead()
264 input.skipFully(TEST_DATA.length); in skipEndOfInputBeforeFirstByteSkipped()
275 input.skipFully(TEST_DATA.length - 1); in skipEndOfInputAfterFirstByteSkipped()
295 input.skipFully(TEST_DATA.length); in skipFullyOnce()
298 boolean result = input.skipFully(1, true); in skipFullyOnce()
302 input.skipFully(1); in skipFullyOnce()
313 input.skipFully(5); in skipFullyTwice()
315 input.skipFully(4); in skipFullyTwice()
327 input.skipFully(halfLength); in skipFullyTwicePeeked()
[all …]
DFlacFrameReaderTest.java277 input.skipFully(164033); in readFrameBlockSizeSamplesFromKey_keyBetween6And7_returnsCorrectBlockSize()
313 input.skipFully(FlacConstants.STREAM_MARKER_SIZE); in buildExtractorInputReadingFromFirstFrame()
/external/guava/android/guava-tests/test/com/google/common/io/
DMultiReaderTest.java91 CharStreams.skipFully(joinedReader, 1);
93 CharStreams.skipFully(joinedReader, 4);
95 CharStreams.skipFully(joinedReader, 1);
DCharStreamsTest.java122 CharStreams.skipFully(reader, 6); in testSkipFully_EOF()
133 CharStreams.skipFully(reader, 1); in testSkipFully()
135 CharStreams.skipFully(reader, 2); in testSkipFully()
DMultiInputStreamTest.java116 ByteStreams.skipFully(multi, 20); in testSkip()
/external/guava/guava-tests/test/com/google/common/io/
DMultiReaderTest.java91 CharStreams.skipFully(joinedReader, 1);
93 CharStreams.skipFully(joinedReader, 4);
95 CharStreams.skipFully(joinedReader, 1);
DCharStreamsTest.java122 CharStreams.skipFully(reader, 6); in testSkipFully_EOF()
133 CharStreams.skipFully(reader, 1); in testSkipFully()
135 CharStreams.skipFully(reader, 2); in testSkipFully()
DMultiInputStreamTest.java116 ByteStreams.skipFully(multi, 20); in testSkip()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DDefaultOggSeeker.java205 input.skipFully(pageHeader.headerSize + pageHeader.bodySize); in skipToPageOfTargetGranule()
256 input.skipFully(i); in skipToNextPage()
261 input.skipFully(peekLength - 3); in skipToNextPage()
279 input.skipFully(pageHeader.headerSize + pageHeader.bodySize); in readGranuleOfLastPage()
DOggPacket.java81 input.skipFully(bytesToSkip); in populate()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DMp3Extractor.java267 input.skipFully((int) (firstSamplePosition - inputPosition)); in readInternal()
285 extractorInput.skipFully(1); in readSample()
349 input.skipFully(peekedId3Bytes); in synchronize()
379 input.skipFully(1); in synchronize()
395 input.skipFully(peekedId3Bytes + searchedBytes); in synchronize()
490 input.skipFully(synchronizedHeader.frameSize); in maybeReadSeekFrame()
497 input.skipFully(synchronizedHeader.frameSize); in maybeReadSeekFrame()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DExtractorInput.java140 boolean skipFully(int length, boolean allowEndOfInput) throws IOException; in skipFully() method
152 void skipFully(int length) throws IOException; in skipFully() method
DDefaultExtractorInput.java96 public boolean skipFully(int length, boolean allowEndOfInput) throws IOException { in skipFully() method in DefaultExtractorInput
108 public void skipFully(int length) throws IOException { in skipFully() method in DefaultExtractorInput
109 skipFully(length, false); in skipFully()
DFlacMetadataReader.java107 input.skipFully(peekedId3Bytes); in readId3Metadata()
175 input.skipFully(length); in readMetadataBlock()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/
DDefaultEbmlReader.java145 input.skipFully((int) elementContentSize); in read()
173 input.skipFully(varintLength); in maybeResyncToNextLevel1Element()
177 input.skipFully(1); in maybeResyncToNextLevel1Element()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DPsExtractor.java204 input.skipFully(packStuffingLength + 14); in read()
213 input.skipFully(systemHeaderLength + 6); in read()
216 input.skipFully(1); // Skip bytes until we see a valid start code again. in read()
270 input.skipFully(pesLength); in read()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeExtractorInput.java134 public boolean skipFully(int length, boolean allowEndOfInput) throws IOException { in skipFully() method in FakeExtractorInput
140 public void skipFully(int length) throws IOException { in skipFully() method in FakeExtractorInput
141 skipFully(length, false); in skipFully()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/
DWavHeaderReader.java132 input.skipFully((int) bytesToSkip); in skipToData()
136 input.skipFully(ChunkHeader.SIZE_IN_BYTES); in skipToData()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/
DFlvExtractor.java218 input.skipFully(bytesToNextTagHeader); in skipToTagHeader()
272 input.skipFully(tagDataSize); in readTagData()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractor.java232 input.skipFully(amrSignatureNb.length); in readAmrHeader()
236 input.skipFully(amrSignatureWb.length); in readAmrHeader()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java226 skipFully(stream, fraction); // Skip a large fraction, but not all. in testMarkAndReset()
233 skipFully(stream, stringUnderTest.size()); // Skip to the end. in testMarkAndReset()
251 static void skipFully(InputStream in, long n) throws IOException { in skipFully() method in LiteralByteStringTest
DNioByteStringTest.java237 skipFully(stream, fraction); // Skip a large fraction, but not all. in testMarkAndReset()
248 skipFully(stream, testString.size()); // Skip to the end. in testMarkAndReset()
266 static void skipFully(InputStream in, long n) throws IOException { in skipFully() method in NioByteStringTest
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedOdexFile.java96 ByteStreams.skipFully(is, dexOffset - OdexHeaderItem.ITEM_SIZE);
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DMp4Extractor.java357 input.skipFully((int) atomPayloadSize); in readAtomPayload()
524 input.skipFully((int) skipAmount); in readSample()
674 input.skipFully(4); in maybeSkipRemainingMetaAtomHeaderBytes()

12