/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpforms.c | 220 if (form) in main() 344 if (!form) { in main() 804 char *form in list_form() argument 808 char *form; in list_form() 817 char *form in list_alert() argument 821 char *form; in list_alert() 830 char *form in list_both() argument 1038 char *form in delete_form() argument 1076 if (STREQU(NAME_ANY, form) || STREQU(NAME_NONE, form)) { 1120 char *form in _delete_form() argument [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpadmin/ |
H A D | do_mount.c | 63 *form, in do_mount() 70 if (form && STREQU(form, NAME_NONE)) 75 if (form && !*form && a) 78 if (form && !*form && pwheel && !*pwheel) { 80 form = 0; 82 } else if (form && !*form) { 84 form = 0; 101 if (form && *form) 114 if (form && *form && !is_form_allowed_printer(form, printer)) 133 if (form && *form) { [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/ |
H A D | disp3.c | 308 else if (*form && !(pfs = search_fstatus(form))) in s_mount() 319 if (*form) in s_mount() 357 else if (*form && !(pfs = search_fstatus(form))) in s_mount_tray() 372 if (*form) in s_mount_tray() 391 *form, in s_unmount() local 422 if (*form) in s_unmount() 441 *form, in s_unmount_tray() local 470 if (*form) in s_unmount_tray() 588 if (ppfs[j].form == pfs) ppfs[j].form= NULL; in _unload_form() 605 if (!*form || STREQU(form, NAME_ALL)) { in s_unload_form() [all …]
|
H A D | alerts.c | 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() 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() 247 if (fp->form->chset && !STREQU(fp->form->chset, NAME_ANY)) in fformat() 248 fdprintf(fd, Fa_msg[5], NB(fp->form->chset)); in fformat() 314 if ((rp->form == fp ) && in f_count() [all …]
|
H A D | daisyforms.c | 43 if ((prs->form = pfs) != NULL) { in queue_form() 44 prs->form->requests++; in queue_form() 46 check_form_alert (prs->form, (_FORM *)0); in queue_form() 58 FSTATUS * pfs = prs->form; in unqueue_form() 60 prs->form = 0; in unqueue_form() 143 (pfs->form->name != NULL) ? pfs->form->name : "null"); in check_form_alert() 158 #define OALERT pfs->form->alert in check_form_alert() 199 pfs->form = pf; in check_form_alert() 315 (ppfs[i].form == pfs)) in trayWithForm() 335 if (pfs && pfs->form && pfs->form->paper) in allTraysWithForm() [all …]
|
H A D | schedule.c | 43 FSTATUS * form; member 245 pl->arg.form = va_arg(ap, FSTATUS *); in schedule() 293 schedule (pl->event, pl->arg.form); in schedule() 375 (pfs && pfs->form && pfs->form->name ? pfs->form->name : "NULL"), in ev_form_message_body() 393 (pfs && pfs->form && pfs->form->name ? in ev_form_message() 394 pfs->form->name : "NULL")); in ev_form_message() 400 if (prs->form == pfs) in ev_form_message() 403 if (NewRequest && (NewRequest->form == pfs)) in ev_form_message() 459 isFormUsableOnPrinter(pps, prs->form) && MATCH(prs, pps)) { in ev_interf()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfprints.c | 34 char* sfvprints(form, args) in sfvprints() 35 char* form; in sfvprints() 52 rv = sfvprintf(f,form,args); 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() 89 char* form; 117 va_start(args,form); in sfaprints() 119 char **sp, *form; in sfaprints() local [all …]
|
H A D | sfscanf.c | 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() 57 int sfvsscanf(s, form, args) in sfvsscanf() 59 char* form; 65 if(!s || !form) 90 va_start(args,form); in sfsscanf() 93 reg char* form; in sfsscanf() local 96 form = va_arg(args,char*); in sfsscanf() [all …]
|
H A D | sfvscanf.c | 158 ac->form = (char*)form; 162 for(n = 1; *form != ']'; form += n) 202 char *form = ac->form; local 206 for(n = 1; *form != ']'; form += n) 508 { form = (*_Sffmtintf)(form+1,&n); 539 for(v = fmt-'0'; isdigit(*form); ++form) 561 { form = (*_Sffmtintf)(form+1,&n); 734 form = ft->form; SFMBCLR(ft->mbs); 1058 { if(!form || !form[0]) 1065 if((form = fm->form) ) [all …]
|
H A D | sftable.c | 49 char* form; 75 { form += SFMBLEN(form, &fmbs); 76 if(*form == 0 || *form == '%') 91 form += 1; 139 fp[n].ft.form = (char*)form; 184 form = sffmtint(form,&n); 195 fp[n].ft.form = (char*)form; 218 { for(size = 0, n = *form; isdigit(n); n = *++form) 222 { form = sffmtint(form+1,&n); 233 fp[n].ft.form = (char*)form; [all …]
|
H A D | sfprintf.c | 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() 57 ssize_t sfvsprintf(s, n, form, args) in sfvsprintf() 60 char* form; 75 if((rv = sfvprintf(f,form,args)) < 0 ) 104 va_start(args,form); in sfsprintf() 108 reg char* form; in sfsprintf() local 112 form = va_arg(args,char*); in sfsprintf() [all …]
|
H A D | sfvprintf.c | 216 } while(*(form += n) && *form != '%'); 348 v = form[0] == 'l' ? form[1] : form[0]; 351 if(*form && !isalnum(*form)) 352 { v = form[1] == 'l' ? form[2] : form[1]; 374 form = (*_Sffmtintf)(form,&n); 402 for(v = fmt - '0'; isdigit(*form); ++form) 430 { form = (*_Sffmtintf)(form+1,&n); 661 form = ft->form; SFMBCLR(ft->mbs); 1405 { if(!form || !form[0]) 1412 if((form = fm->form) ) [all …]
|
/illumos-gate/usr/src/lib/libc/port/fp/ |
H A D | char_to_decimal.h | 144 form = whitespace_form; 171 form = fixed_int_form; 263 form = inf_form; 296 form = nan_form; 456 if ((int)form < 0) 462 if ((int)form > 0) 487 if (form == invalid_form || form == whitespace_form) 566 if (form == invalid_form || form == whitespace_form) 696 switch (form) { 743 form = invalid_form; [all …]
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | wstod.c | 59 int form; in wcstod() local 64 if (form == 0) in wcstod() 73 if (form < 0) in wcstod() 89 int form; in wcstof() local 103 if (form < 0) in wcstof() 119 int form; in wcstold() local 128 if (form < 0) in wcstold() 200 int form; in wstring_to_decimal() local 239 form = 1; in wstring_to_decimal() 461 form = 1; in wstring_to_decimal() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | strtod.c | 47 enum decimal_string_form form; in strtod() local 52 string_to_decimal((char **)&cp, MAXINT, lc, &dr, &form, &pechar); in strtod() 55 if (form == invalid_form) in strtod() 64 if ((int)form < 0) in strtod() 80 enum decimal_string_form form; in strtof() local 86 if (form == invalid_form) in strtof() 95 if ((int)form < 0) in strtof() 111 enum decimal_string_form form; in strtold() local 117 if (form == invalid_form) in strtold() 121 if ((int)form < 0) in strtold() [all …]
|
/illumos-gate/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
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | form.c | 143 if (form->rows < ymax) in merge() 144 form->rows = ymax; in merge() 145 if (form->cols < xmax) in merge() 146 form->cols = xmax; in merge() 153 FIELD **f = form->field; in disconnect_fields() 157 if ((*f)->form == form) in disconnect_fields() 162 form->rows = 0; in disconnect_fields() 163 form->cols = 0; in disconnect_fields() 164 form->maxfield = -1; in disconnect_fields() 165 form->maxpage = -1; in disconnect_fields() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/access/ |
H A D | allowed.c | 97 char * form in is_user_allowed_form() argument 100 is_user_allowed_form (user, form) in is_user_allowed_form() 102 *form; in is_user_allowed_form() 108 if (loadaccess(Lp_A_Forms, form, "", &allow, &deny) == -1) 146 char * form, in is_form_allowed_printer() argument 150 is_form_allowed_printer (form, printer) in is_form_allowed_printer() 151 char *form, in is_form_allowed_printer() 161 return (allowed(form, allow, deny));
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/casenorm/ |
H A D | norm_all_values.ksh | 43 for form in none formC formD formKC formKD; do 44 create_testfs "-o normalization=$form" 45 if [[ $form != "none" ]] ; then 55 for form in formC formD formKC formKD; do 56 log_mustnot zfs create -o utf8only=off -o normalization=$form \
|
/illumos-gate/usr/src/lib/libxcurses/src/tabs/ |
H A D | tabs.c | 115 static int form = NO_FORM; variable 195 if (form != NO_FORM) 197 form = T_FORM; 223 if (form != NO_FORM) 225 form = N_FORM; 235 form = P_FORM; 256 if (form == NO_FORM) { 259 form = N_FORM; 262 form = P_FORM; 317 switch (form) { in do_tabs()
|
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | lpsched-service.c | 38 FORM form; in lpsched_service_information() local 40 while (getform(NAME_ALL, &form, (FALERT *)0, (FILE **)0) != -1) { in lpsched_service_information() 42 "form-supported", form.name); in lpsched_service_information() 43 freeform(&form); in lpsched_service_information()
|
/illumos-gate/usr/src/cmd/tbl/ |
H A D | t8.c | 38 int c, lf, ct, form, lwid, vspf, ip = -1, cmidx, exvspen, vforml; in putline() local 132 form= ctype(vforml,c); in putline() 133 if (form != 's') in putline() 136 if (form=='a') ct = c+CMID; in putline() 137 if (form=='n' && table[nl][c].rcol && lused[c]==0) ct= c+CMID; in putline() 171 form=1; in putline() 176 form=3; break; in putline() 178 form=2; break; in putline() 180 form=1; break; in putline() 218 if (form!= 1) in putline() [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_abbrev.c | 323 Dwarf_Unsigned form = 0; in dwarf_get_abbrev_entry() local 332 &form, in dwarf_get_abbrev_entry() 344 *returned_form = (Dwarf_Signed)form; in dwarf_get_abbrev_entry() 377 Dwarf_Unsigned form = 0; in dwarf_get_abbrev_entry_b() local 405 for (attr = 1, form = 1; in dwarf_get_abbrev_entry_b() 407 (attr != 0 || form != 0); in dwarf_get_abbrev_entry_b() 417 DECODE_LEB128_UWORD_CK(abbrev_ptr, form,dbg, in dwarf_get_abbrev_entry_b() 420 !_dwarf_valid_form_we_know(form,attr)) { in dwarf_get_abbrev_entry_b() 424 if (form == DW_FORM_implicit_const) { in dwarf_get_abbrev_entry_b() 446 *returned_form = form; in dwarf_get_abbrev_entry_b()
|