Lines Matching refs:mDataSize
305 return (mDataSize > mDataPos ? mDataSize : mDataPos);
334 mDataSize = size;
335 ALOGV("setDataSize Setting data size of %p to %d\n", this, mDataSize);
357 mDataSize = len;
378 if ((offset > parcel->mDataSize)
379 || (len > parcel->mDataSize)
380 || (offset + len > parcel->mDataSize)) {
396 if ((mDataSize+len) > mDataCapacity) {
407 mDataSize += len;
540 if (mDataPos > mDataSize) {
541 mDataSize = mDataPos;
542 ALOGV("finishWrite Setting data size of %p to %d\n", this, mDataSize);
544 //printf("New pos=%d, size=%d\n", mDataPos, mDataSize);
911 if ((mDataPos+PAD_SIZE(len)) >= mDataPos && (mDataPos+PAD_SIZE(len)) <= mDataSize
923 if ((mDataPos+PAD_SIZE(len)) >= mDataPos && (mDataPos+PAD_SIZE(len)) <= mDataSize
937 if ((mDataPos+sizeof(T)) <= mDataSize) {
1057 const size_t avail = mDataSize-mDataPos;
1235 if ((DPOS+sizeof(flat_binder_object)) <= mDataSize) {
1317 return (mDataSize > mDataPos ? mDataSize : mDataPos);
1337 mDataSize = mDataCapacity = dataSize;
1338 //ALOGI("setDataReference Setting data size of %p to %lu (pid=%d)\n", this, mDataSize, getpid());
1423 mOwner(this, mData, mDataSize, mObjects, mObjectsSize, mOwnerCookie);
1433 size_t newSize = ((mDataSize+len)*3)/2;
1434 return (newSize <= mDataSize)
1459 mDataSize = mDataPos = 0;
1460 ALOGV("restartWrite Setting data size of %p to %d\n", this, mDataSize);
1479 if (desired < mDataSize) {
1525 memcpy(data, mData, mDataSize < desired ? mDataSize : desired);
1531 mOwner(this, mData, mDataSize, mObjects, mObjectsSize, mOwnerCookie);
1536 mDataSize = (mDataSize < desired) ? mDataSize : desired;
1537 ALOGV("continueWrite Setting data size of %p to %d\n", this, mDataSize);
1575 if (mDataSize > desired) {
1576 mDataSize = desired;
1577 ALOGV("continueWrite Setting data size of %p to %d\n", this, mDataSize);
1599 mDataSize = mDataPos = 0;
1600 ALOGV("continueWrite Setting data size of %p to %d\n", this, mDataSize);
1612 mDataSize = 0;
1615 ALOGV("initState Setting data size of %p to %d\n", this, mDataSize);