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

/system/core/init/
H A Dinit.h26 struct command struct
48 struct command *current;
H A Dparser.c15 struct command *cmd;
39 cmd = node_to_item(node2, struct command, clist);
H A Dsignal_handler.c52 struct command *cmd;
112 cmd = node_to_item(node, struct command, clist);
H A Dinit.c79 static struct command *cur_command = NULL;
482 static struct command *get_first_command(struct action *act)
489 return node_to_item(node, struct command, clist);
492 static struct command *get_next_command(struct action *act, struct command *cmd)
501 return node_to_item(node, struct command, clist);
504 static int is_last_command(struct action *act, struct command *cmd)
528 INFO("command '%s' r=%d\n", cur_command->args[0], ret);
653 /* if this was given on kernel command line, override what we read
685 /* now propogate the info given on command lin
[all...]
H A Dinit_parser.c569 struct command *cmd;
648 struct command *cmd;
735 parse_error(state, "invalid command '%s'\n", args[0]);
840 struct command *cmd;
851 parse_error(state, "invalid command '%s'\n", args[0]);
/system/extras/micro_bench/
H A Dmicro_bench.cpp340 function_t *command = NULL; local
385 } else if (!command) {
388 command = function;
392 if (!command) {
393 printf("Uknown command %s\n", argv[i]);
425 return command;
472 function_t *command = processOptions(argc, argv, &cmd_data); local
473 if (!command) {
482 printf("%s\n", command->name);
483 return (*command
[all...]
/system/core/adb/
H A Dframebuffer_service.c73 const char* command = "screencap"; local
74 const char *args[2] = {command, NULL};
75 execvp(command, (char**)args);
H A Dtransport_usb.c34 p->msg.command = H4(p->msg.command);
H A Dcommandline.c85 " -d - directs command to the only connected USB device\n"
87 " -e - directs command to the only running emulator.\n"
89 " -s <specific device> - directs command to the device or emulator with the given\n"
106 " Using this command with no additional arguments\n"
116 " adb shell <command> - run remote shell command\n"
117 " adb emu <command> - run emulator console command\n"
164 " command line will be included even if -nosystem would\n"
374 static void format_host_command(char* buffer, size_t buflen, const char* command, transport_typ argument
468 char command[4096]; local
1220 char command[100]; local
1352 const char* command = no_rebind ? "forward:norebind:" : "forward"; local
[all...]
H A Dtransport_local.c32 p->msg.command = H4(p->msg.command);
66 p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic);
94 p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic);
H A Dadb.c234 switch(p->msg.command){
271 p->msg.command = A_OKAY;
281 p->msg.command = A_CLSE;
321 cp->msg.command = A_CNXN;
343 p->msg.command = A_AUTH;
362 p->msg.command = A_AUTH;
381 p->msg.command = A_AUTH;
500 D("handle_packet() %c%c%c%c\n", ((char*) (&(p->msg.command)))[0],
501 ((char*) (&(p->msg.command)))[1],
502 ((char*) (&(p->msg.command)))[
[all...]
H A Dtransport.c100 unsigned command = p->msg.command; local
107 int b = (command >> (n*8)) & 255;
115 /* There is some non-ASCII name in the command, so dump
117 snprintf(cmd, sizeof cmd, "%08x", command);
218 p->msg.magic = p->msg.command ^ 0xffffffff;
263 p->msg.command = A_SYNC;
294 p->msg.command = A_SYNC;
325 if(p->msg.command == A_SYNC){
1163 if(p->msg.magic != (p->msg.command
[all...]
H A Dadb.h51 unsigned command; /* command identifier constant */ member in struct:amessage
56 unsigned magic; /* command ^ 0xffffffff */
297 /* these should only be used for the "adb disconnect" command */
H A Dsockets.c469 p->msg.command = A_WRTE;
482 p->msg.command = A_OKAY;
493 p->msg.command = A_CLSE;
552 p->msg.command = A_OPEN;
/system/core/fastboot/
H A Dfastboot.c215 // at the command line with the -s option.
278 "usage: fastboot [ <option> ] <command>\n"
754 char command[256]; local
757 command[0] = 0;
759 strcat(command,*argv);
762 strcat(command," ");
765 fb_queue_command(command,"");
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp27 * This benchmark supports the following command-line options:
79 enum command { enum in class:AddIntsService
112 // Parse command line arguments
115 char *chptr; // character pointer for command-line parsing
/system/core/sh/
H A Dparser.c67 * Shell command parser.
107 STATIC union node *command(void);
123 * Read and parse a command. Returns NEOF on end of file. (NULL is a
258 n1 = command();
269 lp->n = command();
288 command(void) function
301 /* Check for redirection which may precede command */
310 TRACE(("command: TNOT recognized\n"));
476 /* Handle an empty command like other simple commands. */
479 * An empty command befor
[all...]

Completed in 903 milliseconds