Lines Matching refs:value
62 if (item->value) in set_config()
64 item->name, item->value); in set_config()
88 char *value = item->value; in show_spec_config() local
90 if (value) { in show_spec_config()
91 printf("%s=%s\n", var, value); in show_spec_config()
111 char *value = item->value; in show_config() local
113 if (value) in show_config()
115 item->name, value); in show_config()
121 static int parse_config_arg(char *arg, char **var, char **value) in parse_config_arg() argument
138 *value = strchr(arg, '='); in parse_config_arg()
139 if (*value == NULL) in parse_config_arg()
141 else if (!strcmp(*value, "=")) { in parse_config_arg()
145 *value = *value + 1; /* excluding a first character '=' */ in parse_config_arg()
211 char *var, *value; in cmd_config() local
219 if (parse_config_arg(arg, &var, &value) < 0) { in cmd_config()
224 if (value == NULL) { in cmd_config()
233 var, value) < 0) { in cmd_config()
235 var, value); in cmd_config()