Lines Matching full:name

15 	.name = "y",
19 .name = "m",
23 .name = "n",
27 .name = "",
347 sym->curr.val = sym->name; in sym_calc_value()
395 sym->name); in sym_calc_value()
797 struct symbol *sym_lookup(const char *name, int flags) in sym_lookup() argument
803 if (name) { in sym_lookup()
804 if (name[0] && !name[1]) { in sym_lookup()
805 switch (name[0]) { in sym_lookup()
811 hash = strhash(name) % SYMBOL_HASHSIZE; in sym_lookup()
814 if (symbol->name && in sym_lookup()
815 !strcmp(symbol->name, name) && in sym_lookup()
820 new_name = strdup(name); in sym_lookup()
828 symbol->name = new_name; in sym_lookup()
838 struct symbol *sym_find(const char *name) in sym_find() argument
843 if (!name) in sym_find()
846 if (name[0] && !name[1]) { in sym_find()
847 switch (name[0]) { in sym_find()
853 hash = strhash(name) % SYMBOL_HASHSIZE; in sym_find()
856 if (symbol->name && in sym_find()
857 !strcmp(symbol->name, name) && in sym_find()
867 * name to be expanded shall be prefixed by a '$'. Unknown symbol expands to
881 char *p, name[SYMBOL_MAXLENGTH]; in sym_expand_string_value() local
889 p = name; in sym_expand_string_value()
894 sym = sym_find(name); in sym_expand_string_value()
981 exact1 = (s1->eo - s1->so) == strlen(s1->sym->name); in sym_rel_comp()
982 exact2 = (s2->eo - s2->so) == strlen(s2->sym->name); in sym_rel_comp()
989 return strcmp(s1->sym->name, s2->sym->name); in sym_rel_comp()
1008 if (sym->flags & SYMBOL_CONST || !sym->name) in sym_re_search()
1010 if (regexec(&re, sym->name, 1, match, 0)) in sym_re_search()
1118 prop->file->name, prop->lineno); in sym_check_print_recursive()
1123 prop->file->name, prop->lineno, in sym_check_print_recursive()
1124 sym->name ? sym->name : "<choice>", in sym_check_print_recursive()
1126 next_sym->name ? next_sym->name : "<choice>"); in sym_check_print_recursive()
1129 prop->file->name, prop->lineno, in sym_check_print_recursive()
1130 sym->name ? sym->name : "<choice>", in sym_check_print_recursive()
1131 next_sym->name ? next_sym->name : "<choice>"); in sym_check_print_recursive()
1134 menu->file->name, menu->lineno, in sym_check_print_recursive()
1135 sym->name ? sym->name : "<choice>", in sym_check_print_recursive()
1136 next_sym->name ? next_sym->name : "<choice>"); in sym_check_print_recursive()
1139 menu->file->name, menu->lineno, in sym_check_print_recursive()
1140 sym->name ? sym->name : "<choice>", in sym_check_print_recursive()
1141 next_sym->name ? next_sym->name : "<choice>"); in sym_check_print_recursive()
1144 prop->file->name, prop->lineno, in sym_check_print_recursive()
1145 sym->name ? sym->name : "<choice>", in sym_check_print_recursive()
1146 next_sym->name ? next_sym->name : "<choice>"); in sym_check_print_recursive()
1361 if (strcmp(sym2->name, env)) in prop_add_env()
1363 sym2->name); in prop_add_env()