Searched refs:msg (Results 51 - 65 of 65) sorted by relevance

123

/system/core/init/
H A Dinit.c494 void handle_control_message(const char *msg, const char *arg) argument
496 if (!strcmp(msg,"start")) {
498 } else if (!strcmp(msg,"stop")) {
500 } else if (!strcmp(msg,"restart")) {
504 ERROR("unknown control msg '%s'\n", msg);
591 const char *msg; local
592 msg = "\n"
607 write(fd, msg, strlen(msg));
[all...]
H A Dinit.h24 void handle_control_message(const char *msg, const char *arg);
/system/core/toolbox/
H A Dnewfs_msdos.c101 #define argto1(arg, lo, msg) argtou(arg, lo, 0xff, msg)
102 #define argto2(arg, lo, msg) argtou(arg, lo, 0xffff, msg)
103 #define argto4(arg, lo, msg) argtou(arg, lo, 0xffffffff, msg)
104 #define argtox(arg, lo, msg) argtou(arg, lo, UINT_MAX, msg)
938 ckgeom(const char *fname, u_int val, const char *msg) argument
941 errx(1, "%s: no default %s", fname, msg);
951 argtou(const char *arg, u_int lo, u_int hi, const char *msg) argument
967 argtooff(const char *arg, const char *msg) argument
[all...]
/system/core/adb/
H A Dsockets.c469 p->msg.command = A_WRTE;
470 p->msg.arg0 = s->peer->id;
471 p->msg.arg1 = s->id;
472 p->msg.data_length = p->len;
482 p->msg.command = A_OKAY;
483 p->msg.arg0 = s->peer->id;
484 p->msg.arg1 = s->id;
493 p->msg.command = A_CLSE;
495 p->msg.arg0 = s->peer->id;
501 p->msg
[all...]
H A Dadb.h66 amessage msg; member in struct:apacket
/system/core/debuggerd/
H A Dtombstone.c532 unsigned char prio = entry->msg[0];
533 char* tag = entry->msg + 1;
534 char* msg = tag + strlen(tag) + 1; local
537 char* eatnl = msg + strlen(msg) - 1;
538 while (eatnl >= msg && *eatnl == '\n') {
555 prioChar, tag, msg);
561 prioChar, tag, msg);
/system/core/liblog/
H A Dlogprint.c362 * starts at buf->msg+1
363 * msg
364 * starts at buf->msg+1+len(tag)+1
381 if (buf->msg[i] == '\0') {
398 buf->msg[msgEnd] = '\0';
401 entry->priority = buf->msg[0];
402 entry->tag = buf->msg + 1;
403 entry->message = buf->msg + msgStart;
616 eventData = (const unsigned char*) buf->msg;
/system/vold/
H A DVolume.cpp174 char msg[255]; local
190 snprintf(msg, sizeof(msg),
196 msg, false);
/system/core/libsysutils/src/
H A DSocketListener.cpp246 void SocketListener::sendBroadcast(int code, const char *msg, bool addErrno) { argument
252 if ((*i)->sendMsg(code, msg, addErrno, false)) {
/system/extras/tests/sdcard/
H A Dsysutil.cpp65 void printErrno(const char *msg, const char *filename) argument
67 fprintf(stderr, "# %s %s %d %s\n", msg, filename, errno, strerror(errno));
/system/core/sh/
H A Darith_lex.c346 static void yy_fatal_error (yyconst char msg[] );
637 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1699 static void yy_fatal_error (yyconst char* msg )
1701 (void) fprintf( stderr, "%s\n", msg );
H A Dparser.c1600 char msg[64]; local
1603 fmtstr(msg, 64, "%s unexpected (expecting %s)",
1606 fmtstr(msg, 64, "%s unexpected", tokname[lasttoken]);
1608 synerror(msg);
1614 synerror(const char *msg) argument
1618 outfmt(&errout, "Syntax error: %s\n", msg);
/system/extras/atrace/
H A Datrace.c389 fprintf(stderr, "error deflating trace: %s\n", zs.msg);
/system/netd/
H A DBandwidthController.cpp1030 char *msg; local
1031 asprintf(&msg, "%s %s %lld %lld %lld %lld", ifaceIn.c_str(), ifaceOut.c_str(),
1033 return msg;
/system/core/logcat/
H A Dlogcat.cpp170 //printf(">>> pri=%d len=%d msg='%s'\n",
305 entry->entry.msg[entry->entry.len] = '\0';

Completed in 230 milliseconds

123