Lines Matching refs:name

15 	.name = "y",
21 .name = "m",
27 .name = "n",
33 .name = "",
307 sym->name);
356 sym->curr.val = sym->name;
804 struct symbol *sym_lookup(const char *name, int flags)
810 if (name) {
811 if (name[0] && !name[1]) {
812 switch (name[0]) {
818 hash = strhash(name) % SYMBOL_HASHSIZE;
821 if (symbol->name &&
822 !strcmp(symbol->name, name) &&
827 new_name = xstrdup(name);
835 symbol->name = new_name;
845 struct symbol *sym_find(const char *name)
850 if (!name)
853 if (name[0] && !name[1]) {
854 switch (name[0]) {
860 hash = strhash(name) % SYMBOL_HASHSIZE;
863 if (symbol->name &&
864 !strcmp(symbol->name, name) &&
896 exact1 = (s1->eo - s1->so) == strlen(s1->sym->name);
897 exact2 = (s2->eo - s2->so) == strlen(s2->sym->name);
904 return strcmp(s1->sym->name, s2->sym->name);
923 if (sym->flags & SYMBOL_CONST || !sym->name)
925 if (regexec(&re, sym->name, 1, match, 0))
1033 prop->file->name, prop->lineno);
1037 menu->file->name, menu->lineno,
1038 sym->name ? sym->name : "<choice>",
1039 next_sym->name ? next_sym->name : "<choice>");
1042 menu->file->name, menu->lineno,
1043 sym->name ? sym->name : "<choice>",
1044 next_sym->name ? next_sym->name : "<choice>");
1047 prop->file->name, prop->lineno,
1048 sym->name ? sym->name : "<choice>",
1049 next_sym->name ? next_sym->name : "<choice>");
1052 prop->file->name, prop->lineno,
1053 sym->name ? sym->name : "<choice>",
1054 next_sym->name ? next_sym->name : "<choice>");
1057 prop->file->name, prop->lineno,
1058 sym->name ? sym->name : "<choice>",
1059 next_sym->name ? next_sym->name : "<choice>");
1062 prop->file->name, prop->lineno,
1063 sym->name ? sym->name : "<choice>",
1065 next_sym->name ? next_sym->name : "<choice>");
1068 prop->file->name, prop->lineno,
1069 sym->name ? sym->name : "<choice>",
1071 next_sym->name ? next_sym->name : "<choice>");