| /dpdk/app/test/ |
| H A D | test_cmdline_string.c | 151 (cmdline_parse_token_hdr_t*)&token, 0, NULL, 0) != -1) { in test_parse_string_invalid_param() 156 (cmdline_parse_token_hdr_t*)&token, NULL, in test_parse_string_invalid_param() 162 (cmdline_parse_token_hdr_t*)&token, NULL, 0) != -1) { in test_parse_string_invalid_param() 168 (cmdline_parse_token_hdr_t*)&token, buf, NULL, 0) == -1) { in test_parse_string_invalid_param() 174 (cmdline_parse_token_hdr_t*)&token, -1, buf, 0) != -1) { in test_parse_string_invalid_param() 200 if (cmdline_parse_string((cmdline_parse_token_hdr_t*)&token, in test_parse_string_invalid_data() 227 (cmdline_parse_token_hdr_t*)&token, 1, in test_parse_string_invalid_data() 238 (cmdline_parse_token_hdr_t*)&token, 0, in test_parse_string_invalid_data() 250 (cmdline_parse_token_hdr_t*)&token, in test_parse_string_invalid_data() 273 (cmdline_parse_token_hdr_t*)&token) != 0) { in test_parse_string_invalid_data() [all …]
|
| H A D | test_cmdline_ipaddr.c | 348 if (cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 372 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 375 ret = cmdline_parse_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 422 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 464 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 507 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 549 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_valid() 603 cmdline_get_help_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_invalid_data() 640 if (cmdline_parse_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_invalid_param() 646 if (cmdline_parse_ipaddr((cmdline_parse_token_hdr_t*)&token, in test_parse_ipaddr_invalid_param() [all …]
|
| H A D | test_cmdline_num.c | 387 ret = cmdline_parse_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_invalid_data() 391 cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_invalid_data() 425 cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_valid() 428 ret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token, in test_parse_num_valid() 453 cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_valid() 456 ret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token, in test_parse_num_valid() 503 cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_valid() 506 ret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token, in test_parse_num_valid() 531 cmdline_get_help_num((cmdline_parse_token_hdr_t*)&token, in test_parse_num_valid() 534 ret = cmdline_parse_num((cmdline_parse_token_hdr_t*) &token, in test_parse_num_valid() [all …]
|
| /dpdk/lib/cmdline/ |
| H A D | cmdline_parse.h | 40 typedef struct cmdline_token_hdr cmdline_parse_token_hdr_t; typedef 63 int (*parse)(cmdline_parse_token_hdr_t *, const char *, void *, 66 int (*complete_get_nb)(cmdline_parse_token_hdr_t *); 68 int (*complete_get_elt)(cmdline_parse_token_hdr_t *, int, char *, 71 int (*get_help)(cmdline_parse_token_hdr_t *, char *, unsigned int); 136 cmdline_parse_token_hdr_t *tokens[];
|
| H A D | cmdline_parse_string.h | 38 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 D | cmdline_parse_string.c | 51 cmdline_parse_string(cmdline_parse_token_hdr_t *tk, const char *buf, void *res, in cmdline_parse_string() 135 int cmdline_complete_get_nb_string(cmdline_parse_token_hdr_t *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() 190 int cmdline_get_help_string(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_string()
|
| H A D | cmdline_parse_etheraddr.h | 23 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 D | cmdline_parse_portlist.h | 32 int cmdline_parse_portlist(cmdline_parse_token_hdr_t *tk, 34 int cmdline_get_help_portlist(cmdline_parse_token_hdr_t *tk,
|
| H A D | cmdline_parse_num.h | 39 int cmdline_parse_num(cmdline_parse_token_hdr_t *tk, 41 int cmdline_get_help_num(cmdline_parse_token_hdr_t *tk,
|
| H A D | cmdline_parse_etheraddr.c | 24 cmdline_parse_etheraddr(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_parse_etheraddr() 55 cmdline_get_help_etheraddr(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_get_help_etheraddr()
|
| H A D | cmdline_parse_ipaddr.h | 43 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 D | cmdline_parse_portlist.c | 72 cmdline_parse_portlist(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_parse_portlist() 108 cmdline_get_help_portlist(__rte_unused cmdline_parse_token_hdr_t *tk, in cmdline_get_help_portlist()
|
| H A D | cmdline_parse_ipaddr.c | 28 cmdline_parse_ipaddr(cmdline_parse_token_hdr_t *tk, const char *buf, void *res, in cmdline_parse_ipaddr() 93 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_ipaddr()
|
| H A D | cmdline_parse.c | 81 static cmdline_parse_token_hdr_t * 84 cmdline_parse_token_hdr_t *token_p; in get_token() 104 cmdline_parse_token_hdr_t *token_p = NULL; in match_inst() 306 cmdline_parse_token_hdr_t *token_p; in cmdline_complete()
|
| H A D | cmdline_parse_num.c | 99 cmdline_parse_num(cmdline_parse_token_hdr_t *tk, const char *srcbuf, void *res, 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()
|
| /dpdk/examples/cmdline/ |
| H A D | parse_obj_list.h | 40 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);
|
| H A D | parse_obj_list.c | 31 parse_obj_list(cmdline_parse_token_hdr_t *tk, const char *buf, void *res, in parse_obj_list() 65 int complete_get_nb_obj_list(cmdline_parse_token_hdr_t *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() 105 int get_help_obj_list(__rte_unused cmdline_parse_token_hdr_t *tk, in get_help_obj_list()
|
| /dpdk/app/test-pmd/ |
| H A D | cmdline_flow.c | 10190 cmd_flow_parse(cmdline_parse_token_hdr_t *hdr, const char *src, void *result, in cmd_flow_parse() 10291 cmd_flow_complete_get_nb(cmdline_parse_token_hdr_t *hdr) in cmd_flow_complete_get_nb() 10323 cmd_flow_complete_get_elt(cmdline_parse_token_hdr_t *hdr, int index, in cmd_flow_complete_get_elt() 10360 cmd_flow_get_help(cmdline_parse_token_hdr_t *hdr, char *dst, unsigned int size) in cmd_flow_get_help() 10390 cmd_flow_tok(cmdline_parse_token_hdr_t **hdr, in cmd_flow_tok() 10391 cmdline_parse_token_hdr_t **hdr_inst) in cmd_flow_tok() 11111 cmd_set_raw_get_help(cmdline_parse_token_hdr_t *hdr, char *dst, in cmd_set_raw_get_help() 11142 cmd_set_raw_tok(cmdline_parse_token_hdr_t **hdr, in cmd_set_raw_tok() 11143 cmdline_parse_token_hdr_t **hdr_inst) in cmd_set_raw_tok()
|