Home | History | Annotate | Download | only in xla

Lines Matching defs:it

29 // the given key if it exists. Crashes otherwise.
37 typename Collection::const_iterator it = collection.find(key);
38 CHECK(it != collection.end()) << "Map key not found: " << key;
39 return it->second;
47 typename Collection::iterator it = collection.find(key);
48 CHECK(it != collection.end()) << "Map key not found: " << key;
49 return it->second;
59 typename Collection::const_iterator it = collection.find(key);
60 if (it == collection.end()) {
65 return {it->second};
68 // Returns a const reference to the value associated with the given key if it
76 // or store it in a string (not string&).
82 auto it = collection.find(key);
83 if (it != collection.end()) return it->second;
103 // Inserts `value` into `set`. Dies if it was already present.