• Home
  • Raw
  • Download

Lines Matching refs:spans

68         it1->second->spans != it2->second->spans) {  in Equals()
116 new_row->second->spans = row->second->spans; in AddRect()
126 new_row->second->spans = row->second->spans; in AddRect()
160 previous_row->second->spans == row->second->spans) { in MergeWithPrecedingRow()
207 IntersectRows(it1->second->spans, it2->second->spans, in Intersect()
208 &new_row->second->spans); in Intersect()
209 if (new_row->second->spans.empty()) { in Intersect()
309 new_row->second->spans = row_a->second->spans; in Subtract()
330 new_row->second->spans = row_a->second->spans; in Subtract()
337 SubtractRows(row_a->second->spans, row_b->second->spans, &new_spans); in Subtract()
338 new_spans.swap(row_a->second->spans); in Subtract()
349 if (row_a->second->spans.empty()) { in Subtract()
381 for (RowSpanSet::iterator span = row->spans.begin(); in Translate()
382 span != row->spans.end(); ++span) { in Translate()
415 if (row->spans.empty() || left > row->spans.back().right) { in AddSpanToRow()
416 row->spans.push_back(RowSpan(left, right)); in AddSpanToRow()
422 row->spans.begin(), row->spans.end(), left, CompareSpanRight); in AddSpanToRow()
423 assert(start < row->spans.end()); in AddSpanToRow()
427 std::lower_bound(start, row->spans.end(), right + 1, CompareSpanLeft); in AddSpanToRow()
428 if (end == row->spans.begin()) { in AddSpanToRow()
430 row->spans.insert(row->spans.begin(), RowSpan(left, right)); in AddSpanToRow()
442 row->spans.insert(start, RowSpan(left, right)); in AddSpanToRow()
454 row->spans.erase(start, end); in AddSpanToRow()
462 row.spans.begin(), row.spans.end(), span.left, CompareSpanLeft); in IsSpanInRow()
463 return it != row.spans.end() && *it == span; in IsSpanInRow()
506 assert(row_->second->spans.size() > 0); in Iterator()
507 row_span_ = row_->second->spans.begin(); in Iterator()
523 if (row_span_ == row_->second->spans.end()) { in Advance()
527 assert(row_->second->spans.size() > 0); in Advance()
528 row_span_ = row_->second->spans.begin(); in Advance()