Lines Matching refs:pData
28 static void writeParcelableHead(Parcel *pData, const char *class_name) { in writeParcelableHead() argument
35 pData->writeString16(String16((const char *)buffer)); in writeParcelableHead()
36 pData->writeInt32(VAL_PARCELABLE); in writeParcelableHead()
37 pData->writeString16(String16(class_name)); in writeParcelableHead()
40 void writeRegion(Parcel *pData) { in writeRegion() argument
41 pData->writeInt32(100); // length of region; in writeRegion()
42 pData->writeInt32( in writeRegion()
44 pData->writeInt32(0xf); // fBounds in writeRegion()
45 pData->writeInt32(0xf); // YSpanCount in writeRegion()
46 pData->writeInt32(0xf); // IntervalCount in writeRegion()
51 pData->write(buffer, sizeof(buffer)); in writeRegion()
54 static void writeBundle(Parcel *pData, int type) { in writeBundle() argument
55 size_t lengthPos = pData->dataPosition(); in writeBundle()
56 pData->writeInt32(0xfffff); in writeBundle()
58 pData->writeInt32(BUNDLE_MAGIC); in writeBundle()
59 size_t startPos = pData->dataPosition(); in writeBundle()
62 pData->writeInt32(1); // from writeArrayMapInternal,object numbers in bundle in writeBundle()
63 writeParcelableHead(pData, "android.graphics.Region"); in writeBundle()
64 writeRegion(pData); in writeBundle()
69 size_t endPos = pData->dataPosition(); in writeBundle()
71 pData->setDataPosition(lengthPos); in writeBundle()
73 pData->writeInt32(length); in writeBundle()
74 pData->setDataPosition(endPos); in writeBundle()