/system/core/libpixelflinger/codeflinger/ |
H A D | CodeCache.cpp | 60 static void heap_error(const char* msg, const char* function, void* p); 68 static void heap_error(const char* msg, const char* function, void* p) { argument 70 msg, function, p);
|
/system/core/libsysutils/src/ |
H A D | FrameworkClient.cpp | 16 int FrameworkClient::sendMsg(const char *msg) { argument 24 ret = TEMP_FAILURE_RETRY(write(mSocket, msg, strlen(msg) +1)); 26 SLOGW("Unable to send msg '%s' (%s)", msg, strerror(errno)); 32 int FrameworkClient::sendMsg(const char *msg, const char *data) { argument 33 size_t bufflen = strlen(msg) + strlen(data) + 1; 39 snprintf(buffer, bufflen, "%s%s", msg, data);
|
H A D | SocketClient.cpp | 53 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { argument 54 return sendMsg(code, msg, addErrno, mUseCmdNum); 57 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { argument 63 ret = asprintf(&buf, "%d %d %s (%s)", code, getCmdNum(), msg, strerror(errno)); 65 ret = asprintf(&buf, "%d %s (%s)", code, msg, strerror(errno)); 69 ret = asprintf(&buf, "%d %d %s", code, getCmdNum(), msg); 71 ret = asprintf(&buf, "%d %s", code, msg); 133 int SocketClient::sendMsg(const char *msg) { argument 135 if (sendData(msg, strlen(msg) [all...] |
H A D | SocketListener.cpp | 246 void SocketListener::sendBroadcast(int code, const char *msg, bool addErrno) { argument 252 if ((*i)->sendMsg(code, msg, addErrno, false)) {
|
/system/core/logwrapper/ |
H A D | logwrapper.c | 30 void fatal(const char *msg) { argument 31 fprintf(stderr, "%s", msg); 32 ALOG(LOG_ERROR, "logwrapper", "%s", msg);
|
/system/core/sh/ |
H A D | error.c | 125 exvwarning(int sv_errno, const char *msg, va_list ap) argument 137 if (msg != NULL) { 138 doformat(&errout, msg, ap); 154 exverror(int cond, const char *msg, va_list ap) argument 160 if (msg) { 162 TRACEV((msg, ap)); 167 if (msg) 168 exvwarning(-1, msg, ap); 177 error(const char *msg, ...) argument 181 va_start(ap, msg); 189 exerror(int cond, const char *msg, ...) argument 286 const char *msg; /* text describing the error */ member in struct:errname [all...] |
H A D | parser.c | 1600 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/core/toolbox/ |
H A D | lsof.c | 144 char msg[BUF_MAX]; local 145 snprintf(msg, sizeof(msg), "%s (opendir: %s)", info->path, strerror(errno)); 148 "", "", "", "", msg);
|
H A D | newfs_msdos.c | 101 #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/extras/fatblock/ |
H A D | utils.c | 33 void warn(char *msg) argument 35 fprintf(stderr, "%s", msg); 38 void die(char *msg) argument 40 fprintf(stderr, "%s", msg);
|
/system/extras/tests/sdcard/ |
H A D | sysutil.cpp | 65 void printErrno(const char *msg, const char *filename) argument 67 fprintf(stderr, "# %s %s %d %s\n", msg, filename, errno, strerror(errno));
|
/system/netd/ |
H A D | BandwidthController.cpp | 1030 char *msg; local 1031 asprintf(&msg, "%s %s %lld %lld %lld %lld", ifaceIn.c_str(), ifaceOut.c_str(), 1033 return msg;
|
H A D | CommandListener.cpp | 258 char *msg; local 259 asprintf(&msg, "%lu", rx); 260 cli->sendMsg(ResponseCode::InterfaceRxCounterResult, msg, false); 261 free(msg); 276 char *msg = NULL; local 277 asprintf(&msg, "%lu", tx); 278 cli->sendMsg(ResponseCode::InterfaceTxCounterResult, msg, false); 279 free(msg); 300 char *msg = NULL; local 301 asprintf(&msg, " 429 char *msg = NULL; local 984 char *msg; local 1044 char *msg; local 1063 char *msg; local 1089 char *msg; local 1111 char *msg; local 1263 char *msg = tetherStats.getStatsLine(); local [all...] |
H A D | DnsProxyListener.cpp | 116 char* msg = NULL; local 117 asprintf( &msg, "Invalid number of arguments to getaddrinfo: %i", argc); 118 ALOGW("%s", msg); 119 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); 120 free(msg); 182 char* msg = NULL; local 183 asprintf(&msg, "Invalid number of arguments to gethostbyaddr: %i", argc); 184 ALOGW("%s", msg); 185 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); 186 free(msg); 198 char* msg = NULL; local [all...] |
H A D | MDnsSdListener.cpp | 100 char *msg; local 104 asprintf(&msg, "%d %d", refNumber, errorCode); 105 context->mListener->sendBroadcast(ResponseCode::ServiceDiscoveryFailed, msg, false); 123 asprintf(&msg, "%d %s %s %s", refNumber, quotedServiceName, regType, replyDomain); 125 context->mListener->sendBroadcast(respCode, msg, false); 127 free(msg); 132 char *msg; local 133 asprintf(&msg, "Invalid number of arguments to %s", str); 134 cli->sendMsg(ResponseCode::CommandParameterError, msg, false); 135 free(msg); 148 char *msg; local 193 char *msg; local 247 char *msg; local 305 char *msg; local 312 char *msg; local 359 char *msg; local 395 char* msg = NULL; local [all...] |
H A D | NetlinkHandler.cpp | 97 char msg[255]; local 98 snprintf(msg, sizeof(msg), "Iface added %s", name); 101 msg, false); 105 char msg[255]; local 106 snprintf(msg, sizeof(msg), "Iface removed %s", name); 109 msg, false); 113 char msg[255]; local 114 snprintf(msg, sizeo 122 char msg[255]; local 131 char msg[255]; local 140 char msg[255]; local [all...] |
/system/vold/ |
H A D | CommandListener.cpp | 247 char msg[1024]; local 248 snprintf(msg, sizeof(msg), "%d %s", pid, processName); 249 cli->sendMsg(ResponseCode::StorageUsersListResult, msg, false); 518 char msg[255]; local 526 snprintf(msg, sizeof(msg), "%s %u %u", (r ? "ready" : "not-ready"), mirrorPos, maxSize); 527 cli->sendMsg(ResponseCode::XwarpStatusResult, msg, false); 602 char msg[255]; local 603 snprintf(msg, sizeo [all...] |
H A D | DirectVolume.cpp | 118 char msg[255]; local 120 snprintf(msg, sizeof(msg), 124 msg, false); 280 char msg[255]; local 288 snprintf(msg, sizeof(msg), "Volume %s %s disk removed (%d:%d)", 291 msg, false); 298 char msg[255]; local 319 snprintf(msg, sizeo [all...] |
H A D | Volume.cpp | 174 char msg[255]; local 190 snprintf(msg, sizeof(msg), 196 msg, false);
|