Searched refs:command_table (Results 1 - 7 of 7) sorted by relevance

/freebsd-11-stable/sys/ddb/
H A Dddb.h96 LIST_HEAD(command_table, command);
97 extern struct command_table db_cmd_table;
98 extern struct command_table db_show_table;
99 extern struct command_table db_show_all_table;
118 struct command_table *more; /* another level of command */
227 void db_command_register(struct command_table *, struct command *);
228 void db_command_unregister(struct command_table *, struct command *);
H A Ddb_command.c85 struct command_table db_show_all_table =
94 struct command_table db_show_table = LIST_HEAD_INITIALIZER(db_show_table);
145 struct command_table db_cmd_table = LIST_HEAD_INITIALIZER(db_cmd_table);
179 static void db_cmd_list(struct command_table *table);
180 static int db_cmd_search(char *name, struct command_table *table,
183 struct command_table *cmd_table, int dopager);
207 db_command_register(struct command_table *list, struct command *cmd)
238 db_command_unregister(struct command_table *list, struct command *cmd)
291 db_cmd_search(char *name, struct command_table *table, struct command **cmdp)
312 db_cmd_list(struct command_table *tabl
[all...]
/freebsd-11-stable/contrib/groff/src/devices/grolj4/
H A Dlj4.cpp120 } command_table[] = { variable in typeref:struct:__anon1695
132 i < sizeof(command_table)/sizeof(command_table[0]); i++) {
133 if (strcmp(command, command_table[i].s) == 0) {
144 if (n < command_table[i].min) {
147 command, command_table[i].min);
148 n = command_table[i].min;
150 else if (n > command_table[i].max) {
153 command, command_table[i].max);
154 n = command_table[
[all...]
/freebsd-11-stable/contrib/groff/src/preproc/refer/
H A Dcommand.cpp639 } command_table[] = { variable in typeref:struct:S
760 i < sizeof(command_table)/sizeof(command_table[0]); i++)
761 if (strcmp(name, command_table[i].name) == 0) {
762 if (check_args(command_table[i].arg_types, name, argc, argv))
763 (*command_table[i].func)(argc, argv);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c169 static zpool_command_t command_table[] = { variable
207 #define NCOMMAND (sizeof (command_table) / sizeof (command_table[0]))
338 if (command_table[i].name == NULL)
342 get_usage(command_table[i].usage));
6298 if (command_table[i].name == NULL)
6301 if (strcmp(command, command_table[i].name) == 0) {
6351 current_command = &command_table[i];
6352 ret = command_table[i].func(argc - 1, argv + 1);
6355 current_command = &command_table[
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_main.c186 static zfs_command_t command_table[] = { variable
229 #define NCOMMAND (sizeof (command_table) / sizeof (command_table[0]))
457 if (command_table[i].name == NULL)
461 get_usage(command_table[i].usage));
7013 if (command_table[i].name == NULL)
7016 if (strcmp(command, command_table[i].name) == 0) {
7513 current_command = &command_table[i];
7514 ret = command_table[i].func(argc - 1, argv + 1);
7517 current_command = &command_table[
[all...]
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_main.c10570 static struct command_table db_t4_table = LIST_HEAD_INITIALIZER(db_t4_table);

Completed in 209 milliseconds