Lines Matching refs:opt
32 const char *opt, char *stopchs, char eqch, in hwconfig_parse()
35 size_t optlen = strlen(opt); in hwconfig_parse()
41 str = strstr(opts, opt); in hwconfig_parse()
74 static const char *__hwconfig(const char *opt, size_t *arglen, in __hwconfig() argument
91 opt, ";", ':', arglen); in __hwconfig()
97 opt, ";", ':', arglen); in __hwconfig()
102 opt, ";", ':', arglen); in __hwconfig()
125 int hwconfig_f(const char *opt, char *buf) in hwconfig_f() argument
127 return !!__hwconfig(opt, NULL, buf); in hwconfig_f()
143 const char *hwconfig_arg_f(const char *opt, size_t *arglen, char *buf) in hwconfig_arg_f() argument
145 return __hwconfig(opt, arglen, buf); in hwconfig_arg_f()
162 int hwconfig_arg_cmp_f(const char *opt, const char *arg, char *buf) in hwconfig_arg_cmp_f() argument
167 argstr = hwconfig_arg_f(opt, &arglen, buf); in hwconfig_arg_cmp_f()
186 int hwconfig_sub_f(const char *opt, const char *subopt, char *buf) in hwconfig_sub_f() argument
191 arg = __hwconfig(opt, &arglen, buf); in hwconfig_sub_f()
207 const char *hwconfig_subarg_f(const char *opt, const char *subopt, in hwconfig_subarg_f() argument
213 arg = __hwconfig(opt, &arglen, buf); in hwconfig_subarg_f()
229 int hwconfig_subarg_cmp_f(const char *opt, const char *subopt, in hwconfig_subarg_cmp_f() argument
235 argstr = hwconfig_subarg_f(opt, subopt, &arglen, buf); in hwconfig_subarg_cmp_f()