Lines Matching defs:index
43 unsigned index;
49 index = ws->ordered_cur + ws->ordered_num_used;
50 if (index >= team->nthreads)
51 index -= team->nthreads;
52 ws->ordered_team_ids[index] = thr->ts.team_id;
109 unsigned index, next_id;
132 index = ws->ordered_cur + ws->ordered_num_used;
133 if (index >= team->nthreads)
134 index -= team->nthreads;
135 ws->ordered_team_ids[index] = thr->ts.team_id;
138 index = ws->ordered_cur + 1;
139 if (index == team->nthreads)
140 index = 0;
141 ws->ordered_cur = index;
143 next_id = ws->ordered_team_ids[index];