Home
last modified time | relevance | path

Searched refs:dataPosition (Results 1 – 3 of 3) 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/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DParcelTest.java464 assertEquals(10, parcel.dataPosition()); in testDataPositionAfterStringWrite()
470 assertEquals(1, parcel.dataPosition()); in testDataPositionAfterByteWrite()
476 assertEquals(4, parcel.dataPosition()); in testDataPositionAfterIntWrite()
482 assertEquals(8, parcel.dataPosition()); in testDataPositionAfterLongWrite()
488 assertEquals(4, parcel.dataPosition()); in testDataPositionAfterFloatWrite()
494 assertEquals(8, parcel.dataPosition()); in testDataPositionAfterDoubleWrite()
501 assertEquals(0, parcel.dataPosition()); in testResetDataPositionAfterWrite()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowParcel.java65 return dataSize() - dataPosition(); in dataAvail()
69 public int dataPosition() { in dataPosition() method in ShadowParcel
758 int off = dataPosition() - 4; in readValue()
772 int offset = dataPosition(); in readBundle()
801 int oldPos = dataPosition(); in writeBundle()
805 int newPos = dataPosition(); in writeBundle()