Lines Matching defs:ids
537 std::vector<size_t> ids;
539 ids.reserve(all_attrs.size()); // minimize memory thrashing
542 if (id >= ids.size()) {
543 ids.resize(id + 1);
545 ids[id]++;
548 return ids;
603 std::vector<size_t> ids = getIdIds();
604 for (size_t i = FIRST_VALID_ID; i < ids.size(); ++i) {
605 if (!ids[i]) {
607 EXPECT_TRUE(ids[i] > 0) << "Attribute string with enum " << i << " {" << name << "} not handled";
615 std::vector<size_t> ids = getIdIds();
616 for (size_t i = FIRST_VALID_ID; i < ids.size(); ++i) {
617 EXPECT_LE(ids[i], size_t(1)) << "Attribute enum " << i << " used for multiple strings"