| /onnv-gate/usr/src/cmd/cmd-crypto/pktool/ |
| H A D | pktool.c | 522 static verbcmd cmds[] = { variable 539 static int num_cmds = sizeof (cmds) / sizeof (verbcmd); 547 cmds[TOKEN_IDX].verb = TOKEN_VERB; in init_command_list() 548 cmds[TOKEN_IDX].summary = TOKEN_SUMM; in init_command_list() 549 cmds[TOKEN_IDX].synopsis = TOKEN_SYN; in init_command_list() 551 cmds[SETPIN_IDX].verb = SETPIN_VERB; in init_command_list() 552 cmds[SETPIN_IDX].summary = SETPIN_SUMM; in init_command_list() 553 cmds[SETPIN_IDX].synopsis = SETPIN_SYN; in init_command_list() 555 cmds[LIST_IDX].verb = LIST_VERB; in init_command_list() 556 cmds[LIST_IDX].summary = LIST_SUMM; in init_command_list() [all …]
|
| /onnv-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
| H A D | picld_pluginutil.c | 133 undo_commands(cmdbuf_t *cmds, int last_cmd_index) in undo_commands() argument 136 command_t *com = cmds->commands; in undo_commands() 213 parse_version(cmdbuf_t *cmds, char *line) in parse_version() argument 230 cmds->version_no = (float)strtod(vertok, &endptr); in parse_version() 234 if (cmds->version_no > (float)SUPPORTED_VERSION_NUM) in parse_version() 708 process_prop(cmdbuf_t *cmds, command_t *command, picl_nodehdl_t nodeh) in process_prop() argument 715 if (cmds->inside_row_block && in process_prop() 716 cmds->commands[cmds->current_row].rowcmd_nproph == 0) in process_prop() 734 if (cmds->inside_row_block) { in process_prop() 735 err = add_proph_to_row(&cmds->commands[cmds->current_row], in process_prop() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/t/ |
| H A D | split_command.t | 36 my @cmds = $mm->split_command($echo, @test_args); 37 isnt( @cmds, 0 ); 39 @results = _run(@cmds); 45 @cmds = $mm->split_command($even_args, %test_args); 46 isnt( @cmds, 0 ); 48 @results = _run(@cmds); 55 my @cmds = @_; 57 s{\$\(PERLRUN\)}{$perl} foreach @cmds; 59 s{-\n}{} foreach @cmds 62 s{\\\n}{} foreach @cmds; [all …]
|
| H A D | Embed.t | 154 static char *cmds[] = { "perl","-e", "$|=1; print qq[ok 5\\n]", NULL }; 170 perl_parse(my_perl, NULL, (sizeof(cmds)/sizeof(char *))-1, cmds, env);
|
| /onnv-gate/usr/src/cmd/ndmpd/ndmp/ |
| H A D | ndmpd_tar.c | 83 tlm_commands_t *cmds; in backup_create_structs() local 95 cmds = &nlp->nlp_cmds; in backup_create_structs() 96 (void) memset(cmds, 0, sizeof (*cmds)); in backup_create_structs() 111 cmds->tcs_command = tlm_create_reader_writer_ipc(TRUE, xfer_size); in backup_create_structs() 112 if (cmds->tcs_command == NULL) { in backup_create_structs() 123 tlm_release_reader_writer_ipc(cmds->tcs_command); in backup_create_structs() 152 tlm_commands_t *cmds; in restore_create_structs() local 163 cmds = &nlp->nlp_cmds; in restore_create_structs() 164 (void) memset(cmds, 0, sizeof (*cmds)); in restore_create_structs() 167 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in restore_create_structs() [all …]
|
| H A D | ndmpd_tar3.c | 1441 tlm_commands_t *cmds; in backup_alloc_structs_v3() local 1455 cmds = &nlp->nlp_cmds; in backup_alloc_structs_v3() 1456 (void) memset(cmds, 0, sizeof (*cmds)); in backup_alloc_structs_v3() 1473 cmds->tcs_command = tlm_create_reader_writer_ipc(TRUE, xfer_size); in backup_alloc_structs_v3() 1474 if (!cmds->tcs_command) { in backup_alloc_structs_v3() 1482 tlm_release_reader_writer_ipc(cmds->tcs_command); in backup_alloc_structs_v3() 1515 tlm_commands_t *cmds; in restore_alloc_structs_v3() local 1532 cmds = &nlp->nlp_cmds; in restore_alloc_structs_v3() 1533 (void) memset(cmds, 0, sizeof (*cmds)); in restore_alloc_structs_v3() 1536 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in restore_alloc_structs_v3() [all …]
|
| H A D | ndmpd_util.c | 1451 ndmp_stop_local_reader(ndmpd_session_t *session, tlm_commands_t *cmds) in ndmp_stop_local_reader() argument 1459 if (cmds != NULL && cmds->tcs_reader_count > 0) { in ndmp_stop_local_reader() 1501 ndmp_wait_for_reader(tlm_commands_t *cmds) in ndmp_wait_for_reader() argument 1503 if (cmds == NULL) { in ndmp_wait_for_reader() 1507 "reader_count: %d", cmds->tcs_reader_count); in ndmp_wait_for_reader() 1509 while (cmds->tcs_reader_count > 0) in ndmp_wait_for_reader() 1716 tlm_commands_t *cmds; in ndmp_stop_buffer_worker() local 1722 cmds = &nlp->nlp_cmds; in ndmp_stop_buffer_worker() 1723 if (cmds->tcs_command == NULL) { in ndmp_stop_buffer_worker() 1726 cmds->tcs_reader = cmds->tcs_writer = TLM_ABORT; in ndmp_stop_buffer_worker() [all …]
|
| H A D | ndmpd_mover.c | 2679 tlm_commands_t *cmds; /* Commands structure */ in mover_tape_reader() local 2686 cmds = &nlp->nlp_cmds; in mover_tape_reader() 2687 lcmd = cmds->tcs_command; in mover_tape_reader() 2691 cmds->tcs_reader_count++; in mover_tape_reader() 2696 tlm_cmd_signal(cmds->tcs_command, TLM_TAPE_READER); in mover_tape_reader() 2699 while (cmds->tcs_reader == TLM_RESTORE_RUN && in mover_tape_reader() 2746 cmds->tcs_reader_count--; in mover_tape_reader() 2827 tlm_commands_t *cmds; /* Commands structure */ in mover_socket_writer() local 2834 cmds = &nlp->nlp_cmds; in mover_socket_writer() 2835 lcmd = cmds->tcs_command; in mover_socket_writer() [all …]
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ExtUtils/ |
| H A D | MM_Any.pm | 150 my @cmds = (); 151 return(@cmds) unless @args; 181 push @cmds, $self->escape_newlines("$cmd\n$arg_str"); 184 return @cmds; 217 my @cmds = map { '$(NOECHO) $(ECHO) '.$self->quote_literal($_) } 221 $cmds[0] .= " $redirect $file"; 222 $_ .= " >> $file" foreach @cmds[1..$#cmds]; 225 return @cmds;
|
| /onnv-gate/usr/src/cmd/cmd-crypto/kmfcfg/ |
| H A D | kmfcfg.c | 57 static verbcmd cmds[] = { variable 150 static int num_cmds = sizeof (cmds) / sizeof (verbcmd); 167 (void) fprintf(stdout, "\t%s\n", cmds[i].synopsis); in usage() 211 if (strcmp(cmds[i].verb, argv[0]) == 0) { in main() 223 ret = (*cmds[found].action)(argc, argv); in main() 257 "error 0x%02x\n"), cmds[found].verb, ret); in main()
|
| /onnv-gate/usr/src/cmd/hal/utils/ |
| H A D | printer.c | 92 char *cmds[32]; in ieee1284_devid_to_printer_info() local 95 memset(&cmds, 0, sizeof (cmds)); in ieee1284_devid_to_printer_info() 98 ((v != NULL) && (i < NELEM(cmds))); in ieee1284_devid_to_printer_info() 100 cmds[i++] = strdup(strip_ws(v)); in ieee1284_devid_to_printer_info() 104 for (i = 0; (cmds)[i] != NULL; i++) in ieee1284_devid_to_printer_info() 105 (*command_set)[i] = cmds[i]; in ieee1284_devid_to_printer_info()
|
| /onnv-gate/usr/src/lib/krb5/ss/ |
| H A D | utils.c | 35 char * generate_cmds_string(cmds) in generate_cmds_string() argument 36 char const *cmds; in generate_cmds_string() 42 fputs(cmds, output_file); 55 char * generate_rqte(func_name, info_string, cmds, options) in generate_rqte() argument 58 char const *cmds; 63 var_name = generate_cmds_string(cmds);
|
| /onnv-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
| H A D | docmd.c | 58 struct subcmd *cmds); 61 struct subcmd *cmds); 110 extern struct cmd *cmds; 125 if (!cmds) 129 prcmd(cmds); 131 for (c = cmds; c != NULL; c = c->c_next) { 172 doarrow(filev, files, rhost, cmds) in doarrow() argument 176 struct subcmd *cmds; 184 printf("doarrow(%x, %s, %x)\n", files, rhost, cmds); 191 subcmds = cmds; [all …]
|
| H A D | main.c | 426 struct subcmd *cmds; local 454 cmds = NULL; 456 cmds = makesubcmd(INSTALL); 457 cmds->sc_options = options; 458 cmds->sc_name = dest; 467 insert(NULL, files, hosts, cmds);
|
| H A D | gram.y | 22 struct cmd *cmds = NULL; variable 371 if (cmds) 372 prcmd(cmds); 380 for (prev = NULL, c = cmds; c!=NULL; prev = c, c = c->c_next) { 403 cmds = nc; 434 if (cmds == NULL) 435 cmds = last_cmd = c;
|
| /onnv-gate/usr/src/uts/i86pc/io/fipe/ |
| H A D | fipe_pm.c | 660 dcopy_cmd_t *cmds = fipe_ioat_ctrl.ioat_cmds; in fipe_ioat_trigger() local 663 if (dcopy_cmd_post(cmds[idx]) == DCOPY_SUCCESS) { in fipe_ioat_trigger() 709 dcopy_cmd_t cmds[FIPE_IOAT_CMD_NUM + 1]; in fipe_ioat_alloc() local 779 bzero(cmds, sizeof (cmds)); in fipe_ioat_alloc() 791 cmds[idx] = cmds[idx + 1]; in fipe_ioat_alloc() 793 rc = dcopy_cmd_alloc(handle, flags, &cmds[idx]); in fipe_ioat_alloc() 805 cmds[idx]->dp_flags = DCOPY_CMD_NOSRCSNP | DCOPY_CMD_NODSTSNP; in fipe_ioat_alloc() 809 cmds[idx]->dp_flags |= DCOPY_CMD_NOSTAT; in fipe_ioat_alloc() 811 cmds[idx]->dp_flags |= DCOPY_CMD_NOWAIT; in fipe_ioat_alloc() 814 cmds[idx]->dp_flags |= DCOPY_CMD_LOOP; in fipe_ioat_alloc() [all …]
|
| /onnv-gate/usr/src/cmd/svr4pkg/pkgadm/ |
| H A D | main.c | 63 struct cmd cmds[] = { variable 130 for (cur_cmd = 0; cmds[cur_cmd].c_name != NULL; cur_cmd++) { in main() 131 if (ci_streq(argv[optind], cmds[cur_cmd].c_name)) { in main() 136 return (cmds[cur_cmd].c_func(newargc, newargv)); in main()
|
| /onnv-gate/usr/src/common/openssl/apps/ |
| H A D | engine.c | 208 STACK *cmds = NULL; in util_verbose() local 219 cmds = sk_new_null(); in util_verbose() 221 if(!cmds) in util_verbose() 292 if(cmds) sk_pop_free(cmds, identity); in util_verbose() 298 static void util_do_cmds(ENGINE *e, STACK *cmds, BIO *bio_out, const char *indent) in util_do_cmds() argument 300 int loop, res, num = sk_num(cmds); in util_do_cmds() 310 cmd = sk_value(cmds, loop); in util_do_cmds()
|
| /onnv-gate/usr/src/cmd/devctl/ |
| H A D | devctl.c | 99 typedef struct cmds { struct 113 static struct cmds *dc_cmd(); argument 139 static struct cmds device_cmds[] = { 158 static struct cmds bus_cmds[] = { 186 struct cmds *dcmd; in main() 525 static struct cmds * 526 dc_cmd(struct cmds *cmd_tbl, char *devctl_cmdname) in dc_cmd()
|
| /onnv-gate/usr/src/cmd/svc/configd/ |
| H A D | object.c | 357 const struct rep_protocol_transaction_cmd *cmds; in tx_check_and_setup() local 370 cmds = (struct rep_protocol_transaction_cmd *)loc; in tx_check_and_setup() 371 cur->tx_cmd = cmds; in tx_check_and_setup() 373 sz = cmds->rptc_size; in tx_check_and_setup() 378 len = cmds->rptc_name_len; in tx_check_and_setup() 459 const struct rep_protocol_transaction_cmd *cmds; in tx_commit_data_new() local 474 cmds = (struct rep_protocol_transaction_cmd *)loc; in tx_commit_data_new() 479 sz = cmds->rptc_size; in tx_commit_data_new()
|
| /onnv-gate/usr/src/cmd/fm/fmadm/common/ |
| H A D | fmadm.c | 104 } cmds[] = { variable 133 for (cp = cmds; cp->cmd_name != NULL; cp++) { in usage() 202 for (cp = cmds; cp->cmd_name != NULL; cp++) { in main()
|
| /onnv-gate/usr/src/uts/i86pc/io/ |
| H A D | hrtimers.c | 78 int cmds; member 152 if (uap->cmds <= 0) 161 for (cnt = 0; cnt < uap->cmds; cnt++, hrcmdp++) {
|
| /onnv-gate/usr/src/cmd/devmgmt/ |
| H A D | Makefile | 33 SUBDIRS = cmds data mkdtab
|
| /onnv-gate/usr/src/cmd/vrrpadm/ |
| H A D | vrrpadm.c | 51 static cmd_t cmds[] = { variable 161 for (i = 0; i < sizeof (cmds) / sizeof (cmd_t); i++) { in main() 162 cp = &cmds[i]; in main() 675 for (i = 0; i < sizeof (cmds) / sizeof (cmd_t); i++) { in usage() 676 cp = &cmds[i]; in usage()
|
| /onnv-gate/usr/src/cmd/cmd-crypto/tpmadm/ |
| H A D | main.c | 42 print_usage(char *progname, cmdtable_t cmds[]) in print_usage() argument 50 for (p = &cmds[0]; p->name != NULL; p++) { in print_usage()
|