Lines Matching defs:indx
259 size_t indx = l->count;
261 if ((l->list == NULL) || (indx >= l->size)) {
270 l->list[indx] = sort_list_item_alloc();
271 sort_list_item_set(l->list[indx], str);
272 l->memsize += sort_list_item_size(l->list[indx]);
833 file_header_heap_swim(struct file_header **fh, size_t indx)
835 if (indx > 0) {
838 parent_index = (indx - 1) >> 1;
840 if (file_header_cmp(fh[indx], fh[parent_index]) < 0) {
842 file_header_swap(fh, indx, parent_index);
852 file_header_heap_sink(struct file_header **fh, size_t indx, size_t size)
857 left_child_index = indx + indx + 1;
869 if (file_header_cmp(fh[indx], fh[min_child_index]) > 0) {
870 file_header_swap(fh, indx, min_child_index);
1011 size_t indx = 0;
1017 while (indx < fl->count) {
1021 num = fl->count - indx;
1026 merge_files_array(num, fl->fns + indx, fnew);
1031 unlink(fl->fns[indx + i]);
1034 indx += num;