Searched refs:getPeekPosition (Results 1 – 14 of 14) sorted by relevance
81 long leftFramePosition = input.getPeekPosition(); in searchForTimestamp()88 long rightFramePosition = input.getPeekPosition(); in searchForTimestamp()115 while (input.getPeekPosition() < input.getLength() - FlacConstants.MIN_FRAME_HEADER_SIZE in findNextFrame()121 if (input.getPeekPosition() >= input.getLength() - FlacConstants.MIN_FRAME_HEADER_SIZE) { in findNextFrame()122 input.advancePeekPosition((int) (input.getLength() - input.getPeekPosition())); in findNextFrame()
53 assertThat(input.getPeekPosition()).isNotEqualTo(0); in peekId3Metadata_updatesPeekPosition()92 assertThat(input.getPeekPosition()).isEqualTo(FlacConstants.STREAM_MARKER_SIZE); in checkAndPeekStreamMarker_updatesPeekPosition()123 assertThat(input.getPeekPosition()).isEqualTo(input.getPosition()); in readId3Metadata_updatesReadPositionAndAlignsPeekPosition()161 assertThat(input.getPeekPosition()).isEqualTo(input.getPosition()); in readStreamMarker_updatesReadPosition()182 assertThat(input.getPeekPosition()).isEqualTo(input.getPosition()); in readMetadataBlock_updatesReadPositionAndAlignsPeekPosition()297 assertThat(input.getPeekPosition()).isEqualTo(input.getPosition()); in readMetadataBlock_blockToSkip_updatesReadPosition()371 assertThat(input.getPeekPosition()).isEqualTo(input.getPosition()); in getFrameStartMarker_doesNotUpdateReadPositionAndAlignsPeekPosition()
54 assertThat(input.getPeekPosition()).isEqualTo(length); in peekToLengthEndNotReached()77 assertThat(input.getPeekPosition()).isEqualTo(TEST_DATA.length); in peekToLengthEndReached()
405 assertThat(input.getPeekPosition()).isEqualTo(TEST_DATA.length); in peekMultipleTimes()419 assertThat(input.getPeekPosition()).isEqualTo(TEST_DATA.length - 1); in peekAlreadyPeeked()447 assertThat(input.getPeekPosition()).isEqualTo(TEST_DATA.length); in peekEndOfInputBeforeFirstBytePeeked()459 assertThat(input.getPeekPosition()).isEqualTo(TEST_DATA.length); in peekEndOfInputAfterFirstBytePeeked()481 assertThat(input.getPeekPosition()).isEqualTo(TEST_DATA.length); in peekFully()488 assertThat(input.getPeekPosition()).isEqualTo(TEST_DATA.length); in peekFully()512 assertThat(input.getPeekPosition()).isEqualTo(TEST_DATA.length); in peekFullyAfterEofExceptionPeeksAsExpected()
139 assertThat(input.getPeekPosition()).isEqualTo(peekPosition); in checkFrameHeaderFromPeek_validData_doesNotUpdatePositions()217 assertThat(input.getPeekPosition()).isEqualTo(peekPosition); in checkFrameHeaderFromPeek_invalidData_doesNotUpdatePositions()235 assertThat(input.getPeekPosition()).isEqualTo(input.getPosition()); in getFirstSampleNumber_doesNotUpdateReadPositionAndAlignsPeekPosition()
243 long getPeekPosition(); in getPeekPosition() method
104 long startingPeekPosition = input.getPeekPosition(); in readId3Metadata()106 int peekedId3Bytes = (int) (input.getPeekPosition() - startingPeekPosition); in readId3Metadata()
97 long originalPeekPosition = input.getPeekPosition(); in checkFrameHeaderFromPeek()
179 public long getPeekPosition() { in getPeekPosition() method in DefaultExtractorInput
90 || input.getLength() - input.getPeekPosition() >= EMPTY_PAGE_HEADER_SIZE; in populate()
113 atomSize = fileEndPosition - input.getPeekPosition() + headerSize; in sniffInternal()
347 peekedId3Bytes = (int) input.getPeekPosition(); in synchronize()411 && extractorInput.getPeekPosition() > dataEndPosition - 4) { in peekEndOfStreamOrHeader()
184 public long getPeekPosition() { in getPeekPosition() method in FakeExtractorInput
180 inputLength != C.LENGTH_UNSET ? inputLength - input.getPeekPosition() : C.LENGTH_UNSET; in read()