Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/cmd/format/
H A Dprompts.c79 int deflt; local
83 deflt = 2;
85 &ioparam, &deflt, DATA_INPUT));
97 int deflt; local
101 deflt = n_cyls + a_cyls;
103 &ioparam, &deflt, DATA_INPUT));
129 int deflt; local
135 ':', &ioparam, &deflt, DATA_INPUT)) {
137 return (deflt);
167 int deflt; local
[all …]
H A Dmenu_analyze.c255 int deflt; in a_setup() local
263 deflt = !scan_entire; in a_setup()
266 &ioparam, &deflt, DATA_INPUT); in a_setup()
291 deflt = !scan_loop; in a_setup()
294 &ioparam, &deflt, DATA_INPUT); in a_setup()
304 deflt = !scan_correct; in a_setup()
307 &ioparam, &deflt, DATA_INPUT); in a_setup()
308 deflt = !scan_stop; in a_setup()
311 &ioparam, &deflt, DATA_INPUT); in a_setup()
312 deflt = !scan_random; in a_setup()
[all …]
H A Dpartition.c120 int deflt; in change_partition() local
147 deflt = cur_parts->etoc->efi_parts[num].p_tag; in change_partition()
148 if (deflt == V_UNASSIGNED) { in change_partition()
149 deflt = V_USR; in change_partition()
153 tag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT); in change_partition()
155 deflt = cur_parts->etoc->efi_parts[num].p_flag; in change_partition()
158 flag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT); in change_partition()
210 deflt = cur_parts->vtoc.v_part[num].p_tag; in change_partition()
213 tag = input(FIO_SLIST, msg, ':', &ioparam, &deflt, DATA_INPUT); in change_partition()
215 deflt = cur_parts->vtoc.v_part[num].p_flag; in change_partition()
[all …]
H A Dio.c444 input(type, promptstr, delim, param, deflt, cmdflag) in input() argument
449 int *deflt;
478 assert(deflt != NULL);
500 if (deflt != NULL) {
504 fmt_print("[%llu, ", *(diskaddr_t *)deflt);
505 pr_dblock(fmt_print, *(diskaddr_t *)deflt);
510 fmt_print("[%d]", *deflt);
517 efi_deflt = (efi_deflt_t *)deflt;
524 for (i = 0, str = strings; i < *deflt; i++, str++)
529 fmt_print("[\"%s\"]", (char *)deflt);
[all …]
H A Dmenu_command.c115 int deflt; in c_disk() local
228 deflt = i; in c_disk()
229 defltptr = &deflt; in c_disk()
358 int i, index, deflt, *defltptr = NULL; in c_type() local
397 deflt = i; in c_type()
398 defltptr = &deflt; in c_type()
794 diskaddr_t deflt; in c_format() local
864 deflt = ioparam.io_bounds.lower; in c_format()
867 &ioparam, (int *)&deflt, DATA_INPUT); in c_format()
869 deflt = ioparam.io_bounds.upper; in c_format()
[all …]
H A Dmenu_defect.c265 int type, deflt, index; in d_add() local
277 deflt = 0; in d_add()
281 &ioparam, &deflt, DATA_INPUT); in d_add()
326 deflt = -1; in d_add()
328 ':', &ioparam, &deflt, DATA_INPUT); in d_add()
H A Dmenu_partition.c200 int i, index, deflt, *defltptr = NULL; in p_select() local
223 deflt = i; in p_select()
224 defltptr = &deflt; in p_select()
/titanic_41/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()
/titanic_41/usr/src/cmd/valtools/
H A Dckkeywd.c46 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
115 deflt = optarg; in main()
163 if (deflt) { in main()
164 len = strlen(deflt) + 1; in main()
176 n = ckkeywd(strval, keyword, deflt, error, help, prompt); in main()
H A Dckyorn.c46 static char *deflt, *prompt, *error, *help; variable
146 deflt = optarg; in main()
202 if (deflt) { in main()
203 len = strlen(deflt) + 1; in main()
215 n = ckyorn(ynval, deflt, error, help, prompt); in main()
H A Dckuid.c46 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
159 deflt = optarg; in main()
214 if (deflt) { in main()
215 len = strlen(deflt) + 1; in main()
227 n = ckuid(strval, disp, deflt, error, help, prompt); in main()
H A Dckgid.c46 static char *deflt = NULL, *error = NULL, *help = NULL, *prompt = NULL; variable
155 deflt = optarg; in main()
211 if (deflt) { in main()
212 len = strlen(deflt) + 1; in main()
224 n = ckgid(gid, disp, deflt, error, help, prompt); in main()
H A Dckdate.c46 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
163 deflt = optarg; in main()
227 if (deflt) { in main()
228 len = strlen(deflt) + 1; in main()
240 n = ckdate(date, fmt, deflt, error, help, prompt); in main()
H A Dcktime.c46 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
167 deflt = optarg; in main()
234 if (deflt) { in main()
235 len = strlen(deflt) + 1; in main()
247 n = cktime(tod, fmt, deflt, error, help, prompt); in main()
H A Dckpath.c47 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
227 deflt = optarg; in main()
289 if (deflt) { in main()
290 len = strlen(deflt) + 1; in main()
302 n = ckpath(pathval, pflags, deflt, error, help, prompt); in main()
H A Dckstr.c47 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
189 deflt = optarg; in main()
250 if (deflt) { in main()
251 len = strlen(deflt) + 1; in main()
263 n = ckstr(strval, regexp, length, deflt, error, help, prompt); in main()
H A Dckint.c45 static char *deflt, *prompt, *error, *help; variable
156 deflt = optarg; in main()
209 n = ckint(&intval, base, deflt, error, help, prompt); in main()
H A Dckrange.c46 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
173 deflt = optarg; in main()
255 deflt, error, help, prompt); /* libadm interface */ in main()
H A Dckitem.c50 static char *deflt = NULL, *prompt = NULL, *error = NULL, *help = NULL; variable
226 deflt = optarg; in main()
356 n = ckitem(mp, item, max, deflt, error, help, prompt); in main()
/titanic_41/usr/src/cmd/lp/lib/users/
H A Dloadpri.c88 pri_tbl.deflt = LEVEL_DFLT; in ld_priority_file()
97 pri_tbl.deflt = -1; in ld_priority_file()
116 pri_tbl.deflt = pri; in ld_priority_file()
157 if (pri_tbl.deflt == -1) in ld_priority_file()
158 pri_tbl.deflt = LEVEL_DFLT; in ld_priority_file()
H A Dstorepri.c50 printf(gettext("Default priority: %d\n"), ppri_tbl->deflt); in print_tbl()
73 fdprintf(fd, "%d\n%d:\n", ppri_tbl->deflt, ppri_tbl->deflt_limit); in output_tbl()
H A Dusermgmt.c129 return (ppri_tbl->deflt); in getdfltpri()
/titanic_41/usr/src/tools/cscope-fast/
H A Dmygetenv.c39 mygetenv(char *variable, char *deflt) in mygetenv() argument
45 return (deflt); in mygetenv()
H A Dlibrary.h40 char *mygetenv(char *variable, char *deflt);
/titanic_41/usr/src/cmd/lp/include/
H A Dusers.h59 short deflt; /* priority to use when not specified */ member

12