Home
last modified time | relevance | path

Searched refs:formp (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/lp/lib/forms/
H A Drdform.c54 rdform(char *name, FORM *formp, int fd, int (*error_handler)( int , int , int ), in rdform() argument
84 (void)memset ((char *)formp, 0, sizeof(*formp)); in rdform()
85 formp->name = Strdup(name); in rdform()
86 formp->plen.val = DPLEN; in rdform()
87 formp->plen.sc = 0; in rdform()
88 formp->pwid.val = DPWIDTH; in rdform()
89 formp->pwid.sc = 0; in rdform()
90 formp->lpi.val = DLPITCH; in rdform()
91 formp->lpi.sc = 0; in rdform()
92 formp->cpi.val = DCPITCH; in rdform()
[all …]
H A Dwrform.c58 wrform(char *name, FORM *formp, int fd, int (*error_handler)( int , int , int ), in wrform() argument
75 print_sdn(fd, HEAD, formp->plen); in wrform()
79 print_sdn(fd, HEAD, formp->pwid); in wrform()
83 print_sdn(fd, HEAD, formp->lpi); in wrform()
87 if (formp->cpi.val == N_COMPRESSED) in wrform()
90 print_sdn(fd, HEAD, formp->cpi); in wrform()
94 fdprintf(fd, "%s %d\n", HEAD, formp->np); in wrform()
98 fdprintf(fd, "%s %s", HEAD, formp->chset); in wrform()
99 if (formp->mandatory == 1) in wrform()
105 print_str(fd, HEAD, formp->rcolor); in wrform()
[all …]
H A Dgetform.c48 getform(char *name, FORM *formp, FALERT *alertp, FILE **align_fp) in getform() argument
76 if (formp) { in getform()
86 if (rdform(name, formp, fd, 0, (int *)0) == -1) { in getform()
112 freeform (formp); in getform()
121 freeform (formp); in getform()
135 freeform (formp); in getform()
144 freeform (formp); in getform()
H A Dputform.c47 putform(char *name, FORM *formp, FALERT *alertp, FILE **p_align_fp) in putform() argument
88 if (formp) { in putform()
97 if (wrform(name, formp, fd, 0, (int *)0) == -1) { in putform()
/illumos-gate/usr/src/uts/common/os/
H A Ddevcfg.c2841 ddi_compatible_driver_major(dev_info_t *dip, char **formp) in ddi_compatible_driver_major() argument
2849 if (formp) in ddi_compatible_driver_major()
2850 *formp = NULL; in ddi_compatible_driver_major()
2871 if (formp) in ddi_compatible_driver_major()
2872 *formp = p; in ddi_compatible_driver_major()
2894 if (formp) in ddi_compatible_driver_major()
2895 *formp = p; in ddi_compatible_driver_major()
/illumos-gate/usr/src/uts/common/sys/
H A Dsunddi.h1061 ddi_compatible_driver_major(dev_info_t *dip, char **formp);