Home
last modified time | relevance | path

Searched defs:Entry (Results 1 – 17 of 17) sorted by relevance

/openthread-latest/tests/unit/
Dtest_linked_list.cpp50 struct Entry : public EntryBase, LinkedListEntry<Entry> struct
53 enum class Type : uint8_t
59 Entry(const char *aName, uint16_t aId, Type aType = Type::kAlpha) in Entry() argument
67 const char *GetName(void) const { return mName; } in GetName()
68 uint16_t GetId(void) const { return mId; } in GetId()
69 bool Matches(const char *aName) const { return strcmp(mName, aName) == 0; } in Matches()
70 bool Matches(uint16_t aId) const { return mId == aId; } in Matches()
71 bool Matches(Type aType) const { return mType == aType; } in Matches()
72 bool Matches(Type aType, uint16_t aId) const { return (mType == aType) && (mId == aId); } in Matches()
73 void Free(void) { mWasFreed = true; } in Free()
[all …]
Dtest_binary_search.cpp45 struct Entry in TestBinarySearch() struct
47 int Compare(const char *aName) const { return strcmp(aName, mName); } in TestBinarySearch()
49 constexpr static bool AreInOrder(const Entry &aFirst, const Entry &aSecond) in TestBinarySearch()
54 const char *mName; in TestBinarySearch()
55 uint8_t mRank; in TestBinarySearch()
Dtest_pool.cpp45 struct Entry : public EntryBase, LinkedListEntry<Entry> struct
48 Entry(void) in Entry() argument
53 void Init(Instance &) { mInitWithInstance = true; } in Init()
55 bool IsInitializedWithInstance(void) const { return mInitWithInstance; } in IsInitializedWithInstance()
58 bool mInitWithInstance;
Dtest_array.cpp187 struct Entry : public Unequatable<Entry> in TestArrayCopyAndFindMatching() struct
191 Entry(const char *aName, uint16_t aYear) in TestArrayCopyAndFindMatching() argument
197 …perator==(const Entry &aOther) const { return (mName == aOther.mName) && (mYear == aOther.mYear); } in TestArrayCopyAndFindMatching()
198 bool Matches(const char *aName) const { return strcmp(aName, mName) == 0; } in TestArrayCopyAndFindMatching()
199 bool Matches(uint16_t aYear) const { return aYear == mYear; } in TestArrayCopyAndFindMatching()
201 bool Matches(MatchMode aMatchMode) const in TestArrayCopyAndFindMatching()
224 const char *mName; in TestArrayCopyAndFindMatching()
225 uint16_t mYear; in TestArrayCopyAndFindMatching()
Dtest_heap_array.cpp49 class Entry class
52 Entry(void) in Entry() function in ot::Entry
59 explicit Entry(uint16_t aValue) in Entry() function in ot::Entry
66 Entry(const Entry &aEntry) in Entry() function in ot::Entry
106 template <> void VerifyEntry(const Entry &aEntry, const Heap::Array<Entry, 2> &aArray, int aExpecte… in VerifyEntry()
/openthread-latest/tests/nexus/platform/
Dnexus_settings.hpp59 struct Entry : public Heap::Allocatable<Entry>, public LinkedListEntry<Entry> struct
61 struct Value : public Heap::Allocatable<Value>, public LinkedListEntry<Value>
69 bool Matches(uint16_t aKey) const { return mKey == aKey; } in Matches()
71 Entry *mNext;
72 uint16_t mKey;
73 OwningList<Value> mValues;
/openthread-latest/src/ncp/
Dchanged_props_set.hpp58 struct Entry struct in ot::Ncp::ChangedPropsSet
60 spinel_prop_key_t mPropKey; ///< The spinel property key.
61 … spinel_status_t mStatus; ///< The spinel status (used only if prop key is `LAST_STATUS`).
62 bool mFilterable; ///< Indicates whether the entry can be filtered
/openthread-latest/src/core/thread/
Duri_paths.cpp42 struct Entry struct
44 const char *mPath;
46 constexpr static bool AreInOrder(const Entry &aFirst, const Entry &aSecond) in AreInOrder()
51 int Compare(const char *aPath) const { return strcmp(aPath, mPath); } in Compare()
Dnetwork_data_publisher.hpp320 class Entry : public InstanceLocatorInit class in ot::NetworkData::Publisher
342 Entry(void) in Entry() function in ot::NetworkData::Publisher::Entry
/openthread-latest/src/core/net/
Ddns_dso.hpp682 struct Entry struct in ot::Dns::Dso::Connection::PendingRequests
684 bool Matches(MessageId aMessageId) const { return mMessageId == aMessageId; } in Matches()
686 MessageId mMessageId;
687 Tlv::Type mPrimaryTlvType;
688 TimeMilli mTimeout; // Latest time by which a response is expected.
Dmdns.hpp937 class Entry : public InstanceLocatorInit, public FireTime, private NonCopyable class in ot::Dns::Multicast::Core
Dmdns.cpp966 Core::Entry::Entry(void) in Entry() function in ot::Dns::Multicast::Core::Entry
/openthread-latest/src/core/mac/
Dmac_filter.hpp69 typedef otMacFilterEntry Entry; typedef in ot::Mac::Filter
/openthread-latest/src/core/common/
Dstring.hpp519 class Entry class in ot::Stringify
/openthread-latest/src/core/utils/
Dhistory_tracker.hpp373 void AddNewEntry(const Entry &) {} in AddNewEntry()
/openthread-latest/src/core/border_router/
Drouting_manager.hpp872 struct Entry : public Type, struct in ot::BorderRouter::RoutingManager::RxRaTracker
881 void Init(Instance &aInstance) { InstanceLocatorInit::Init(aInstance); } in Init()
885 Entry<Type> *mNext;
/openthread-latest/src/core/meshcop/
Dmeshcop_tlvs.hpp666 class Entry class in ot::MeshCoP::ChannelMaskTlv