/openthread-latest/tests/unit/ |
D | test_linked_list.cpp | 50 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 …]
|
D | test_binary_search.cpp | 45 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()
|
D | test_pool.cpp | 45 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;
|
D | test_array.cpp | 187 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()
|
D | test_heap_array.cpp | 49 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/ |
D | nexus_settings.hpp | 59 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/ |
D | changed_props_set.hpp | 58 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/ |
D | uri_paths.cpp | 42 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()
|
D | network_data_publisher.hpp | 320 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/ |
D | dns_dso.hpp | 682 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.
|
D | mdns.hpp | 937 class Entry : public InstanceLocatorInit, public FireTime, private NonCopyable class in ot::Dns::Multicast::Core
|
D | mdns.cpp | 966 Core::Entry::Entry(void) in Entry() function in ot::Dns::Multicast::Core::Entry
|
/openthread-latest/src/core/mac/ |
D | mac_filter.hpp | 69 typedef otMacFilterEntry Entry; typedef in ot::Mac::Filter
|
/openthread-latest/src/core/common/ |
D | string.hpp | 519 class Entry class in ot::Stringify
|
/openthread-latest/src/core/utils/ |
D | history_tracker.hpp | 373 void AddNewEntry(const Entry &) {} in AddNewEntry()
|
/openthread-latest/src/core/border_router/ |
D | routing_manager.hpp | 872 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/ |
D | meshcop_tlvs.hpp | 666 class Entry class in ot::MeshCoP::ChannelMaskTlv
|