Home
last modified time | relevance | path

Searched refs:STREQU (Results 1 – 25 of 64) sorted by relevance

123

/titanic_50/usr/src/cmd/lp/lib/lp/
H A Dsearchlist.c52 else if (STREQU(item, NAME_ANY) || STREQU(item, NAME_ALL))
61 STREQU(*list, item)
62 || STREQU(*list, NAME_ANY)
63 || STREQU(*list, NAME_ALL)
90 else if (STREQU(item, NAME_ANY) || STREQU(item, NAME_ALL))
99 STREQU(*list, item)
100 || STREQU(*list, NAME_ANY)
101 || STREQU(*list, NAME_ALL)
103 STREQU(*list, NAME_TERMINFO)
H A Dcharset.c55 else if (STREQU(item, NAME_ANY))
64 if (alias && STREQU(alias+1, item))
H A Dset_pitch.c108 if (which == 'H' && STREQU(str, NAME_PICA))
111 else if (which == 'H' && STREQU(str, NAME_ELITE))
117 STREQU(str, NAME_COMPRESSED)
H A Dsdn.c152 if (is_cpi && STREQU(str, NAME_PICA)) { in _getsdn()
158 } else if (is_cpi && STREQU(str, NAME_ELITE)) { in _getsdn()
164 } else if (is_cpi && STREQU(str, NAME_COMPRESSED)) { in _getsdn()
H A Dnext.c76 STREQU(direntp->d_name, ".")
77 || STREQU(direntp->d_name, "..")
/titanic_50/usr/src/cmd/lp/lib/access/
H A Dbang.c86 if (STREQU (NAME_ALL, user2p) || STREQU(NAME_ALL, user1p)) in bangequ()
104 sysname1_all = STREQU (NAME_ALL, sysname1); in bangequ()
105 username1_all = STREQU (NAME_ALL, username1); in bangequ()
110 STREQU (username1, user2p); in bangequ()
127 sysname2_all = STREQU (NAME_ALL, sysname2); in bangequ()
128 username2_all = STREQU (NAME_ALL, username2); in bangequ()
137 return STREQU (username1, username2); in bangequ()
140 return STREQU (sysname1, sysname2); in bangequ()
142 if (STREQU (sysname1, sysname2) && STREQU (username1, username2)) in bangequ()
H A Dchange.c155 if (STREQU(*pl, NAME_NONE)) { in chgaccess()
160 STREQU(*pl, NAME_ALL) in chgaccess()
161 || STREQU(*pl, NAME_ANY) in chgaccess()
162 || STREQU(*pl, ALL_BANG_ALL) in chgaccess()
/titanic_50/usr/src/cmd/lp/cmd/lpadmin/
H A Dchkopts.c119 && !STREQU(d, NAME_NONE) in chkopts()
148 !STREQU(NAME_ALL, x) in chkopts()
149 && !STREQU(NAME_ANY, x) in chkopts()
162 if (A && STREQU(A, NAME_LIST) && (W != -1 || Q != -1)) { in chkopts()
188 if (!STREQU(NAME_ALL, *S) && !STREQU(NAME_ANY, *S)) in chkopts()
200 if (STREQU(NAME_NONE, p)) { in chkopts()
227 && !STREQU(F, NAME_WAIT) in chkopts()
228 && !STREQU(F, NAME_BEGINNING) in chkopts()
230 !STREQU(F, NAME_CONTINUE) in chkopts()
232 && STREQU(F, NAME_CONTINUE) in chkopts()
[all …]
H A Ddo_pwheel.c64 if (A && STREQU(A, NAME_NONE)) { in do_pwheel()
75 if (A && STREQU(A, NAME_LIST)) { in do_pwheel()
82 if (A && STREQU(A, NAME_QUIET)) { in do_pwheel()
106 if (A && STREQU(A, NAME_NONE)) { in do_pwheel()
169 if (STREQU(A, NAME_MAIL) || STREQU(A, NAME_WRITE))
H A Dlpadmin.c114 if (STREQU(NAME_ALL, x) || STREQU(NAME_ANY, x)) { in main()
153 if (STREQU(*S, NAME_ALL) || STREQU(*S, NAME_ANY)) { in main()
172 if (STREQU(NAME_ALL, p) || STREQU(NAME_ANY, p)) { in main()
H A Doptions.c294 if (!STREQU(A, NAME_QUIET) && !STREQU(A, NAME_LIST))
353 if (!optarg || !*optarg || STREQU(NAME_NONE, optarg))
378 if (!optarg || !*optarg || STREQU(NAME_NONE, optarg))
433 if (STREQU(NAME_ANY, optarg))
476 if ((STREQU(optarg, NAME_NONE)) ||
477 (STREQU(optarg, "localhost")))
480 else if (STREQU(optarg, Local_System)) {
543 if (STREQU(NAME_ONCE, optarg))
613 if (STREQU(optarg, "banner")) {
623 } else if (STREQU(optarg, "nobanner")) {
[all …]
H A Ddo_printer.c195 if (A && STREQU(A, NAME_LIST)) { in do_printer()
204 if (A && STREQU(A, NAME_QUIET)) { in do_printer()
233 if (STREQU(c, NAME_ANY)) in do_printer()
237 if (STREQU(c, NAME_ALL)) in do_printer()
305 if (STREQU(c, NAME_ALL)) in do_printer()
313 if (STREQU(r, NAME_ALL) || STREQU(r, NAME_ANY)) in do_printer()
436 if (STREQU(A, NAME_MAIL) || STREQU(A, NAME_WRITE))
438 else if (!STREQU(A, NAME_QUIET))
580 if (STREQU(*S, NAME_NONE))
H A Ddo_mount.c73 if (form && STREQU(form, NAME_NONE))
75 if (pwheel && (STREQU(pwheel, NAME_ANY) || STREQU(pwheel, NAME_NONE)))
147 if (!STREQU(formbuf.chset, cur_pwheel))
153 } else if (!STREQU(formbuf.chset, pwheel)) {
H A Ddo_align.c642 STREQU(answer, "q") in again()
643 || STREQU(answer, "n") in again()
644 || STREQU(answer, "no") in again()
650 || STREQU(answer, "y") in again()
651 || STREQU(answer, "yes") in again()
/titanic_50/usr/src/cmd/lp/lib/printers/
H A Dokprinter.c66 && !STREQU(NAME_NONE, prbufp->fault_alert.shcmd) in okprinter()
75 && !STREQU(NAME_NONE, prbufp->modules[0]) in okprinter()
104 && !STREQU(prbufp->fault_rec, NAME_CONTINUE) in okprinter()
105 && !STREQU(prbufp->fault_rec, NAME_BEGINNING) in okprinter()
106 && !STREQU(prbufp->fault_rec, NAME_WAIT) in okprinter()
116 STREQU(prbufp->fault_alert.shcmd, NAME_QUIET) in okprinter()
117 || STREQU(prbufp->fault_alert.shcmd, NAME_LIST) in okprinter()
H A Dprintwheels.c72 if (STREQU(NAME_ALL, name)) {
128 if (STREQU(name, NAME_ALL)) {
188 if (STREQU(NAME_ALL, name)) {
/titanic_50/usr/src/cmd/lp/lib/requests/
H A Dgetrequest.c154 if (!STREQU(p, NAME_ANY))
159 if (STREQU(p, NAME_RESUME))
161 else if (STREQU(p, NAME_HOLD))
163 else if (STREQU(p, NAME_IMMEDIATE))
168 if (STREQU(p, "M"))
170 else if (STREQU(p, "W"))
172 else if (STREQU(p, "N"))
191 if (!STREQU(p, NAME_ANY))
243 || STREQU(reqp->input_type, NAME_ANY)
244 || STREQU(reqp->input_type, NAME_TERMINFO)
/titanic_50/usr/src/cmd/lp/cmd/
H A Dlpforms.c241 if (STREQU(NAME_LIST, optarg)) in main()
244 else if (STREQU(NAME_QUIET, optarg)) in main()
248 if (STREQU(MAIL, optarg) || STREQU(WRITE, optarg)) in main()
259 if (STREQU(NAME_ANY, optarg)) in main()
282 if (STREQU(NAME_ONCE, optarg)) in main()
349 if (STREQU(NAME_ANY, form)) in main()
352 if (optind < argc && STREQU(argv[optind], "-")) { in main()
365 if (action == any_alert && STREQU(alert.shcmd, NAME_NONE)) { in main()
383 && !STREQU(NAME_ALL, form) in main()
392 if (P && (! STREQU(P,form))) { in main()
[all …]
/titanic_50/usr/src/cmd/lp/lib/filters/
H A Dinsfilter.c45 #define MATCH(PT, PM) (STREQU((PT)->pattern, PATT_STAR) || \
214 if (STREQU(*p, ppt->keyword) &&
338 if (STREQU(type1->name, NAME_ANY) || STREQU(type2->name, NAME_ANY) ||
339 STREQU(type1->name, type2->name) ||
340 (STREQU(type1->name, NAME_TERMINFO) && type2->info) ||
341 (STREQU(type2->name, NAME_TERMINFO) && type1->info))
711 if (STREQU(pt->keyword, pm->keyword) &&
827 if (!STREQU(pt->keyword, pm->keyword) || !pt->result)
834 if (STREQU(pt->keyword, PARM_INPUT))
836 else if (STREQU(pt->keyword, PARM_OUTPUT))
H A Dgetfilter.c67 if (STREQU(NAME_ALL, name))
94 if (!STREQU(NAME_ALL, name))
/titanic_50/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp2.c226 if (!*printer || STREQU(printer, NAME_ALL)) in s_unload_printer()
281 (!STREQU(pps->dis_reason, CUZ_STOPPED)) && in combineReasons()
340 if (!*printer || STREQU(printer, NAME_ALL)) { in s_inquire_printer_status()
404 if (STREQU(prs->request->destination, class)) { in s_load_class()
474 if (!*class || STREQU(class, NAME_ALL)) { in s_unload_class()
483 if (STREQU(prs->request->destination, in s_unload_class()
510 if (STREQU(prs->request->destination, class)) { in s_unload_class()
543 if (!*class || STREQU(class, NAME_ALL)) { in s_inquire_class()
582 if (!*printer || STREQU(printer, NAME_ALL)) { in s_paper_allowed()
H A Ddisp1.c354 (!STREQU(md->slabel, rp->secure->slabel))) in s_start_change_request()
466 (!STREQU(md->slabel, rp->secure->slabel))) in s_end_change_request()
524 STREQU(oldr.destination, r->destination); in s_end_change_request()
662 if (STREQU(user, "!")) in _cancel()
669 if (STREQU(s_req_id, CURRENT_REQ)) { in _cancel()
679 if (*s_dest && !STREQU(s_dest, crp->request->destination)) in _cancel()
686 !STREQU(s_req_id, crp->secure->req_id)) in _cancel()
704 (!STREQU(md->slabel, crp->secure->slabel))) in _cancel()
764 if (STREQU(destination, NAME_ALL)) in s_cancel()
766 if (STREQU(req_id, NAME_ALL)) in s_cancel()
[all …]
H A Dfaults.c84 if (STREQU(pps->printer->fault_rec, NAME_WAIT)) in printer_fault()
88 else if (STREQU(pps->printer->fault_rec, NAME_BEGINNING)) in printer_fault()
112 if (STREQU(pps->printer->fault_alert.shcmd,"show fault")) in printer_fault()
148 if (STREQU(pps->printer->fault_alert.shcmd,"show fault")) in clear_printer_fault()
H A Dalerts.c121 isFormMessage = (STREQU(fp->form->alert.shcmd, "showfault")); in alert()
164 if (STREQU(pr->printer->fault_rec, NAME_WAIT)) in pformat()
242 if (fp->form->rcolor && !STREQU(fp->form->rcolor, NAME_ANY)) in fformat()
247 if (fp->form->chset && !STREQU(fp->form->chset, NAME_ANY)) in fformat()
298 STREQU(dest, printer) in dest_equivalent_printer()
299 || STREQU(dest, NAME_ANY) in dest_equivalent_printer()
/titanic_50/usr/src/cmd/lp/lib/forms/
H A Dgetform.c68 if (STREQU(NAME_ALL, name)) { in getform()
121 || STREQU(getname(), LPUSER) /* we be lp */ in getform()

123