Lines Matching refs:mDataCapacity
432 return mDataCapacity;
472 if (size > mDataCapacity) return continueWrite(size);
532 if ((mDataSize+len) > mDataCapacity) {
710 if (end <= mDataCapacity) {
752 if ((mDataPos+padded) <= mDataCapacity) {
1314 const bool enoughData = (mDataPos+sizeof(val)) <= mDataCapacity;
1430 if ((mDataPos+sizeof(val)) <= mDataCapacity) {
2202 mDataSize = mDataCapacity = dataSize;
2294 LOG_ALLOC("Parcel %p: freeing with %zu capacity", this, mDataCapacity);
2296 if (mDataCapacity <= gParcelGlobalAllocSize) {
2297 gParcelGlobalAllocSize = gParcelGlobalAllocSize - mDataCapacity;
2339 if (!data && desired > mDataCapacity) {
2347 LOG_ALLOC("Parcel %p: restart from %zu to %zu capacity", this, mDataCapacity, desired);
2350 gParcelGlobalAllocSize -= mDataCapacity;
2356 mDataCapacity = desired;
2450 mDataCapacity = desired;
2477 if (desired > mDataCapacity) {
2480 LOG_ALLOC("Parcel %p: continue from %zu to %zu capacity", this, mDataCapacity,
2484 gParcelGlobalAllocSize -= mDataCapacity;
2487 mDataCapacity = desired;
2488 } else if (desired > mDataCapacity) {
2511 if(!(mDataCapacity == 0 && mObjects == NULL
2513 ALOGE("continueWrite: %zu/%p/%zu/%zu", mDataCapacity, mObjects, mObjectsCapacity, desired);
2526 mDataCapacity = desired;
2538 mDataCapacity = 0;