/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 | 66 *form, in do_mount() 73 if (form && STREQU(form, NAME_NONE)) 78 if (form && !*form && a) 81 if (form && !*form && pwheel && !*pwheel) { 83 form = 0; 85 } else if (form && !*form) { 87 form = 0; 104 if (form && *form) 117 if (form && *form && !is_form_allowed_printer(form, printer)) 136 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 | 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()
|
/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 | 146 form = whitespace_form; 173 form = fixed_int_form; 265 form = inf_form; 298 form = nan_form; 458 if ((int)form < 0) 464 if ((int)form > 0) 489 if (form == invalid_form || form == whitespace_form) 568 if (form == invalid_form || form == whitespace_form) 698 switch (form) { 745 form = invalid_form; [all …]
|
/illumos-gate/usr/src/lib/libc/port/i18n/ |
H A D | wstod.c | 61 int form; in wcstod() local 66 if (form == 0) in wcstod() 75 if (form < 0) in wcstod() 91 int form; in wcstof() local 105 if (form < 0) in wcstof() 121 int form; in wcstold() local 130 if (form < 0) in wcstold() 202 int form; in wstring_to_decimal() local 241 form = 1; in wstring_to_decimal() 463 form = 1; in wstring_to_decimal() [all …]
|
/illumos-gate/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 88 if (form == invalid_form) in strtof() 97 if ((int)form < 0) in strtof() 113 enum decimal_string_form form; in strtold() local 119 if (form == invalid_form) in strtold() 123 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 | 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() 155 FIELD **f = form->field; in disconnect_fields() 159 if ((*f)->form == form) in disconnect_fields() 164 form->rows = 0; in disconnect_fields() 165 form->cols = 0; in disconnect_fields() 166 form->maxfield = -1; in disconnect_fields() 167 form->maxpage = -1; in disconnect_fields() [all …]
|
/illumos-gate/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));
|
/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 | 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()
|
/illumos-gate/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()
|
/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()
|