Lines Matching defs:p0
54 struct tcm_pt p0;
226 slice->p0.y != slice->p1.y &&
227 (slice->p0.x || (slice->p1.x != slice->tcm->width - 1))) {
230 slice->p1.y = (slice->p0.x) ? slice->p0.y : slice->p1.y - 1;
232 parent->p0.x = 0;
233 parent->p0.y = slice->p1.y + 1;
247 area->p0.y <= area->p1.y &&
248 /* 1D coordinate relationship + p0.x check */
250 area->p0.x < area->tcm->width &&
251 area->p0.x + area->p0.y * area->tcm->width <=
255 area->p0.x <= area->p1.x));
264 return p->x >= a->p0.x && p->x <= a->p1.x &&
265 p->y >= a->p0.y && p->y <= a->p1.y;
268 return i >= a->p0.x + a->p0.y * a->tcm->width &&
276 return area->p1.x - area->p0.x + 1;
282 return area->p1.y - area->p0.y + 1;
290 (area->p1.x - area->p0.x + 1) + (area->p1.y - area->p0.y) *
306 a->p1.x = (a->p0.x + num_pg - 1) % a->tcm->width;
307 a->p1.y = a->p0.y + ((a->p0.x + num_pg - 1) / a->tcm->width);