/illumos-gate/usr/src/cmd/lp/lib/forms/ |
H A D | freeform.c | 42 FORM * pf 45 freeform (pf) 46 FORM * pf; 49 if (!pf) 51 if (pf->chset) 52 Free (pf->chset); 53 if (pf->rcolor) 54 Free (pf->rcolor); 55 if (pf->comment) 56 Free (pf [all...] |
/illumos-gate/usr/src/cmd/lp/lib/filters/ |
H A D | trash.c | 40 register _FILTER *pf; local 43 for (pf = filters; pf->name; pf++) 44 free_filter (pf);
|
H A D | getfilter.c | 50 static _FILTER *pf = 0; local 68 if (pf) { 69 if (!(++pf)->name) 70 pf = 0; 72 pf = filters; 74 pf = search_filter(name); 76 if (!pf || !pf->name) { 81 flbuf.name = Strdup(pf->name); 82 flbuf.command = (pf [all...] |
H A D | search.c | 48 register _FILTER *pf; local 50 for (pf = filters; pf->name; pf++) 51 if (STREQU(pf->name, name)) 53 return (pf->name? pf : 0);
|
H A D | freefilter.c | 89 FILTER * pf 92 freefilter (pf) 93 FILTER *pf; 96 if (!pf) 98 if (pf->name) 99 Free (pf->name); 100 if (pf->command) 101 Free (pf->command); 102 freelist (pf->printers); 103 freelist (pf [all...] |
H A D | delfilter.c | 50 register _FILTER *pf; local 70 if (!(pf = search_filter(name))) { 75 free_filter (pf); 76 for (; pf->name; pf++) 77 *pf = *(pf+1);
|
H A D | dumpfilters.c | 54 register _FILTER *pf; local 66 if (filters) for (pf = filters; pf->name; pf++) { 72 p = pf->name; 75 if ((p = fw_zDblQte (pf->command)) != NULL) { 81 p = pf->command; 86 (pf->type == fl_fast? FL_FAST : FL_SLOW)); 89 pty = pf->printer_types; 92 pty = pf [all...] |
H A D | putfilter.c | 54 register _FILTER *pf; local 89 if ((pf = search_filter(name))) 90 free_filter (pf); 103 pf = filters + nfilters - 1; 109 pf = filters = (_FILTER *)Malloc( 121 *pf = _flbuf;
|
H A D | insfilter.c | 241 register _FILTER * pf; local 243 for (pf = filters; pf->name; pf++) { 245 pf->mark = FL_CLEAR; 247 if (printer && !searchlist(printer, pf->printers)) 248 pf->mark = FL_SKIP; 252 pf->printer_types)) 253 pf->mark = FL_SKIP; 273 register _FILTER * pf; local 569 register _FILTER * pf; local 693 register _FILTER *pf; local 751 register _FILTER *pf; local 787 build_simple_cmd( char **pp, _FILTER *pf, PARM *parms, unsigned short *flagsp ) argument [all...] |
H A D | loadfilters.c | 58 register _FILTER *pf; local 86 pf = filters, nfilters = 0; 88 pf++ 107 pf = &filters[nfilters - 1]; 112 pf->name = Strdup(filt[FL_NAME]); 113 pf->type = s_to_filtertype(filt[FL_TYPE]); 114 pf->command = Strdup(filt[FL_CMD]); 116 pf->printers = getlist(DFLT(FL_PRTRS), LP_WS, LP_SEP); 119 pf->printer_types = sl_to_typel(list); 123 pf [all...] |
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmprofile.c | 35 #define PFHASH(pf) ((pf)->data.data.hash) 36 #define PFVM(pf) ((pf)->data.data.vm) 37 #define PFFILE(pf) ((pf)->data.data.fm.file) 38 #define PFLINE(pf) ((pf)->line) 39 #define PFNAME(pf) ((pf) 84 reg Pfobj_t *pf, *last; local 189 reg Pfobj_t *pf, *next, *last; local 220 reg Pfobj_t* pf; local 250 pfsort(Pfobj_t* pf) argument 361 reg Pfobj_t *pf, *list, *next, *last; local 514 reg Pfobj_t* pf; local 576 reg Pfobj_t* pf; local [all...] |
/illumos-gate/usr/src/lib/libast/common/sfio/ |
H A D | sfpool.c | 25 ** If pf is not nil, f is pooled with pf and f becomes current; 246 Sfio_t* sfpool(reg Sfio_t* f, reg Sfio_t* pf, reg int mode) argument 248 Sfio_t* sfpool(f,pf,mode) 250 reg Sfio_t* pf; 260 if(!f) /* return head of pool of pf regardless of lock states */ 261 { if(!pf) 263 else if(!pf->pool || pf->pool == &_Sfpool) 264 return pf; [all...] |
H A D | sfexcept.c | 115 reg Sfio_t *pf; local 121 pf = (*_Sfstack)(f,NIL(Sfio_t*)); 122 if((ev = sfclose(pf)) < 0) /* can't close, restack */ 123 (*_Sfstack)(f,pf);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | file_decim.c | 36 file_to_decimal(ppc, nmax, fortran_conventions, pd, pform, pechar, pf, pnread) 43 FILE *pf; 53 current = getc(pf); /* Initialize buffer. */ 60 { cp++ ; current = getc(pf) ; *cp = current ; nread++ ;} \ 72 if (ungetc(*cp, pf) == EOF)
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | file_decim.c | 54 char **pechar, FILE *pf, int *pnread) 64 current = ((pf->_flag & _IOWRT) ? \ 65 ((*pf->_ptr == '\0') ? EOF : *pf->_ptr++) : \ 66 GETC(pf)); \ 85 if (cp >= *ppc && current != EOF && myungetc(current, pf) 92 if (myungetc((int)(unsigned char)*cp, pf) == EOF) 52 file_to_decimal(char **ppc, int nmax, int fortran_conventions, decimal_record *pd, enum decimal_string_form *pform, char **pechar, FILE *pf, int *pnread) argument
|
H A D | double_decim.c | 155 * Convert a base-10^4 _big_float *pf to a decimal string in *pd, 158 * assumed to follow those in *pf. pd->sign must have already been 172 * *pf may be modified. 175 __big_decimal_to_string(_big_float *pf, int sticky, decimal_mode *pm, argument 182 /* set e = floor(log10(*pf)) */ 183 i = pf->blength - 1; 185 e = pf->bexponent = -DECIMAL_STRING_LENGTH - 2; 187 e = pf->bexponent + (i << 2); 188 d = pf->bsignificand[i]; 229 for (e = efirst; e >= pf 450 __double_to_bigfloat(double *px, _big_float *pf) argument 476 __extended_to_bigfloat(extended *px, _big_float *pf) argument 500 __quadruple_to_bigfloat(quadruple *px, _big_float *pf) argument [all...] |
/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpfilter.c | 263 register FILTER *pf, local 406 for (ps = store; (pf = getfilter(filter)); ) 407 *ps++ = *pf; 434 if ((pf = getfilter(filter))) { 435 store[0] = *pf; 444 pf = store; 445 pf->name = strdup(filter); 446 pf->command = 0; 447 pf->type = fl_slow; 448 pf 586 register FILTER *pf, local 717 register FILTER *pf; local [all...] |
/illumos-gate/usr/src/cmd/projadd/ |
H A D | projadd.pl | 127 my $pf; 136 $pf = []; 146 ($ret, $pf) = projf_read($pfh, $flags); 148 error(@$pf); 151 foreach (@$pf) { 167 push(@$pf, $proj); 179 projent_validate_unique_name($proj, $pf); 203 projent_validate_unique_id($proj, $pf); 280 projf_write($pfh, $pf);
|
H A D | projdel.pl | 109 my ($ret, $pf) = projf_read($pfh, $flags); 111 error(@$pf); 117 my @newpf = grep { $_->{'name'} eq $pname ? $del++ && 0 : 1 } @$pf;
|
/illumos-gate/usr/src/cmd/pfexec/ |
H A D | Makefile | 43 $(RM) $(ROOTBIN)/pf$$s; \ 44 $(LN) $(ROOTBIN)/pfexec $(ROOTBIN)/pf$$s; \
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | daisyforms.c | 120 check_form_alert(FSTATUS *pfs, _FORM *pf) argument 138 * In this case, though, "pf" MUST be set, and there can 146 if (pf) 147 syslog(LOG_DEBUG, "check_form_alert: pf->name <%s>\n", 148 (pf->name != NULL) ? pf->name : "null"); 151 if (pf) { 152 if ((trigger = pf->alert.Q) <= 0) 161 #define NALERT pf->alert 176 pf [all...] |
H A D | disp3.c | 491 register _FORM *pf; local 500 else if (!(pf = Getform(form))) { 517 pf->name, 522 load_sdn (&pfs->cpi, pf->cpi); 523 load_sdn (&pfs->lpi, pf->lpi); 524 load_sdn (&pfs->plen, pf->plen); 525 load_sdn (&pfs->pwid, pf->pwid); 544 check_form_alert (pfs, pf); 552 } else if ((pfs = new_fstatus(pf))) { 558 check_form_alert (pfs, pf); [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_tlv_layout.h | 202 * global and per-pf TLVs for this, the global TLV is new for Medford and is 203 * used in preference to the per-pf TLV. 206 #define TLV_TAG_PF_STATIC_VPD(pf) (0x00030000 + (pf)) 226 * It is formatted as a standard PCI VPD block. There are global and per-pf TLVs 228 * per-pf TLV. 231 #define TLV_TAG_PF_DYNAMIC_VPD(pf) (0x10030000 + (pf)) 251 * the device is allowed to enumerate. There are global and per-pf TLVs for 253 * per-pf TL [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/ptm/ |
H A D | ptm.c | 41 static const struct pt_flags pf[] = { variable in typeref:struct:pt_flags 112 if (flag != NULL && pt_parse_flag(pf, flag, &mask) == -1) { 114 pt_flag_usage(pf); 118 if (not_flag != NULL && pt_parse_flag(pf, not_flag, ¬_mask) == -1) { 120 pt_flag_usage(pf); 159 for (i = 0; pf[i].pt_name != NULL; i++) { 170 pf[i].pt_name, pf[i].pt_descr);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | dlpi.c | 221 struct packetfilt pf; local 223 pf.Pf_Priority = 0; 224 pf.Pf_FilterLen = sizeof (bpdu_filter) / 226 (void) memcpy(pf.Pf_Filter, bpdu_filter, 228 if (strioctl(fd, PFIOCSETF, &pf, sizeof (pf)) == -1)
|