Lines Matching defs:opt
179 bool opt[OPTIDX_NR];
237 static int set_trace_opt(const char *opt, bool value);
560 if (state->opt_valid[i] && state->opt[i] != cur[i]) {
561 r = set_trace_opt(optstr[i], state->opt[i]);
564 optstr[i], bool2str(state->opt[i]));
568 bool2str(state->opt[i]));
1234 static char *get_no_opt(const char *opt)
1239 s = strlen(opt) + strlen(OPT_NO_PREFIX) + 1;
1243 strcat(no_opt, opt);
1275 static bool get_trace_opt(const char *allopt, const char *opt, bool *found)
1283 no_opt = get_no_opt(opt);
1289 if (!strcmp(str, opt)) {
1308 static int set_trace_opt(const char *opt, bool value)
1314 str = strdup(opt);
1316 str = get_no_opt(opt);
1334 state->opt[i] = get_trace_opt(allopt, optstr[i],
1421 state->opt[i] != new[i]) {