Home
last modified time | relevance | path

Searched refs:aBlock (Results 1 – 8 of 8) sorted by relevance

/openthread-latest/src/core/utils/
Dheap.hpp286 Block &BlockNext(const Block &aBlock) { return BlockAt(aBlock.GetNext()); } in BlockNext() argument
296 …Block &BlockRight(const Block &aBlock) { return BlockAt(BlockOffset(aBlock) + sizeof(Block) + aBlo… in BlockRight() argument
304 Block &BlockPrev(const Block &aBlock);
312 …bool IsLeftFree(const Block &aBlock) { return (BlockOffset(aBlock) != kFirstBlockOffset && aBlock.… in IsLeftFree() argument
322 uint16_t BlockOffset(const Block &aBlock) in BlockOffset() argument
324 return static_cast<uint16_t>(reinterpret_cast<const uint8_t *>(&aBlock) - mMemory.m8); in BlockOffset()
336 void BlockInsert(Block &aPrev, Block &aBlock);
Dheap.cpp122 void Heap::BlockInsert(Block &aPrev, Block &aBlock) in BlockInsert() argument
126 …for (Block *block = &BlockNext(*prev); block->GetSize() < aBlock.GetSize(); block = &BlockNext(*bl… in BlockInsert()
131 aBlock.SetNext(prev->GetNext()); in BlockInsert()
132 prev->SetNext(BlockOffset(aBlock)); in BlockInsert()
135 Block &Heap::BlockPrev(const Block &aBlock) in BlockPrev() argument
139 while (prev->GetNext() != BlockOffset(aBlock)) in BlockPrev()
/openthread-latest/src/cli/
Dcli_coap_secure.hpp117 const uint8_t *aBlock,
122 otError BlockwiseReceiveHook(const uint8_t *aBlock,
128 uint8_t *aBlock,
132 …otError BlockwiseTransmitHook(uint8_t *aBlock, uint32_t aPosition, uint16_t *aBlockLength, …
Dcli_coap.hpp123 const uint8_t *aBlock,
128 otError BlockwiseReceiveHook(const uint8_t *aBlock,
134 uint8_t *aBlock,
138 …otError BlockwiseTransmitHook(uint8_t *aBlock, uint32_t aPosition, uint16_t *aBlockLength, …
Dcli_coap_secure.cpp988 const uint8_t *aBlock, in BlockwiseReceiveHook() argument
994 …return static_cast<CoapSecure *>(aContext)->BlockwiseReceiveHook(aBlock, aPosition, aBlockLength, … in BlockwiseReceiveHook()
998 otError CoapSecure::BlockwiseReceiveHook(const uint8_t *aBlock, in BlockwiseReceiveHook() argument
1011 OutputBytesLine(&aBlock[i * 16], 16); in BlockwiseReceiveHook()
1018 uint8_t *aBlock, in BlockwiseTransmitHook() argument
1023 …return static_cast<CoapSecure *>(aContext)->BlockwiseTransmitHook(aBlock, aPosition, aBlockLength,… in BlockwiseTransmitHook()
1026 otError CoapSecure::BlockwiseTransmitHook(uint8_t *aBlock, uint32_t aPosition, uint16_t *aBlockLeng… in BlockwiseTransmitHook() argument
1032 otRandomNonCryptoFillBuffer(aBlock, *aBlockLength); in BlockwiseTransmitHook()
1038 OutputBytesLine(&aBlock[i * 16], 16); in BlockwiseTransmitHook()
Dcli_coap.cpp1111 const uint8_t *aBlock, in BlockwiseReceiveHook() argument
1117 …return static_cast<Coap *>(aContext)->BlockwiseReceiveHook(aBlock, aPosition, aBlockLength, aMore,… in BlockwiseReceiveHook()
1120 otError Coap::BlockwiseReceiveHook(const uint8_t *aBlock, in BlockwiseReceiveHook() argument
1133 OutputBytesLine(&aBlock[i * 16], 16); in BlockwiseReceiveHook()
1140 uint8_t *aBlock, in BlockwiseTransmitHook() argument
1145 …return static_cast<Coap *>(aContext)->BlockwiseTransmitHook(aBlock, aPosition, aBlockLength, aMore… in BlockwiseTransmitHook()
1148 otError Coap::BlockwiseTransmitHook(uint8_t *aBlock, uint32_t aPosition, uint16_t *aBlockLength, bo… in BlockwiseTransmitHook() argument
1154 otRandomNonCryptoFillBuffer(aBlock, *aBlockLength); in BlockwiseTransmitHook()
1160 OutputBytesLine(&aBlock[i * 16], 16); in BlockwiseTransmitHook()
/openthread-latest/src/core/coap/
Dcoap.hpp219 Error HandleBlockReceive(const uint8_t *aBlock, in HandleBlockReceive() argument
225 …return mReceiveHook(otCoapBlockwiseResource::mContext, aBlock, aPosition, aBlockLength, aMore, aTo… in HandleBlockReceive()
228 …Error HandleBlockTransmit(uint8_t *aBlock, uint32_t aPosition, uint16_t *aBlockLength, bool *aMore… in HandleBlockTransmit() argument
230 … return mTransmitHook(otCoapBlockwiseResource::mContext, aBlock, aPosition, aBlockLength, aMore); in HandleBlockTransmit()
/openthread-latest/include/openthread/
Dcoap.h379 const uint8_t *aBlock,
406 uint8_t *aBlock,