Lines Matching defs:value
33 /* Choices used by the completer when reading a zero/non-zero value for
92 var->name, var->choices[*(var->value)], _(var->doc));
95 var->name, *(var->value), _(var->doc));
101 DECLARE_INFO_COMMAND (set_variable, _("Set the value of an Info variable"))
106 /* Get the variable's name and value. */
112 /* Read a new value for this variable. */
123 potential_value = *(var->value);
125 sprintf (prompt, _("Set %s to value (%d): "),
137 /* If the user specified a value, get that, otherwise, we are done. */
140 *(var->value) = atoi (line);
142 *(var->value) = potential_value;
166 sprintf (prompt, _("Set %s to value (%s): "),
167 var->name, var->choices[*(var->value)]);
169 /* Ask the completer to read a variable value for us. */
197 *(var->value) = i;
203 address of a VARIABLE_ALIST member. A return value of NULL indicates
277 set_variable_to_value(char *name, char *value)
295 if (strcmp (info_variables[i].choices[j], value) == 0)
299 *info_variables[i].value = j;
303 *info_variables[i].value = atoi(value);