Home
last modified time | relevance | path

Searched refs:tk (Results 1 – 13 of 13) sorted by relevance

/dpdk/lib/cmdline/
H A Dcmdline_parse_string.c62 if (!tk || !buf || ! *buf) in cmdline_parse_string()
65 tk2 = (struct cmdline_token_string *)tk; in cmdline_parse_string()
135 int cmdline_complete_get_nb_string(cmdline_parse_token_hdr_t *tk) in cmdline_complete_get_nb_string() argument
142 if (!tk) in cmdline_complete_get_nb_string()
145 tk2 = (struct cmdline_token_string *)tk; in cmdline_complete_get_nb_string()
158 int cmdline_complete_get_elt_string(cmdline_parse_token_hdr_t *tk, int idx, in cmdline_complete_get_elt_string() argument
166 if (!tk || !dstbuf || idx < 0) in cmdline_complete_get_elt_string()
169 tk2 = (struct cmdline_token_string *)tk; in cmdline_complete_get_elt_string()
190 int cmdline_get_help_string(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_string() argument
197 if (!tk || !dstbuf) in cmdline_get_help_string()
[all …]
H A Dcmdline_parse_ipaddr.c28 cmdline_parse_ipaddr(cmdline_parse_token_hdr_t *tk, const char *buf, void *res, in cmdline_parse_ipaddr() argument
41 if (!buf || !tk || ! *buf) in cmdline_parse_ipaddr()
44 tk2 = (struct cmdline_token_ipaddr *)tk; in cmdline_parse_ipaddr()
93 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_ipaddr() argument
98 if (!tk || !dstbuf) in cmdline_get_help_ipaddr()
101 tk2 = (struct cmdline_token_ipaddr *)tk; in cmdline_get_help_ipaddr()
H A Dcmdline_parse_string.h38 int cmdline_parse_string(cmdline_parse_token_hdr_t *tk, const char *srcbuf,
40 int cmdline_complete_get_nb_string(cmdline_parse_token_hdr_t *tk);
41 int cmdline_complete_get_elt_string(cmdline_parse_token_hdr_t *tk, int idx,
43 int cmdline_get_help_string(cmdline_parse_token_hdr_t *tk, char *dstbuf,
H A Dcmdline_parse_num.c99 cmdline_parse_num(cmdline_parse_token_hdr_t *tk, const char *srcbuf, void *res, in cmdline_parse_num() argument
108 if (!tk) in cmdline_parse_num()
117 memcpy(&nd, &((struct cmdline_token_num *)tk)->num_data, sizeof(nd)); in cmdline_parse_num()
320 cmdline_get_help_num(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size) in cmdline_get_help_num() argument
325 if (!tk) in cmdline_get_help_num()
328 memcpy(&nd, &((struct cmdline_token_num *)tk)->num_data, sizeof(nd)); in cmdline_get_help_num()
H A Dcmdline_parse_etheraddr.h23 int cmdline_parse_etheraddr(cmdline_parse_token_hdr_t *tk, const char *srcbuf,
25 int cmdline_get_help_etheraddr(cmdline_parse_token_hdr_t *tk, char *dstbuf,
H A Dcmdline_parse_portlist.h32 int cmdline_parse_portlist(cmdline_parse_token_hdr_t *tk,
34 int cmdline_get_help_portlist(cmdline_parse_token_hdr_t *tk,
H A Dcmdline_parse_num.h39 int cmdline_parse_num(cmdline_parse_token_hdr_t *tk,
41 int cmdline_get_help_num(cmdline_parse_token_hdr_t *tk,
H A Dcmdline_parse_etheraddr.c24 cmdline_parse_etheraddr(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_parse_etheraddr() argument
55 cmdline_get_help_etheraddr(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_get_help_etheraddr() argument
H A Dcmdline_parse_ipaddr.h43 int cmdline_parse_ipaddr(cmdline_parse_token_hdr_t *tk, const char *srcbuf,
45 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf,
H A Dcmdline_parse_portlist.c72 cmdline_parse_portlist(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_parse_portlist() argument
108 cmdline_get_help_portlist(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_get_help_portlist() argument
/dpdk/examples/cmdline/
H A Dparse_obj_list.c31 parse_obj_list(cmdline_parse_token_hdr_t *tk, const char *buf, void *res, in parse_obj_list() argument
34 struct token_obj_list *tk2 = (struct token_obj_list *)tk; in parse_obj_list()
65 int complete_get_nb_obj_list(cmdline_parse_token_hdr_t *tk) in complete_get_nb_obj_list() argument
67 struct token_obj_list *tk2 = (struct token_obj_list *)tk; in complete_get_nb_obj_list()
78 int complete_get_elt_obj_list(cmdline_parse_token_hdr_t *tk, in complete_get_elt_obj_list() argument
81 struct token_obj_list *tk2 = (struct token_obj_list *)tk; in complete_get_elt_obj_list()
105 int get_help_obj_list(__rte_unused cmdline_parse_token_hdr_t *tk, in get_help_obj_list() argument
H A Dparse_obj_list.h40 int parse_obj_list(cmdline_parse_token_hdr_t *tk, const char *srcbuf, void *res,
42 int complete_get_nb_obj_list(cmdline_parse_token_hdr_t *tk);
43 int complete_get_elt_obj_list(cmdline_parse_token_hdr_t *tk, int idx,
45 int get_help_obj_list(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size);
/dpdk/drivers/crypto/caam_jr/
H A Dcaam_jr_desc.h182 unsigned int tk:1; member