Searched refs:command (Results 1 - 25 of 345) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.substr.d37 } 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 Dtst.index.d36 } 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 Dtst.strtok.d91 } 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...]
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dcmd.c117 * 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...]
/illumos-gate/usr/src/cmd/ptools/pwdx/
H A Dpwdx.c36 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);
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Dfsm.txt52 command | * sendcdb * * rd-intr-reason
65 idle | command command command command command
66 command | * cdb * * *
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dsharemgr_main.c52 (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...]
/illumos-gate/usr/src/lib/libwrap/
H A Dshell_cmd.c9 * 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...]
/illumos-gate/usr/src/tools/onbld/Checks/
H A DProcessCheck.py30 # 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))
/illumos-gate/usr/src/stand/lib/sa/sparc/
H A Dprom_misc.c46 char *command; local
56 command = encode_bytes_command;
59 command = encode_string_command;
62 prom_interpret(command, (uint_t)cn, prop_datalen,
/illumos-gate/usr/src/cmd/make/include/mksh/
H A Ddosys.h31 extern Boolean await(register Boolean ignore_error, register Boolean silent_error, Name target, wchar_t *command, pid_t running_pid, void *xdrs, int job_msg_id);
32 extern int doexec(register wchar_t *command, register Boolean ignore_error, char *stdout_file, char *stderr_file, pathpt vroot_path, int nice_prio);
33 extern int doshell(wchar_t *command, register Boolean ignore_error, char *stdout_file, char *stderr_file, int nice_prio);
35 extern void sh_command2string(register String command, register String destination);
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootiic/
H A Denv_vars.h26 /* each environment variable is a string following the standard command */
28 /* <command> <parm1> <parm2> ... */
33 /* by the command parse routine. */
47 extern void SetBootCommand(int index, char *command);
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/
H A Denv_vars.h26 /* each environment variable is a string following the standard command */
28 /* <command> <parm1> <parm2> ... */
33 /* by the command parse routine. */
47 extern void SetBootCommand(int index, char *command);
/illumos-gate/usr/src/cmd/prtfru/
H A Dmain.c38 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);
/illumos-gate/usr/src/cmd/ptools/prun/
H A Dprun.c41 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,
/illumos-gate/usr/src/cmd/ptools/pstop/
H A Dpstop.c41 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,
/illumos-gate/usr/src/cmd/lms/heci/
H A DPTHICommand.cpp55 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...]
/illumos-gate/usr/src/cmd/picl/plugins/lib/picld_pluginutil/
H A Dpicld_pluginutil.c130 * 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...]
/illumos-gate/usr/src/cmd/mail/
H A Dcksaved.c52 char command[512]; local
96 (void) snprintf(command, sizeof (command),
127 (void) snprintf(command, sizeof (command),
137 systm(command);
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathprog.c28 * 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 != '/')
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/include/
H A Dcommand.h37 mm_memcpy(pdev->sq_info.sq_chain.prod_bd, &pending->command, sizeof(pending->command));
49 DbgMessage(pdev,VERBOSEl2sp | VERBOSEl4sp, "Writing SP prod %d, conn_and_cmd_data=%x, type=%d \n",pdev->sq_info.sq_chain.prod_idx, pending->command.hdr.conn_and_cmd_data, pending->command.hdr.type);
62 * @Description: This function fills a command that is received
69 * @param command - FW Command ID
76 * command will be returned to the pool
82 u8_t command,
94 pending->command.hdr.conn_and_cmd_data = mm_cpu_to_le32((command << SPE_HDR_T_CMD_ID_SHIF
79 lm_sq_post_fill_entry(struct _lm_device_t* pdev, struct sq_pending_command * pending, u32_t cid, u8_t command, u16_t type, u64_t data, u8_t release_mem_flag) argument
177 lm_command_post( struct _lm_device_t* pdev, u32_t cid, u8_t command, u8_t priority, u16_t type, u64_t data ) argument
[all...]
/illumos-gate/usr/src/cmd/lp/lib/filters/
H A Dgetfilter.c82 flbuf.command = (pf->command? Strdup(pf->command) : 0);
H A Dfreefilter.c100 if (pf->command)
101 Free (pf->command);
125 if (pf->command)
126 Free (pf->command);
/illumos-gate/usr/src/cmd/ptools/pldd/
H A Dpldd.c38 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);
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Dopenchild.c68 _openchild(command, fto, ffrom)
69 char *command;
105 com = malloc((unsigned)strlen(command) + 6);
109 (void) sprintf(com, "exec %s", command);

Completed in 129 milliseconds

1234567891011>>