Lines Matching refs:tlist
327 static void expand_cmd_table(struct tablelist *tlist)
330 for (t = tlist; t != NULL; t = t->t_next)
403 static int add_cmd_table(struct tablelist **tlist, unsigned char *buf, size_t len)
421 if (*tlist == NULL)
422 *tlist = t;
426 for (e = *tlist; e->t_next != NULL; e = e->t_next)
436 static void pop_cmd_table(struct tablelist **tlist)
439 if (*tlist == NULL)
441 if ((*tlist)->t_next == NULL)
443 t = *tlist;
444 *tlist = NULL;
448 for (e = *tlist; e->t_next->t_next != NULL; e = e->t_next)
477 static void add_var_table(struct tablelist **tlist, unsigned char *buf, size_t len)
484 if (add_cmd_table(tlist, xbuf.data, xbuf.end) < 0)
740 static int cmd_decode(struct tablelist *tlist, constant char *cmd, constant char **sp)
750 for (t = tlist; t != NULL; t = t->t_next)