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 seperate_rects()
105 std::vector<std::pair<TNum, IdSet<TId> > > active_regions; in seperate_rects()
181 IdSet<TId> active_set; in seperate_rects()
202 for (std::vector<std::pair<TNum, IdSet> >::iterator it = in seperate_rects()
229 for (typename std::vector<std::pair<TNum, IdSet<TId> > >::iterator it = in seperate_rects()
232 IdSet<TId> region_set = it->second; in seperate_rects()
240 typename std::vector<std::pair<TNum, IdSet<TId> > >::iterator next_it = in seperate_rects()
317 #define IdSet IdSet<TId> in main() macro
356 expected_out.push_back(RectSet(IdSet(0), Rect(0, 0, 2, 5))); in main()
357 expected_out.push_back(RectSet(IdSet(1), Rect(2, 5, 6, 6))); in main()
358 expected_out.push_back(RectSet(IdSet(1) | 0, Rect(2, 0, 4, 5))); in main()
359 expected_out.push_back(RectSet(IdSet(1) | 2, Rect(4, 0, 6, 5))); in main()
360 expected_out.push_back(RectSet(IdSet(2), Rect(6, 0, 8, 5))); in main()
361 expected_out.push_back(RectSet(IdSet(3), Rect(0, 7, 8, 9))); in main()
362 expected_out.push_back(RectSet(IdSet(4), Rect(10, 0, 12, 5))); in main()
363 expected_out.push_back(RectSet(IdSet(5) | 4, Rect(12, 0, 16, 5))); in main()
364 expected_out.push_back(RectSet(IdSet(4), Rect(16, 0, 18, 5))); in main()
365 expected_out.push_back(RectSet(IdSet(6), Rect(20, 11, 22, 17))); in main()
366 expected_out.push_back(RectSet(IdSet(6) | 7, Rect(22, 13, 24, 17))); in main()
367 expected_out.push_back(RectSet(IdSet(6), Rect(22, 11, 24, 13))); in main()
368 expected_out.push_back(RectSet(IdSet(7), Rect(22, 17, 24, 21))); in main()
369 expected_out.push_back(RectSet(IdSet(7), Rect(24, 13, 26, 21))); in main()
370 expected_out.push_back(RectSet(IdSet(9), Rect(30, 31, 32, 39))); in main()
371 expected_out.push_back(RectSet(IdSet(8) | 9, Rect(32, 33, 36, 37))); in main()
372 expected_out.push_back(RectSet(IdSet(9), Rect(32, 37, 36, 39))); in main()
373 expected_out.push_back(RectSet(IdSet(9), Rect(32, 31, 36, 33))); in main()
374 expected_out.push_back(RectSet(IdSet(9), Rect(36, 31, 38, 39))); in main()
375 expected_out.push_back(RectSet(IdSet(10), Rect(40, 43, 44, 45))); in main()
376 expected_out.push_back(RectSet(IdSet(10) | 11, Rect(44, 43, 46, 45))); in main()
377 expected_out.push_back(RectSet(IdSet(11), Rect(44, 41, 46, 43))); in main()
378 expected_out.push_back(RectSet(IdSet(11), Rect(44, 45, 46, 47))); in main()
379 expected_out.push_back(RectSet(IdSet(10), Rect(46, 43, 48, 45))); in main()
380 expected_out.push_back(RectSet(IdSet(12) | 13 | 14, Rect(50, 51, 52, 53))); in main()