• Home
  • Raw
  • Download

Lines Matching refs:mBuffer

181     details::hidl_pointer<const char> mBuffer;
339 hidl_vec() : mBuffer(nullptr), mSize(0), mOwnsBuffer(false) { in hidl_vec()
374 mBuffer = new T[mSize](); in hidl_vec()
379 mBuffer[idx++] = static_cast<T>(*first); in hidl_vec()
385 delete[] mBuffer; in ~hidl_vec()
387 mBuffer = nullptr; in ~hidl_vec()
395 delete [] mBuffer;
397 mBuffer = data;
406 return mBuffer; in data()
410 return mBuffer; in data()
414 if (!mOwnsBuffer && mBuffer != nullptr) { in releaseData()
418 return mBuffer; in releaseData()
423 delete[] mBuffer;
425 mBuffer = other.mBuffer;
435 delete[] mBuffer;
446 delete[] mBuffer;
457 delete[] mBuffer;
460 mBuffer = new T[mSize]();
465 mBuffer[idx++] = *it;
474 v[i] = mBuffer[i];
485 if (!(mBuffer[i] == other.mBuffer[i])) {
502 return mBuffer[index];
506 return mBuffer[index];
517 newBuffer[i] = std::move(mBuffer[i]); in resize()
521 delete[] mBuffer; in resize()
523 mBuffer = newBuffer; in resize()
583 details::hidl_pointer<T> mBuffer;
594 mBuffer = new T[size](); in copyFrom()
596 mBuffer[i] = data[i]; in copyFrom()
599 mBuffer = nullptr; in copyFrom()
605 const size_t hidl_vec<T>::kOffsetOfBuffer = offsetof(hidl_vec<T>, mBuffer);
748 mBuffer[i] = source[i];
754 details::accessor<T, SIZE1, SIZES...> modifier(mBuffer);
761 T *data() { return mBuffer; }
762 const T *data() const { return mBuffer; }
766 &mBuffer[index * details::product<SIZES...>::value]);
771 &mBuffer[index * details::product<SIZES...>::value]);
777 if (!(mBuffer[i] == other.mBuffer[i])) {
799 return details::const_accessor<T, SIZE1, SIZES...>(mBuffer);
803 T mBuffer[elementCount()];
819 mBuffer[i] = source[i];
829 T *data() { return mBuffer; }
830 const T *data() const { return mBuffer; }
833 return mBuffer[index];
837 return mBuffer[index];
843 if (!(mBuffer[i] == other.mBuffer[i])) {
861 array[i] = mBuffer[i];
867 T mBuffer[SIZE1];