Lines Matching refs:first

41 MAKE_HASHABLE(pair_type, t.first, t.second)
189 …for (auto &&entry : map) PetscCallCXX(oss << " key: [" << this->key_printer(entry.first) << "] … in view_map()
235 auto &key = key_value.first; in test_insert()
243 …p, ret.first->first == key, PETSC_COMM_SELF, PETSC_ERR_PLIB, "%s returned iterator key '%s' != exp… in test_insert()
244 … ret.first->second == value, PETSC_COMM_SELF, PETSC_ERR_PLIB, "%s returned iterator value '%s' != … in test_insert()
302 …y-value pair (%s, %s) not present in input range!", this->key_printer(it->first), this->value_prin… in test_insert()
303 …dex of found key-value pair (%s -> %s) %td is < 0", this->key_printer(it->first), this->value_prin… in test_insert()
310 …%s (value %s), have find count %zu", this->key_printer(key_value_pairs[i].first), this->value_prin… in test_insert()
322 PetscCallCXX(map[key_value.first] = key_value.second); in test_insert()
352 auto it = map.find(saved_value.first); in test_insert()
355 …d::copy() and container went out of scope", this->key_printer(saved_value.first), this->value_prin… in test_insert()
356first == saved_value.first, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Map founnd iterator key (%s) does no… in test_insert()
379 auto &&key = kv.first; in test_find()
384 …MapCheck(map, it->first == key, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Find iterator key %s != expected… in test_find()
391 const auto &range_begin = range.first; in test_find()
395 …ange_begin->first == key, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Equal range iterator key %s != expecte… in test_find()
430 const auto begin_key = it->first; in test_erase()
434 …for (auto &&kv : map) MapCheck(map, kv.first != begin_key, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Erasi… in test_erase()
445 …IB, "Iterator (%s -> %s) occupied after erase", this->key_printer(before->first), this->value_prin… in test_erase()
481 for (auto &&kv : sample_values) PetscCallCXX(map.emplace(kv.first, kv.second)); in test_erase()
504 for (auto &&kv : sample_values) PetscCallCXX(map.erase(kv.first)); in test_erase()
680 … PetscCallCXX(buf = '<' + std::to_string(value.first) + ", " + std::to_string(value.second) + '>'); in main()