/openthread-latest/src/core/utils/ |
D | heap.hpp | 286 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);
|
D | heap.cpp | 122 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/ |
D | cli_coap_secure.hpp | 117 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, …
|
D | cli_coap.hpp | 123 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, …
|
D | cli_coap_secure.cpp | 988 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()
|
D | cli_coap.cpp | 1111 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/ |
D | coap.hpp | 219 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/ |
D | coap.h | 379 const uint8_t *aBlock, 406 uint8_t *aBlock,
|