Lines Matching refs:mDesc
216 const Descriptor* getDesc() const { return mDesc.get(); } in getDesc()
435 std::unique_ptr<Descriptor> mDesc; member
583 if ((mDesc == nullptr) || !mDesc->isHandleValid() || in initMemory()
584 (mDesc->countGrantors() < Descriptor::kMinGrantorCount) || in initMemory()
585 (mDesc->getQuantum() != sizeof(T))) { in initMemory()
625 mDesc = std::unique_ptr<Descriptor>(new (std::nothrow) Descriptor(Desc)); in MessageQueue()
626 if (mDesc == nullptr) { in MessageQueue()
678 mDesc = std::unique_ptr<Descriptor>(new (std::nothrow) Descriptor(kQueueSizeBytes, in MessageQueue()
682 if (mDesc == nullptr) { in MessageQueue()
957 return mDesc->getSize() - availableToReadBytes(); in availableToWriteBytes()
984 size_t writeOffset = writePtr % mDesc->getSize(); in beginWrite()
990 size_t contiguousMessages = (mDesc->getSize() - writeOffset) / sizeof(T); in beginWrite()
1072 if (writePtr - readPtr > mDesc->getSize()) { in beginRead()
1085 size_t readOffset = readPtr % mDesc->getSize(); in beginRead()
1090 size_t contiguousMessages = (mDesc->getSize() - readOffset) / sizeof(T); in beginRead()
1127 if (writePtr - readPtr > mDesc->getSize()) { in commitRead()
1140 return mDesc->getQuantum(); in getQuantumSize()
1145 return mDesc->getSize() / mDesc->getQuantum(); in getQuantumCount()
1155 const native_handle_t* handle = mDesc->handle(); in mapGrantorDescr()
1156 auto grantors = mDesc->grantors(); in mapGrantorDescr()
1180 auto grantors = mDesc->grantors(); in unmapGrantorDescr()