/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; 114 cmd = node_to_item(node, struct command, clist);
|
H A D | builtins.c | 616 char command[PROP_VALUE_MAX]; local 622 res = expand_props(command, args[1], sizeof(command)); 628 if (strncmp(command, "shutdown", 8) == 0) { 631 } else if (strncmp(command, "reboot", 6) == 0) { 635 ERROR("powerctl: unrecognized command '%s'\n", command); 639 if (command[len] == ',') { 640 reboot_target = &command[len + 1]; 641 } else if (command[le [all...] |
H A D | init.c | 79 static struct command *cur_command = NULL; 504 static struct command *get_first_command(struct action *act) 511 return node_to_item(node, struct command, clist); 514 static struct command *get_next_command(struct action *act, struct command *cmd) 523 return node_to_item(node, struct command, clist); 526 static int is_last_command(struct action *act, struct command *cmd) 550 INFO("command '%s' r=%d\n", cur_command->args[0], ret); 751 /* if this was given on kernel command line, override what we read 783 /* now propogate the info given on command lin [all...] |
H A D | init_parser.c | 572 struct command *cmd; 651 struct command *cmd; 738 parse_error(state, "invalid command '%s'\n", args[0]); 843 struct command *cmd; 854 parse_error(state, "invalid command '%s'\n", args[0]);
|
/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 | 35 p->msg.command = H4(p->msg.command); 69 p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic); 97 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 | 235 switch(p->msg.command){ 272 p->msg.command = A_OKAY; 282 p->msg.command = A_CLSE; 322 cp->msg.command = A_CNXN; 344 p->msg.command = A_AUTH; 363 p->msg.command = A_AUTH; 382 p->msg.command = A_AUTH; 505 D("handle_packet() %c%c%c%c\n", ((char*) (&(p->msg.command)))[0], 506 ((char*) (&(p->msg.command)))[1], 507 ((char*) (&(p->msg.command)))[ [all...] |
H A D | transport.c | 105 unsigned command = p->msg.command; local 112 int b = (command >> (n*8)) & 255; 120 /* There is some non-ASCII name in the command, so dump 122 snprintf(cmd, sizeof cmd, "%08x", command); 223 p->msg.magic = p->msg.command ^ 0xffffffff; 268 p->msg.command = A_SYNC; 299 p->msg.command = A_SYNC; 330 if(p->msg.command == A_SYNC){ 1202 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 */ 294 /* 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/extras/micro_bench/ |
H A D | micro_bench.cpp | 612 printf(" If the command supports it, align the destination pointer to ALIGN.\n"); 615 printf(" If the command supports it, or in the OR_MASK on to the destination pointer.\n"); 620 printf(" If the command supports it, align the source pointer to ALIGN. The default is to use the\n"); 623 printf(" If the command supports it, or in the OR_MASK on to the source pointer.\n"); 627 printf(" If the command supports it, create a destination string of this length.\n"); 657 function_t *command = NULL; local 717 } else if (!command) { 720 command = &function_table[j]; 724 if (!command) { 725 printf("Uknown command 816 function_t *command = processOptions(argc, argv, &cmd_data); local [all...] |
/system/core/fastboot/ |
H A D | fastboot.c | 232 // at the command line with the -s option. 295 "usage: fastboot [ <option> ] <command>\n" 825 char command[256]; local 828 command[0] = 0; 830 strcat(command,*argv); 833 strcat(command," "); 836 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...] |