Lines Matching defs:rec
286 Rs_t* rec; /* rsopen() context */
380 if (rsfileread(sp->rec, fp, path))
416 if (!rslib(sp->rec, kp, args, RS_IGNORE) && !style)
733 if (rslib(sp->rec, key, lib->name, 0))
865 if (!(sp->key = key = rskeyopen(dp, NiL)) || !(sp->rec = rsnew(key->disc)))
1089 if (rsfileclose(sp->rec, ip))
1150 if (rsfilewrite(sp->rec, sp->op, key->output))
1161 if (rsinit(sp->rec, key->meth, key->procsize, key->type, key))
1167 if (sp->rec->meth->type == RS_MTCOPY)
1190 rstempclose(sp->rec, sp->files[i]);
1224 if (rswrite(sp->rec, sp->op, RS_OTEXT))
1231 else if (sp->rec->meth->type != RS_MTVERIFY)
1239 if (sp->child || !(fp = rstempwrite(sp->rec, (Sfio_t*)0)))
1246 if (rswrite(sp->rec, fp, 0))
1251 if (rstempread(sp->rec, fp))
1263 if (sp->child || !(fp = rstempwrite(sp->rec, (Sfio_t*)0)))
1267 if (rsmerge(sp->rec, fp, sp->files + sp->mfiles, sp->nfiles - sp->mfiles, 0))
1272 if (rstempread(sp->rec, fp))
1403 if ((p = rsprocess(sp->rec, sp->buf + r, sp->cur - r)) < 0)
1553 if (!(sp->files[f++] = rstempwrite(sp->rec, (Sfio_t*)0)))
1585 if (rsfileclose(sp->rec, ip))
1618 while (rsdisc(sp->rec, NiL, RS_POP));
1619 if ((sfsync(sp->op) || sp->op != sfstdout && rsfileclose(sp->rec, sp->op)) && !error_info.errors)
1621 if (rsclose(sp->rec))
1689 if (sferror(sfstdout) || rsfileclose(sort.rec, fp))
1733 if (rsmerge(sort.rec, sort.op, sort.files, sort.nfiles, merge ? RS_TEXT : RS_OTEXT))
1741 if (rswrite(sort.rec, sort.op, RS_OTEXT) && !error_info.errors)