Lines Matching refs:key_printer
171 Printer<key_type> key_printer; member in MapTester
189 …for (auto &&entry : map) PetscCallCXX(oss << " key: [" << this->key_printer(entry.first) << "] … in view_map()
242 …ret.second, PETSC_COMM_SELF, PETSC_ERR_PLIB, "%s reinserted key '%s'", op, this->key_printer(key)); in test_insert()
243 …turned iterator key '%s' != expected '%s'", this->key_printer(ret.first->first), op, this->key_pri… in test_insert()
245 … PETSC_COMM_SELF, PETSC_ERR_PLIB, "%s map[%s] '%s' != '%s'", op, this->key_printer(key), this->val… in test_insert()
268 …COMM_SELF, PETSC_ERR_PLIB, "Map default key %s != map value %s", this->key_printer(key), this->val… in test_insert()
302 … contained key-value pair (%s, %s) not present in input range!", this->key_printer(it->first), thi… in test_insert()
303 …TOFRANGE, "Index of found key-value pair (%s -> %s) %td is < 0", this->key_printer(it->first), thi… in test_insert()
310 …, "Map failed to insert key %s (value %s), have find count %zu", this->key_printer(key_value_pairs… in test_insert()
355 …r (%s -> %s) after std::copy() and container went out of scope", this->key_printer(saved_value.fir… in test_insert()
356 …h expected key (%s) after std::copy() insertion", this->key_printer(it->first), this->key_printer(… in test_insert()
383 …!= map.end(), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Failed to find %s in map", this->key_printer(key)); in test_find()
384 …_ERR_PLIB, "Find iterator key %s != expected %s", this->key_printer(it->first), this->key_printer(… in test_find()
386 … reports false, even though map.find(key) successfully found it! key: %s", this->key_printer(key)); in test_find()
387 …== 1, PETSC_COMM_SELF, PETSC_ERR_PLIB, "map.count(%s) %zu != 1", this->key_printer(key), map.count… in test_find()
395 …Equal range iterator key %s != expected %s", this->key_printer(range_begin->first), this->key_prin… in test_find()
434 …SELF, PETSC_ERR_PLIB, "Erasing %s did not work, found again in map", this->key_printer(begin_key)); in test_erase()
445 …ELF, PETSC_ERR_PLIB, "Iterator (%s -> %s) occupied after erase", this->key_printer(before->first),… in test_erase()