Lines Matching refs:IdSet
32 IdSet<TId> id_set;
65 std::ostream &operator<<(std::ostream &os, const IdSet<TUInt> &obj) { in operator <<()
66 int bits = IdSet<TUInt>::max_elements; in operator <<()
88 if (in.size() > IdSet<TNum>::max_elements) { in separate_rects()
105 std::vector<std::pair<TNum, IdSet<TId>>> active_regions; in separate_rects()
186 IdSet<TId> active_set; in separate_rects()
207 for (std::vector<std::pair<TNum, IdSet>>::iterator it = in separate_rects()
234 for (typename std::vector<std::pair<TNum, IdSet<TId>>>::iterator it = in separate_rects()
237 IdSet<TId> region_set = it->second; in separate_rects()
245 typename std::vector<std::pair<TNum, IdSet<TId>>>::iterator next_it = it; in separate_rects()
326 #define IdSet IdSet<TId> in main() macro
370 expected_out.push_back(RectSet(IdSet(0), Rect(0, 0, 2, 5))); in main()
371 expected_out.push_back(RectSet(IdSet(1), Rect(2, 5, 6, 6))); in main()
372 expected_out.push_back(RectSet(IdSet(1) | 0, Rect(2, 0, 4, 5))); in main()
373 expected_out.push_back(RectSet(IdSet(1) | 2, Rect(4, 0, 6, 5))); in main()
374 expected_out.push_back(RectSet(IdSet(2), Rect(6, 0, 8, 5))); in main()
375 expected_out.push_back(RectSet(IdSet(3), Rect(0, 7, 8, 9))); in main()
376 expected_out.push_back(RectSet(IdSet(4), Rect(10, 0, 12, 5))); in main()
377 expected_out.push_back(RectSet(IdSet(5) | 4, Rect(12, 0, 16, 5))); in main()
378 expected_out.push_back(RectSet(IdSet(4), Rect(16, 0, 18, 5))); in main()
379 expected_out.push_back(RectSet(IdSet(6), Rect(20, 11, 22, 17))); in main()
380 expected_out.push_back(RectSet(IdSet(6) | 7, Rect(22, 13, 24, 17))); in main()
381 expected_out.push_back(RectSet(IdSet(6), Rect(22, 11, 24, 13))); in main()
382 expected_out.push_back(RectSet(IdSet(7), Rect(22, 17, 24, 21))); in main()
383 expected_out.push_back(RectSet(IdSet(7), Rect(24, 13, 26, 21))); in main()
384 expected_out.push_back(RectSet(IdSet(9), Rect(30, 31, 32, 39))); in main()
385 expected_out.push_back(RectSet(IdSet(8) | 9, Rect(32, 33, 36, 37))); in main()
386 expected_out.push_back(RectSet(IdSet(9), Rect(32, 37, 36, 39))); in main()
387 expected_out.push_back(RectSet(IdSet(9), Rect(32, 31, 36, 33))); in main()
388 expected_out.push_back(RectSet(IdSet(9), Rect(36, 31, 38, 39))); in main()
389 expected_out.push_back(RectSet(IdSet(10), Rect(40, 43, 44, 45))); in main()
390 expected_out.push_back(RectSet(IdSet(10) | 11, Rect(44, 43, 46, 45))); in main()
391 expected_out.push_back(RectSet(IdSet(11), Rect(44, 41, 46, 43))); in main()
392 expected_out.push_back(RectSet(IdSet(11), Rect(44, 45, 46, 47))); in main()
393 expected_out.push_back(RectSet(IdSet(10), Rect(46, 43, 48, 45))); in main()
394 expected_out.push_back(RectSet(IdSet(12) | 13 | 14, Rect(50, 51, 52, 53))); in main()