/freebsd-10.0-release/usr.sbin/lpr/lpc/ |
H A D | lpc.h | 37 struct printer; 47 * initialization work for generic-printer cmds: */ 49 /* routine to do the work for generic-printer cmds: */ 50 void (*c_generic)(struct printer *);
|
H A D | extern.h | 46 void abort_q(struct printer *_pp); 49 void clean_q(struct printer *_pp); 50 void disable_q(struct printer *_pp); 52 void down_q(struct printer *_pp); 53 void enable_q(struct printer *_pp); 54 void generic(void (*_specificrtn)(struct printer *_pp), int _cmdopts, 59 void restart_q(struct printer *_pp); 61 void setstatus_q(struct printer *_pp); 62 void start_q(struct printer *_pp); 63 void status(struct printer *_p [all...] |
H A D | cmds.c | 47 * lpc -- line printer control program -- commands: 86 static void upstat(struct printer *_pp, const char *_msg, int _notify); 108 generic(void (*specificrtn)(struct printer *_pp), int cmdopts, 112 struct printer myprinter, *pp; 119 * that they give will be processed as a printer name. 121 printf("usage: %s {all | printer ...}", argv[0]); 124 printf(" or: down {all | printer} [<text> ...]"); 142 * only the parameters which have to do with printer names. 168 printf("error: No printer name(s) specified before" 170 printf("usage: %s {all | printer [all...] |
/freebsd-10.0-release/usr.sbin/lpr/lpd/ |
H A D | extern.h | 38 struct printer; 42 void printjob(struct printer *_pp);
|
H A D | recvjob.c | 47 * Receive printer jobs from the network, queue them and 48 * start the printer daemon. 86 static int readfile(struct printer *_pp, char *_file, size_t _size); 87 static int readjob(struct printer *_pp); 91 recvjob(const char *printer) argument 95 struct printer myprinter, *pp = &myprinter; 98 * Perform lookup for printer name or abbreviation 101 status = getprintcap(printer, pp); 104 frecverr("cannot open printer description file"); 107 frecverr("unknown printer [all...] |
H A D | printjob.c | 132 static void banner(struct printer *_pp, char *_name1, char *_name2); 133 static int dofork(const struct printer *_pp, int _action); 135 static int execfilter(struct printer *_pp, char *_f_cmd, char **_f_av, 137 static void init(struct printer *_pp); 138 static void openpr(const struct printer *_pp); 139 static void opennet(const struct printer *_pp); 140 static void opentty(const struct printer *_pp); 141 static void openrem(const struct printer *pp); 142 static int print(struct printer *_pp, int _format, char *_file); 143 static int printit(struct printer *_p 1747 startprinting(const char *printer) argument [all...] |
/freebsd-10.0-release/gnu/usr.bin/groff/src/libs/libdriver/ |
H A D | Makefile | 5 SRCS= input.cpp printer.cpp
|
/freebsd-10.0-release/contrib/groff/src/libs/libdriver/ |
H A D | printer.cpp | 3 // <groff_src_dir>/src/libs/libdriver/printer.cpp 85 printer::printer() function in class:printer 90 printer::~printer() 103 void printer::load_font(int n, const char *nm) 134 font *printer::find_font(const char *nm) 146 font *printer::make_font(const char *nm) 151 void printer::end_of_line() 155 void printer [all...] |
/freebsd-10.0-release/usr.sbin/lpr/lpq/ |
H A D | lpq.c | 53 * -P used to identify printer as per lpr/lprm 77 static int ckqueue(const struct printer *_pp); 85 const char *printer; local 86 struct printer myprinter, *pp = &myprinter; 88 printer = NULL; 106 case 'P': /* printer name */ 107 printer = optarg; 114 if (!aflag && printer == NULL && (printer = getenv("PRINTER")) == NULL) 115 printer [all...] |
/freebsd-10.0-release/usr.sbin/lpr/lprm/ |
H A D | lprm.c | 90 const char *printer; local 94 printer = NULL; 122 printer = &arg[2]; 125 printer = *++argv; 150 if (printer == NULL && (printer = getenv("PRINTER")) == NULL) 151 printer = DEFLP; 153 rmjob(printer);
|
/freebsd-10.0-release/usr.sbin/lpr/common_source/ |
H A D | lp.h | 48 struct printer { struct 49 char *printer; /* printer name */ member in struct:printer 74 char *remote_queue; /* RP: remote printer name */ 133 struct printer prtr; /* which printer is it for? */ 150 * Global definitions for the line printer system. 273 char *checkremote(struct printer *_pp); 277 void displayq(struct printer *_pp, int _format); 279 void fatal(const struct printer *_p [all...] |
H A D | printcap.c | 72 static int getprintcap_int(char *_bp, struct printer *_pp); 86 * Read the printcap database for printer `printer' into the 87 * struct printer pointed by `pp'. Return values are as for 97 getprintcap(const char *printer, struct printer *pp) argument 107 XXX = (char *)printer; 149 firstprinter(struct printer *pp, int *error) 171 nextprinter(struct printer *pp, int *error) 213 * Also attempt to figure out the canonical name of the printer [all...] |
H A D | startdaemon.c | 53 * Tell the printer daemon that there are new files in the spool directory. 57 startdaemon(const struct printer *pp) 89 if (writel(s, "\1", pp->printer, "\n", (char *)0) <= 0) {
|
/freebsd-10.0-release/usr.sbin/lpr/chkprintcap/ |
H A D | chkprintcap.c | 56 static int interpret_error(const struct printer *pp, int error); 57 static void make_spool_dir(const struct printer *pp); 58 static void note_spool_dir(const struct printer *pp, const struct stat *st); 73 struct printer myprinter, *pp; 137 warn("%s: %s", pp->printer, pp->spool_dir); 168 interpret_error(const struct printer *pp, int error) 172 err(++problems, "reading printer database"); 175 warnx("%s: loop detected in tc= expansion", pp->printer); 178 warnx("%s: unresolved tc= expansion", pp->printer); 199 char *printer; member in struct:dirlist [all...] |
/freebsd-10.0-release/contrib/groff/src/include/ |
H A D | printer.h | 3 // <groff_src_dir>/src/include/printer.h 32 The class `printer' performs the postprocessing. Each 33 postprocessor only needs to implement a derived class of `printer' and 35 Then the methods of class `printer' are called automatically by 61 class printer { class 63 printer(); 64 virtual ~printer(); 107 printer *make_printer();
|
/freebsd-10.0-release/contrib/llvm/lib/Target/MBlaze/ |
H A D | MBlazeMCInstLower.h | 32 MBlazeMCInstLower(MCContext &ctx, AsmPrinter &printer) argument 33 : Ctx(ctx), Printer(printer) {}
|
/freebsd-10.0-release/contrib/llvm/lib/Target/MSP430/ |
H A D | MSP430MCInstLower.h | 32 MSP430MCInstLower(MCContext &ctx, AsmPrinter &printer) argument 33 : Ctx(ctx), Printer(printer) {}
|
/freebsd-10.0-release/contrib/gcc/ |
H A D | diagnostic.c | 96 /* Allocate a basic pretty-printer. Clients will replace this a 97 much more elaborated pretty-printer if they wish. */ 98 context->printer = XNEW (pretty_printer); 99 pp_construct (context->printer, NULL, 0); 101 context->printer->buffer->stream = stderr; 103 context->printer->wrapping.rule = DIAGNOSTICS_SHOW_PREFIX_ONCE; 222 pp_verbatim (context->printer, 296 if (pp_needs_newline (context->printer)) 298 pp_newline (context->printer); 299 pp_needs_newline (context->printer) [all...] |
H A D | diagnostic.h | 65 pretty_printer *printer; member in struct:diagnostic_context 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; 514 pp_set_prefix (context->printer, new_prefix); 517 pp_printf (context->printer, _("At top level:")); 522 (context->printer, _("In member function %qs:"), 526 (context->printer, _("In function %qs:"), 531 pp_flush (context->printer); 532 context->printer->prefix = old_prefix;
|
/freebsd-10.0-release/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_printer_tbl.c | 89 * Create entry into the printer table. 111 * Delete entry from the printer table. 126 * Find a printer by its index 141 * Get the status of a printer 144 get_printer_status(const struct printer *pp) 205 * Called for each printer found in /etc/printcap. 208 handle_printer(struct printer *pp) 216 HRDBG("skipped %s -- remote", pp->printer); 221 HRDBG("skipped %s [device %s] -- remote", pp->printer, pp->lp); 228 HRDBG("printer [all...] |
/freebsd-10.0-release/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | alist.c | 200 int (*printer)(void *, void *) = private; 203 printer(el->ale_name, el->ale_value); 209 alist_dump(alist_t *alist, int (*printer)(void *, void *)) 211 if (!printer) 212 printer = alist_def_print_cb; 214 return (hash_iter(alist->al_elements, alist_dump_cb, (void *)printer));
|
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | print-ppi.c | 48 if_printer printer; local 68 if ((printer = lookup_printer(dlt)) != NULL) { 69 printer(h, p); 83 * This is the top level routine of the printer. 'p' points
|
/freebsd-10.0-release/usr.sbin/lpr/pac/ |
H A D | pac.c | 111 const char *cp, *printer; local 113 printer = NULL; 124 printer = cp; 170 if (printer == NULL && (printer = getenv("PRINTER")) == NULL) 171 printer = DEFLP; 172 if (!chkprinter(printer)) { 173 printf("pac: unknown printer %s\n", printer); 421 * Perform lookup for printer nam [all...] |
/freebsd-10.0-release/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 59 * using information from a printer data base. 116 static void chkprinter(const char *_ptrname, struct printer *_pp); 118 static void copy(const struct printer *_pp, int _f, const char _n[]); 122 static char *lmktemp(const struct printer *_pp, const char *_id, 124 static void mktemps(const struct printer *_pp); 136 const char *arg, *cp, *printer; local 143 struct printer myprinter, *pp = &myprinter; 145 printer = NULL; 192 case 'P': /* specifiy printer name */ 193 printer [all...] |