Searched refs:mOwnsBuffer (Results 1 – 2 of 2) sorted by relevance
139 hidl_string::hidl_string() : mBuffer(kEmptyString), mSize(0), mOwnsBuffer(false) { in hidl_string()224 mOwnsBuffer = false; in copyFrom()234 mOwnsBuffer = true; in copyFrom()242 mOwnsBuffer = other.mOwnsBuffer; in moveFrom()244 other.mOwnsBuffer = false; in moveFrom()249 if (mOwnsBuffer && (mBuffer != kEmptyString)) { in clear()255 mOwnsBuffer = false; in clear()274 mOwnsBuffer = false; in setToExternal()
183 bool mOwnsBuffer; // if true then mBuffer is a mutable char * member339 hidl_vec() : mBuffer(nullptr), mSize(0), mOwnsBuffer(false) { in hidl_vec()375 mOwnsBuffer = true; in hidl_vec()384 if (mOwnsBuffer) { in ~hidl_vec()394 if (mOwnsBuffer) {402 mOwnsBuffer = shouldOwn;414 if (!mOwnsBuffer && mBuffer != nullptr) { in releaseData()417 mOwnsBuffer = false; in releaseData()422 if (mOwnsBuffer) {427 mOwnsBuffer = other.mOwnsBuffer;[all …]