Lines Matching refs:offsets
57 static uint_t *offsets; /* array of word-offsets into "buf" */ variable
108 if (fprintf(tmpfp[tmpfp_idx], "%s\n", &buf[offsets[i++]]) < 0) { in writeout()
138 tmp = realloc(offsets, sizeof (uint_t) * off_size); in insert_word()
141 free(offsets); in insert_word()
143 offsets = NULL; in insert_word()
146 offsets = tmp; in insert_word()
149 offsets[off_idx++] = off; in insert_word()
265 qsort((void *)offsets, off_idx, sizeof (int), compare); in sort_file()
276 if (offsets != NULL) in sort_file()
277 free(offsets); in sort_file()
278 offsets = NULL; in sort_file()