Lines Matching defs:option
80 {OPTION, "option"},
308 * this function searches the given option list for the named option and
309 * returns a pointer to the option rec if found. If not found, it returns
326 * this function searches the given option list for the named option. If
327 * found and the option has a parameter, a pointer to the parameter is
328 * returned. If the option does not have a parameter an empty string is
329 * returned. If the option is not found, a NULL is returned.
374 /* the 2 given lists are merged. If an option with the same name is present in
375 * both, the option from the user list - specified in the second argument -
437 XF86OptionPtr option, cnew, old;
449 option = xf86newOption(name, val.str);
450 option->opt_comment = comment;
452 option->opt_comment = xf86addComment(option->opt_comment, val.str);
457 option = xf86newOption(name, NULL);
458 option->opt_comment = comment;
460 option->opt_comment = xf86addComment(option->opt_comment, val.str);
470 free(option->opt_name);
471 TestFree(option->opt_val);
472 TestFree(option->opt_comment);
473 free(option);
476 cnew = option;