/titanic_51/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_mount.c | 40 #include "form.h" 64 void do_mount (printer, form, pwheel) in do_mount() argument 66 *form, in do_mount() 73 if (form && STREQU(form, NAME_NONE)) 74 form = ""; 78 if (form && !*form && a) 81 if (form && !*form 192 mount_unmount(type,printer,form,pwheel) mount_unmount() argument [all...] |
/titanic_51/usr/src/cmd/lp/cmd/ |
H A D | lpforms.c | 40 #include "form.h" 93 " (add or change form)\n" in usage() 94 " lpforms -f form-name [options]\n" in usage() 95 " [-F path-name | - | -P paper [-d] | -d ] (form definition)\n" in usage() 99 " -d (create form with paper of same name)\n" in usage() 105 " (list form)\n" in usage() 106 " lpforms -f form-name -l\n" in usage() 107 " lpforms -f form-name -L (verbose for -P forms)\n" in usage() 109 " (delete form)\n" in usage() 110 " lpforms -f form in usage() 149 char * form = 0; main() local 440 add_alert(char * form,FILE * input,FALERT * p_new_alert,char * u) add_alert() argument 459 add_form(char * form,FILE * input,FALERT * p_new_alert,char * u) add_form() argument 804 list_form(char * form) list_form() argument 817 list_alert(char * form) list_alert() argument 830 list_both(char * form) list_both() argument 843 list(char * form,void (* subaction)()) list() argument 990 any_alert(char * form,FILE * ignore,FALERT * p_new_alert) any_alert() argument 1038 delete_form(char * form) delete_form() argument 1051 quiet_alert(char * form) quiet_alert() argument 1064 dq(char * form,int (* subaction)()) dq() argument 1120 _delete_form(char * form) _delete_form() argument 1166 _quiet_alert(char * form) _quiet_alert() argument 1293 notify_spooler(int sendmsg,int replymsg,char * form) notify_spooler() argument [all...] |
/titanic_51/usr/src/lib/libast/common/sfio/ |
H A D | sfprints.c | 32 char* sfvprints(const char* form, va_list args) in sfvprints() argument 34 char* sfvprints(form, args) in sfvprints() 35 char* form; in sfvprints() 49 rv = sfvprintf(f,form,args); 59 char* sfprints(const char* form, ...) in sfprints() argument 69 va_start(args,form); in sfprints() 71 char *form; in sfprints() local 73 form = va_arg(args,char*); in sfprints() 75 s = sfvprints(form, args); in sfprints() 82 ssize_t sfvaprints(char** sp, const char* form, va_list args) in sfvaprints() argument [all …]
|
H A D | sfscanf.c | 30 int sfscanf(Sfio_t* f, const char* form, ...) in sfscanf() argument 40 va_start(args,form); in sfscanf() 43 reg char* form; in sfscanf() local 46 form = va_arg(args,char*); in sfscanf() 49 rv = (f && form) ? sfvscanf(f,form,args) : -1; in sfscanf() 55 int sfvsscanf(const char* s, const char* form, va_list args) in sfvsscanf() argument 57 int sfvsscanf(s, form, args) in sfvsscanf() 59 char* form; 65 if(!s || !form) 77 return sfvscanf(&f,form,args); [all …]
|
H A D | sfvscanf.c | 127 char *form, *endf; member 134 static char* _sfsetclass(const char* form, Accept_t* ac, int flags) in _sfsetclass() argument 136 static char* _sfsetclass(form, ac, flags) in _sfsetclass() 137 char* form; /* format string */ in _sfsetclass() 147 if(*form == '^') /* complementing this set */ 149 form += 1; 156 if(*form == ']' || *form == '-') /* special first char */ 157 { ac->ok[*form] = ac->yes; 158 form += 1; 160 ac->form = (char*)form; [all …]
|
H A D | sftable.c | 45 static Fmtpos_t* sffmtpos(Sfio_t* f,const char* form,va_list args,Sffmt_t* ft,int type) in sffmtpos() argument 47 static Fmtpos_t* sffmtpos(f,form,args,ft,type) in sffmtpos() 49 char* form; 68 else if(!(fp = sffmtpos(f,form,args,ft,-1)) ) 73 while((n = *form) ) 75 { sp = (char*)form; 77 { form += SFMBLEN(form, &fmbs); 78 if(*form == 0 || *form == '%') 83 else form += 1; 84 if(*form == 0) [all …]
|
H A D | sfprintf.c | 30 int sfprintf(Sfio_t* f, const char* form, ...) in sfprintf() argument 40 va_start(args,form); in sfprintf() 43 reg char* form; in sfprintf() local 46 form = va_arg(args,char*); in sfprintf() 48 rv = sfvprintf(f,form,args); in sfprintf() 55 ssize_t sfvsprintf(char* s, size_t n, const char* form, va_list args) in sfvsprintf() argument 57 ssize_t sfvsprintf(s, n, form, args) in sfvsprintf() 60 char* form; 72 if((rv = sfvprintf(f,form,args)) >= 0 ) 90 ssize_t sfsprintf(char* s, size_t n, const char* form, ...) in sfsprintf() argument [all …]
|
H A D | sfvprintf.c | 96 int sfvprintf(Sfio_t* f, const char* form, va_list args) in sfvprintf() argument 98 int sfvprintf(f,form,args) in sfvprintf() 100 char* form; /* format to use */ 181 if(!form) 201 oform = (char*)form; 208 while((n = *form) ) 210 { sp = (char*)form; 212 { if((n = SFMBLEN(form, &fmbs)) <= 0) 216 } while(*(form += n) && *form != '%'); 218 n = form-sp; [all …]
|
/titanic_51/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp3.c | 41 if (pps->forms && (pps->forms[trayNum].form == pfs)) { in remount_form() 50 * Unmount the old form. in remount_form() 52 if (pps->forms && pps->forms[trayNum].form) { in remount_form() 53 register FSTATUS *Opfs = pps->forms[trayNum].form; in remount_form() 55 pps->forms[trayNum].form = 0; in remount_form() 60 * Unmounting the form may make some print requests in remount_form() 62 * only because the form was already mounted. in remount_form() 63 * Unmounting the form will also force some requests in remount_form() 64 * to another printer (where the form is mounted) in remount_form() 77 * Mount the new form in remount_form() 291 char *printer, *form, *pwheel_name; s_mount() local 337 char *printer, *form, *pwheel_name; s_mount_tray() local 391 *form, s_unmount() local 441 *form, s_unmount_tray() local 489 char *form; s_load_form() local 597 char *form; s_unload_form() local [all...] |
H A D | alerts.c | 35 "Subject: Mount form %s\n\nThe form %s needs to be mounted\non the printer(s):\n", 37 "Total print requests queued for this form: %d\n", 46 "The form `%s' needs to be mounted\non the printer(s):\n", 47 "The form `%s' (paper size: `%s') needs\nto be mounted on the printer(s):\n", 121 isFormMessage = (STREQU(fp->form->alert.shcmd, "showfault")); in alert() 123 formPath = makepath(Lp_A_Forms, fp->form->name, in alert() 216 if (fp->form->paper) in fformat() 217 fdprintf(fd, Fa_New_msg[1], NB(fp->form->name), in fformat() 218 fp->form in fformat() [all...] |
H A D | daisyforms.c | 45 if ((prs->form = pfs) != NULL) { in queue_form() 46 prs->form->requests++; in queue_form() 48 check_form_alert (prs->form, (_FORM *)0); in queue_form() 60 FSTATUS * pfs = prs->form; in unqueue_form() 62 prs->form = 0; in unqueue_form() 130 * or dequeued for a form, and whenever the form changes. in check_form_alert() 136 * a NEW form (not just changing it). Thus the members of in check_form_alert() 137 * the structure "pfs->form" may not be set. in check_form_alert() 145 (pfs->form in check_form_alert() [all...] |
/titanic_51/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfprints.c | 32 char* sfvprints(const char* form, va_list args) in sfvprints() argument 34 char* sfvprints(form, args) in sfvprints() 35 char* form; in sfvprints() 52 rv = sfvprintf(f,form,args); 62 char* sfprints(const char* form, ...) in sfprints() argument 72 va_start(args,form); in sfprints() 74 char *form; in sfprints() local 76 form = va_arg(args,char*); in sfprints() 78 s = sfvprints(form, args); in sfprints() 85 ssize_t sfvaprints(char** sp, const char* form, va_lis argument 107 sfaprints(char ** sp,const char * form,...) sfaprints() argument 119 char **sp, *form; sfaprints() local [all...] |
H A D | sfscanf.c | 30 int sfscanf(Sfio_t* f, const char* form, ...) in sfscanf() argument 40 va_start(args,form); in sfscanf() 43 reg char* form; in sfscanf() local 46 form = va_arg(args,char*); in sfscanf() 49 rv = (f && form) ? sfvscanf(f,form,args) : -1; in sfscanf() 55 int sfvsscanf(const char* s, const char* form, va_list args) in sfvsscanf() argument 57 int sfvsscanf(s, form, args) in sfvsscanf() 59 char* form; 65 if(!s || !form) 81 sfsscanf(const char * s,const char * form,...) sfsscanf() argument 93 reg char* form; sfsscanf() local [all...] |
H A D | sfvscanf.c | 127 char *form, *endf; member 134 static char* _sfsetclass(const char* form, Accept_t* ac, int flags) in _sfsetclass() argument 136 static char* _sfsetclass(form, ac, flags) in _sfsetclass() 137 char* form; /* format string */ in _sfsetclass() 145 if(*form == '^') /* complementing this set */ 147 form += 1; 154 if(*form == ']' || *form == '-') /* special first char */ 155 { ac->ok[*form] = ac->yes; 156 form 202 char *form = ac->form; global() local 300 sfvscanf(Sfio_t * f,reg const char * form,va_list args) sfvscanf() argument [all...] |
H A D | sftable.c | 45 static Fmtpos_t* sffmtpos(Sfio_t* f,const char* form,va_list args,Sffmt_t* ft,int type) in sffmtpos() argument 47 static Fmtpos_t* sffmtpos(f,form,args,ft,type) in sffmtpos() 49 char* form; 66 else if(!(fp = sffmtpos(f,form,args,ft,-1)) ) 71 while((n = *form) ) 73 { sp = (char*)form; 75 { form += SFMBLEN(form, &fmbs); 76 if(*form == 0 || *form [all...] |
H A D | sfprintf.c | 30 int sfprintf(Sfio_t* f, const char* form, ...) in sfprintf() argument 40 va_start(args,form); in sfprintf() 43 reg char* form; in sfprintf() local 46 form = va_arg(args,char*); in sfprintf() 48 rv = sfvprintf(f,form,args); in sfprintf() 55 ssize_t sfvsprintf(char* s, size_t n, const char* form, va_list args) in sfvsprintf() argument 57 ssize_t sfvsprintf(s, n, form, args) in sfvsprintf() 60 char* form; 75 if((rv = sfvprintf(f,form,args)) < 0 ) 94 ssize_t sfsprintf(char* s, size_t n, const char* form, argument 108 reg char* form; sfsprintf() local [all...] |
H A D | sfvprintf.c | 96 int sfvprintf(Sfio_t* f, const char* form, va_list args) in sfvprintf() argument 98 int sfvprintf(f,form,args) in sfvprintf() 100 char* form; /* format to use */ 181 if(!form) 201 oform = (char*)form; 208 while((n = *form) ) 210 { sp = (char*)form; 212 { if((n = SFMBLEN(form, &fmbs)) <= 0) 216 } while(*(form += n) && *form ! [all...] |
/titanic_51/usr/src/lib/libc/port/fp/ |
H A D | char_to_decimal.h | 94 #define NZDIGIT(c) (('1' <= c && c <= '9') || ((int)form < 0 && \ 111 enum decimal_string_form form; variable 130 *pform = form = invalid_form; 146 form = whitespace_form; 173 form = fixed_int_form; 201 /* assume hex fp form */ 202 form = (enum decimal_string_form)-1; 221 form = fixed_int_form; 226 form = fixed_int_form; 229 form [all...] |
/titanic_51/usr/src/lib/libc/port/i18n/ |
H A D | wstod.c | 61 int form; in wcstod() local 63 wstring_to_decimal(&cp, __xpg6 & _C99SUSv3_recognize_hexfp, &dr, &form); in wcstod() 66 if (form == 0) in wcstod() 75 if (form < 0) in wcstod() 91 int form; in wcstof() local 93 wstring_to_decimal(&cp, 1, &dr, &form); in wcstof() 96 if (form == 0) in wcstof() 105 if (form < 0) in wcstof() 121 int form; in wcstold() local 123 wstring_to_decimal(&cp, 1, &dr, &form); in wcstold() 202 int form; wstring_to_decimal() local [all...] |
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | strtod.c | 49 enum decimal_string_form form; in strtod() local 54 string_to_decimal((char **)&cp, MAXINT, lc, &dr, &form, &pechar); in strtod() 57 if (form == invalid_form) in strtod() 66 if ((int)form < 0) in strtod() 82 enum decimal_string_form form; in strtof() local 85 string_to_decimal((char **)&cp, MAXINT, -1, &dr, &form, &pechar); in strtof() 88 if (form == invalid_form) in strtof() 97 if ((int)form < 0) in strtof() 113 enum decimal_string_form form; in strtold() local 116 string_to_decimal((char **)&cp, MAXINT, -1, &dr, &form, in strtold() [all...] |
/titanic_51/usr/src/cmd/allocate/ |
H A D | st_clean.sh | 45 form=`gettext "%s: Media in %s is ready. Please, label and store safely."` 47 printf "${form}\n" $PROG $DEVICE > /dev/console 52 form=`gettext "%s: Error cleaning up device %s."` 54 printf "${form}\n" $PROG $DEVICE > /dev/console 59 form=`gettext "%s: Media in %s is ready. Please, label and store safely."` 61 printf "${form}\n" $PROG $DEVICE > /dev/tty 66 form=`gettext "%s: Error cleaning up device %s."` 68 printf "${form}" $PROG $DEVICE > /dev/tty 166 form=`gettext "Please remove the tape from the %s."` 168 printf "${form}\ [all...] |
H A D | fd_clean.sh | 44 form=`gettext "%s: Media in %s is ready. Please, label and store safely."` 46 printf "${form}\n" $PROG $DEVICE > /dev/console 51 form=`gettext "%s: Error cleaning up device %s."` 53 printf "${form}\n" $PROG $DEVICE > /dev/console 58 form=`gettext "%s: Media in %s is ready. Please, label and store safely."` 60 printf "${form}\n" $PROG $DEVICE > /dev/tty 65 form=`gettext "%s: Error cleaning up device %s."` 67 printf "${form}\n" $PROG $DEVICE > /dev/tty 200 form=`gettext "Please remove the floppy from %s."` 202 printf "${form}\ [all...] |
H A D | sr_clean.sh | 44 form=`gettext "%s: Media in %s is ready. Please, label and store safely."` 46 printf "${form}\n" $PROG $DEVICE > /dev/console 51 form=`gettext "%s: Error cleaning up device %s."` 53 printf "${form}\n" `basename $0` $DEVICE > /dev/console 58 form=`gettext "%s: Media in %s is ready. Please, label and store safely."` 60 printf "${form}\n" $PROG $DEVICE > /dev/tty 65 form=`gettext "%s: Error cleaning up device %s."` 67 printf "${form}\n" $PROG $DEVICE > /dev/tty 197 form=`gettext "Please remove the caddy from %s."` 199 printf "${form}\ [all...] |
/titanic_51/usr/src/lib/libeti/form/common/ |
H A D | form.c | 41 /* default form */ 111 /* sort_form - sort fields on form(per page) */ 140 merge(FIELD *f, FORM *form) /* adjust form dimensions to include field f */ in merge() argument 145 if (form->rows < ymax) in merge() 146 form->rows = ymax; in merge() 147 if (form->cols < xmax) in merge() 148 form->cols = xmax; in merge() 151 /* disconnect_fields - disconnect fields from form */ 153 disconnect_fields(FORM *form) in disconnect_fields() argument [all...] |
/titanic_51/usr/src/cmd/lp/lib/access/ |
H A D | allowed.c | 100 char * form in is_user_allowed_form() argument 103 is_user_allowed_form (user, form) in is_user_allowed_form() 105 *form; in is_user_allowed_form() 111 if (loadaccess(Lp_A_Forms, form, "", &allow, &deny) == -1) 149 char * form, in is_form_allowed_printer() argument 153 is_form_allowed_printer (form, printer) in is_form_allowed_printer() 154 char *form, in is_form_allowed_printer() 164 return (allowed(form, allow, deny));
|