Lines Matching refs:cur
244 Rect* cur;
247 : bounds(reg.mBounds), storage(reg.mStorage), head(), tail(), cur() {
274 if (cur->top != rect.top) {
276 } else if (cur->right == rect.left) {
277 cur->right = rect.right;
282 cur = span.editArray() + (span.size() - 1);
326 const_iterator cur = reg.begin();
328 const_iterator prev = cur++;
330 while (cur != tail) {
331 b.left = b.left < cur->left ? b.left : cur->left;
332 b.top = b.top < cur->top ? b.top : cur->top;
333 b.right = b.right > cur->right ? b.right : cur->right;
334 b.bottom = b.bottom > cur->bottom ? b.bottom : cur->bottom;
335 if (cur->top == prev->top) {
336 if (cur->bottom != prev->bottom) {
337 LOGE("%s: invalid span %p", name, cur);
339 } else if (cur->left < prev->right) {
340 LOGE("%s: spans overlap horizontally prev=%p, cur=%p",
341 name, prev, cur);
344 } else if (cur->top < prev->bottom) {
345 LOGE("%s: spans overlap vertically prev=%p, cur=%p",
346 name, prev, cur);
349 prev = cur;
350 cur++;