Home
last modified time | relevance | path

Searched refs:prs (Results 1 – 25 of 26) sorted by relevance

12

/titanic_44/usr/src/cmd/lp/cmd/lpsched/
H A Drequeue.c69 register RSTATUS *prs; in queue_attract() local
93 for (prs = Request_List; prs; prs = prs->next) { in queue_attract()
95 !SKIP_IT(prs) in queue_attract()
96 && (!qchk_p || (*qchk_p)(prs)) in queue_attract()
98 prs->printer == pps in queue_attract()
99 || ISANY(prs) in queue_attract()
100 || SAMECLASS(prs, pps) in queue_attract()
108 prs->printer == pps in queue_attract()
109 || evaluate_request(prs, pps, 0) == MOK in queue_attract()
117 if (NEEDS_FILTERING(prs)) in queue_attract()
[all …]
H A Ddowait.c63 register RSTATUS *prs; in dowait() local
105 prs = pps->request; in dowait()
130 if (prs->request->outcome & RS_CANCELLED) in dowait()
136 || prs->request->outcome & RS_STOPPED in dowait()
148 errbuf = geterrbuf(prs); in dowait()
155 prs->request->outcome |= RS_FAILED; in dowait()
157 prs->request->outcome |= RS_NOTIFY; in dowait()
158 notify (prs, errbuf, killed, exited, 0); in dowait()
167 if (SHOULD_NOTIFY(prs)) in dowait()
168 prs->request->outcome |= RS_NOTIFY; in dowait()
[all …]
H A Dschedule.c88 register RSTATUS * prs; in schedule() local
122 prs = va_arg(ap, RSTATUS *); in schedule()
123 schedule (EV_LATER, 1, event, prs); in schedule()
201 if ((prs = va_arg(ap, RSTATUS *)) != NULL) in schedule()
202 (void) ev_slowf (prs); in schedule()
204 for (prs = Request_List; prs && ev_slowf(prs) != -1; in schedule()
205 prs = prs->next); in schedule()
209 if ((prs = va_arg(ap, RSTATUS *)) != NULL) in schedule()
210 (void) ev_notify (prs); in schedule()
212 for (prs = Request_List; prs && ev_notify(prs) != -1; in schedule()
[all …]
H A Dvalidate.c69 _validate(RSTATUS *prs, PSTATUS *pps, PSTATUS *stop_pps, char **prefixp, in _validate() argument
102 strcmp(prs->request->input_type, "postscript") == 0) && in _validate()
104 if (tsol_lpauth(PRINT_POSTSCRIPT_AUTH, prs->secure->user) in _validate()
112 if (bangequ(prs->secure->user, "root") || in _validate()
113 bangequ(prs->secure->user, "lp")) in _validate()
117 *prefixp = prs->request->destination; in _validate()
123 if (!pps && prs->request->destination && in _validate()
124 !STREQU(prs->request->destination, NAME_ANY)) in _validate()
125 if (((pps = search_pstatus(prs->request->destination)) != NULL) || in _validate()
126 ((pcs = search_cstatus(prs->request->destination)) != NULL) && in _validate()
[all …]
H A Drstatus.c43 RSTATUS *prs; in insertr() local
51 for (prs = Request_List; prs; prs = prs->next) { in insertr()
52 if (rsort(&r, &prs) < 0) { in insertr()
53 r->prev = prs->prev; in insertr()
56 r->next = prs; in insertr()
57 prs->prev = r; in insertr()
58 if (prs == Request_List) in insertr()
63 if (prs->next) in insertr()
66 r->prev = prs; in insertr()
67 prs->next = r; in insertr()
[all …]
H A Dpickfilter.c81 pickfilter(RSTATUS *prs, CANDIDATE *pc, FSTATUS *pfs) in pickfilter() argument
119 if (prs->request->modes) { in pickfilter()
120 cp = Strdup(prs->request->modes); in pickfilter()
138 unload_str (&(prs->cpi)); in pickfilter()
139 unload_str (&(prs->lpi)); in pickfilter()
140 unload_str (&(prs->plen)); in pickfilter()
141 unload_str (&(prs->pwid)); in pickfilter()
150 *pp++ = prs->cpi = pfs->cpi; in pickfilter()
155 *pp++ = prs->lpi = pfs->lpi; in pickfilter()
160 *pp++ = prs->plen = pfs->plen; in pickfilter()
[all …]
H A Dnotify.c97 notify(register RSTATUS *prs, char *errbuf, int k, int e, int slow) in notify() argument
107 if (!(prs->request->outcome & RS_NOTIFY)) in notify()
110 !(prs->request->actions & (ACT_MAIL|ACT_WRITE|ACT_NOTIFY)) in notify()
111 && !prs->request->alert in notify()
112 && !(prs->request->outcome & RS_CANCELLED) in notify()
120 file = makereqerr(prs); in notify()
122 fdprintf(fd, N_Msg[0], prs->secure->req_id, prs->secure->req_id, in notify()
123 prs->request->destination, in notify()
124 STREQU(prs->request->destination, NAME_ANY)? " printer" in notify()
127 if (prs->request) { in notify()
[all …]
H A Ddaisyforms.c43 queue_form(RSTATUS *prs, FSTATUS *pfs) in queue_form() argument
45 if ((prs->form = pfs) != NULL) { in queue_form()
46 prs->form->requests++; in queue_form()
47 if (prs->printer) in queue_form()
48 check_form_alert (prs->form, (_FORM *)0); in queue_form()
58 unqueue_form(RSTATUS *prs) in unqueue_form() argument
60 FSTATUS * pfs = prs->form; in unqueue_form()
62 prs->form = 0; in unqueue_form()
65 if (prs->printer) in unqueue_form()
76 queue_pwheel(RSTATUS *prs, char *name) in queue_pwheel() argument
[all …]
H A Dcancel.c40 cancel (RSTATUS *prs, int spool) in cancel() argument
42 if (prs->request->outcome & RS_DONE) in cancel()
45 prs->request->outcome |= RS_CANCELLED; in cancel()
47 if (spool || (prs->request->actions & ACT_NOTIFY)) in cancel()
48 prs->request->outcome |= RS_NOTIFY; in cancel()
50 if (prs->request->outcome & RS_PRINTING) { in cancel()
51 terminate(prs->printer->exec); in cancel()
53 else if (prs->request->outcome & RS_FILTERING) { in cancel()
54 terminate (prs->exec); in cancel()
56 else if (prs->request->outcome | RS_NOTIFY) { in cancel()
[all …]
H A Ddisp3.c599 RSTATUS *prs; in s_unload_form() local
611 for (prs = Request_List; prs != NULL; prs = prs->next) in s_unload_form()
612 if (prs->form == FStatus[i]) { in s_unload_form()
631 for (prs = Request_List; prs != NULL; prs = prs->next) in s_unload_form()
632 if (prs->form == pfs) { in s_unload_form()
683 register RSTATUS *prs; in s_load_printwheel() local
692 for (prs = Request_List; prs != NULL; prs = prs->next) in s_load_printwheel()
693 if ((prs->pwheel_name == pwheel_name) && in s_load_printwheel()
694 (!one_printer_with_charsets(prs))) { in s_load_printwheel()
695 prs->pwheel = ppws; in s_load_printwheel()
[all …]
H A Ddisp2.c394 register RSTATUS *prs; in s_load_class() local
403 for (prs = Request_List; prs != NULL; prs = prs->next) in s_load_class()
404 if (STREQU(prs->request->destination, class)) { in s_load_class()
408 switch (validate_request(prs, (char **)0, 1)) { in s_load_class()
420 cancel (prs, 1); in s_load_class()
465 RSTATUS *prs; in s_unload_class() local
482 for (prs = Request_List; prs != NULL; prs = prs->next) in s_unload_class()
483 if (STREQU(prs->request->destination, in s_unload_class()
509 for (prs = Request_List; prs != NULL; prs = prs->next) in s_unload_class()
510 if (STREQU(prs->request->destination, class)) { in s_unload_class()
H A Dfaults.c76 printer_fault(register PSTATUS *pps, register RSTATUS *prs, char *alert_text, in printer_fault() argument
125 alert(A_PRINTER, pps, prs, shortWhy); in printer_fault()
165 dial_problem(register PSTATUS *pps, RSTATUS *prs, int rc) in dial_problem() argument
196 printer_fault (pps, prs, msg, 0); in dial_problem()
210 printer_fault (pps, prs, msg, 0); in dial_problem()
H A Ddisp1.c896 RSTATUS * prs; in mv_file() local
948 if (prs = request_by_id(rp->secure->req_id)) { in mv_file()
949 free(prs->secure->req_id); in mv_file()
950 prs->secure->req_id = strdup(securep->req_id); in mv_file()
/titanic_44/usr/src/cmd/sh/
H A Derror.c45 prs(_gettext(s)); in error()
55 prs(_gettext((const char *)s1)); in failed_body()
58 prs(colon); in failed_body()
59 prs(_gettext(s2)); in failed_body()
61 prs(s3); in failed_body()
H A Dprint.c54 void prs(unsigned char *as);
65 prs((unsigned char *)colon); in prp()
70 prs(unsigned char *as) in prs() function
128 prs(numbuf); in prn()
297 prs(bufp); in prs_cntl()
306 prs(bufp); in prs_cntl()
H A Dcmd.c588 prs(sp->sysnam); in prsym()
591 prs(_gettext(endoffile)); in prsym()
597 prs(_gettext(nlorsemi)); in prsym()
607 prs(_gettext(synmsg)); in synbad()
610 prs(_gettext(atline)); in synbad()
613 prs(colon); in synbad()
620 prs(_gettext(unexpected)); in synbad()
H A Dmain.c399 prs(ps1nod.namval); in exfile()
437 prs(ps2nod.namval); in chkpr()
516 prs(save+1); in chkmail()
520 prs(_gettext(mailmsg)); in chkmail()
H A Dfunc.c155 prs("unlinking "); in freeio()
156 prs(iop->ioname); in freeio()
H A Dname.c154 prs(s); in setlist()
823 prs(_gettext(badlocale));
H A Dblok.c269 prs("un/used/avail "); in chkmem()
H A Dxec.c531 prs(_gettext(execpmsg)); in execprint()
H A Djobs.c592 prs(_gettext(jobsstopped));
601 prs(_gettext(jobsrunning));
/titanic_44/usr/src/ucbcmd/tset/
H A Dtset.c438 void prs(char *);
474 prs("Not a terminal\n"); in main()
807 prs("TERM = ("); in main()
808 prs(TtyType); in main()
809 prs(") "); in main()
827 prs("Cannot find termcap\n"); in main()
832 prs("Type "); in main()
833 prs(TtyType); in main()
834 prs(" unknown\n"); in main()
1028 prs("Terminal type is "); in main()
[all …]
/titanic_44/usr/src/cmd/krb5/kadmin/gui/dataclasses/
H A DPrincipalList.java69 String prs = Kadmin.getPrincipalList2(); in getPrincipalList() local
70 StringTokenizer t = new StringTokenizer(prs); in getPrincipalList()
/titanic_44/usr/src/lib/libpool/common/
H A Dpool.c2056 pool_resource_destroy(pool_conf_t *conf, pool_resource_t *prs) in pool_resource_destroy() argument
2068 pe = TO_ELEM(prs); in pool_resource_destroy()
2070 if (resource_is_system(prs) == PO_TRUE) { in pool_resource_destroy()
2087 if (rl[j] == prs) { in pool_resource_destroy()
2108 default_set_res = (pool_resource_t *)get_default_resource(prs); in pool_resource_destroy()
2110 if ((rl = pool_query_resource_components(conf, prs, &res_size, in pool_resource_destroy()
2114 if (pool_resource_xtransfer(conf, prs, default_set_res, in pool_resource_destroy()
2550 pool_resource_to_elem(const pool_conf_t *conf, const pool_resource_t *prs) in pool_resource_to_elem() argument
2556 return ((pool_elem_t *)prs); in pool_resource_to_elem()
2603 pool_walk_components(pool_conf_t *conf, pool_resource_t *prs, void *arg, in pool_walk_components() argument
[all …]

12