Lines Matching defs:Entry
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() function
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()
75 void ResetTestFlags(void) { mWasFreed = false; } in ResetTestFlags()
76 bool WasFreed(void) const { return mWasFreed; } in WasFreed()
79 const char *mName;
80 uint16_t mId;
81 Type mType;
82 bool mWasFreed;