Searched refs:ord (Results 1 – 1 of 1) sorted by relevance
3027 size_t *ord = xnmalloc (nfiles, sizeof *ord); in mergefps() local3072 ord[i] = i; in mergefps()3074 if (0 < compare (cur[ord[i - 1]], cur[ord[i]])) in mergefps()3075 t = ord[i - 1], ord[i - 1] = ord[i], ord[i] = t, i = 0; in mergefps()3080 struct line const *smallest = cur[ord[0]]; in mergefps()3122 if (base[ord[0]] < smallest) in mergefps()3123 cur[ord[0]] = smallest - 1; in mergefps()3126 if (fillbuf (&buffer[ord[0]], fps[ord[0]], files[ord[0]].name)) in mergefps()3128 struct line const *linelim = buffer_linelim (&buffer[ord[0]]); in mergefps()3129 cur[ord[0]] = linelim - 1; in mergefps()[all …]