Lines Matching refs:name
65 setalias(char *name, char *val) in setalias() argument
69 app = hashalias(name); in setalias()
71 if (equal(name, ap->name)) { in setalias()
82 ap->name = savestr(name); in setalias()
117 unalias(char *name) in unalias() argument
121 app = hashalias(name); in unalias()
124 if (equal(name, ap->name)) { in unalias()
133 *ap->name = '\0'; in unalias()
137 ckfree(ap->name); in unalias()
168 ckfree(ap->name); in rmaliases()
179 lookupalias(char *name, int check) in lookupalias() argument
181 struct alias *ap = *hashalias(name); in lookupalias()
184 if (equal(name, ap->name)) { in lookupalias()
195 get_alias_text(char *name) in get_alias_text() argument
199 ap = lookupalias(name, 0); in get_alias_text()
220 if (*ap->name != '\0') { in aliascmd()
221 out1fmt("alias %s=", ap->name); in aliascmd()