/opensolaris-onvv-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.substr.d | 37 } command[int]; 48 command[i].index = 3; 49 command[i].nolen = 1; 52 command[i].index = 300; 53 command[i].nolen = 1; 56 command[i].index = -10; 57 command[i].nolen = 1; 60 command[i].index = 0; 61 command[i].nolen = 1; 64 command[ [all...] |
H A D | tst.index.d | 36 } command[int]; 42 command[i].str = "foobarbaz"; 43 command[i].substr = "barbaz"; 46 command[i].str = "foofoofoo"; 47 command[i].substr = "foo"; 50 command[i].str = "boofoofoo"; 51 command[i].substr = "foo"; 54 command[i].str = "foobarbaz"; 55 command[i].substr = "barbazzy"; 58 command[ [all...] |
H A D | tst.strtok.d | 91 } command[int]; 97 command[i].s1 = ""; 98 command[i].s2 = ""; 99 command[i].result = ""; 102 command[i].s1 = "foo"; 103 command[i].s2 = ""; 104 command[i].result = command[i].s1; 107 command[i].s1 = "foobar"; 108 command[ [all...] |
/opensolaris-onvv-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | cmd.c | 117 * Execute a command and determine the result. 120 cmd(int file, struct uscsi_cmd *command, int flag) argument 132 command->uscsi_flags = USCSI_RQENABLE; 133 command->uscsi_flags |= flag; 138 /* print command for debug */ 140 if ((command->uscsi_cdb == NULL) || 152 "SCSI command: %s\n", 153 g_scsi_find_command_name(command->uscsi_cdb[0])); 155 for (i = 0; i < (int)command->uscsi_cdblen; i++) { 156 (void) printf("%x ", *(command [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ptools/pwdx/ |
H A D | pwdx.c | 36 static char *command; variable 48 command, arg, Pgrab_error(gcode)); 57 command, arg, strerror(errno)); 72 if ((command = strrchr(argv[0], '/')) != NULL) 73 command++; 75 command = argv[0]; 78 (void) fprintf(stderr, "usage:\t%s pid ...\n", command);
|
/opensolaris-onvv-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | fsm.txt | 52 command | * sendcdb * * rd-intr-reason 65 idle | command command command command command 66 command | * cdb * * *
|
/opensolaris-onvv-gate/usr/src/cmd/dfs.cmds/sharemgr/ |
H A D | sharemgr_main.c | 52 (void) printf(gettext("usage: sharemgr [-h | <command> [options]]\n")); 61 char *command = NULL; local 71 * parse enough of command line to get protocol, if any. 74 command = basename(argv[0]); 75 if (strcmp(command, "share") != 0 && strcmp(command, "unshare") != 0) { 89 if (strcmp(command, "sharemgr") == 0) { 90 command = argv[optind]; 102 * now have enough to parse rest of command line 120 rval = run_command(command, arg 127 run_command(char *command, int argc, char *argv[], char *proto, sa_handle_t handle) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/libwrap/ |
H A D | shell_cmd.c | 9 * shell_cmd() takes a shell command after %<character> substitutions. The 10 * command is executed by a /bin/sh child process, with standard input, 45 /* shell_cmd - execute shell command */ 47 void shell_cmd(command) 48 char *command; 63 do_child(command); 71 /* do_child - exec command with { stdin, stdout, stderr } to /dev/null */ 73 static void do_child(command) 74 char *command; 86 /* Set up new stdin, stdout, stderr, and exec the shell command [all...] |
/opensolaris-onvv-gate/usr/src/stand/lib/sa/sparc/ |
H A D | prom_misc.c | 46 char *command; local 56 command = encode_bytes_command; 59 command = encode_string_command; 62 prom_interpret(command, (uint_t)cn, prop_datalen,
|
/opensolaris-onvv-gate/usr/src/tools/onbld/Checks/ |
H A D | ProcessCheck.py | 30 # Wrap a command-line check tool in a pythonic API 36 def processcheck(command, args, inpt, output): 37 '''Run a checking command, command, with arguments as args. 42 (you must close it), containing output from the command.''' 49 tmpfile = tempfile.TemporaryFile(prefix=command) 55 p = subprocess.Popen([command] + args, 59 output.write("Could not execute %s: %s\n" % (command, e))
|
/opensolaris-onvv-gate/usr/src/cmd/prtfru/ |
H A D | main.c | 38 usage(const char *command) argument 42 command); 48 char *command = argv[0], *searchpath = NULL; local 76 usage(command); 86 usage(command); 101 usage(command); 108 usage(command);
|
/opensolaris-onvv-gate/usr/src/cmd/ptools/prun/ |
H A D | prun.c | 41 static char *command; variable 50 if ((command = strrchr(argv[0], '/')) != NULL) 51 command++; 53 command = argv[0]; 56 (void) fprintf(stderr, "usage:\t%s pid[/lwps] ...\n", command); 77 command, arg, Pgrab_error(gcode)); 97 command, arg, strerror(errno)); 124 " no matching LWPs found\n", command, arg); 161 command, (int)Pstatus(P)->pr_pid,
|
/opensolaris-onvv-gate/usr/src/cmd/lms/heci/ |
H A D | PTHICommand.cpp | 55 AMT_STATUS PTHICommand::_call(const unsigned char *command, UINT32 command_size, UINT8 **readBuffer, UINT32 rcmd, unsigned int expSize) argument 68 int bytesWritten = PTHIClient.SendMessage(command, command_size, m_sendTimeout); 99 * command - appropriate Host interface command 110 const UINT32 command, const PTHI_MESSAGE_HEADER &response_header, 119 } else if (response_header.Command.cmd.val != command) { 181 * GetVersions response message PTHI command 192 unsigned char command[command_size]; local 193 memcpy(command, &(GET_CODE_VERSION_HEADER), sizeof(GET_CODE_VERSION_HEADER)); 195 AMT_STATUS status = _call(command, command_siz 109 _verifyResponseHeader( const UINT32 command, const PTHI_MESSAGE_HEADER &response_header, UINT32 response_size) argument 231 unsigned char command[command_size]; local 255 unsigned char command[command_size]; local 290 unsigned char command[command_size]; local 328 unsigned char command[command_size]; local 387 unsigned char command[command_size]; local 421 unsigned char command[command_size]; local 486 unsigned char command[command_size]; local 543 unsigned char command[command_size]; local 576 unsigned char command[command_size]; local 650 unsigned char command[command_size]; local 678 unsigned char command[command_size]; local 709 unsigned char command[command_size]; local 730 unsigned char command[command_size]; local 751 unsigned char command[command_size]; local 820 unsigned char command[command_size]; local 845 unsigned char command[command_size]; local 874 unsigned char command[command_size]; local 903 unsigned char command[command_size]; local 931 unsigned char command[command_size]; local 965 unsigned char *command; local 1011 unsigned char *command; local 1047 unsigned char command[command_size]; local 1114 unsigned char command[command_size]; local 1185 unsigned char command[command_size]; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/ptools/pstop/ |
H A D | pstop.c | 41 static char *command; variable 50 if ((command = strrchr(argv[0], '/')) != NULL) 51 command++; 53 command = argv[0]; 56 (void) fprintf(stderr, "usage:\t%s pid[/lwps] ...\n", command); 77 command, arg, Pgrab_error(gcode)); 93 " no matching LWPs found\n", command, arg); 132 command, (int)Pstatus(P)->pr_pid,
|
/opensolaris-onvv-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/ |
H A D | picld_pluginutil.c | 130 * The undo order is from last command to the first command. 249 free_path(command_t *command) argument 251 free(command->pathcmd_name); 261 parse_path(char *line, command_t *command) argument 276 command->pathcmd_name = strdup(pathtok); 277 if (command->pathcmd_name == NULL) 284 * Process the path command and return PICL node handle 287 process_path(command_t *command, picl_nodehdl_t *nodeh) argument 291 err = ptree_get_node_by_path(command 299 free_node(command_t *command) argument 310 parse_node(char *line, command_t *command) argument 350 process_node(command_t *command, picl_nodehdl_t parh, picl_nodehdl_t *nodeh) argument 509 free_prop(command_t *command) argument 593 parse_prop(char *line, command_t *command) argument 694 add_proph_to_row(command_t *command, picl_prophdl_t proph) argument 708 process_prop(cmdbuf_t *cmds, command_t *command, picl_nodehdl_t nodeh) argument 748 free_refnode(command_t *command) argument 762 parse_refnode(char *line, command_t *command) argument 819 process_refnode(command_t *command, picl_nodehdl_t parh) argument 842 free_refprop(command_t *command) argument 854 parse_refprop(char *line, command_t *command) argument 894 process_refprop(cmdbuf_t *cmds, command_t *command, picl_nodehdl_t nodeh) argument 942 free_table(command_t *command) argument 954 parse_table(char *line, command_t *command) argument 985 process_table(command_t *command, picl_nodehdl_t nodeh) argument 1034 process_row(command_t *command) argument 1083 parse_verbose(cmdbuf_t *cmds, char *line, command_t *command) argument 1119 process_verbose(cmdbuf_t *cmds, command_t *command) argument 1129 parse_and_tokenize_line(cmdbuf_t *cmds, char *buf, command_t *command) argument 1266 command_t command; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/mail/ |
H A D | cksaved.c | 52 char command[512]; local 96 (void) snprintf(command, sizeof (command), 127 (void) snprintf(command, sizeof (command), 137 systm(command);
|
/opensolaris-onvv-gate/usr/src/lib/libast/common/path/ |
H A D | pathprog.c | 28 * command!=0 is used as a default 41 prog(const char* command, char* path, size_t size) argument 96 if (command) 98 if ((n = strlen(command) + 1) <= size) 99 memcpy(path, command, n); 106 pathprog(const char* command, char* path, size_t size) argument 111 if ((n = prog(command, path, size)) > 0 && n <= size && *path != '/')
|
/opensolaris-onvv-gate/usr/src/cmd/lp/lib/filters/ |
H A D | getfilter.c | 82 flbuf.command = (pf->command? Strdup(pf->command) : 0);
|
H A D | freefilter.c | 100 if (pf->command) 101 Free (pf->command); 125 if (pf->command) 126 Free (pf->command);
|
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
H A D | dotsh.pl | 36 local($tmp,$key,$shell,$command,$args,$vars) = ''; 41 $command = shift (@dotsh); 44 open (_SH_ENV, "$command") || die "Could not open $dotsh!\n"; 57 open (_SH_ENV, "$shell \"$vars && . $command $args && set \" |") || die; 59 open (_SH_ENV, "$shell \". $command $args && set \" |") || die;
|
/opensolaris-onvv-gate/usr/src/cmd/ptools/pldd/ |
H A D | pldd.c | 38 static char *command; variable 51 if ((command = strrchr(argv[0], '/')) != NULL) 52 command++; 54 command = argv[0]; 76 "usage:\t%s [-Fl] { pid | core } ...\n", command); 109 command, arg, Pgrab_error(gcode)); 120 "insufficient content\n", command, arg); 134 "not be available\n", command);
|
/opensolaris-onvv-gate/usr/src/cmd/machid/ |
H A D | machid.c | 61 static void get_info_item(int command, char **buf, long *count); 121 get_info_item(int command, char **buf, long *count) argument 125 error = sysinfo(command, *buf, *count); 132 error = sysinfo(command, *buf, *count);
|
/opensolaris-onvv-gate/usr/src/cmd/ypcmd/ypupdated/ |
H A D | openchild.c | 68 _openchild(command, fto, ffrom) 69 char *command; 105 com = malloc((unsigned)strlen(command) + 6); 109 (void) sprintf(com, "exec %s", command);
|
/opensolaris-onvv-gate/usr/src/cmd/ptools/pwait/ |
H A D | pwait.c | 44 static char *command; variable 60 if ((command = strrchr(argv[0], '/')) != NULL) 61 command++; 63 command = argv[0]; 75 (void) fprintf(stderr, "usage:\t%s [-v] pid ...\n", command); 91 command); 129 command, arg);
|
/opensolaris-onvv-gate/usr/src/cmd/svr4pkg/pkgscripts/ |
H A D | cmdexec.c | 118 progerr(gettext("command failed <%s>"), cmd); 130 char command[256]; local 136 (void) sprintf(command, "%s -f %s <%s >%s", cmd, input, file, tempout); 137 if (system(command)) 140 (void) sprintf(command, "cp %s %s", tempout, file); 141 if (system(command))
|