Lines Matching refs:second
41 MAKE_HASHABLE(pair_type, t.first, t.second)
189 …y: [" << this->key_printer(entry.first) << "] -> [" << this->value_printer(entry.second) << "]\n"); in view_map()
236 auto &value = key_value.second; in test_insert()
242 …MapCheck(map, !ret.second, PETSC_COMM_SELF, PETSC_ERR_PLIB, "%s reinserted key '%s'", op, this->ke… in test_insert()
244 …rst->second == value, PETSC_COMM_SELF, PETSC_ERR_PLIB, "%s returned iterator value '%s' != expecte… in test_insert()
302 …, %s) not present in input range!", this->key_printer(it->first), this->value_printer(it->second)); in test_insert()
303 …> %s) %td is < 0", this->key_printer(it->first), this->value_printer(it->second), static_cast<std:… in test_insert()
310 …rinter(key_value_pairs[i].first), this->value_printer(key_value_pairs[i].second), found_key_value[… in test_insert()
322 PetscCallCXX(map[key_value.first] = key_value.second); in test_insert()
355 …went out of scope", this->key_printer(saved_value.first), this->value_printer(saved_value.second)); in test_insert()
357 …second == saved_value.second, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Map founnd iterator value (%s) doe… in test_insert()
380 auto &&value = kv.second; in test_find()
385 …pCheck(map, it->second == value, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Find iterator value %s != expec… in test_find()
392 const auto range_size = std::distance(range_begin, range.second); in test_find()
396 …_begin->second == value, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Equal range iterator value %s != expect… in test_find()
431 const auto begin_val = it->second; in test_erase()
445 … %s) occupied after erase", this->key_printer(before->first), this->value_printer(before->second)); in test_erase()
481 for (auto &&kv : sample_values) PetscCallCXX(map.emplace(kv.first, kv.second)); in test_erase()
680 … PetscCallCXX(buf = '<' + std::to_string(value.first) + ", " + std::to_string(value.second) + '>'); in main()