Lines Matching full:variable
17 * variable.c - handle Jam multi-element variables.
21 * var_defines() - load a bunch of variable=value settings
23 * var_set() - set a variable in jam's user defined symbol table.
24 * var_swap() - swap a variable's value with the given one
25 * var_done() - free variable tables
30 * var_dump() - dump a variable to stdout
34 #include "variable.h"
49 * VARIABLE - a user defined multi-value variable
52 typedef struct _variable VARIABLE ; typedef
65 * var_defines() - load a bunch of variable=value settings
69 * Otherwise, if the variable value is enclosed in quotes, strip the quotes.
70 * Otherwise, if variable name ends in PATH, split value at :'s.
156 /* Last returned variable value saved so we may clear it in var_done(). */
199 VARIABLE * v; in var_get()
208 else if ( module->variables && ( v = (VARIABLE *)hash_find( in var_get()
220 /* On VMS, when a variable from root or ENVIRON module is not found, in var_get()
224 * So we get around it by getting any such variable on first request. in var_get()
245 /* Load variable to global module, with splitting, for backward in var_get()
252 if ( module->variables && ( v = (VARIABLE *)hash_find( in var_get()
270 VARIABLE * v; in var_get_and_clear_raw()
272 if ( module->variables && ( v = (VARIABLE *)hash_find( module->variables, in var_get_and_clear_raw()
284 * var_set() - set a variable in Jam's user defined symbol table
286 * 'flag' controls the relationship between new and old values of the variable:
288 * only uses the new if the variable was previously unset.
323 * var_swap() - swap a variable's value with the given one
344 VARIABLE * v; in var_enter()
351 module->variables = hashinit( sizeof( VARIABLE ), "variables" ); in var_enter()
353 v = (VARIABLE *)hash_insert( module->variables, symbol, &found ); in var_enter()
365 * var_dump() - dump a variable to stdout
377 * var_done() - free variable tables
382 VARIABLE * const v = (VARIABLE *)xvar; in delete_var_()