Lines Matching refs:tail
192 int tail = 0;
199 // find the head and tail of the list of records having the same
206 tail = i;
209 sublistLength = (tail - head) + 1;
211 hostports[k++] = selectHostport(srvRecords, head, tail);
218 * Randomly select a service record in the range [head, tail] and return
222 int tail) {
223 if (head == tail) {
227 // compute the running sum for records between head and tail
229 for (int i = head; i <= tail; i++) {
240 for (int i = head; i <= tail; i++) {