| /openthread-latest/src/core/utils/ |
| D | heap.hpp | 74 uint16_t GetSize(void) const { return mSize; } in GetSize() 81 void SetSize(uint16_t aSize) { mSize = aSize; } in SetSize() 95 … reinterpret_cast<const void *>(reinterpret_cast<const uint8_t *>(this) + sizeof(mSize) + mSize)); in GetNext() 108 … reinterpret_cast<void *>(reinterpret_cast<uint8_t *>(this) + sizeof(mSize) + mSize)) = aNext; in SetNext() 123 uint16_t GetLeftNext(void) const { return *(&mSize - 1); } in GetLeftNext() 139 bool IsFree(void) const { return mSize != kGuardBlockSize && GetNext() != 0; } in IsFree() 144 uint16_t mSize; // Number of bytes in mMemory. member in ot::Utils::Block
|
| D | ping_sender.cpp | 45 if (mSize == 0) in SetUnspecifiedToDefault() 47 mSize = kDefaultSize; in SetUnspecifiedToDefault() 138 if (mConfig.mSize > message->GetLength()) in SendPing() 140 SuccessOrExit(message->SetLength(mConfig.mSize)); in SendPing() 148 …Get<Utils::Otns>().EmitPingRequest(mConfig.GetDestination(), mConfig.mSize, now.GetValue(), mConfi… in SendPing() 204 reply.mSize = aMessage.GetLength() - aMessage.GetOffset(); in HandleIcmpReceive() 214 …Get<Utils::Otns>().EmitPingReply(aMessageInfo.GetPeerAddr(), reply.mSize, timestamp, reply.mHopLim… in HandleIcmpReceive()
|
| D | history_tracker.cpp | 509 , mSize(0) in List() 516 mSize = 0; in Clear() 529 mSize += (mSize == aMaxSize) ? 0 : 1; in Add() 544 VerifyOrExit(aIterator.GetEntryNumber() < mSize, error = kErrorNotFound); in Iterate() 565 OT_ASSERT(aEntryNumber < mSize); in MapEntryNumberToListIndex() 587 for (uint16_t entryNumber = mSize - 1; entryNumber < mSize; entryNumber--) in UpdateAgedEntries()
|
| D | history_tracker.hpp | 322 uint16_t GetSize(void) const { return mSize; } in GetSize() 337 uint16_t mSize; member in ot::Utils::HistoryTracker::List
|
| /openthread-latest/tests/unit/ |
| D | test_heap.cpp | 86 size_t mSize; in TestAllocateRandomly() member 112 last->mSize = size; in TestAllocateRandomly() 130 printf("TestAllocateRandomly freeing %zu bytes...\n", curr->mSize); in TestAllocateRandomly() 148 printf("TestAllocateRandomly freeing %zu bytes...\n", last->mSize); in TestAllocateRandomly()
|
| /openthread-latest/include/openthread/ |
| D | ping_sender.h | 64 …uint16_t mSize; ///< Data size (number of bytes) in reply (excluding IPv6 and ICMP6 … member 110 …uint16_t mSize; ///< Data size (# of bytes) excludes IPv6/ICMPv6 header. Zero for de… member
|
| D | tcp.h | 238 … uint8_t mSize[OT_TCP_ENDPOINT_TCB_SIZE_BASE + OT_TCP_ENDPOINT_TCB_NUM_PTR * sizeof(void *)]; member 644 uint8_t mSize[OT_TCP_LISTENER_TCB_SIZE_BASE + OT_TCP_LISTENER_TCB_NUM_PTR * sizeof(void *)]; member
|
| /openthread-latest/src/core/common/ |
| D | string.hpp | 410 bool IsTruncated(void) const { return mLength >= mSize; } in IsTruncated() 426 uint16_t GetSize(void) const { return mSize; } in GetSize() 479 const uint16_t mSize; member in ot::StringWriter
|
| D | string.cpp | 311 , mSize(aSize) in StringWriter() 337 len = vsnprintf(mBuffer + mLength, (mSize > mLength ? (mSize - mLength) : 0), aFormat, aArgs); in AppendVarArgs() 344 mBuffer[mSize - 1] = kNullChar; in AppendVarArgs()
|
| /openthread-latest/src/core/thread/ |
| D | network_data.hpp | 575 , mSize(aSize) in MutableNetworkData() 587 uint8_t GetSize(void) const { return mSize; } in GetSize() 678 bool CanInsert(uint16_t aSize) const { return (mLength + aSize <= mSize); } in CanInsert() 725 uint8_t mSize; member in ot::NetworkData::MutableNetworkData
|
| D | lowpan.hpp | 544 uint16_t GetDatagramSize(void) const { return mSize; } in GetDatagramSize() 578 uint16_t mSize; member in ot::Lowpan::FragmentHeader
|
| D | lowpan.cpp | 1224 mSize = BigEndian::ReadUint16(aFrame + kSizeIndex) & kSizeMask; in ParseFrom()
|
| /openthread-latest/src/cli/ |
| D | cli_ping.cpp | 109 SuccessOrExit(error = aArgs[1].ParseAsUint16(config.mSize)); in Process() 210 OutputFormat("%u bytes from ", static_cast<uint16_t>(aReply->mSize + sizeof(otIcmp6Header))); in HandlePingReply()
|