Lines Matching refs:element
33 size_t operator()(const uint32_t* element) const { in operator ()()
34 return static_cast<size_t>(*element); in operator ()()
51 for (uint32_t element = 0; element < 100; element++) { in TEST() local
52 relation.Register(element); in TEST()
55 for (uint32_t element = 2; element < 80; element += 2) { in TEST() local
56 relation.MakeEquivalent(0, element); in TEST()
57 relation.MakeEquivalent(element - 1, element + 1); in TEST()
60 for (uint32_t element = 82; element < 100; element += 2) { in TEST() local
61 relation.MakeEquivalent(80, element); in TEST()
62 relation.MakeEquivalent(element - 1, element + 1); in TEST()
68 for (uint32_t element = 0; element < 98; element += 2) { in TEST() local
69 ASSERT_TRUE(relation.IsEquivalent(0, element)); in TEST()
70 ASSERT_TRUE(relation.IsEquivalent(element, element + 2)); in TEST()
71 class1.push_back(element); in TEST()
83 for (uint32_t element = 1; element < 79; element += 2) { in TEST() local
84 ASSERT_TRUE(relation.IsEquivalent(1, element)); in TEST()
85 ASSERT_TRUE(relation.IsEquivalent(element, element + 2)); in TEST()
86 class2.push_back(element); in TEST()
97 for (uint32_t element = 81; element < 99; element += 2) { in TEST() local
98 ASSERT_TRUE(relation.IsEquivalent(81, element)); in TEST()
99 ASSERT_TRUE(relation.IsEquivalent(element, element + 2)); in TEST()
100 class3.push_back(element); in TEST()