Home
last modified time | relevance | path

Searched refs:jspec (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.sbin/lpr/common_source/
H A Dmatchjobs.c74 format_jobspec(struct jobspec *jspec, int fmt_wanted) in format_jobspec() argument
85 if (jspec->fmtoutput != NULL) { in format_jobspec()
86 free(jspec->fmtoutput); in format_jobspec()
87 jspec->fmtoutput = NULL; in format_jobspec()
90 jspec->pluralfmt = 1; /* assume a "plural result" */ in format_jobspec()
92 if (jspec->startnum >= 0) { in format_jobspec()
93 if (jspec->startnum != jspec->endrange) in format_jobspec()
95 jspec->startnum, jspec->endrange); in format_jobspec()
97 jspec->pluralfmt = 0; in format_jobspec()
99 jspec->startnum); in format_jobspec()
[all …]
/freebsd/usr.sbin/lpr/lpc/
H A Dmovejobs.c111 touch_jqe(void *myinfo, struct jobqueue *jq, struct jobspec *jspec) in touch_jqe() argument
123 if (jspec->matchcnt == 0) { in touch_jqe()
124 format_jobspec(jspec, FMTJS_VERBOSE); in touch_jqe()
125 if (jspec->pluralfmt) in touch_jqe()
127 jspec->fmtoutput); in touch_jqe()
130 jspec->fmtoutput); in touch_jqe()
156 if (jspec->matcheduser) in touch_jqe()
158 jspec->matcheduser); in touch_jqe()