/openthread-3.7.0/examples/platforms/utils/ |
D | logging_rtt.c | 101 static inline int logTimestamp(char *aLogString, uint16_t aMaxSize) in logTimestamp() argument 104 return snprintf(aLogString, (size_t)aMaxSize, "%s[%010lu]", RTT_COLOR_CODE_CYAN, now); in logTimestamp() 117 static inline int logLevel(char *aLogString, uint16_t aMaxSize, otLogLevel aLogLevel) in logLevel() argument 119 return snprintf(aLogString, (size_t)aMaxSize, "%s ", levelToString(aLogLevel)); in logLevel()
|
/openthread-3.7.0/src/core/utils/ |
D | history_tracker.cpp | 527 uint16_t HistoryTracker::List::Add(uint16_t aMaxSize, Timestamp aTimestamps[]) in Add() argument 536 mStartIndex = (mStartIndex == 0) ? aMaxSize - 1 : mStartIndex - 1; in Add() 537 mSize += (mSize == aMaxSize) ? 0 : 1; in Add() 544 Error HistoryTracker::List::Iterate(uint16_t aMaxSize, in Iterate() argument 554 aListIndex = MapEntryNumberToListIndex(aIterator.GetEntryNumber(), aMaxSize); in Iterate() 563 uint16_t HistoryTracker::List::MapEntryNumberToListIndex(uint16_t aEntryNumber, uint16_t aMaxSize) … in MapEntryNumberToListIndex() 576 index -= (index >= aMaxSize) ? aMaxSize : 0; in MapEntryNumberToListIndex() 581 void HistoryTracker::List::UpdateAgedEntries(uint16_t aMaxSize, Timestamp aTimestamps[]) in UpdateAgedEntries() argument 597 uint16_t index = MapEntryNumberToListIndex(entryNumber, aMaxSize); in UpdateAgedEntries()
|
D | history_tracker.hpp | 339 uint16_t Add(uint16_t aMaxSize, Timestamp aTimestamps[]); 340 void UpdateAgedEntries(uint16_t aMaxSize, Timestamp aTimestamps[]); 341 uint16_t MapEntryNumberToListIndex(uint16_t aEntryNumber, uint16_t aMaxSize) const; 342 Error Iterate(uint16_t aMaxSize,
|
/openthread-3.7.0/src/core/common/ |
D | tlvs.cpp | 59 Error Tlv::FindTlv(const Message &aMessage, uint8_t aType, uint16_t aMaxSize, Tlv &aTlv) in FindTlv() argument 63 return FindTlv(aMessage, aType, aMaxSize, aTlv, offset); in FindTlv() 66 Error Tlv::FindTlv(const Message &aMessage, uint8_t aType, uint16_t aMaxSize, Tlv &aTlv, uint16_t &… in FindTlv() argument 73 if (aMaxSize > info.mSize) in FindTlv() 75 aMaxSize = info.mSize; in FindTlv() 78 aMessage.ReadBytes(info.mOffset, &aTlv, aMaxSize); in FindTlv()
|
D | tlvs.hpp | 334 static Error FindTlv(const Message &aMessage, uint8_t aType, uint16_t aMaxSize, Tlv &aTlv); 351 …static Error FindTlv(const Message &aMessage, uint8_t aType, uint16_t aMaxSize, Tlv &aTlv, uint16_…
|
/openthread-3.7.0/src/core/meshcop/ |
D | network_name.cpp | 43 uint8_t NameData::CopyTo(char *aBuffer, uint8_t aMaxSize) const in CopyTo() 47 destData.Init(aBuffer, aMaxSize); in CopyTo()
|
D | network_name.hpp | 100 uint8_t CopyTo(char *aBuffer, uint8_t aMaxSize) const;
|
/openthread-3.7.0/src/core/net/ |
D | ip6_address.cpp | 140 uint8_t Prefix::MatchLength(const uint8_t *aPrefixA, const uint8_t *aPrefixB, uint8_t aMaxSize) in MatchLength() argument 144 OT_ASSERT(aMaxSize <= Address::kSize); in MatchLength() 146 for (uint8_t i = 0; i < aMaxSize; i++) in MatchLength()
|
D | ip6_address.hpp | 296 static uint8_t MatchLength(const uint8_t *aPrefixA, const uint8_t *aPrefixB, uint8_t aMaxSize);
|
D | mdns.hpp | 579 void SetMaxMessageSize(uint16_t aMaxSize) { mMaxMessageSize = aMaxSize; } in SetMaxMessageSize() argument
|