/system/core/init/ |
H A D | init.h | 26 struct command struct 48 struct command *current;
|
H A D | parser.c | 15 struct command *cmd; 39 cmd = node_to_item(node2, struct command, clist);
|
H A D | signal_handler.c | 52 struct command *cmd; 112 cmd = node_to_item(node, struct command, clist);
|
H A D | init.c | 79 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 D | init_parser.c | 569 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 D | micro_bench.cpp | 340 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 D | framebuffer_service.c | 73 const char* command = "screencap"; local 74 const char *args[2] = {command, NULL}; 75 execvp(command, (char**)args);
|
H A D | transport_usb.c | 34 p->msg.command = H4(p->msg.command);
|
H A D | commandline.c | 85 " -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 D | transport_local.c | 32 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 D | adb.c | 234 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 D | transport.c | 100 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 D | adb.h | 51 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 D | sockets.c | 469 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 D | fastboot.c | 215 // 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 D | binderAddInts.cpp | 27 * 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 D | parser.c | 67 * 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...] |