Searched refs:ttab (Results 1 – 7 of 7) sorted by relevance
383 translate(char *ttab, char *str) in translate() argument387 for (; *ttab && *(ttab+1); ttab += 2) in translate()389 if (*ttab == *s) in translate()390 *s = *(ttab+1); in translate()
79 static struct ttab { struct85 static struct ttab termtab[] = { argument127 static struct ttab *termadj();494 struct ttab *497 struct ttab *t; in termadj()
434 static struct icmptype_table ttab[] = { in pr_type() local457 for (i = 0; i < A_CNT(ttab); i++) { in pr_type()458 if (ttab[i].type == type) in pr_type()459 return (ttab[i].message); in pr_type()
434 translate(ttab, str) in translate() argument435 char *ttab, *str; in translate()439 for(;*ttab && *(ttab+1); ttab += 2)441 if(*ttab == *s)442 *s = *(ttab+1);
31 "\ttab\t":"tab key",\
1251 static struct icmptype_table ttab[] = { in pr_type() local1274 for (i = 0; i < A_CNT(ttab); i++) { in pr_type()1275 if (ttab[i].type == icmp_type) in pr_type()1276 return (ttab[i].message); in pr_type()
706 static char *ttab[] = { in pr_type() local731 return (ttab[t]); in pr_type()