Lines Matching refs:mDataCapacity
369 return mDataCapacity;
409 if (size > mDataCapacity) return continueWrite(size);
469 if ((mDataSize+len) > mDataCapacity) {
647 if (end <= mDataCapacity) {
689 if ((mDataPos+padded) <= mDataCapacity) {
1011 const bool enoughData = (mDataPos+sizeof(val)) <= mDataCapacity;
1126 if ((mDataPos+sizeof(val)) <= mDataCapacity) {
1554 mDataSize = mDataCapacity = dataSize;
1646 LOG_ALLOC("Parcel %p: freeing with %zu capacity", this, mDataCapacity);
1648 gParcelGlobalAllocSize -= mDataCapacity;
1685 if (!data && desired > mDataCapacity) {
1693 LOG_ALLOC("Parcel %p: restart from %zu to %zu capacity", this, mDataCapacity, desired);
1696 gParcelGlobalAllocSize -= mDataCapacity;
1699 mDataCapacity = desired;
1793 mDataCapacity = desired;
1820 if (desired > mDataCapacity) {
1823 LOG_ALLOC("Parcel %p: continue from %zu to %zu capacity", this, mDataCapacity,
1827 gParcelGlobalAllocSize -= mDataCapacity;
1830 mDataCapacity = desired;
1831 } else if (desired > mDataCapacity) {
1854 if(!(mDataCapacity == 0 && mObjects == NULL
1856 ALOGE("continueWrite: %zu/%p/%zu/%zu", mDataCapacity, mObjects, mObjectsCapacity, desired);
1869 mDataCapacity = desired;
1881 mDataCapacity = 0;