Home
last modified time | relevance | path

Searched refs:mSize (Results 1 – 13 of 13) sorted by relevance

/openthread-latest/src/core/utils/
Dheap.hpp74 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
Dping_sender.cpp45 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()
Dhistory_tracker.cpp509 , 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()
Dhistory_tracker.hpp322 uint16_t GetSize(void) const { return mSize; } in GetSize()
337 uint16_t mSize; member in ot::Utils::HistoryTracker::List
/openthread-latest/tests/unit/
Dtest_heap.cpp86 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/
Dping_sender.h64 …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
Dtcp.h238 … 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/
Dstring.hpp410 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
Dstring.cpp311 , 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/
Dnetwork_data.hpp575 , 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
Dlowpan.hpp544 uint16_t GetDatagramSize(void) const { return mSize; } in GetDatagramSize()
578 uint16_t mSize; member in ot::Lowpan::FragmentHeader
Dlowpan.cpp1224 mSize = BigEndian::ReadUint16(aFrame + kSizeIndex) & kSizeMask; in ParseFrom()
/openthread-latest/src/cli/
Dcli_ping.cpp109 SuccessOrExit(error = aArgs[1].ParseAsUint16(config.mSize)); in Process()
210 OutputFormat("%u bytes from ", static_cast<uint16_t>(aReply->mSize + sizeof(otIcmp6Header))); in HandlePingReply()