/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | searchlist.c | 52 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 D | charset.c | 55 else if (STREQU(item, NAME_ANY)) 64 if (alias && STREQU(alias+1, item))
|
H A D | sdn.c | 150 if (is_cpi && STREQU(str, NAME_PICA)) { in _getsdn() 156 } else if (is_cpi && STREQU(str, NAME_ELITE)) { in _getsdn() 162 } else if (is_cpi && STREQU(str, NAME_COMPRESSED)) { in _getsdn()
|
H A D | set_pitch.c | 108 if (which == 'H' && STREQU(str, NAME_PICA)) 111 else if (which == 'H' && STREQU(str, NAME_ELITE)) 117 STREQU(str, NAME_COMPRESSED)
|
H A D | next.c | 76 STREQU(direntp->d_name, ".") 77 || STREQU(direntp->d_name, "..")
|
/illumos-gate/usr/src/cmd/lp/lib/access/ |
H A D | bang.c | 85 if (STREQU (NAME_ALL, user2p) || STREQU(NAME_ALL, user1p)) in bangequ() 103 sysname1_all = STREQU (NAME_ALL, sysname1); in bangequ() 104 username1_all = STREQU (NAME_ALL, username1); in bangequ() 109 STREQU (username1, user2p); in bangequ() 126 sysname2_all = STREQU (NAME_ALL, sysname2); in bangequ() 127 username2_all = STREQU (NAME_ALL, username2); in bangequ() 136 return STREQU (username1, username2); in bangequ() 139 return STREQU (sysname1, sysname2); in bangequ() 141 if (STREQU (sysname1, sysname2) && STREQU (username1, username2)) in bangequ()
|
H A D | change.c | 153 if (STREQU(*pl, NAME_NONE)) { in chgaccess() 158 STREQU(*pl, NAME_ALL) in chgaccess() 159 || STREQU(*pl, NAME_ANY) in chgaccess() 160 || STREQU(*pl, ALL_BANG_ALL) in chgaccess()
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | chkopts.c | 117 && !STREQU(d, NAME_NONE) in chkopts() 146 !STREQU(NAME_ALL, x) in chkopts() 147 && !STREQU(NAME_ANY, x) in chkopts() 160 if (A && STREQU(A, NAME_LIST) && (W != -1 || Q != -1)) { in chkopts() 186 if (!STREQU(NAME_ALL, *S) && !STREQU(NAME_ANY, *S)) in chkopts() 198 if (STREQU(NAME_NONE, p)) { in chkopts() 225 && !STREQU(F, NAME_WAIT) in chkopts() 226 && !STREQU(F, NAME_BEGINNING) in chkopts() 228 !STREQU(F, NAME_CONTINUE) in chkopts() 230 && STREQU(F, NAME_CONTINUE) in chkopts() [all …]
|
H A D | do_pwheel.c | 61 if (A && STREQU(A, NAME_NONE)) { in do_pwheel() 72 if (A && STREQU(A, NAME_LIST)) { in do_pwheel() 79 if (A && STREQU(A, NAME_QUIET)) { in do_pwheel() 103 if (A && STREQU(A, NAME_NONE)) { in do_pwheel() 166 if (STREQU(A, NAME_MAIL) || STREQU(A, NAME_WRITE))
|
H A D | lpadmin.c | 112 if (STREQU(NAME_ALL, x) || STREQU(NAME_ANY, x)) { in main() 151 if (STREQU(*S, NAME_ALL) || STREQU(*S, NAME_ANY)) { in main() 170 if (STREQU(NAME_ALL, p) || STREQU(NAME_ANY, p)) { in main()
|
H A D | options.c | 294 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 D | do_printer.c | 196 if (A && STREQU(A, NAME_LIST)) { in do_printer() 205 if (A && STREQU(A, NAME_QUIET)) { in do_printer() 234 if (STREQU(c, NAME_ANY)) in do_printer() 238 if (STREQU(c, NAME_ALL)) in do_printer() 297 if (STREQU(c, NAME_ALL)) in do_printer() 305 if (STREQU(r, NAME_ALL) || STREQU(r, NAME_ANY)) in do_printer() 423 if (STREQU(A, NAME_MAIL) || in configure_printer() 424 STREQU(A, NAME_WRITE)) in configure_printer() 426 else if (!STREQU(A, NAME_QUIET)) in configure_printer() 560 if (STREQU(*S, NAME_NONE)) in configure_printer()
|
H A D | do_mount.c | 70 if (form && STREQU(form, NAME_NONE)) 72 if (pwheel && (STREQU(pwheel, NAME_ANY) || STREQU(pwheel, NAME_NONE))) 144 if (!STREQU(formbuf.chset, cur_pwheel)) 150 } else if (!STREQU(formbuf.chset, pwheel)) {
|
H A D | do_align.c | 641 STREQU(answer, "q") in again() 642 || STREQU(answer, "n") in again() 643 || STREQU(answer, "no") in again() 649 || STREQU(answer, "y") in again() 650 || STREQU(answer, "yes") in again()
|
/illumos-gate/usr/src/cmd/lp/lib/printers/ |
H A D | okprinter.c | 64 && !STREQU(NAME_NONE, prbufp->fault_alert.shcmd) in okprinter() 73 && !STREQU(NAME_NONE, prbufp->modules[0]) in okprinter() 102 && !STREQU(prbufp->fault_rec, NAME_CONTINUE) in okprinter() 103 && !STREQU(prbufp->fault_rec, NAME_BEGINNING) in okprinter() 104 && !STREQU(prbufp->fault_rec, NAME_WAIT) in okprinter() 114 STREQU(prbufp->fault_alert.shcmd, NAME_QUIET) in okprinter() 115 || STREQU(prbufp->fault_alert.shcmd, NAME_LIST) in okprinter()
|
H A D | printwheels.c | 70 if (STREQU(NAME_ALL, name)) { 126 if (STREQU(name, NAME_ALL)) { 186 if (STREQU(NAME_ALL, name)) {
|
/illumos-gate/usr/src/cmd/lp/lib/requests/ |
H A D | getrequest.c | 152 if (!STREQU(p, NAME_ANY)) 157 if (STREQU(p, NAME_RESUME)) 159 else if (STREQU(p, NAME_HOLD)) 161 else if (STREQU(p, NAME_IMMEDIATE)) 166 if (STREQU(p, "M")) 168 else if (STREQU(p, "W")) 170 else if (STREQU(p, "N")) 189 if (!STREQU(p, NAME_ANY)) 241 || STREQU(reqp->input_type, NAME_ANY) 242 || STREQU(reqp->input_type, NAME_TERMINFO)
|
/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpforms.c | 241 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 …]
|
/illumos-gate/usr/src/cmd/lp/lib/filters/ |
H A D | insfilter.c | 44 #define MATCH(PT, PM) (STREQU((PT)->pattern, PATT_STAR) || \ 213 if (STREQU(*p, ppt->keyword) && 337 if (STREQU(type1->name, NAME_ANY) || STREQU(type2->name, NAME_ANY) || 338 STREQU(type1->name, type2->name) || 339 (STREQU(type1->name, NAME_TERMINFO) && type2->info) || 340 (STREQU(type2->name, NAME_TERMINFO) && type1->info)) 710 if (STREQU(pt->keyword, pm->keyword) && 826 if (!STREQU(pt->keyword, pm->keyword) || !pt->result) 833 if (STREQU(pt->keyword, PARM_INPUT)) 835 else if (STREQU(pt->keyword, PARM_OUTPUT))
|
H A D | getfilter.c | 67 if (STREQU(NAME_ALL, name)) 94 if (!STREQU(NAME_ALL, name))
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp2.c | 226 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 D | disp1.c | 355 (!STREQU(md->slabel, rp->secure->slabel))) in s_start_change_request() 467 (!STREQU(md->slabel, rp->secure->slabel))) in s_end_change_request() 525 STREQU(oldr.destination, r->destination); in s_end_change_request() 663 if (STREQU(user, "!")) in _cancel() 670 if (STREQU(s_req_id, CURRENT_REQ)) { in _cancel() 680 if (*s_dest && !STREQU(s_dest, crp->request->destination)) in _cancel() 687 !STREQU(s_req_id, crp->secure->req_id)) in _cancel() 705 (!STREQU(md->slabel, crp->secure->slabel))) in _cancel() 765 if (STREQU(destination, NAME_ALL)) in s_cancel() 767 if (STREQU(req_id, NAME_ALL)) in s_cancel() [all …]
|
H A D | alerts.c | 121 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()
|
H A D | faults.c | 81 if (STREQU(pps->printer->fault_rec, NAME_WAIT)) in printer_fault() 85 else if (STREQU(pps->printer->fault_rec, NAME_BEGINNING)) in printer_fault() 109 if (STREQU(pps->printer->fault_alert.shcmd,"show fault")) in printer_fault() 145 if (STREQU(pps->printer->fault_alert.shcmd,"show fault")) in clear_printer_fault()
|
/illumos-gate/usr/src/cmd/lp/lib/forms/ |
H A D | getform.c | 66 if (STREQU(NAME_ALL, name)) { in getform() 119 || STREQU(getname(), LPUSER) /* we be lp */ in getform()
|