Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/
DGIFImageReader.cpp387 bool GIFImageReader::parseData(size_t dataPosition, size_t len, GIFImageDecoder::GIFParseQuery quer… in parseData() argument
401 const size_t currentComponentPosition = dataPosition; in parseData()
402 const unsigned char* currentComponent = data(dataPosition); in parseData()
406 dataPosition += m_bytesToConsume; in parseData()
451 m_globalColorMap.setTablePositionAndSize(dataPosition, globalColorMapColors); in parseData()
691 currentFrame->localColorMap().setTablePositionAndSize(dataPosition, numColors); in parseData()
DGIFImageReader.h329 bool parseData(size_t dataPosition, size_t len, WebCore::GIFImageDecoder::GIFParseQuery);
332 const unsigned char* data(size_t dataPosition) const in data() argument
334 return reinterpret_cast<const unsigned char*>(m_data->data()) + dataPosition; in data()
/external/robolectric/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/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()