Lines Matching defs:variable
279 static const char bb_msg_variable_not_found[] ALIGN1 = "variable: %s not found";
1135 static const char *get_variable(const char *variable, void *info)
1155 i = index_in_str_array(field_names, variable);
1260 const char *(*get_variable_func)(const char *variable, void *info),
1268 <get_variable> A function which will be used to get variable values. If
1550 const char *(*get_variable_func)(const char *variable,
1557 <get_variable> A function which will be used to get variable values. If
1641 const char *(*func)(const char *variable,
1644 /* [SUMMARY] Expand a variable.
1649 <func> A function which will be used to get variable values. If this
1675 /* Ordinary variable expansion, possibly in braces */
1677 /* Simple variable expansion */
1703 /* Must be simple variable expansion with "${var}" */
1747 /* Found environment variable, so skip the input to the closing brace
1748 and return the variable */
1758 /* Environment variable was not found, so process word. Advance input
1782 static const char *get_variable_v2(const char *variable,
1783 const char *(*func)(const char *variable, void *info),
1785 /* [SUMMARY] Get a variable from the environment or .
1786 <variable> The variable name.
1787 <func> A function which will be used to get the variable. If this returns
1790 [RETURNS] The value of the variable on success, else NULL.
1796 value = (*func)(variable, info);
1800 return getenv(variable);