Home | History | Annotate | Download | only in tests

Lines Matching defs:tag

41 static bool ContainsTag(uint32_t* tagArray, size_t size, uint32_t tag) {
43 if (tag == tagArray[i]) return true;
103 // Ensure reasonable tag count
110 // Get all tag ids
117 uint32_t tag;
119 // For each tag id, check whether type, section name, tag name match
120 tag = descTagArray[i];
121 EXPECT_CONTAINS_TAG(tag, opsTagArray);
122 EXPECT_EQ(vDesc->getTagType(tag), vOps->get_tag_type(vOps, tag));
123 EXPECT_STREQ(vDesc->getSectionName(tag), vOps->get_section_name(vOps, tag));
124 EXPECT_STREQ(vDesc->getTagName(tag), vOps->get_tag_name(vOps, tag));
148 // Ensure consistent tag count
155 // Get all tag ids
162 uint32_t tag;
164 // For each tag id, check consistency between the two vendor tag
165 // descriptors for each type, section name, tag name
166 tag = descTagArray[i];
167 EXPECT_CONTAINS_TAG(tag, desc2TagArray);
168 EXPECT_EQ(vDescOriginal->getTagType(tag), vDescParceled->getTagType(tag));
169 EXPECT_STREQ(vDescOriginal->getSectionName(tag), vDescParceled->getSectionName(tag));
170 EXPECT_STREQ(vDescOriginal->getTagName(tag), vDescParceled->getTagName(tag));
182 // Make empty tag count
188 // Ensure creat succeeds for empty vendor tag ops
191 // Ensure defaults are returned when no vtags are defined, or tag is unknown