Lines Matching refs:Entry
28 struct Entry {
29 Entry(ConstString cstr, const T &v) : cstring(cstr), value(v) {}
39 m_map.push_back(typename UniqueCStringMap<T>::Entry(unique_cstr, value));
42 void Append(const Entry &e) { m_map.push_back(e); }
94 const Entry *FindFirstValueForName(ConstString unique_cstr) const {
102 // returned Entry pointer. nullptr will be returned if there is no subsequent
107 const Entry *FindNextValueForName(const Entry *entry_ptr) const {
109 const Entry *first_entry = &m_map[0];
110 const Entry *after_last_entry = first_entry + m_map.size();
111 const Entry *next_entry = entry_ptr + 1;
123 for (const Entry &entry : llvm::make_range(std::equal_range(
161 // my_map.Append (UniqueCStringMap::Entry(GetName(...), GetValue(...)));
180 bool operator()(const Entry &lhs, const Entry &rhs) {
184 bool operator()(const Entry &lhs, ConstString rhs) {
188 bool operator()(ConstString lhs, const Entry &rhs) {
199 typedef std::vector<Entry> collection;