Lines Matching full:tlist
336 static void expand_cmd_table(struct tablelist *tlist) in expand_cmd_table() argument
339 for (t = tlist; t != NULL; t = t->t_next) in expand_cmd_table()
412 static int add_cmd_table(struct tablelist **tlist, unsigned char *buf, size_t len) in add_cmd_table() argument
430 if (*tlist == NULL) in add_cmd_table()
431 *tlist = t; in add_cmd_table()
435 for (e = *tlist; e->t_next != NULL; e = e->t_next) in add_cmd_table()
445 static void pop_cmd_table(struct tablelist **tlist) in pop_cmd_table() argument
448 if (*tlist == NULL) in pop_cmd_table()
450 if ((*tlist)->t_next == NULL) in pop_cmd_table()
452 t = *tlist; in pop_cmd_table()
453 *tlist = NULL; in pop_cmd_table()
457 for (e = *tlist; e->t_next->t_next != NULL; e = e->t_next) in pop_cmd_table()
486 static void add_var_table(struct tablelist **tlist, mutable unsigned char *buf, size_t len) in add_var_table() argument
493 if (add_cmd_table(tlist, xbuf.data, xbuf.end) < 0) in add_var_table()
770 static int cmd_decode(struct tablelist *tlist, constant char *cmd, constant char **sp) in cmd_decode() argument
781 for (t = tlist; t != NULL; t = t->t_next) in cmd_decode()