Lines Matching refs:mDataSize
279 return (mDataSize > mDataPos ? mDataSize : mDataPos); in dataSize()
312 mDataSize = size; in setDataSize()
313 ALOGV("setDataSize Setting data size of %p to %zu", this, mDataSize); in setDataSize()
353 mDataSize = len; in setData()
409 if (mDataPos > mDataSize) { in finishWrite()
410 mDataSize = mDataPos; in finishWrite()
411 ALOGV("finishWrite Setting data size of %p to %zu", this, mDataSize); in finishWrite()
895 if ((mDataPos+pad_size(len)) >= mDataPos && (mDataPos+pad_size(len)) <= mDataSize in read()
913 if ((mDataPos+pad_size(len)) >= mDataPos && (mDataPos+pad_size(len)) <= mDataSize in readInplace()
927 if ((mDataPos+sizeof(T)) <= mDataSize) { in readAligned()
1110 if (mDataPos < mDataSize) { in readCString()
1111 const size_t avail = mDataSize-mDataPos; in readCString()
1215 if ((DPOS+sizeof(T)) <= mDataSize) { in readObject()
1537 return mDataSize > mDataPos ? mDataSize : mDataPos; in ipcDataSize()
1582 mDataSize = mDataCapacity = dataSize; in ipcSetDataReference()
1679 mOwner(this, mData, mDataSize, mObjects, mObjectsSize, mOwnerCookie); in freeDataNoInit()
1700 if (len > SIZE_MAX - mDataSize) return NO_MEMORY; // overflow in growData()
1701 if (mDataSize + len > SIZE_MAX / 3) return NO_MEMORY; // overflow in growData()
1702 size_t newSize = ((mDataSize+len)*3)/2; in growData()
1742 mDataSize = mDataPos = 0; in restartWrite()
1743 ALOGV("restartWrite Setting data size of %p to %zu", this, mDataSize); in restartWrite()
1769 if (desired < mDataSize) { in continueWrite()
1815 memcpy(data, mData, mDataSize < desired ? mDataSize : desired); in continueWrite()
1821 mOwner(this, mData, mDataSize, mObjects, mObjectsSize, mOwnerCookie); in continueWrite()
1830 mDataSize = (mDataSize < desired) ? mDataSize : desired; in continueWrite()
1831 ALOGV("continueWrite Setting data size of %p to %zu", this, mDataSize); in continueWrite()
1876 if (mDataSize > desired) { in continueWrite()
1877 mDataSize = desired; in continueWrite()
1878 ALOGV("continueWrite Setting data size of %p to %zu", this, mDataSize); in continueWrite()
1904 mDataSize = mDataPos = 0; in continueWrite()
1905 ALOGV("continueWrite Setting data size of %p to %zu", this, mDataSize); in continueWrite()
1918 mDataSize = 0; in initState()
1921 ALOGV("initState Setting data size of %p to %zu", this, mDataSize); in initState()