MCPcopy Create free account
hub / github.com/chromium/crashpad / Next

Method Next

client/simple_string_dictionary.h:89–97  ·  view source on GitHub ↗

\brief Returns the next entry in the map, or `nullptr` if at the end of the collection.

Source from the content-addressed store, hash-verified

87 //! \brief Returns the next entry in the map, or `nullptr` if at the end of
88 //! the collection.
89 const Entry* Next() {
90 while (current_ < map_.num_entries) {
91 const Entry* entry = &map_.entries_[current_++];
92 if (entry->is_active()) {
93 return entry;
94 }
95 }
96 return nullptr;
97 }
98
99 private:
100 const TSimpleStringDictionary& map_;

Callers

nothing calls this directly

Calls 1

is_activeMethod · 0.45

Tested by

no test coverage detected