Lines Matching defs:curInd
42 int curInd = n;
43 while (curInd > 0) {
44 int const half = (curInd - 1) / 2;
50 events[no].ind = curInd;
52 inds[curInd] = no;
57 curInd = half;
124 int curInd = n;
127 while (curInd > 0) {
128 int const half = (curInd - 1) / 2;
134 events[no].ind = curInd;
136 inds[curInd] = no;
141 curInd = half;
148 while (2 * curInd + 1 < nbEvt) {
149 int const child1 = 2 * curInd + 1;
163 events[no1].ind = curInd;
165 inds[curInd] = no1;
166 curInd = child1;
169 events[no2].ind = curInd;
171 inds[curInd] = no2;
172 curInd = child2;
180 events[no2].ind = curInd;
182 inds[curInd] = no2;
183 curInd = child2;
194 events[no1].ind = curInd;
196 inds[curInd] = no1;