Lines Matching refs:variable
108 struct variable const *key = (struct variable const *) keyv; in variable_hash_1()
115 struct variable const *key = (struct variable const *) keyv; in variable_hash_2()
122 struct variable const *x = (struct variable const *) xv; in variable_hash_cmp()
123 struct variable const *y = (struct variable const *) yv; in variable_hash_cmp()
161 struct variable *
167 struct variable *v; in define_variable_in_set()
168 struct variable **var_slot; in define_variable_in_set()
169 struct variable var_key; in define_variable_in_set()
176 var_slot = (struct variable **) hash_find_slot (&set->table, &var_key); in define_variable_in_set()
209 v = (struct variable *) xmalloc (sizeof (struct variable)); in define_variable_in_set()
255 static struct variable *
256 handle_special_var (struct variable *var) in handle_special_var()
292 struct variable **vp = (struct variable **) global_variable_set.table.ht_vec; in handle_special_var()
293 struct variable **end = &vp[global_variable_set.table.ht_size]; in handle_special_var()
304 struct variable *v = *vp; in handle_special_var()
339 struct variable *
343 struct variable var_key; in lookup_variable()
352 struct variable *v; in lookup_variable()
354 v = (struct variable *) hash_find_item ((struct hash_table *) &set->table, &var_key); in lookup_variable()
423 struct variable *
427 struct variable var_key; in lookup_variable_in_set()
432 return (struct variable *) hash_find_item ((struct hash_table *) &set->table, &var_key); in lookup_variable_in_set()
500 struct variable *v; in initialize_file_variables()
502 if (p->variable.flavor == f_simple) in initialize_file_variables()
505 p->variable.name, strlen (p->variable.name), in initialize_file_variables()
506 p->variable.value, p->variable.origin, in initialize_file_variables()
507 0, &p->variable.fileinfo); in initialize_file_variables()
514 &p->variable.fileinfo, p->variable.name, in initialize_file_variables()
515 p->variable.value, p->variable.origin, in initialize_file_variables()
516 p->variable.flavor, 1); in initialize_file_variables()
520 v->per_target = p->variable.per_target; in initialize_file_variables()
521 v->export = p->variable.export; in initialize_file_variables()
563 struct variable *v = (struct variable *) item; in free_variable_name_and_value()
642 struct variable **from_var_slot = (struct variable **) from_set->table.ht_vec; in merge_variable_sets()
643 struct variable **from_var_end = from_var_slot + from_set->table.ht_size; in merge_variable_sets()
648 struct variable *from_var = *from_var_slot; in merge_variable_sets()
649 struct variable **to_var_slot in merge_variable_sets()
650 = (struct variable **) hash_find_slot (&to_set->table, *from_var_slot); in merge_variable_sets()
709 register struct variable *v; in define_automatic_variables()
729 struct variable *mshp = lookup_variable ("MAKESHELL", 9); in define_automatic_variables()
730 struct variable *comp = lookup_variable ("COMSPEC", 7); in define_automatic_variables()
739 struct variable *shp = lookup_variable (shell_str, shlen); in define_automatic_variables()
749 struct variable *shell = lookup_variable (shell_str, shlen); in define_automatic_variables()
750 struct variable *replace = lookup_variable ("MAKESHELL", 9); in define_automatic_variables()
858 struct variable **v_slot; in target_environment()
859 struct variable **v_end; in target_environment()
860 struct variable makelevel_key; in target_environment()
877 v_slot = (struct variable **) set->table.ht_vec; in target_environment()
882 struct variable **new_slot; in target_environment()
883 struct variable *v = *v_slot; in target_environment()
890 struct variable *gv; in target_environment()
923 extern struct variable shell_var; in target_environment()
935 new_slot = (struct variable **) hash_find_slot (&table, v); in target_environment()
947 v_slot = (struct variable **) table.ht_vec; in target_environment()
952 struct variable *v = *v_slot; in target_environment()
992 struct variable *
998 struct variable *v; in do_variable_definition()
1124 struct variable *pathv = lookup_variable ("PATH", 4); in do_variable_definition()
1229 struct variable *
1230 parse_variable_definition (struct variable *v, char *line) in parse_variable_definition()
1334 struct variable *
1338 struct variable v; in try_variable_definition()
1339 struct variable *vp; in try_variable_definition()
1362 const struct variable *v = (struct variable *) item; in print_variable()
1463 print_variable (&p->variable, "# "); in print_variable_data_base()