Searched refs:arg0 (Results 1 - 12 of 12) sorted by relevance

/system/core/sh/
H A Doptions.c67 char *arg0; /* value of $0 */ variable
109 arg0 = argv[0];
112 arg0 = *argptr++;
113 setinputfile(arg0, 0);
114 commandname = arg0;
122 arg0 = *argptr++;
H A Doptions.h117 extern char *arg0; /* $0 */
H A Dhistedit.c127 shname = arg0;
H A Dexpand.c806 ap = arg0;
890 p = arg0;
H A Dexec.c184 commandname = arg0 = savestr(argv[0]);
/system/core/adb/
H A Dtransport_usb.c35 p->msg.arg0 = H4(p->msg.arg0);
H A Dtransport_local.c33 p->msg.arg0 = H4(p->msg.arg0);
65 D("read remote packet: %04x arg0=%0x arg1=%0x data_length=%0x data_check=%0x magic=%0x\n",
66 p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic);
93 D("write remote packet: %04x arg0=%0x arg1=%0x data_length=%0x data_check=%0x magic=%0x\n",
94 p->msg.command, p->msg.arg0, p->msg.arg1, p->msg.data_length, p->msg.data_check, p->msg.magic);
H A Dtransport.c103 char arg0[12], arg1[12]; local
120 if (p->msg.arg0 < 256U)
121 snprintf(arg0, sizeof arg0, "%d", p->msg.arg0);
123 snprintf(arg0, sizeof arg0, "0x%x", p->msg.arg0);
130 D("%s: %s: [%s] arg0=%s arg1=%s (len=%d) ",
131 name, func, cmd, arg0, arg
[all...]
H A Dadb.c244 label, tag, p->msg.arg0, p->msg.arg1, p->msg.data_length);
270 p->msg.arg0 = local;
280 p->msg.arg0 = local;
320 cp->msg.arg0 = A_VERSION;
342 p->msg.arg0 = ADB_AUTH_TOKEN;
361 p->msg.arg0 = ADB_AUTH_SIGNATURE;
380 p->msg.arg0 = ADB_AUTH_RSAPUBLICKEY;
504 if(p->msg.arg0){
532 if (p->msg.arg0 == ADB_AUTH_TOKEN) {
540 } else if (p->msg.arg0
[all...]
H A Dservices.c260 static int create_subprocess(const char *cmd, const char *arg0, const char *arg1, pid_t *pid) argument
263 D("create_subprocess(cmd=%s, arg0=%s, arg1=%s)\n", cmd, arg0, arg1);
264 fprintf(stderr, "error: create_subprocess not implemented on Win32 (%s %s %s)\n", cmd, arg0, arg1);
319 execl(cmd, cmd, arg0, arg1, NULL);
H A Dadb.h52 unsigned arg0; /* first argument */ member in struct:amessage
H A Dsockets.c470 p->msg.arg0 = s->peer->id;
483 p->msg.arg0 = s->peer->id;
495 p->msg.arg0 = s->peer->id;
553 p->msg.arg0 = s->id;

Completed in 69 milliseconds