Home
last modified time | relevance | path

Searched refs:aBufPtr (Results 1 – 2 of 2) sorted by relevance

/external/openthread/src/lib/spinel/
Dspinel_buffer.cpp128 uint8_t *Buffer::GetUpdatedBufPtr(uint8_t *aBufPtr, uint16_t aOffset, Direction aDirection) const in GetUpdatedBufPtr() argument
130 uint8_t *ptr = aBufPtr; in GetUpdatedBufPtr()
206 void Buffer::WriteUint16At(uint8_t *aBufPtr, uint16_t aValue, Direction aDirection) in WriteUint16At() argument
208 *aBufPtr = (aValue >> 8); in WriteUint16At()
209 *GetUpdatedBufPtr(aBufPtr, 1, aDirection) = (aValue & 0xff); in WriteUint16At()
213 uint16_t Buffer::ReadUint16At(uint8_t *aBufPtr, Direction aDirection) in ReadUint16At() argument
217 value = static_cast<uint16_t>((*aBufPtr) << 8); in ReadUint16At()
218 value += *GetUpdatedBufPtr(aBufPtr, 1, aDirection); in ReadUint16At()
Dspinel_buffer.hpp599 uint8_t *GetUpdatedBufPtr(uint8_t *aBufPtr, uint16_t aOffset, Direction aDirection) const;
602 uint16_t ReadUint16At(uint8_t *aBufPtr, Direction aDirection);
603 void WriteUint16At(uint8_t *aBufPtr, uint16_t aValue, Direction aDirection);