Lines Matching defs:optlist
48 OPTLIST const optlist[] = {
422 for (op = optlist, cnt = 0; op->name != NULL; ++op, ++cnt) {
452 OI(*oargs, optlist[*oargs].name);
456 err: msgq_wstr(sp, M_ERR, optlist[optindx].name,
529 offset = op - optlist;
805 msgq_wstr(sp, M_ERR, optlist[off].name,
851 for (b_num = s_num = 0, op = optlist; op->name != NULL; ++op) {
852 cnt = op - optlist;
927 cnt = opts_print(sp, &optlist[s_op[base]]);
939 (void)opts_print(sp, &optlist[b_op[row]]);
957 offset = op - optlist;
994 for (op = optlist; op->name != NULL; ++op) {
997 cnt = op - optlist;
1054 return (optlist + ap->offset);
1058 if ((op = bsearch(&otmp, optlist, sizeof(optlist) / sizeof(OPTLIST) - 1,
1067 for (found = NULL, op = optlist; op->name != NULL; ++op) {
1122 if (optlist[cnt].type != OPT_STR ||
1164 if (optlist[cnt].type != OPT_STR ||