Lines Matching defs:t_loc
484 apr_thread_pool_task_t *t_loc;
494 t_loc = APR_RING_FIRST(me->scheduled_tasks);
495 while (NULL != t_loc) {
497 if (t->dispatch.time < t_loc->dispatch.time) {
499 APR_RING_INSERT_BEFORE(t_loc, t, link);
503 t_loc = APR_RING_NEXT(t_loc, link);
504 if (t_loc ==
533 apr_thread_pool_task_t *t_loc;
545 t_loc = add_if_empty(me, t);
546 if (NULL == t_loc) {
552 t_loc && t_loc->dispatch.priority >= t->dispatch.priority) {
553 t_loc = APR_RING_NEXT(t_loc, link);
556 APR_RING_INSERT_BEFORE(t_loc, t, link);
558 if (t_loc == me->task_idx[TASK_PRIORITY_SEG(t)]) {
613 apr_thread_pool_task_t *t_loc;
616 t_loc = APR_RING_FIRST(me->scheduled_tasks);
617 while (t_loc !=
620 next = APR_RING_NEXT(t_loc, link);
622 if (t_loc->owner == owner) {
624 APR_RING_REMOVE(t_loc, link);
626 t_loc = next;
633 apr_thread_pool_task_t *t_loc;
637 t_loc = APR_RING_FIRST(me->tasks);
638 while (t_loc != APR_RING_SENTINEL(me->tasks, apr_thread_pool_task, link)) {
639 next = APR_RING_NEXT(t_loc, link);
640 if (t_loc->owner == owner) {
642 seg = TASK_PRIORITY_SEG(t_loc);
643 if (t_loc == me->task_idx[seg]) {
644 me->task_idx[seg] = APR_RING_NEXT(t_loc, link);
652 APR_RING_REMOVE(t_loc, link);
654 t_loc = next;