MCPcopy Create free account
hub / github.com/F-Stack/f-stack / push_args

Function push_args

dpdk/app/test-pmd/cmdline_flow.c:7606–7613  ·  view source on GitHub ↗

Add entry on top of the argument stack. */

Source from the content-addressed store, hash-verified

7604
7605/** Add entry on top of the argument stack. */
7606static int
7607push_args(struct context *ctx, const struct arg *arg)
7608{
7609 if (ctx->args_num == CTX_STACK_SIZE)
7610 return -1;
7611 ctx->args[ctx->args_num++] = arg;
7612 return 0;
7613}
7614
7615/** Spread value into buffer according to bit-mask. */
7616static size_t

Callers 15

parse_prefixFunction · 0.85
parse_actionFunction · 0.85
parse_intFunction · 0.85
parse_stringFunction · 0.85
parse_hexFunction · 0.85
parse_string0Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected