Searched refs:aLinkedBuffer (Results 1 – 2 of 2) sorted by relevance
1706 Error Client::ReadFromLinkBuffer(const otLinkedBuffer *&aLinkedBuffer, in ReadFromLinkBuffer() argument1727 VerifyOrExit(aLinkedBuffer != nullptr, error = kErrorNotFound); in ReadFromLinkBuffer()1729 if (bytesToRead > aLinkedBuffer->mLength - aOffset) in ReadFromLinkBuffer()1731 bytesToRead = static_cast<uint16_t>(aLinkedBuffer->mLength - aOffset); in ReadFromLinkBuffer()1734 SuccessOrExit(error = aMessage.AppendBytes(&aLinkedBuffer->mData[aOffset], bytesToRead)); in ReadFromLinkBuffer()1739 if (aOffset == aLinkedBuffer->mLength) in ReadFromLinkBuffer()1741 aLinkedBuffer = aLinkedBuffer->mNext; in ReadFromLinkBuffer()
884 Error ReadFromLinkBuffer(const otLinkedBuffer *&aLinkedBuffer,