Home
last modified time | relevance | path

Searched refs:aMaxSize (Results 1 – 10 of 10) sorted by relevance

/openthread-3.7.0/examples/platforms/utils/
Dlogging_rtt.c101 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/
Dhistory_tracker.cpp527 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()
Dhistory_tracker.hpp339 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/
Dtlvs.cpp59 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()
Dtlvs.hpp334 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/
Dnetwork_name.cpp43 uint8_t NameData::CopyTo(char *aBuffer, uint8_t aMaxSize) const in CopyTo()
47 destData.Init(aBuffer, aMaxSize); in CopyTo()
Dnetwork_name.hpp100 uint8_t CopyTo(char *aBuffer, uint8_t aMaxSize) const;
/openthread-3.7.0/src/core/net/
Dip6_address.cpp140 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()
Dip6_address.hpp296 static uint8_t MatchLength(const uint8_t *aPrefixA, const uint8_t *aPrefixB, uint8_t aMaxSize);
Dmdns.hpp579 void SetMaxMessageSize(uint16_t aMaxSize) { mMaxMessageSize = aMaxSize; } in SetMaxMessageSize() argument