Home | History | Annotate | Download | only in sort

Lines Matching defs:rec

80 	RECHEADER    *rec;
208 if (cfile->rec == NULL) {
209 cfile->rec = allocrec(NULL, DEFLLEN);
210 cfile->end = (u_char *)cfile->rec + DEFLLEN;
215 c = cfile->get(cfile->fp, cfile->rec, cfile->end, ftbl);
221 sz = (cfile->end - (u_char *)cfile->rec) * 2;
222 cfile->rec = allocrec(cfile->rec, sz);
223 cfile->end = (u_char *)cfile->rec + sz;
255 put(cfile->rec, outfp);
272 tmp = cfile->rec;
273 cfile->rec = new_rec;
282 && cmp(new_rec, cfile->rec) == 0)) {
284 tmp = cfile->rec;
285 cfile->rec = new_rec;
301 * if delete: inserts rec in flist, deletes flist[0];
302 * otherwise just inserts *rec in flist.
306 insert(struct mfile **flist, struct mfile *rec, int ttop, int delete)
311 cmpv = cmp(rec->rec, flist[mid]->rec);
326 cmpv = rec < flist[mid] ? -1 : 1;
342 flist[bot] = rec;
351 cmpv = cmp(rec->rec, flist[0]->rec);
360 flist[bot] = rec;