Searched refs:STLIsSorted (Results 1 – 4 of 4) sorted by relevance
208 bool STLIsSorted(const Container& cont) { in STLIsSorted() function219 assert(STLIsSorted(a1)); in STLSetDifference()220 assert(STLIsSorted(a2)); in STLSetDifference()231 assert(STLIsSorted(a1)); in STLSetUnion()232 assert(STLIsSorted(a2)); in STLSetUnion()244 assert(STLIsSorted(a1)); in STLSetIntersection()245 assert(STLIsSorted(a2)); in STLSetIntersection()257 assert(STLIsSorted(a1)); in STLIncludes()258 assert(STLIsSorted(a2)); in STLIncludes()
174 bool STLIsSorted(const Container& cont) { in STLIsSorted() function185 DCHECK(STLIsSorted(a1)); in STLSetDifference()186 DCHECK(STLIsSorted(a2)); in STLSetDifference()197 DCHECK(STLIsSorted(a1)); in STLSetUnion()198 DCHECK(STLIsSorted(a2)); in STLSetUnion()210 DCHECK(STLIsSorted(a1)); in STLSetIntersection()211 DCHECK(STLIsSorted(a2)); in STLSetIntersection()223 DCHECK(STLIsSorted(a1)); in STLIncludes()224 DCHECK(STLIsSorted(a2)); in STLIncludes()
283 TEST(STLUtilTest, STLIsSorted) { in TEST() argument289 EXPECT_TRUE(STLIsSorted(set)); in TEST()297 EXPECT_TRUE(STLIsSorted(set)); in TEST()307 EXPECT_TRUE(STLIsSorted(vector)); in TEST()309 EXPECT_FALSE(STLIsSorted(vector)); in TEST()
43 TEST(STLUtilTest, STLIsSorted) { in TEST() argument49 EXPECT_TRUE(STLIsSorted(set)); in TEST()57 EXPECT_TRUE(STLIsSorted(set)); in TEST()67 EXPECT_TRUE(STLIsSorted(vector)); in TEST()69 EXPECT_FALSE(STLIsSorted(vector)); in TEST()