Home
last modified time | relevance | path

Searched refs:sdn (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/cmd/lp/lib/lp/
H A Dsdn.c77 printsdn(FILE *fp, SCALED sdn) in printsdn() argument
79 fdprintsdn(fileno(fp), sdn); in printsdn()
84 fdprintsdn(int fd, SCALED sdn) in fdprintsdn() argument
89 if (sdn.val <= 0) in fdprintsdn()
101 if (-1000. < sdn.val && sdn.val < 10000.) { in fdprintsdn()
106 sprintf (dec, "%.3f", sdn.val); in fdprintsdn()
125 (void)fdprintf(fd, "%.3f", sdn.val); in fdprintsdn()
127 if (sdn.sc == 'i' || sdn.sc == 'c') in fdprintsdn()
128 fdputc(sdn.sc, fd); in fdprintsdn()
142 static SCALED sdn = { 0.0 , 0 }; in _getsdn() local
[all …]
H A DMakefile62 sdn.o \
/titanic_41/usr/src/cmd/lp/lib/forms/
H A Drdform.c74 SCALED sdn; in rdform() local
157 sdn = getsdn(p); in rdform()
162 formp->plen = sdn; in rdform()
166 sdn = getsdn(p); in rdform()
171 formp->pwid = sdn; in rdform()
175 sdn = getcpi(p); in rdform()
180 formp->cpi = sdn; in rdform()
184 sdn = getsdn(p); in rdform()
189 formp->lpi = sdn; in rdform()
H A Dwrform.c189 print_sdn(int fd, char *head, SCALED sdn) in print_sdn() argument
191 if (sdn.val <= 0) in print_sdn()
195 fdprintsdn(fd, sdn); in print_sdn()
/titanic_41/usr/src/cmd/lp/cmd/lpadmin/
H A Dchkopts.c791 static char *unpack_sdn (sdn) in unpack_sdn() argument
792 SCALED sdn; in unpack_sdn()
797 if (sdn.val <= 0 || 99999 < sdn.val)
800 else if (sdn.val == N_COMPRESSED)
804 (void) sprintf(cp, "%.3f%c", sdn.val, sdn.sc);
/titanic_41/usr/src/cmd/lp/cmd/lpsched/
H A Dfncs.c583 load_sdn(char **p, SCALED sdn) in load_sdn() argument
592 if (sdn.val <= 0 || 999999 < sdn.val) in load_sdn()
599 sdn.val, in load_sdn()
600 (sdn.sc == 'c'? "c" : (sdn.sc == 'i'? "i" : "")) in load_sdn()
/titanic_41/usr/src/cmd/lp/lib/printers/
H A Dputprinter.c504 print_sdn(int fd, char *head, SCALED sdn) in print_sdn() argument
506 if (sdn.val <= 0) in print_sdn()
510 fdprintsdn (fd, sdn); in print_sdn()