Home
last modified time | relevance | path

Searched refs:deflt (Results 1 – 25 of 47) sorted by relevance

12

/illumos-gate/usr/src/cmd/format/
H A Dprompts.c78 int deflt; in get_acyl() local
82 deflt = 2; in get_acyl()
84 &ioparam, &deflt, DATA_INPUT)); in get_acyl()
94 int deflt; in get_pcyl() local
98 deflt = n_cyls + a_cyls; in get_pcyl()
100 &ioparam, &deflt, DATA_INPUT)); in get_pcyl()
124 int deflt; in get_phead() local
130 ':', &ioparam, &deflt, DATA_INPUT)) { in get_phead()
132 return (deflt); in get_phead()
161 int deflt; in get_psect() local
[all …]
H A Dmenu_analyze.c253 int deflt; in a_setup() local
261 deflt = !scan_entire; in a_setup()
264 &ioparam, &deflt, DATA_INPUT); in a_setup()
289 deflt = !scan_loop; in a_setup()
292 &ioparam, &deflt, DATA_INPUT); in a_setup()
302 deflt = !scan_correct; in a_setup()
305 &ioparam, &deflt, DATA_INPUT); in a_setup()
306 deflt = !scan_stop; in a_setup()
309 &ioparam, &deflt, DATA_INPUT); in a_setup()
310 deflt = !scan_random; in a_setup()
[all …]
H A Dpartition.c121 int deflt; in change_partition() local
148 deflt = cur_parts->etoc->efi_parts[num].p_tag; in change_partition()
149 if (deflt == V_UNASSIGNED) { in change_partition()
150 deflt = V_USR; in change_partition()
154 tag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT); in change_partition()
156 deflt = cur_parts->etoc->efi_parts[num].p_flag; in change_partition()
159 flag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT); in change_partition()
211 deflt = cur_parts->vtoc.v_part[num].p_tag; in change_partition()
214 tag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT); in change_partition()
216 deflt = cur_parts->vtoc.v_part[num].p_flag; in change_partition()
[all …]
H A Dio.c411 input(int type, char *promptstr, int delim, u_ioparam_t *param, int *deflt, in input() argument
440 assert(deflt != NULL); in input()
462 if (deflt != NULL) { in input()
466 fmt_print("[%llu, ", *(diskaddr_t *)deflt); in input()
467 pr_dblock(fmt_print, *(diskaddr_t *)deflt); in input()
472 fmt_print("[%d]", *deflt); in input()
479 efi_deflt = (efi_deflt_t *)deflt; in input()
486 for (i = 0, str = strings; i < *deflt; i++, str++) in input()
491 fmt_print("[\"%s\"]", (char *)deflt); in input()
501 s = find_string(param->io_slist, *deflt); in input()
[all …]
H A Dmenu_command.c123 int deflt; in c_disk() local
236 deflt = i; in c_disk()
237 defltptr = &deflt; in c_disk()
366 int i, index, deflt, *defltptr = NULL; in c_type() local
405 deflt = i; in c_type()
406 defltptr = &deflt; in c_type()
803 diskaddr_t deflt; in c_format() local
873 deflt = ioparam.io_bounds.lower; in c_format()
876 &ioparam, (int *)&deflt, DATA_INPUT); in c_format()
878 deflt = ioparam.io_bounds.upper; in c_format()
[all …]
H A Dmenu_defect.c256 int type, deflt, index; in d_add() local
268 deflt = 0; in d_add()
272 &ioparam, &deflt, DATA_INPUT); in d_add()
317 deflt = -1; in d_add()
319 ':', &ioparam, &deflt, DATA_INPUT); in d_add()
H A Dmenu_partition.c189 int i, index, deflt, *defltptr = NULL; in p_select() local
212 deflt = i; in p_select()
213 defltptr = &deflt; in p_select()
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpusers.c58 list = FALSE, limit = -1, deflt = -1; in main() local
106 if (deflt != -1) in main()
108 deflt = (int)strtol(optarg,&p,10); in main()
109 if (*p || deflt<PRI_MIN || deflt>PRI_MAX) { in main()
144 if (((list || deflt != -1) && (limit != -1 || userlist)) in main()
145 || (list && deflt != -1)) { in main()
180 } else if (deflt != -1) in main()
181 ppri_tbl->deflt = deflt; in main()
/illumos-gate/usr/src/cmd/valtools/
H A Dckkeywd.c43 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
112 deflt = optarg; in main()
160 if (deflt) { in main()
161 len = strlen(deflt) + 1; in main()
173 n = ckkeywd(strval, keyword, deflt, error, help, prompt); in main()
H A Dckyorn.c43 static char *deflt, *prompt, *error, *help; variable
143 deflt = optarg; in main()
199 if (deflt) { in main()
200 len = strlen(deflt) + 1; in main()
212 n = ckyorn(ynval, deflt, error, help, prompt); in main()
H A Dckgid.c43 static char *deflt = NULL, *error = NULL, *help = NULL, *prompt = NULL; variable
152 deflt = optarg; in main()
208 if (deflt) { in main()
209 len = strlen(deflt) + 1; in main()
221 n = ckgid(gid, disp, deflt, error, help, prompt); in main()
H A Dckuid.c43 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
156 deflt = optarg; in main()
211 if (deflt) { in main()
212 len = strlen(deflt) + 1; in main()
224 n = ckuid(strval, disp, deflt, error, help, prompt); in main()
H A Dckdate.c43 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
160 deflt = optarg; in main()
224 if (deflt) { in main()
225 len = strlen(deflt) + 1; in main()
237 n = ckdate(date, fmt, deflt, error, help, prompt); in main()
H A Dcktime.c43 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
164 deflt = optarg; in main()
231 if (deflt) { in main()
232 len = strlen(deflt) + 1; in main()
244 n = cktime(tod, fmt, deflt, error, help, prompt); in main()
H A Dckpath.c44 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
224 deflt = optarg; in main()
286 if (deflt) { in main()
287 len = strlen(deflt) + 1; in main()
299 n = ckpath(pathval, pflags, deflt, error, help, prompt); in main()
H A Dckstr.c44 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
186 deflt = optarg; in main()
247 if (deflt) { in main()
248 len = strlen(deflt) + 1; in main()
260 n = ckstr(strval, regexp, length, deflt, error, help, prompt); in main()
H A Dckint.c42 static char *deflt, *prompt, *error, *help; variable
153 deflt = optarg; in main()
206 n = ckint(&intval, base, deflt, error, help, prompt); in main()
H A Dckrange.c43 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
170 deflt = optarg; in main()
252 deflt, error, help, prompt); /* libadm interface */ in main()
H A Dckitem.c52 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
228 deflt = optarg; in main()
358 n = ckitem(mp, item, max, deflt, error, help, prompt); in main()
/illumos-gate/usr/src/cmd/lp/lib/users/
H A Dloadpri.c86 pri_tbl.deflt = LEVEL_DFLT; in ld_priority_file()
95 pri_tbl.deflt = -1; in ld_priority_file()
114 pri_tbl.deflt = pri; in ld_priority_file()
155 if (pri_tbl.deflt == -1) in ld_priority_file()
156 pri_tbl.deflt = LEVEL_DFLT; in ld_priority_file()
H A Dstorepri.c48 printf(gettext("Default priority: %d\n"), ppri_tbl->deflt); in print_tbl()
71 fdprintf(fd, "%d\n%d:\n", ppri_tbl->deflt, ppri_tbl->deflt_limit); in output_tbl()
/illumos-gate/usr/src/tools/cscope-fast/
H A Dmygetenv.c37 mygetenv(char *variable, char *deflt) in mygetenv() argument
43 return (deflt); in mygetenv()
H A Dlibrary.h37 char *mygetenv(char *variable, char *deflt);
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_lm_main.c1570 &pdev->vars.status_virt->deflt.status_rx_quick_consumer_index15; in init_ofld_resc()
1611 idx_ptr = &sblk->deflt.status_tx_quick_consumer_index0; in sblk_tx_con_idx_ptr()
1615 idx_ptr = &sblk->deflt.status_tx_quick_consumer_index1; in sblk_tx_con_idx_ptr()
1619 idx_ptr = &sblk->deflt.status_tx_quick_consumer_index2; in sblk_tx_con_idx_ptr()
1623 idx_ptr = &sblk->deflt.status_tx_quick_consumer_index3; in sblk_tx_con_idx_ptr()
1633 idx_ptr = &sblk->deflt.status_rx_quick_consumer_index14; in sblk_tx_con_idx_ptr()
1643 idx_ptr = &sblk->deflt.status_tx_quick_consumer_index0; in sblk_tx_con_idx_ptr()
1647 idx_ptr = &sblk->deflt.status_tx_quick_consumer_index1; in sblk_tx_con_idx_ptr()
1651 idx_ptr = &sblk->deflt.status_tx_quick_consumer_index2; in sblk_tx_con_idx_ptr()
1655 idx_ptr = &sblk->deflt.status_tx_quick_consumer_index3; in sblk_tx_con_idx_ptr()
[all …]
/illumos-gate/usr/src/cmd/lp/include/
H A Dusers.h59 short deflt; /* priority to use when not specified */ member

12