Searched refs:IsEqualOrLessRestrictiveThan (Results 1 – 3 of 3) sorted by relevance
64 TEST(AllocatorAttributesTest, IsEqualOrLessRestrictiveThan) { in TEST() argument66 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()67 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(a)); in TEST()68 EXPECT_TRUE(b.IsEqualOrLessRestrictiveThan(b)); in TEST()72 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()73 EXPECT_FALSE(b.IsEqualOrLessRestrictiveThan(a)); in TEST()74 EXPECT_TRUE(a.IsEqualOrLessRestrictiveThan(a)); in TEST()75 EXPECT_TRUE(b.IsEqualOrLessRestrictiveThan(b)); in TEST()79 EXPECT_FALSE(a.IsEqualOrLessRestrictiveThan(b)); in TEST()80 EXPECT_FALSE(b.IsEqualOrLessRestrictiveThan(a)); in TEST()[all …]
374 bool IsEqualOrLessRestrictiveThan(const AllocatorAttributes& other) const { in IsEqualOrLessRestrictiveThan() function
554 if (!output_attr.IsEqualOrLessRestrictiveThan(input_attr)) { in forward_input()