/titanic_44/usr/src/lib/libast/common/vmalloc/ |
H A D | vmprofile.c | 35 #define PFHASH(pf) ((pf)->data.data.hash) argument 36 #define PFVM(pf) ((pf)->data.data.vm) argument 37 #define PFFILE(pf) ((pf)->data.data.fm.file) argument 38 #define PFLINE(pf) ((pf)->line) argument 39 #define PFNAME(pf) ((pf)->data.f) argument 40 #define PFNALLOC(pf) ((pf)->data.data.nalloc) argument 41 #define PFALLOC(pf) ((pf)->data.data.alloc) argument 42 #define PFNFREE(pf) ((pf)->data.data.nfree) argument 43 #define PFFREE(pf) ((pf)->data.data.free) argument 44 #define PFREGION(pf) ((pf)->data.data.region) argument [all …]
|
/titanic_44/usr/src/cmd/lp/lib/filters/ |
H A D | freefilter.c | 89 FILTER * pf in freefilter() argument 92 freefilter (pf) in freefilter() 93 FILTER *pf; in freefilter() 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->printer_types); [all …]
|
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->command? Strdup(pf->command) : 0); 83 flbuf.type = pf->type; [all …]
|
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 287 for (pf = pfastf = pipeline, pslowf = 0; pf; pf = pf->next) 288 if (pf->type == fl_slow) { [all …]
|
H A D | dumpfilters.c | 54 register _FILTER *pf; in dumpfilters() local 66 if (filters) for (pf = filters; pf->name; pf++) { in dumpfilters() 72 p = pf->name; in dumpfilters() 75 if ((p = fw_zDblQte (pf->command)) != NULL) { in dumpfilters() 81 p = pf->command; in dumpfilters() 86 (pf->type == fl_fast? FL_FAST : FL_SLOW)); in dumpfilters() 89 pty = pf->printer_types; in dumpfilters() 92 pty = pf->input_types; in dumpfilters() 95 pty = pf->output_types; in dumpfilters() 109 if (pf->printers) in dumpfilters() [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 | loadfilters.c | 58 register _FILTER *pf; in loadfilters() local 86 pf = filters, nfilters = 0; in loadfilters() 88 pf++ in loadfilters() 107 pf = &filters[nfilters - 1]; in loadfilters() 112 pf->name = Strdup(filt[FL_NAME]); in loadfilters() 113 pf->type = s_to_filtertype(filt[FL_TYPE]); in loadfilters() 114 pf->command = Strdup(filt[FL_CMD]); in loadfilters() 116 pf->printers = getlist(DFLT(FL_PRTRS), LP_WS, LP_SEP); in loadfilters() 119 pf->printer_types = sl_to_typel(list); in loadfilters() 123 pf->input_types = sl_to_typel(list); in loadfilters() [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 | trash.c | 40 register _FILTER *pf; in trash_filters() local 43 for (pf = filters; pf->name; pf++) in trash_filters() 44 free_filter (pf); in trash_filters()
|
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;
|
/titanic_44/usr/src/cmd/lp/lib/forms/ |
H A D | freeform.c | 42 FORM * pf in freeform() argument 45 freeform (pf) in freeform() 46 FORM * pf; in freeform() 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->comment); [all …]
|
/titanic_44/usr/src/lib/libast/common/sfio/ |
H A D | sfpool.c | 246 Sfio_t* sfpool(reg Sfio_t* f, reg Sfio_t* pf, reg int mode) in sfpool() argument 248 Sfio_t* sfpool(f,pf,mode) in sfpool() 250 reg Sfio_t* pf; 261 { if(!pf) 263 else if(!pf->pool || pf->pool == &_Sfpool) 264 return pf; 265 else return pf->pool->sf[0]; 277 if(pf) 278 { SFMTXLOCK(pf); 279 if((pf->mode&SF_RDWR) != pf->mode && _sfmode(pf,0,0) < 0) [all …]
|
/titanic_44/usr/src/lib/libc/port/fp/ |
H A D | double_decim.c | 175 __big_decimal_to_string(_big_float *pf, int sticky, decimal_mode *pm, in __big_decimal_to_string() argument 183 i = pf->blength - 1; in __big_decimal_to_string() 185 e = pf->bexponent = -DECIMAL_STRING_LENGTH - 2; in __big_decimal_to_string() 187 e = pf->bexponent + (i << 2); in __big_decimal_to_string() 188 d = pf->bsignificand[i]; in __big_decimal_to_string() 229 for (e = efirst; e >= pf->bexponent + (pf->blength << 2) && in __big_decimal_to_string() 233 i = pf->blength - 1; in __big_decimal_to_string() 234 j = 3 - ((e - pf->bexponent) & 3); in __big_decimal_to_string() 236 __four_digits_quick(pf->bsignificand[i], s); in __big_decimal_to_string() 247 __four_digits_quick(pf->bsignificand[i], pd->ds + is); in __big_decimal_to_string() [all …]
|
H A D | file_decim.c | 54 char **pechar, FILE *pf, int *pnread) in file_to_decimal() argument 64 current = ((pf->_flag & _IOWRT) ? \ in file_to_decimal() 65 ((*pf->_ptr == '\0') ? EOF : *pf->_ptr++) : \ in file_to_decimal() 66 GETC(pf)); \ in file_to_decimal() 85 if (cp >= *ppc && current != EOF && myungetc(current, pf) in file_to_decimal() 92 if (myungetc((int)(unsigned char)*cp, pf) == EOF) in file_to_decimal()
|
/titanic_44/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->printer_types = 0; [all …]
|
/titanic_44/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);
|
/titanic_44/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) in file_to_decimal() argument 43 FILE *pf; 53 current = getc(pf); /* Initialize buffer. */ 60 { cp++ ; current = getc(pf) ; *cp = current ; nread++ ;} \ 72 if (ungetc(*cp, pf) == EOF)
|
/titanic_44/usr/src/cmd/lp/cmd/lpsched/ |
H A D | daisyforms.c | 120 check_form_alert(FSTATUS *pfs, _FORM *pf) in check_form_alert() argument 146 if (pf) in check_form_alert() 148 (pf->name != NULL) ? pf->name : "null"); in check_form_alert() 151 if (pf) { in check_form_alert() 152 if ((trigger = pf->alert.Q) <= 0) in check_form_alert() 161 #define NALERT pf->alert in check_form_alert() 176 pf in check_form_alert() 193 if ((pf && NALERT.shcmd) || OALERT.shcmd) in check_form_alert() 199 Return: if (pf) { in check_form_alert() 201 pfs->form = pf; in check_form_alert()
|
H A D | fncs.c | 742 free_form(register _FORM *pf) in free_form() argument 744 if (!pf) in free_form() 746 if (pf->chset) in free_form() 747 Free (pf->chset); in free_form() 748 if (pf->rcolor) in free_form() 749 Free (pf->rcolor); in free_form() 750 if (pf->comment) in free_form() 751 Free (pf->comment); in free_form() 752 if (pf->conttype) in free_form() 753 Free (pf->conttype); in free_form() [all …]
|
H A D | disp3.c | 491 register _FORM *pf; in s_load_form() local 500 else if (!(pf = Getform(form))) { in s_load_form() 517 pf->name, in s_load_form() 522 load_sdn (&pfs->cpi, pf->cpi); in s_load_form() 523 load_sdn (&pfs->lpi, pf->lpi); in s_load_form() 524 load_sdn (&pfs->plen, pf->plen); in s_load_form() 525 load_sdn (&pfs->pwid, pf->pwid); in s_load_form() 544 check_form_alert (pfs, pf); in s_load_form() 552 } else if ((pfs = new_fstatus(pf))) { in s_load_form() 558 check_form_alert (pfs, pf); in s_load_form() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | docmd.c | 680 FILE *pf, *popen(); local 710 pf = popen(MAILCMD, "w"); 711 if (pf == NULL) { 719 fprintf(pf, "From: rdist (Remote distribution program)\n"); 720 fprintf(pf, "To:"); 722 fprintf(pf, " %s@%s", to->n_name, rhost); 724 fprintf(pf, " %s", to->n_name); 728 fprintf(pf, ", %s@%s", to->n_name, rhost); 730 fprintf(pf, ", %s", to->n_name); 733 putc('\n', pf); [all …]
|
/titanic_44/usr/src/cmd/mdb/common/modules/ptm/ |
H A D | ptm.c | 41 static const struct pt_flags pf[] = { variable 112 if (flag != NULL && pt_parse_flag(pf, flag, &mask) == -1) { in ptms() 114 pt_flag_usage(pf); in ptms() 118 if (not_flag != NULL && pt_parse_flag(pf, not_flag, ¬_mask) == -1) { in ptms() 120 pt_flag_usage(pf); in ptms() 159 for (i = 0; pf[i].pt_name != NULL; i++) { in ptms() 170 pf[i].pt_name, pf[i].pt_descr); in ptms()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | dlpi.c | 221 struct packetfilt pf; in port_dlpi_open() local 223 pf.Pf_Priority = 0; in port_dlpi_open() 224 pf.Pf_FilterLen = sizeof (bpdu_filter) / in port_dlpi_open() 226 (void) memcpy(pf.Pf_Filter, bpdu_filter, in port_dlpi_open() 228 if (strioctl(fd, PFIOCSETF, &pf, sizeof (pf)) == -1) in port_dlpi_open()
|
/titanic_44/usr/src/cmd/svr4pkg/pkgserv/ |
H A D | pkgserv.c | 1172 pkgfilter_t *pf = v; in thr_pkgfilter() local 1177 cnts = fdopen(pf->cmd, "w"); in thr_pkgfilter() 1185 if (pf->len > 0) { in thr_pkgfilter() 1188 for (p = pf->buf; *p; p++) { in thr_pkgfilter() 1191 if (p > pf->buf && p[-1] == '.') in thr_pkgfilter() 1208 if (pf->len > 0 && strstr(p->line, pf->buf) == NULL) in thr_pkgfilter() 1227 umem_free(pf, sizeof (pkgfilter_t) + pf->len); in thr_pkgfilter() 1249 pkgfilter(pkgfilter_t *pf, door_desc_t *dp) in pkgfilter() argument 1259 cpf = umem_alloc(sizeof (pkgfilter_t) + pf->len, UMEM_NOFAIL); in pkgfilter() 1261 (void) memcpy(cpf, pf, sizeof (pkgfilter_t) + pf->len); in pkgfilter() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 775 struct formats *pf; in tftp() local 796 for (pf = formats; pf->f_mode != NULL; pf++) in tftp() 797 if (strcasecmp(pf->f_mode, mode) == 0) in tftp() 799 if (pf->f_mode == NULL) { in tftp() 849 ecode = (*pf->f_validate)(tp->th_opcode); in tftp() 875 tsize_set = (readmode && (pf->f_convert == 0)); in tftp() 883 (*pf->f_recv)(pf, oacklen); in tftp() 885 (*pf->f_send)(pf, oacklen); in tftp() 1011 tftpd_sendfile(struct formats *pf, int oacklen) in tftpd_sendfile() argument 1092 size = readit(file, &dp, pf->f_convert); in tftpd_sendfile() [all …]
|