Searched refs:IsEqualOrLessRestrictiveThan (Results 1 – 3 of 3) sorted by relevance
65 TEST(AllocatorAttributesTest, IsEqualOrLessRestrictiveThan) { in TEST() argument67 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()68 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(a)); in TEST()69 EXPECT_TRUE(b.IsEqualOrLessRestrictiveThan(b)); in TEST()73 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()74 EXPECT_FALSE(b.IsEqualOrLessRestrictiveThan(a)); in TEST()75 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(a)); in TEST()76 EXPECT_TRUE(b.IsEqualOrLessRestrictiveThan(b)); in TEST()80 EXPECT_FALSE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()81 EXPECT_FALSE(b.IsEqualOrLessRestrictiveThan(a)); in TEST()[all …]
384 bool IsEqualOrLessRestrictiveThan(const AllocatorAttributes& other) const { in IsEqualOrLessRestrictiveThan() function
556 if (!output_attr.IsEqualOrLessRestrictiveThan(input_attr)) { in forward_input()