Searched refs:argv (Results 1 - 25 of 94) sorted by relevance

1234

/vpp/doxygen/
H A Dfilter_api.py21 if len(sys.argv) < 2:
22 sys.stderr.write("Usage: %s <filename>\n" % (sys.argv[0]))
44 with open(sys.argv[1]) as fd:
H A Dfilter_h.py22 if len(sys.argv) < 2:
23 sys.stderr.write("Usage: %s <filename>\n" % (sys.argv[0]))
36 filename = sys.argv[1]
H A Dfilter_c.py20 if len(sys.argv) < 2:
21 sys.stderr.write("Usage: %s <filename>\n" % (sys.argv[0]))
67 filename = sys.argv[1]
/vpp/src/tools/g2/
H A Dmkversion.c21 int main (int argc, char **argv) argument
40 ofp = fopen (argv[3], "w");
42 printf ("Couldn't create %s\n", argv[3]);
56 argv[1], argv[2]);
H A Dmain.c55 int main (int argc, char **argv) argument
68 gtk_init(&argc, &argv);
112 if (!strncmp(argv[curarg], "--cpel-input", 4)) {
115 cpel_file = argv[curarg];
121 if (!strncmp(argv[curarg], "--clib-input", 4)) {
124 clib_file = argv[curarg];
131 if (!strncmp(argv[curarg], "--pointdefs", 3)) {
134 read_event_definitions(argv[curarg]);
140 if (!strncmp(argv[curarg], "--event-log", 3)) {
143 event_file = argv[curar
[all...]
/vpp/src/vpp/app/
H A Dversion.c62 char **argv = (char **) vm->argv; local
90 for (i = 0; argv[i]; i++)
92 if (strstr (argv[i], "{"))
94 vlib_cli_output (vm, "%U%s", format_white_space, indent, argv[i]);
95 if (strstr (argv[i], "}"))
/vpp/extras/apps/src/
H A Dsocket_echo_client.c25 main (int argc, char *argv[]) argument
39 portno = atoi (argv[2]);
40 server = gethostbyname (argv[1]);
48 argv += 3;
52 bytes = ((long) atoi (argv[0])) << 20;
54 argv++;
58 no_echo = atoi (argv[0]);
60 argv++;
64 test_bytes = atoi (argv[0]);
66 argv
[all...]
H A Dsocket_echo_server.c75 main (int argc, char *argv[]) argument
89 fformat (stderr, "usage %s host port\n", argv[0]);
95 no_echo = atoi (argv[3]);
96 portno = atoi (argv[2]);
97 server = gethostbyname (argv[1]);
/vpp/src/vppinfra/
H A Dtest_macros.c46 main (int argc, char *argv[]) argument
53 unformat_init_command_line (&i, argv);
H A Dtest_longjmp.c110 main (int argc, char *argv[]) argument
118 unformat_init_command_line (&i, argv);
H A Dtest_socket.c115 main (int argc, char *argv[]) argument
123 unformat_init_command_line (&i, argv);
H A Dtest_time.c84 main (int argc, char *argv[]) argument
92 unformat_init_command_line (&i, argv);
H A Dtest_heap.c56 main (int argc, char *argv[]) argument
75 n = atoi (argv[1]);
80 word i = atoi (argv[2]);
85 check_mask = atoi (argv[3]);
89 align = 1 << atoi (argv[4]);
H A Dtest_fpool.c23 main (int argc, char *argv[]) argument
H A Dtest_fifo.c125 main (int argc, char *argv[]) argument
130 unformat_init_command_line (&i, argv);
H A Dtest_random_isaac.c121 main (int argc, char *argv[]) argument
129 unformat_init_command_line (&i, argv);
H A Dtest_maplog.c121 main (int argc, char *argv[]) argument
128 unformat_init_command_line (&i, argv);
/vpp/src/vpp/vnet/
H A Dmain.c106 main (int argc, char *argv[]) argument
152 if ((argc == 3) && !strncmp (argv[1], "-c", 2))
161 fp = fopen (argv[2], "r");
164 fprintf (stderr, "open configuration file '%s' failed\n", argv[2]);
173 arg = strndup (argv[0], 1024);
213 argv = argv_;
225 if (!strncmp (argv[i], "plugin_path", 11))
228 vlib_plugin_path = argv[++i];
230 if (!strncmp (argv[i], "test_plugin_path", 16))
233 vat_plugin_path = argv[
[all...]
/vpp/src/vcl/
H A Dvcl_cfg.c65 char **argv = NULL; local
83 argv = calloc (1, sizeof (char *));
84 if (argv == NULL)
102 char **tmp = realloc (argv, argc * sizeof (char *));
111 argv = tmp;
121 argv[argc - 1] = arg;
129 char **tmp = realloc (argv, (argc + 1) * sizeof (char *));
137 argv = tmp;
138 argv[argc] = NULL;
149 if (!strncmp (argv[
[all...]
/vpp/src/tools/perftool/
H A Dc2cpel.c153 int main (int argc, char **argv) argument
166 if (!strncmp(argv[curarg], "--input-file", 3)) {
169 vec_add1 (inputfiles, argv[curarg]);
177 if (!strncmp(argv[curarg], "--output-file", 3)) {
180 outputfile = argv[curarg];
187 vec_add1 (inputfiles, argv[curarg]);
H A Dcpelinreg.c799 int main (int argc, char **argv) argument
816 if (!strncmp (argv[curarg], "-ifile", 2)) {
818 g_ifile = argv[curarg++];
821 if (!strncmp (argv[curarg], "-start", 2)) {
823 entry_event = atol (argv [curarg++]);
826 if (!strncmp (argv[curarg], "-end", 2)) {
828 exit_event = atol (argv [curarg++]);
832 if (!strncmp(argv[curarg], "-badinlines", 2)) {
838 if (!strncmp (argv[curarg], "-x", 2)) {
843 if (!strncmp (argv[curar
[all...]
H A Dcpelstate.c682 int main (int argc, char **argv) argument
692 if (!strncmp(argv[curarg], "--input-file", 3)) {
695 cpel_file = argv[curarg];
701 if (!strncmp(argv[curarg], "--output-file", 3)) {
704 outputfile = argv[curarg];
710 if (!strncmp(argv[curarg], "--verbose", 3)) {
715 if (!strncmp(argv[curarg], "--scatterplot", 4)) {
721 if (!strncmp(argv[curarg], "--state-event", 4)) {
724 state_event_code = atol(argv[curarg]);
730 if (!strncmp(argv[curar
[all...]
/vpp/src/plugins/map/examples/
H A Dhealth_check.c24 main (int argc, char **argv) argument
32 while ((ch = getopt(argc, argv, "h?" "I:" "d")) != EOF) {
47 argv += optind;
/vpp/extras/emacs/
H A Dfix-coding-style.el159 ;; (elt argv index) returns nil if you M-x eval-buffer
164 (if (elt argv file-index)
165 (while (elt argv file-index)
166 (find-file (elt argv file-index))
168 (message "Done %s..." (elt argv file-index))
/vpp/extras/deprecated/vppinfra/
H A Dtest_zvec.c96 main (int argc, char *argv[]) argument
104 unformat_init_command_line (&i, argv);

Completed in 11 milliseconds

1234