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()226 mOwnsBuffer = true; in copyFrom()234 mOwnsBuffer = other.mOwnsBuffer; in moveFrom()236 other.mOwnsBuffer = false; in moveFrom()241 if (mOwnsBuffer && (mBuffer != kEmptyString)) { in clear()247 mOwnsBuffer = false; in clear()266 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 …]