Lines Matching refs:name
15 .name = "y",
21 .name = "m",
27 .name = "n",
33 .name = "",
308 sym->name);
357 sym->curr.val = sym->name;
805 struct symbol *sym_lookup(const char *name, int flags)
811 if (name) {
812 if (name[0] && !name[1]) {
813 switch (name[0]) {
819 hash = strhash(name) % SYMBOL_HASHSIZE;
822 if (symbol->name &&
823 !strcmp(symbol->name, name) &&
828 new_name = xstrdup(name);
836 symbol->name = new_name;
846 struct symbol *sym_find(const char *name)
851 if (!name)
854 if (name[0] && !name[1]) {
855 switch (name[0]) {
861 hash = strhash(name) % SYMBOL_HASHSIZE;
864 if (symbol->name &&
865 !strcmp(symbol->name, name) &&
940 exact1 = (s1->eo - s1->so) == strlen(s1->sym->name);
941 exact2 = (s2->eo - s2->so) == strlen(s2->sym->name);
948 return strcmp(s1->sym->name, s2->sym->name);
967 if (sym->flags & SYMBOL_CONST || !sym->name)
969 if (regexec(&re, sym->name, 1, match, 0))
1077 prop->file->name, prop->lineno);
1081 menu->file->name, menu->lineno,
1082 sym->name ? sym->name : "<choice>",
1083 next_sym->name ? next_sym->name : "<choice>");
1086 menu->file->name, menu->lineno,
1087 sym->name ? sym->name : "<choice>",
1088 next_sym->name ? next_sym->name : "<choice>");
1091 prop->file->name, prop->lineno,
1092 sym->name ? sym->name : "<choice>",
1093 next_sym->name ? next_sym->name : "<choice>");
1096 prop->file->name, prop->lineno,
1097 sym->name ? sym->name : "<choice>",
1098 next_sym->name ? next_sym->name : "<choice>");
1101 prop->file->name, prop->lineno,
1102 sym->name ? sym->name : "<choice>",
1103 next_sym->name ? next_sym->name : "<choice>");
1106 prop->file->name, prop->lineno,
1107 sym->name ? sym->name : "<choice>",
1109 next_sym->name ? next_sym->name : "<choice>");
1112 prop->file->name, prop->lineno,
1113 sym->name ? sym->name : "<choice>",
1115 next_sym->name ? next_sym->name : "<choice>");