| /openbsd-src/usr.sbin/tcpdump/ |
| H A D | INSTALL | 14 bpf_dump.c - bpf instruction pretty-printer routine 37 print-arp.c - Address Resolution Protocol printer routines 38 print-atalk.c - AppleTalk printer routines 39 print-atm.c - atm printer routines 40 print-bootp.c - BOOTP printer routines 41 print-cnfp.c - Cisco NetFlow printer routines 42 print-decnet.c - DECnet printer routines 43 print-domain.c - Domain Name System printer routines 44 print-enc.c - Encapsulated printer routines 45 print-ether.c - ethernet printer routines [all …]
|
| H A D | tcpdump.c | 104 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-src/usr.sbin/lpr/lpc/ |
| H A D | cmds.c | 87 printer = prbuf; in doabort() 100 printer = *++argv; in doabort() 101 if ((status = cgetent(&bp, printcapdb, printer)) == -2) { in doabort() 105 printf("unknown printer %s\n", printer); in doabort() 125 printf("%s:\n", printer); in abortpr() 227 printer = prbuf; in clean() 240 printer = *++argv; in clean() 241 if ((status = cgetent(&bp, printcapdb, printer)) == -2) { in clean() 245 printf("unknown printer %s\n", printer); in clean() 299 printf("%s:\n", printer); in cleanpr() [all …]
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | diagnostic.c | 96 context->printer = XNEW (pretty_printer); in diagnostic_initialize() 97 pp_construct (context->printer, NULL, 0); in diagnostic_initialize() 99 context->printer->buffer->stream = stderr; in diagnostic_initialize() 101 context->printer->wrapping.rule = DIAGNOSTICS_SHOW_PREFIX_ONCE; in diagnostic_initialize() 220 pp_verbatim (context->printer, in diagnostic_count_diagnostic() 294 if (pp_needs_newline (context->printer)) in diagnostic_report_current_module() 296 pp_newline (context->printer); in diagnostic_report_current_module() 297 pp_needs_newline (context->printer) = false; 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() [all …]
|
| H A D | diagnostic.h | 65 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 D | langhooks.c | 511 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-src/usr.bin/file/magdir/ |
| H A D | printer | 1 # $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) 97 # These are the /etc/magic entries to decode data sent to an Epson printer. 102 # zenographics: file(1) magic for Zenographics ZjStream printer data 105 >0x12 string ZZ Zenographics ZjStream printer data (big-endian) 107 >0x12 string ZZ Zenographics ZjStream printer data (little-endian) [all …]
|
| H A D | psion | 9 >4 lelong 0x1000003A printer driver 41 >4 lelong 0x10000140 printer definition 42 >4 lelong 0x10000141 printer definition
|
| /openbsd-src/usr.sbin/lpr/lpd/ |
| H A D | printjob.c | 180 syslog(LOG_ERR, "%s: %s: %m", printer, LO); in printjob() 196 syslog(LOG_ERR, "%s: %s: %m", printer, LO); in printjob() 203 syslog(LOG_ERR, "%s: can't scan %s", printer, SD); in printjob() 211 syslog(LOG_ERR, "%s: %s: %m", printer, LO); in printjob() 237 syslog(LOG_ERR, "%s: %s: %m", printer, LO); in printjob() 257 printer, LO); in printjob() 265 syslog(LOG_INFO, "restarting %s", printer); in printjob() 275 syslog(LOG_WARNING, "%s: %s: %m", printer, LO); in printjob() 281 syslog(LOG_WARNING, "%s: job could not be %s (%s)", printer, in printjob() 300 syslog(LOG_ERR, "%s: can't scan %s", printer, SD); in printjob() [all …]
|
| H A D | lpd.c | 472 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() 490 if (*printer == '\0') in doit() 491 printer = DEFLP; in doit() 519 printer = cp; in doit() [all …]
|
| H A D | recvjob.c | 84 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-src/usr.sbin/lpr/lpq/ |
| H A D | lpq.c | 96 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-src/usr.sbin/pppd/ |
| H A D | cbcp.c | 54 void (*printer)(void *, char *, ...), void *arg); 183 cbcp_printpkt(u_char *p, int plen, void (*printer)(void *, char *, ...), in cbcp_printpkt() 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(ar in cbcp_printpkt() [all...] |
| H A D | upap.c | 542 upap_printpkt(u_char *p, int plen, void (*printer)(void *, char *, ...), void *arg) 559 printer(arg, " %s", upap_codenames[code-1]); 561 printer(arg, " code=0x%x", code); 562 printer(arg, " id=0x%x", id); 578 printer(arg, " user="); 579 print_string(user, ulen, printer, arg); 580 printer(arg, " password="); 581 print_string(pwd, wlen, printer, arg); 593 printer(arg, " "); 594 print_string(msg, mlen, printer, ar 571 upap_printpkt(p,plen,printer,arg) upap_printpkt() argument [all...] |
| H A D | lcp.c | 1528 lcp_printpkt(u_char *p, int plen, void (*printer)(void *, char *, ...), void *arg) 1545 printer(arg, " %s", lcp_codenames[code-1]); 1547 printer(arg, " code=0x%x", code); 1548 printer(arg, " id=0x%x", id); 1563 printer(arg, " <"); 1571 printer(arg, "mru %d", cishort); in lcp_printpkt() 1578 printer(arg, "asyncmap 0x%x", cilong); 1584 printer(arg, "auth "); 1588 printer(arg, "pap"); 1591 printer(ar 1570 lcp_printpkt(p,plen,printer,arg) lcp_printpkt() argument [all...] |
| H A D | ccp.c | 59 void (*printer)(void *, char *, ...), void *arg); 925 ccp_printpkt(u_char *p, int plen, void (*printer)(void *, char *, ...), void *arg) 942 printer(arg, " %s", ccp_codenames[code-1]); 944 printer(arg, " code=0x%x", code); 945 printer(arg, " id=0x%x", id); 960 printer(arg, " <"); in ccp_printpkt() argument 967 printer(arg, "deflate%s %d", 971 printer(arg, " method %d", DEFLATE_METHOD(p[2])); 973 printer(arg, " check %d", p[3]); 979 printer(ar [all...] |
| H A D | chap.c | 774 ChapPrintPkt(u_char *p, int plen, void (*printer)(void *, char *, ...), void *arg) 789 printer(arg, " %s", ChapCodenames[code-1]); 791 printer(arg, " code=0x%x", code); 792 printer(arg, " id=0x%x", id); 804 printer(arg, " <"); 807 printer(arg, "%.2x", x); 809 printer(arg, ">, name = "); 810 print_string((char *)p, nlen, printer, arg); 814 printer(arg, " "); 815 print_string((char *)p, len, printer, ar 811 ChapPrintPkt(p,plen,printer,arg) ChapPrintPkt() argument [all...] |
| H A D | main.c | 1222 * calling `printer(arg, format, ...)' to output it. 1225 format_packet(u_char *p, int len, void (*printer)(void *, char *, ...), void *arg) 1240 printer(arg, "[%s", protp->name); 1241 n = (*protp->printpkt)(p, len, printer, arg); 1242 printer(arg, "]"); 1246 printer(arg, "[proto=0x%x]", proto); in format_packet() 1252 printer(arg, " %.2x", x); 1278 * printer. 1281 print_string(char *p, int len, void (*printer)(void *, char *, ...), void *arg) in pr_log() 1285 printer(ar in pr_log() 1245 format_packet(p,len,printer,arg) format_packet() argument 1305 print_string(p,len,printer,arg) print_string() argument [all...] |
| H A D | ipcp.c | 1353 ipcp_printpkt(u_char *p, int plen, void (*printer)(void *, char *, ...), void *arg) 1370 printer(arg, " %s", ipcp_codenames[code-1]); 1372 printer(arg, " code=0x%x", code); 1373 printer(arg, " id=0x%x", id); 1388 printer(arg, " <"); 1396 printer(arg, "addrs %I", htonl(cilong)); 1398 printer(arg, " %I", htonl(cilong)); 1405 printer(arg, "compress "); 1408 printer(arg, "VJ"); 1411 printer(ar 1389 ipcp_printpkt(p,plen,printer,arg) ipcp_printpkt() argument [all...] |
| /openbsd-src/usr.sbin/lpd/ |
| H A D | lp_stty.c | 12 static const char *printer; variable 144 log_warnx("%s: illegal option: %s", printer, name); in ksearch() 148 log_warnx("%s: option requires an argument: %s", printer, name); in ksearch() 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() [all …]
|
| /openbsd-src/gnu/llvm/clang/utils/ABITest/ |
| H A D | TypeGen.py | 28 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 107 return '%s : 0;'%(printer.getTypeName(t),) 109 return '%s field%d : %d;'%(printer.getTypeName(t),i, 112 return '%s field%d;'%(printer.getTypeName(t),i) [all …]
|
| /openbsd-src/usr.sbin/lpr/lprm/ |
| H A D | lprm.c | 112 printer = optarg; in main() 130 if (printer == NULL && (printer = getenv("PRINTER")) == NULL) in main() 131 printer = DEFLP; in main()
|
| /openbsd-src/sys/dev/pci/drm/i915/ |
| H A D | i915_ttm_buddy_manager.c | 241 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-src/etc/examples/ |
| H A D | printcap | 3 #lp|local line printer:\ 6 #rp|remote line printer:\
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_stacktrace_libcdep.cpp | 97 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()
|