Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 25 of 75) sorted by relevance

123

/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_cli.c53 char **tokens, in cmd_mempool() argument
112 char **tokens, in cmd_link() argument
156 char **tokens, in cmd_swq() argument
197 char **tokens, in cmd_tmgr_shaper_profile() argument
423 tokens += 10; in cmd_tmgr_node()
3840 tokens++; in parse_table_action_fwd()
3895 tokens++; in parse_table_action_balance()
3964 tokens++; in parse_table_action_meter()
4030 tokens++; in parse_table_action_encap()
4264 tokens++; in parse_table_action_encap()
[all …]
/f-stack/dpdk/examples/ip_pipeline/
H A Dcli.c76 name = tokens[1]; in cmd_mempool()
3138 tokens++; in parse_table_action_fwd()
3192 tokens++; in parse_table_action_balance()
3261 tokens++; in parse_table_action_meter()
3325 tokens++; in parse_table_action_encap()
3557 tokens++; in parse_table_action_encap()
4165 tokens++; in parse_table_action()
5247 tokens++; in cmd_pipeline_table_rule_stats_read()
5571 tokens++; in cmd_pipeline_table_rule_meter_read()
5817 tokens++; in cmd_pipeline_table_rule_ttl_read()
[all …]
/f-stack/dpdk/examples/pipeline/
H A Dcli.c126 (tokens == NULL) || in parse_tokenize_string()
132 if (tokens[i] == NULL) in parse_tokenize_string()
162 cmd_mempool(char **tokens, in cmd_mempool() argument
177 name = tokens[1]; in cmd_mempool()
235 cmd_link(char **tokens, in cmd_link() argument
252 name = tokens[1]; in cmd_link()
255 p.dev_name = tokens[3]; in cmd_link()
435 link_name = tokens[2]; in cmd_link_show()
466 name = tokens[1]; in cmd_pipeline_create()
1170 cmd_help(char **tokens, in cmd_help() argument
[all …]
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_swx_pipeline_spec.c166 char **tokens, in struct_block_parse() argument
322 char **tokens, in metadata_statement_parse() argument
791 tokens, in table_block_parse()
805 tokens, in table_block_parse()
1219 tokens, in rte_swx_pipeline_build_from_spec()
1254 tokens, in rte_swx_pipeline_build_from_spec()
1285 tokens, in rte_swx_pipeline_build_from_spec()
1314 tokens, in rte_swx_pipeline_build_from_spec()
1328 tokens, in rte_swx_pipeline_build_from_spec()
1355 tokens, in rte_swx_pipeline_build_from_spec()
[all …]
H A Drte_swx_pipeline.c3201 char *dst = tokens[1], *src = tokens[2]; in instr_mov_translate()
3464 char *dst = tokens[1], *src = tokens[2]; in instr_alu_add_translate()
3517 char *dst = tokens[1], *src = tokens[2]; in instr_alu_sub_translate()
3570 char *dst = tokens[1], *src = tokens[2]; in instr_alu_ckadd_translate()
3617 char *dst = tokens[1], *src = tokens[2]; in instr_alu_cksub_translate()
3647 char *dst = tokens[1], *src = tokens[2]; in instr_alu_shl_translate()
3700 char *dst = tokens[1], *src = tokens[2]; in instr_alu_shr_translate()
4785 char *a = tokens[2], *b = tokens[3]; in instr_jmp_eq_translate()
4839 char *a = tokens[2], *b = tokens[3]; in instr_jmp_neq_translate()
4893 char *a = tokens[2], *b = tokens[3]; in instr_jmp_lt_translate()
[all …]
/f-stack/dpdk/examples/ipsec-secgw/
H A Dsp4.c155 if (strcmp(tokens[1], "in") == 0) { in parse_sp4_tokens()
174 " \"in\" or \"out\"\n", tokens[ti]); in parse_sp4_tokens()
181 if (strcmp(tokens[ti], "esp") == 0) { in parse_sp4_tokens()
211 tv = atoi(tokens[ti]); in parse_sp4_tokens()
213 "invalid SPI: %s", tokens[ti]); in parse_sp4_tokens()
264 if (strcmp(tokens[ti], "pri") == 0) { in parse_sp4_tokens()
295 tokens[ti]); in parse_sp4_tokens()
321 tokens[ti]); in parse_sp4_tokens()
378 "port_to\"", tokens[ti]); in parse_sp4_tokens()
402 "port_to\"", tokens[ti]); in parse_sp4_tokens()
[all …]
H A Dparser.c28 (tokens == NULL) || in parse_tokenize_string()
198 char *tokens[32]; in cfg_sp_add_cfg_item_parsed() local
218 tokens[0]); in cfg_sp_add_cfg_item_parsed()
235 .tokens = {
253 char *tokens[32]; in cfg_sa_add_cfg_item_parsed() local
275 .tokens = {
293 char *tokens[32]; in cfg_rt_add_cfg_item_parsed() local
318 .tokens = {
336 char *tokens[32]; in cfg_flow_add_cfg_item_parsed() local
361 .tokens = {
[all …]
H A Dparser.h32 #define APP_CHECK_TOKEN_EQUAL(tokens, index, ref, status) \ argument
33 APP_CHECK(strcmp(tokens[index], ref) == 0, status, \
35 tokens[index], ref)
49 #define APP_CHECK_TOKEN_IS_NUM(tokens, index, status) \ argument
50 APP_CHECK(is_str_num(tokens[index]) == 0, status, \
51 "input \"%s\" is not valid number string", tokens[index])
74 parse_sp4_tokens(char **tokens, uint32_t n_tokens,
81 parse_sp6_tokens(char **tokens, uint32_t n_tokens,
88 parse_sa_tokens(char **tokens, uint32_t n_tokens,
92 parse_rt_tokens(char **tokens, uint32_t n_tokens,
H A Dsp6.c203 if (strcmp(tokens[1], "in") == 0) { in parse_sp6_tokens()
223 " \"in\" or \"out\"\n", tokens[ti]); in parse_sp6_tokens()
231 if (strcmp(tokens[ti], "esp") == 0) { in parse_sp6_tokens()
261 tv = atoi(tokens[ti]); in parse_sp6_tokens()
263 "invalid SPI: %s", tokens[ti]); in parse_sp6_tokens()
314 if (strcmp(tokens[ti], "pri") == 0) { in parse_sp6_tokens()
345 "addr", tokens[ti]); in parse_sp6_tokens()
399 "addr", tokens[ti]); in parse_sp6_tokens()
483 "port_to\"", tokens[ti]); in parse_sp6_tokens()
507 "port_to\"", tokens[ti]); in parse_sp6_tokens()
[all …]
H A Dsa.c324 rule->spi = atoi(tokens[1]); in parse_sa_tokens()
557 tokens[ti]); in parse_sa_tokens()
569 tokens[ti]); in parse_sa_tokens()
576 "\"%s\"", tokens[ti]); in parse_sa_tokens()
600 tokens[ti]); in parse_sa_tokens()
612 tokens[ti]); in parse_sa_tokens()
638 else if (strcmp(tokens[ti], in parse_sa_tokens()
642 else if (strcmp(tokens[ti], in parse_sa_tokens()
652 tokens[ti]); in parse_sa_tokens()
711 "type %s.", tokens[ti]); in parse_sa_tokens()
[all …]
H A Drt.c47 if (strcmp(tokens[0], "ipv4") == 0) { in parse_rt_tokens()
56 } else if (strcmp(tokens[0], "ipv6") == 0) { in parse_rt_tokens()
66 tokens[0]); in parse_rt_tokens()
71 if (strcmp(tokens[ti], "dst") == 0) { in parse_rt_tokens()
80 APP_CHECK(parse_ipv4_addr(tokens[ti], in parse_rt_tokens()
84 tokens[ti]); in parse_rt_tokens()
94 APP_CHECK(parse_ipv6_addr(tokens[ti], in parse_rt_tokens()
98 tokens[ti]); in parse_rt_tokens()
106 if (strcmp(tokens[ti], "port") == 0) { in parse_rt_tokens()
114 route_ipv4->if_out = atoi(tokens[ti]); in parse_rt_tokens()
[all …]
H A Dflow.c137 if (strcmp(tokens[0], "ipv4") == 0) { in parse_flow_tokens()
139 } else if (strcmp(tokens[0], "ipv6") == 0) { in parse_flow_tokens()
147 if (strcmp(tokens[ti], "src") == 0) { in parse_flow_tokens()
155 tokens[ti], status)) in parse_flow_tokens()
160 tokens[ti], status)) in parse_flow_tokens()
164 if (strcmp(tokens[ti], "dst") == 0) { in parse_flow_tokens()
172 tokens[ti], status)) in parse_flow_tokens()
177 tokens[ti], status)) in parse_flow_tokens()
182 if (strcmp(tokens[ti], "port") == 0) { in parse_flow_tokens()
190 rule->port = atoi(tokens[ti]); in parse_flow_tokens()
[all …]
/f-stack/dpdk/app/test-cmdline/
H A Dcommands.c43 .tokens = { /* token list, NULL terminated */
74 .tokens = { /* token list, NULL terminated */
105 .tokens = { /* token list, NULL terminated */
138 .tokens = { /* token list, NULL terminated */
171 .tokens = { /* token list, NULL terminated */
202 .tokens = { /* token list, NULL terminated */
237 .tokens = { /* token list, NULL terminated */
273 .tokens = { /* token list, NULL terminated */
311 .tokens = { /* token list, NULL terminated */
344 .tokens = { /* token list, NULL terminated */
/f-stack/freebsd/arm64/arm64/
H A Ddisassem.c225 memset(tab->tokens[token].name, 0, in arm64_disasm_generate_masks()
226 sizeof(tab->tokens[token].name)); in arm64_disasm_generate_masks()
229 tab->tokens[token].name[i] = *format; in arm64_disasm_generate_masks()
253 tab->tokens[token].pos = a + 1; in arm64_disasm_generate_masks()
254 tab->tokens[token].len = len; in arm64_disasm_generate_masks()
292 if (strcmp(insn->tokens[i].name, token) == 0) { in arm64_disasm_read_token()
293 *val = (opcode >> insn->tokens[i].pos & in arm64_disasm_read_token()
294 ((1 << insn->tokens[i].len) - 1)); in arm64_disasm_read_token()
310 if (strcmp(insn->tokens[i].name, token) == 0) { in arm64_disasm_read_token_sign_ext()
311 msk = (1 << insn->tokens[i].len) - 1; in arm64_disasm_read_token_sign_ext()
[all …]
/f-stack/dpdk/devtools/
H A Dcheckpatches.sh61 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
69 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
77 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
85 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
93 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
101 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
110 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
118 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
127 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
135 -f $(dirname $(readlink -f $0))/check-forbidden-tokens.awk \
/f-stack/dpdk/examples/ethtool/ethtool-app/
H A Dethapp.c701 .tokens = {
712 .tokens = {
724 .tokens = {
735 .tokens = {
746 .tokens = {
757 .tokens = {
767 .tokens = {
777 .tokens = {
788 .tokens = {
800 .tokens = {
[all …]
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_string_fns.c15 char **tokens, int maxtokens, char delim) in rte_strsplit() argument
20 if (string == NULL || tokens == NULL) in rte_strsplit()
28 tokens[tok++] = &string[i]; in rte_strsplit()
/f-stack/dpdk/examples/multi_process/hotplug_mp/
H A Dcommands.c37 .tokens = { /* token list, NULL terminated */
63 .tokens = { /* token list, NULL terminated */
100 .tokens = { /* token list, NULL terminated */
146 .tokens = { /* token list, NULL terminated */
196 .tokens = { /* token list, NULL terminated */
/f-stack/dpdk/app/test/
H A Dcommands.c92 .tokens = { /* token list, NULL terminated */
156 .tokens = { /* token list, NULL terminated */
205 .tokens = { /* token list, NULL terminated */
234 .tokens = { /* token list, NULL terminated */
267 .tokens = { /* token list, NULL terminated */
303 .tokens = { /* token list, NULL terminated */
340 .tokens = { /* token list, NULL terminated */
/f-stack/dpdk/examples/qos_sched/
H A Dcmdline.c56 .tokens = {
81 .tokens = {
122 .tokens = {
154 .tokens = {
200 .tokens = {
257 .tokens = {
332 .tokens = {
403 .tokens = {
464 .tokens = {
523 .tokens = {
[all …]
/f-stack/tools/libxo/xolint/
H A Dxolint.pl152 @tokens = parse_tokens();
153 print "token:\n '" . join("'\n '", @tokens) . "'\n"
155 check_format($tokens[0]);
164 my @tokens = ();
189 push @tokens, $current;
221 push @tokens, substr($current, 0, -1);
222 return @tokens;
/f-stack/dpdk/app/test-pmd/
H A Dcmdline.c112 .tokens = {
1183 .tokens = {
1229 .tokens = {
1276 .tokens = {
1327 .tokens = {
1371 .tokens = {
1414 .tokens = {
1456 .tokens = {
1576 .tokens = {
1652 .tokens = {
[all …]
/f-stack/dpdk/examples/multi_process/simple_mp/
H A Dmp_commands.c67 .tokens = { /* token list, NULL terminated */
95 .tokens = { /* token list, NULL terminated */
124 .tokens = { /* token list, NULL terminated */
/f-stack/dpdk/examples/vm_power_manager/
H A Dvm_power_cli.c47 .tokens = { /* token list, NULL terminated */
119 .tokens = {
169 .tokens = {
209 .tokens = {
288 .tokens = {
335 .tokens = {
421 .tokens = {
464 .tokens = {
517 .tokens = {
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dsds.c795 sds *tokens; in sdssplitlen() local
799 tokens = s_malloc(sizeof(sds)*slots); in sdssplitlen()
800 if (tokens == NULL) return NULL; in sdssplitlen()
804 return tokens; in sdssplitlen()
814 tokens = newtokens; in sdssplitlen()
830 return tokens; in sdssplitlen()
836 s_free(tokens); in sdssplitlen()
843 void sdsfreesplitres(sds *tokens, int count) { in sdsfreesplitres() argument
844 if (!tokens) return; in sdsfreesplitres()
846 sdsfree(tokens[count]); in sdsfreesplitres()
[all …]

123