Searched defs:cmd (Results 26 - 44 of 44) sorted by relevance

12

/system/extras/cpustats/
H A Dcpustats.c67 static void usage(char *cmd);
422 static void usage(char *cmd) { argument
428 cmd);
/system/extras/latencytop/
H A Dlatencytop.c64 static void usage(const char *cmd);
419 static void usage(const char *cmd) { argument
426 cmd);
/system/extras/procmem/
H A Dprocmem.c36 static void usage(const char *cmd);
303 static void usage(const char *cmd) { argument
310 cmd);
/system/extras/tests/lib/testUtil/
H A DtestUtil.c386 * Executes the command pointed to by cmd. Output from the
393 void testExecCmd(const char *cmd) argument
401 testPrintI("cmd: %s", cmd);
405 if ((fp = popen(cmd, "r")) == NULL) {
/system/extras/tests/wifi/stress/
H A DwifiLoadScanAssoc.c132 char cmd[MAXCMD]; local
304 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STATUS);
305 if (rv >= (signed) sizeof(cmd) - 1) {
309 testExecCmd(cmd);
350 rv = snprintf(cmd, sizeof(cmd), "%s", CMD_STATUS);
351 if (rv >= (signed) sizeof(cmd) - 1) {
355 testExecCmd(cmd);
359 rv = snprintf(cmd, sizeo
390 char cmd[MAXCMD]; local
[all...]
/system/core/sh/
H A Dexec.c159 tryexec(char *cmd, char **argv, char **envp, int vforked) argument
168 execve(cmd, argv, envp);
171 execve(cmd, argv, envp);
183 setinputfile(cmd, 0);
189 argv[0] = cmd;
407 out1str(ps.cmd);
H A Deval.c674 evalcommand(union node *cmd, int flags, struct backcmd *backcmd) argument
708 TRACE(("evalcommand(0x%lx, %d) called\n", (long)cmd, flags));
715 for (argp = cmd->ncmd.args ; argp ; argp = argp->narg.next) {
729 expredir(cmd->ncmd.redirect);
733 for (argp = cmd->ncmd.args ; argp ; argp = argp->narg.next) {
829 if (cmd->ncmd.backgnd
836 jp = makejob(cmd, 1);
837 mode = cmd->ncmd.backgnd;
879 forkchild(jp, cmd, mode, vforked);
893 forkparent(jp, cmd, mod
[all...]
H A Dexpand.c409 expbackq(union node *cmd, int quoted, int flag) argument
431 evalbackcmd(cmd, &in);
/system/extras/atrace/
H A Datrace.c421 static void showHelp(const char *cmd) argument
423 fprintf(stderr, "usage: %s [options]\n", cmd);
/system/core/fastboot/
H A Dengine.c90 char cmd[CMD_SIZE]; member in struct:Action
116 char cmd[CMD_SIZE] = "getvar:"; local
117 int getvar_len = strlen(cmd);
122 vsnprintf(cmd + getvar_len, sizeof(cmd) - getvar_len, fmt, args);
124 cmd[CMD_SIZE - 1] = '\0';
125 return fb_command_response(usb, cmd, response);
202 cmdsize = vsnprintf(a->cmd, sizeof(a->cmd), fmt, ap);
205 if (cmdsize >= sizeof(a->cmd)) {
326 char cmd[CMD_SIZE]; local
574 fb_queue_command(const char *cmd, const char *msg) argument
[all...]
/system/core/init/
H A Dinit_parser.c569 struct command *cmd; local
575 cmd = calloc(1, sizeof(*cmd));
576 cmd->func = func;
577 cmd->args[0] = name;
578 list_add_tail(&act->commands, &cmd->clist);
644 struct command *cmd; local
741 cmd = malloc(sizeof(*cmd) + sizeof(char*) * nargs);
742 cmd
837 struct command *cmd; local
[all...]
H A Dinit.c518 static struct command *get_next_command(struct action *act, struct command *cmd) argument
521 node = cmd->clist.next;
530 static int is_last_command(struct action *act, struct command *cmd) argument
532 return (list_tail(&act->commands) == &cmd->clist);
/system/core/logcat/
H A Dlogcat.cpp394 static void show_help(const char *cmd) argument
396 fprintf(stderr,"Usage: %s [options] [filterspecs]\n", cmd);
/system/core/toolbox/
H A Dtop.c109 static void usage(char *cmd);
562 static void usage(char *cmd) { argument
570 cmd);
/system/netd/
H A DMDnsSdListener.cpp403 char* cmd = argv[1]; local
405 if (strcmp(cmd, "discover") == 0) {
415 } else if (strcmp(cmd, "stop-discover") == 0) {
417 } else if (strcmp(cmd, "register") == 0) {
435 } else if (strcmp(cmd, "stop-register") == 0) {
437 } else if (strcmp(cmd, "resolve") == 0) {
449 } else if (strcmp(cmd, "stop-resolve") == 0) {
451 } else if (strcmp(cmd, "start-service") == 0) {
457 } else if (strcmp(cmd, "stop-service") == 0) {
463 } else if (strcmp(cmd, "sethostnam
[all...]
H A DBandwidthController.cpp150 int BandwidthController::runIpxtablesCmd(const char *cmd, IptRejectOp rejectHandling, argument
154 ALOGV("runIpxtablesCmd(cmd=%s)", cmd);
155 res |= runIptablesCmd(cmd, rejectHandling, IptIpV4, failureHandling);
156 res |= runIptablesCmd(cmd, rejectHandling, IptIpV6, failureHandling);
167 int BandwidthController::runIptablesCmd(const char *cmd, IptRejectOp rejectHandling, argument
176 std::string fullCmd = cmd;
316 char cmd[MAX_CMD_LEN]; local
413 char cmd[MAX_CMD_LEN]; local
430 snprintf(cmd, sizeo
467 char cmd[MAX_CMD_LEN]; local
502 char cmd[MAX_CMD_LEN]; local
1040 const char *cmd; local
[all...]
/system/core/adb/
H A Dcommandline.c40 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...);
1381 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...) argument
1387 va_start(ap, cmd);
1399 argv[argc++] = cmd;
H A Dtransport.c102 char cmd[9]; local
110 cmd[n] = (char)b;
113 cmd[4] = 0;
117 snprintf(cmd, sizeof cmd, "%08x", command);
131 name, func, cmd, arg0, arg1, len);
/system/core/sdcard/
H A Dfuse.h507 __u32 cmd; member in struct:fuse_ioctl_in

Completed in 147 milliseconds

12