Lines Matching defs:name
16 .name = "y",
23 .name = "m",
30 .name = "n",
305 sym->name);
368 sym->curr.val = sym->name;
810 struct symbol *sym_lookup(const char *name, int flags)
816 if (name) {
817 if (name[0] && !name[1]) {
818 switch (name[0]) {
824 hash = strhash(name);
827 if (symbol->name &&
828 !strcmp(symbol->name, name) &&
833 new_name = xstrdup(name);
841 symbol->name = new_name;
851 struct symbol *sym_find(const char *name)
856 if (!name)
859 if (name[0] && !name[1]) {
860 switch (name[0]) {
866 hash = strhash(name);
869 if (symbol->name &&
870 !strcmp(symbol->name, name) &&
902 exact1 = (s1->eo - s1->so) == strlen(s1->sym->name);
903 exact2 = (s2->eo - s2->so) == strlen(s2->sym->name);
910 return strcmp(s1->sym->name, s2->sym->name);
929 if (sym->flags & SYMBOL_CONST || !sym->name)
931 if (regexec(&re, sym->name, 1, match, 0))
1044 sym->name ? sym->name : "<choice>",
1045 next_sym->name ? next_sym->name : "<choice>");
1049 sym->name ? sym->name : "<choice>",
1050 next_sym->name ? next_sym->name : "<choice>");
1054 sym->name ? sym->name : "<choice>",
1055 next_sym->name ? next_sym->name : "<choice>");
1059 sym->name ? sym->name : "<choice>",
1060 next_sym->name ? next_sym->name : "<choice>");
1064 sym->name ? sym->name : "<choice>",
1065 next_sym->name ? next_sym->name : "<choice>");
1069 sym->name ? sym->name : "<choice>",
1071 next_sym->name ? next_sym->name : "<choice>");
1075 sym->name ? sym->name : "<choice>",
1077 next_sym->name ? next_sym->name : "<choice>");