Home
last modified time | relevance | path

Searched refs:printer (Results 1 – 25 of 161) sorted by relevance

1234567

/openbsd/usr.sbin/tcpdump/
H A DINSTALL39 print-atm.c - atm printer routines
40 print-bootp.c - BOOTP printer routines
42 print-decnet.c - DECnet printer routines
51 print-ip.c - ip printer routines
53 print-ipx.c - IPX printer routines
55 print-krb.c - Kerberos printer routines
56 print-llc.c - llc printer routines
60 print-null.c - null printer routines
64 print-raw.c - raw printer routines
69 print-tcp.c - TCP printer routines
[all …]
H A Dtcpdump.c104 struct printer { struct
114 static struct printer printers[] = { argument
140 struct printer *p; in lookup_printer()
214 pcap_handler printer; in main() local
502 printer = pcap_dump; in main()
505 printer = lookup_printer(pcap_datalink(pd)); in main()
523 if (pcap_loop(pd, cnt, printer, pcap_userdata) < 0) { in main()
/openbsd/usr.sbin/lpr/lpc/
H A Dcmds.c87 printer = prbuf; in doabort()
100 printer = *++argv; in doabort()
227 printer = prbuf; in clean()
240 printer = *++argv; in clean()
380 printer = prbuf; in enable()
448 printer = prbuf; in disable()
526 printer = prbuf; in down()
647 printer = prbuf; in restart()
691 printer = prbuf; in startcmd()
763 printer = prbuf; in status()
[all …]
/openbsd/gnu/gcc/gcc/
H A Ddiagnostic.c96 context->printer = XNEW (pretty_printer); in diagnostic_initialize()
220 pp_verbatim (context->printer, in diagnostic_count_diagnostic()
296 pp_newline (context->printer); in diagnostic_report_current_module()
304 pp_verbatim (context->printer, in diagnostic_report_current_module()
310 pp_verbatim (context->printer, in diagnostic_report_current_module()
316 pp_newline (context->printer); in diagnostic_report_current_module()
332 pp_destroy_prefix (context->printer); in default_diagnostic_finalizer()
371 pp_flush (context->printer); in diagnostic_report_diagnostic()
408 pp_flush (context->printer); in diagnostic_report_diagnostic()
463 pp_flush (global_dc->printer); in verbatim()
[all …]
H A Ddiagnostic.h65 pretty_printer *printer; member
128 #define diagnostic_format_decoder(DC) ((DC)->printer->format_decoder)
131 #define diagnostic_prefixing_rule(DC) ((DC)->printer->wrapping.rule)
135 #define diagnostic_line_cutoff(DC) ((DC)->printer->wrapping.line_cutoff)
137 #define diagnostic_flush_buffer(DC) pp_base_flush ((DC)->printer)
H A Dlanghooks.c511 const char *old_prefix = context->printer->prefix; in lhd_print_error_function()
514 pp_set_prefix (context->printer, new_prefix); in lhd_print_error_function()
517 pp_printf (context->printer, _("At top level:")); in lhd_print_error_function()
522 (context->printer, _("In member function %qs:"), in lhd_print_error_function()
526 (context->printer, _("In function %qs:"), in lhd_print_error_function()
531 pp_flush (context->printer); in lhd_print_error_function()
532 context->printer->prefix = old_prefix; in lhd_print_error_function()
/openbsd/usr.bin/file/magdir/
H A Dprinter1 # $OpenBSD: printer,v 1.7 2009/04/24 18:54:34 chl Exp $
4 # printer: file(1) magic for printer-formatted files
64 0 string \033E\033 HP PCL printer data
78 # IMAGEN printer-ready files:
79 0 string @document( Imagen printer
84 >10 string language\ printer (line printer emulation)
105 >0x12 string ZZ Zenographics ZjStream printer data (big-endian)
107 >0x12 string ZZ Zenographics ZjStream printer data (little-endian)
111 # Oak Technologies printer stream
115 >0x0b byte 0 Oak Technologies printer stream
[all …]
H A Dpsion9 >4 lelong 0x1000003A printer driver
41 >4 lelong 0x10000140 printer definition
42 >4 lelong 0x10000141 printer definition
/openbsd/usr.sbin/lpr/lpd/
H A Dprintjob.c180 syslog(LOG_ERR, "%s: %s: %m", printer, LO); in printjob()
257 printer, LO); in printjob()
689 printer, format); in print()
696 printer, format); in print()
774 printer, format, WTERMSIG(status)); in print()
929 printer, RM); in sendfile()
1366 printer); in openpr()
1465 printer); in opentty()
1544 printer); in setty()
1561 printer); in setty()
[all …]
H A Dlpd.c472 printer = cp; in doit()
473 if (*printer == '\0') in doit()
474 printer = DEFLP; in doit()
482 printer = cp; in doit()
483 if (*printer == '\0') in doit()
484 printer = DEFLP; in doit()
489 printer = cp; in doit()
491 printer = DEFLP; in doit()
519 printer = cp; in doit()
521 printer = DEFLP; in doit()
[all …]
H A Drecvjob.c84 if ((status = cgetent(&bp, printcapdb, printer)) == -2) in recvjob()
87 frecverr("unknown printer %s", printer); in recvjob()
107 frecverr("%s: %s: %m", printer, SD); in recvjob()
115 frecverr("%s: %s: %m", printer, SD); in recvjob()
146 printer); in readjob()
/openbsd/usr.sbin/lpr/lpq/
H A Dlpq.c96 printer = optarg; in main()
112 if (!aflag && printer == NULL && (printer = getenv("PRINTER")) == NULL) in main()
113 printer = DEFLP; in main()
138 printer = buf; in main()
139 printf("%s:\n", printer); in main()
/openbsd/usr.sbin/pppd/
H A Dcbcp.c54 void (*printer)(void *, char *, ...), void *arg);
199 printer(arg, " %s", cbcp_codenames[code-1]); in cbcp_printpkt()
201 printer(arg, " code=0x%x", code); in cbcp_printpkt()
203 printer(arg, " id=0x%x", id); in cbcp_printpkt()
218 printer(arg, " <"); in cbcp_printpkt()
222 printer(arg, " %s", cbcp_optionnames[opt-1]); in cbcp_printpkt()
224 printer(arg, " option=0x%x", opt); in cbcp_printpkt()
228 printer(arg, " delay = %d", delay); in cbcp_printpkt()
238 printer(arg, " number = %s", str); in cbcp_printpkt()
240 printer(arg, ">"); in cbcp_printpkt()
[all …]
H A Dupap.c571 upap_printpkt(p, plen, printer, arg) in upap_printpkt() argument
574 void (*printer)(void *, char *, ...);
594 printer(arg, " code=0x%x", code);
595 printer(arg, " id=0x%x", id);
611 printer(arg, " user=");
612 print_string(user, ulen, printer, arg);
613 printer(arg, " password=");
614 print_string(pwd, wlen, printer, arg);
626 printer(arg, " ");
627 print_string(msg, mlen, printer, arg);
[all …]
H A Dlcp.c1609 printer(arg, " <");
1630 printer(arg, "auth ");
1634 printer(arg, "pap");
1637 printer(arg, "chap");
1651 printer(arg, "lqr");
1665 printer(arg, "CBCP");
1682 printer(arg, "pcomp");
1688 printer(arg, "accomp");
1696 printer(arg, ">");
1703 printer(arg, " ");
[all …]
H A Dccp.c960 ccp_printpkt(p, plen, printer, arg) in ccp_printpkt() argument
983 printer(arg, " code=0x%x", code);
984 printer(arg, " id=0x%x", id);
999 printer(arg, " <");
1006 printer(arg, "deflate%s %d",
1012 printer(arg, " check %d", p[3]);
1025 printer(arg, "predictor 1");
1031 printer(arg, "predictor 2");
1037 printer(arg, " %.2x", *p++);
1038 printer(arg, ">");
[all …]
H A Dchap.c811 ChapPrintPkt(p, plen, printer, arg) in ChapPrintPkt() argument
814 void (*printer)(void *, char *, ...);
830 printer(arg, " %s", ChapCodenames[code-1]);
832 printer(arg, " code=0x%x", code);
833 printer(arg, " id=0x%x", id);
845 printer(arg, " <");
848 printer(arg, "%.2x", x);
850 printer(arg, ">, name = ");
855 printer(arg, " ");
856 print_string((char *)p, len, printer, arg);
[all …]
H A Dmain.c1266 printer(arg, "]");
1276 printer(arg, " %.2x", x);
1305 print_string(p, len, printer, arg) in print_string() argument
1313 printer(arg, "\"");
1318 printer(arg, "\\");
1319 printer(arg, "%c", c);
1323 printer(arg, "\\n");
1326 printer(arg, "\\r");
1329 printer(arg, "\\t");
1332 printer(arg, "\\%.3o", c);
[all …]
H A Dipcp.c1412 printer(arg, " code=0x%x", code);
1413 printer(arg, " id=0x%x", id);
1428 printer(arg, " <");
1445 printer(arg, "compress ");
1448 printer(arg, "VJ");
1451 printer(arg, "old-VJ");
1454 printer(arg, "0x%x", cishort);
1480 printer(arg, " %.2x", code);
1482 printer(arg, ">");
1489 printer(arg, " ");
[all …]
/openbsd/usr.sbin/lpd/
H A Dlp_stty.c12 static const char *printer; variable
277 log_warn("%s: ioctl(TIOCSETD)", printer); in f_tty()
493 printer = lp->lp_name; in lp_stty()
498 fatal("%s: ioctl(TIOCEXCL)", printer); in lp_stty()
501 fatal("%s: tcgetattr", printer); in lp_stty()
509 fatal("%s: ioctl(TIOCGETD)", printer); in lp_stty()
512 log_warn("%s: ioctl(TIOCGWINSZ)", printer); in lp_stty()
516 fatal("%s: malloc", printer); in lp_stty()
523 fatal("%s: strdup", printer); in lp_stty()
539 fatal("%s: tcsetattr", printer); in lp_stty()
[all …]
/openbsd/gnu/llvm/clang/utils/ABITest/
H A DTypeGen.py28 def getTypeName(self, printer): argument
29 name = 'T%d' % len(printer.types)
30 typedef = self.getTypedefDef(name, printer)
31 printer.addDeclaration(typedef)
50 def getTypeName(self, printer): argument
82 def getTypedefDef(self, name, printer): argument
102 def getTypedefDef(self, name, printer): argument
144 def getTypedefDef(self, name, printer): argument
145 elementName = printer.getTypeName(self.elementType)
165 def getTypedefDef(self, name, printer): argument
[all …]
/openbsd/usr.sbin/lpr/lprm/
H A Dlprm.c112 printer = optarg; in main()
130 if (printer == NULL && (printer = getenv("PRINTER")) == NULL) in main()
131 printer = DEFLP; in main()
/openbsd/sys/dev/pci/drm/i915/
H A Di915_ttm_buddy_manager.c241 struct drm_printer *printer) in i915_ttm_buddy_man_debug() argument
247 drm_printf(printer, "default_page_size: %lluKiB\n", in i915_ttm_buddy_man_debug()
249 drm_printf(printer, "visible_avail: %lluMiB\n", in i915_ttm_buddy_man_debug()
251 drm_printf(printer, "visible_size: %lluMiB\n", in i915_ttm_buddy_man_debug()
253 drm_printf(printer, "visible_reserved: %lluMiB\n", in i915_ttm_buddy_man_debug()
256 drm_buddy_print(&bman->mm, printer); in i915_ttm_buddy_man_debug()
258 drm_printf(printer, "reserved:\n"); in i915_ttm_buddy_man_debug()
260 drm_buddy_block_print(&bman->mm, block, printer); in i915_ttm_buddy_man_debug()
/openbsd/etc/examples/
H A Dprintcap3 #lp|local line printer:\
6 #rp|remote line printer:\
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace_libcdep.cpp97 StackTraceTextPrinter printer(common_flags()->stack_trace_format, '\n', in PrintTo() local
109 CHECK(printer.ProcessAddressFrames(pc)); in PrintTo()
197 StackTraceTextPrinter printer(fmt, '\0', &output, nullptr); in __sanitizer_symbolize_pc() local
198 if (!printer.ProcessAddressFrames(pc)) { in __sanitizer_symbolize_pc()

1234567