/titanic_50/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_mount.c | 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 && pwheel && !*pwheel) { 83 form = 0; 85 } else if (form && !*form) { 87 form = 0; 93 if (!form && !pwheel) [all …]
|
/titanic_50/usr/src/cmd/lp/cmd/ |
H A D | lpforms.c | 149 char * form = 0; in main() local 220 if (form) in main() 222 form = optarg; in main() 223 if (!syn_name(form)) { in main() 224 LP_ERRMSG1 (ERROR, E_LP_NOTNAME, form); in main() 226 } else if (!*form) in main() 227 form = NAME_ALL; in main() 344 if (!form) { in main() 349 if (STREQU(NAME_ANY, form)) in main() 383 && !STREQU(NAME_ALL, form) in main() [all …]
|
/titanic_50/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_50/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp3.c | 41 if (pps->forms && (pps->forms[trayNum].form == pfs)) { 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() 81 pfs, (pfs ? pfs->form->name : "NULL"), trayNum); in remount_form() 90 pps->forms[trayNum].form = pfs; in remount_form() 266 ppfs[i].form = NULL; in s_max_trays() 291 char *printer, *form, *pwheel_name; in s_mount() local 296 (void) getmessage(m, S_MOUNT, &printer, &form, &pwheel_name); in s_mount() 298 (form ? form : "NULL"), (pwheel_name ? pwheel_name : "NULL")); in s_mount() [all …]
|
H A D | alerts.c | 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->paper); in fformat() 220 fdprintf(fd, Fa_New_msg[0], NB(fp->form->name)); in fformat() 222 fdprintf(fd, Fa_msg[0], NB(fp->form->name), NB(fp->form->name)); in fformat() 228 allowed(fp->form->name, p->forms_allowed, in fformat() 242 if (fp->form->rcolor && !STREQU(fp->form->rcolor, NAME_ANY)) in fformat() 243 fdprintf(fd, Fa_msg[3], NB(fp->form->rcolor)); 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() 145 (pfs->form->name != NULL) ? pfs->form->name : "null"); in check_form_alert() 160 #define OALERT pfs->form->alert in check_form_alert() 201 pfs->form = pf; in check_form_alert() 317 (ppfs[i].form == pfs)) in trayWithForm() 337 if (pfs && pfs->form && pfs->form->paper) in allTraysWithForm() [all …]
|
H A D | schedule.c | 46 FSTATUS * form; member 248 pl->arg.form = va_arg(ap, FSTATUS *); in schedule() 296 schedule (pl->event, pl->arg.form); in schedule() 378 (pfs && pfs->form && pfs->form->name ? pfs->form->name : "NULL"), in ev_form_message_body() 396 (pfs && pfs->form && pfs->form->name ? in ev_form_message() 397 pfs->form->name : "NULL")); in ev_form_message() 403 if (prs->form == pfs) in ev_form_message() 406 if (NewRequest && (NewRequest->form == pfs)) in ev_form_message() 462 isFormUsableOnPrinter(pps, prs->form) && MATCH(prs, pps)) { in ev_interf()
|
/titanic_50/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; 202 form = (enum decimal_string_form)-1; 221 form = fixed_int_form; 226 form = fixed_int_form; 229 form = fixed_int_form; 265 form = inf_form; [all …]
|
/titanic_50/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() [all …]
|
/titanic_50/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, &pechar); in strtold() [all …]
|
/titanic_50/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}\n" $DEVICE >/dev/tty
|
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}\n" $DEVICE >/dev/tty
|
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}\n" $DEVICE >/dev/tty
|
/titanic_50/usr/src/lib/libeti/form/common/ |
H A D | form.c | 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() 153 disconnect_fields(FORM *form) in disconnect_fields() argument 155 FIELD **f = form->field; in disconnect_fields() 159 if ((*f)->form == form) in disconnect_fields() 160 (*f)->form = (FORM *) 0; in disconnect_fields() 164 form->rows = 0; in disconnect_fields() [all …]
|
/titanic_50/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));
|
/titanic_50/usr/src/test/zfs-tests/tests/functional/casenorm/ |
H A D | norm_all_values.ksh | 39 for form in none formC formD formKC formKD; do 40 create_testfs "-o normalization=$form" 41 if [[ $form != "none" ]] ; then 51 for form in formC formD formKC formKD; do 52 log_mustnot $ZFS create -o utf8only=off -o normalization=$form \
|
/titanic_50/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-service.c | 40 FORM form; in lpsched_service_information() local 42 while (getform(NAME_ALL, &form, (FALERT *)0, (FILE **)0) != -1) { in lpsched_service_information() 44 "form-supported", form.name); in lpsched_service_information() 45 freeform(&form); in lpsched_service_information()
|
/titanic_50/usr/src/lib/libxcurses/src/tabs/ |
H A D | tabs.c | 117 static int form = NO_FORM; variable 197 if (form != NO_FORM) 199 form = T_FORM; 225 if (form != NO_FORM) 227 form = N_FORM; 237 form = P_FORM; 258 if (form == NO_FORM) { 261 form = N_FORM; 264 form = P_FORM; 319 switch (form) { in do_tabs()
|
/titanic_50/usr/src/cmd/tbl/ |
H A D | t8.c | 40 int c, lf, ct, form, lwid, vspf, ip = -1, cmidx, exvspen, vforml; in putline() local 134 form= ctype(vforml,c); in putline() 135 if (form != 's') in putline() 138 if (form=='a') ct = c+CMID; in putline() 139 if (form=='n' && table[nl][c].rcol && lused[c]==0) ct= c+CMID; in putline() 173 form=1; in putline() 177 form=3; break; in putline() 179 form=2; break; in putline() 181 form=1; break; in putline() 219 if (form!= 1) in putline() [all …]
|
/titanic_50/usr/src/lib/libbc/libc/gen/common/ |
H A D | strtod.c | 42 enum decimal_string_form form; local 45 string_to_decimal(&cp, MAXINT, 0, &dr, &form, &pechar); 48 if (form == invalid_form)
|