Home
last modified time | relevance | path

Searched refs:dataPosition (Results 1 – 6 of 6) sorted by relevance

/external/snakeyaml/src/test/java/org/pyyaml/
DPyMarkTest.java51 int dataPosition = data.indexOf("*"); in testMarks() local
53 assertEquals("Pointer should coincide with '*':\n " + snippet, dataPosition, in testMarks()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowParcel.java172 return NATIVE_PTR_TO_PARCEL.get(nativePtr).dataPosition(); in nativeDataPosition()
755 return dataSize() - dataPosition(); in dataAvailable()
768 public int dataPosition() { in dataPosition() method in ShadowParcel.ByteBuffer
777 int dataPosition = dataPosition(); in dataSize() local
778 return totalSize > dataPosition ? totalSize : dataPosition; in dataSize()
835 private int toIndex(int dataPosition) { in toIndex() argument
838 for (; i < buffer.size() && calculatedPos < dataPosition; i++) { in toIndex()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowParcelTest.java525 assertThat(parcel.dataPosition()).isEqualTo(4); in testDataPositionAfterSomeWrites()
528 assertThat(parcel.dataPosition()).isEqualTo(8); in testDataPositionAfterSomeWrites()
531 assertThat(parcel.dataPosition()).isEqualTo(16); in testDataPositionAfterSomeWrites()
534 assertThat(parcel.dataPosition()).isEqualTo(36); in testDataPositionAfterSomeWrites()
545 assertThat(parcel.dataPosition()).isEqualTo(4); in testDataPositionAfterSomeReads()
548 assertThat(parcel.dataPosition()).isEqualTo(8); in testDataPositionAfterSomeReads()
551 assertThat(parcel.dataPosition()).isEqualTo(16); in testDataPositionAfterSomeReads()
589 parcel.setDataPosition(parcel.dataPosition()); in testSetDataPositionToEmptyString()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DDvbSubtitleReader.java106 int dataPosition = data.getPosition(); in consume() local
109 data.setPosition(dataPosition); in consume()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DTrackFragment.java38 public long dataPosition; field in TrackFragment
DFragmentedMp4Extractor.java375 fragment.dataPosition = atomPosition; in readAtomHeader()
871 trackBundle.fragment.dataPosition = baseDataPosition; in parseTfhd()
949 fragment.trunDataPosition[index] = fragment.dataPosition; in parseTrun()