/system/core/toolbox/ |
H A D | log.c | 82 fprintf(stderr, "USAGE: %s [-p priorityChar] [-t tag] message\n", s); 93 const char *tag = "log"; local 110 tag = optarg; 141 __android_log_print(priority, tag, "%s", buffer);
|
/system/core/include/cutils/ |
H A D | logprint.h | 49 const char * tag; member in struct:AndroidLogEntry_t 96 * and tag, and 0 if it should not 99 AndroidLogFormat *p_format, const char *tag, android_LogPriority pri); 115 * If "map" is non-NULL, it will be used to convert the log tag number
|
/system/core/logwrapper/ |
H A D | logwrapper.c | 47 void parent(const char *tag, int seg_fault_on_exit, int parent_read) { argument 63 LOG(LOG_INFO, tag, "%s", &buffer[a]); 71 LOG(LOG_INFO, tag, "%s", &buffer[a]); 87 LOG(LOG_INFO, tag, "%s", &buffer[a]); 92 LOG(LOG_INFO, "logwrapper", "%s terminated by exit(%d)", tag, 95 LOG(LOG_INFO, "logwrapper", "%s terminated by signal %d", tag, 98 LOG(LOG_INFO, "logwrapper", "%s stopped by signal %d", tag, 101 LOG(LOG_INFO, "logwrapper", "%s wait() failed: %s (%d)", tag,
|
/system/netd/ |
H A D | logwrapper.c | 29 int parent(const char *tag, int parent_read) { argument 46 LOG(LOG_INFO, tag, "%s", &buffer[a]); 54 LOG(LOG_INFO, tag, "%s", &buffer[a]); 70 LOG(LOG_INFO, tag, "%s", &buffer[a]); 76 LOG(LOG_INFO, "logwrapper", "%s terminated by exit(%d)", tag, 81 LOG(LOG_INFO, "logwrapper", "%s terminated by signal %d", tag, 84 LOG(LOG_INFO, "logwrapper", "%s stopped by signal %d", tag, 87 LOG(LOG_INFO, "logwrapper", "%s wait() failed: %s (%d)", tag,
|
/system/vold/ |
H A D | logwrapper.c | 29 int parent(const char *tag, int parent_read) { argument 46 LOG(LOG_INFO, tag, "%s", &buffer[a]); 54 LOG(LOG_INFO, tag, "%s", &buffer[a]); 70 LOG(LOG_INFO, tag, "%s", &buffer[a]); 76 LOG(LOG_INFO, "logwrapper", "%s terminated by exit(%d)", tag, 81 LOG(LOG_INFO, "logwrapper", "%s terminated by signal %d", tag, 84 LOG(LOG_INFO, "logwrapper", "%s stopped by signal %d", tag, 87 LOG(LOG_INFO, "logwrapper", "%s wait() failed: %s (%d)", tag,
|
/system/core/liblog/ |
H A D | logd_write.c | 133 int __android_log_write(int prio, const char *tag, const char *msg) argument 138 if (!tag) 139 tag = ""; 142 if (!strcmp(tag, "HTC_RIL") || 143 !strncmp(tag, "RIL", 3) || /* Any log tag with "RIL" as the prefix */ 144 !strcmp(tag, "AT") || 145 !strcmp(tag, "GSM") || 146 !strcmp(tag, "STK") || 147 !strcmp(tag, "CDM 162 __android_log_buf_write(int bufID, int prio, const char *tag, const char *msg) argument 190 __android_log_vprint(int prio, const char *tag, const char *fmt, va_list ap) argument 199 __android_log_print(int prio, const char *tag, const char *fmt, ...) argument 211 __android_log_buf_print(int bufID, int prio, const char *tag, const char *fmt, ...) argument 223 __android_log_assert(const char *cond, const char *tag, const char *fmt, ...) argument 238 __android_log_bwrite(int32_t tag, const void *payload, size_t len) argument 255 __android_log_btwrite(int32_t tag, char type, const void *payload, size_t len) argument [all...] |
H A D | event_tag_map.c | 44 /* array of event tags, sorted numerically by tag index */ 53 static int scanTagLine(char** pData, EventTag* tag, int lineNum); 61 * We create a private mapping because we want to terminate the log tag 124 * The entries are sorted by tag number, so we can do a binary search. 126 const char* android_lookupEventTag(const EventTagMap* map, int tag) argument 137 cmp = map->tagArray[mid].tagIndex - tag; 139 /* tag is bigger */ 142 /* tag is smaller */ 164 * Determine whether "c" is a valid tag char. 184 * Crunch through the file, parsing the contents and creating a tag inde 333 scanTagLine(char** pData, EventTag* tag, int lineNum) argument 434 const EventTag* tag = &map->tagArray[i]; local [all...] |
H A D | fake_log_device.c | 79 char tag[kMaxTagLen]; member in struct:LogState::__anon96 170 * The tag (or '*' for the global level) comes first, followed by a colon 213 TRACE("ERROR: env tag too long (%d chars max)\n", kMaxTagLen-1); 247 TRACE("ERROR: garbage in tag env; expected whitespace\n"); 258 strcpy(logState->tagSet[entry].tag, tagName); 261 logState->tagSet[entry].tag, 281 else if (strcmp(fstr, "tag") == 0) 347 int logPrio, const char* tag, const char* msg) 359 TRACE("LOG %d: %s %s", logPrio, tag, msg); 390 "%c/%-8s: ", priChar, tag); 346 showLog(LogState *state, int logPrio, const char* tag, const char* msg) argument 571 const char* tag = (const char*) vector[1].iov_base; local [all...] |
H A D | logprint.c | 44 static FilterInfo * filterinfo_new(const char * tag, android_LogPriority pri) argument 49 p_ret->mTag = strdup(tag); 122 AndroidLogFormat *p_format, const char *tag) 130 if (0 == strcmp(tag, p_curFilter->mTag)) { 161 * and tag, and 0 if it should not 164 AndroidLogFormat *p_format, const char *tag, android_LogPriority pri) 166 return pri >= filterPriForTag(p_format, tag); 214 else if (strcmp(formatString, "tag") == 0) format = FORMAT_TAG; 360 entry->tag = buf->msg + 1; 361 tag_len = strlen(entry->tag); 121 filterPriForTag( AndroidLogFormat *p_format, const char *tag) argument 163 android_log_shouldPrintLine( AndroidLogFormat *p_format, const char *tag, android_LogPriority pri) argument 904 const char *tag; local [all...] |
/system/core/adb/ |
H A D | adb.c | 79 const char* tag; member in struct:__anon13 109 for (tagn = 0; tags[tagn].tag != NULL; tagn++) 111 int taglen = strlen(tags[tagn].tag); 113 if (len == taglen && !memcmp(tags[tagn].tag, p, len) ) 160 char *tag; local 165 case A_SYNC: tag = "SYNC"; break; 166 case A_CNXN: tag = "CNXN" ; break; 167 case A_OPEN: tag = "OPEN"; break; 168 case A_OKAY: tag = "OKAY"; break; 169 case A_CLSE: tag [all...] |
/system/core/libacc/ |
H A D | acc.cpp | 187 TypeTag tag; member in struct:acc::Compiler::Type 660 return collapseType(pA->tag) == collapseType(pB->tag); 663 TypeTag collapseType(TypeTag tag) { argument 677 return collapsedTag[tag]; 681 return collapseType(getR0Type()->tag); 685 return isFloatTag(pType->tag); 688 static bool isFloatTag(TypeTag tag) { argument 689 return tag == TY_FLOAT || tag 696 isPointerTag(TypeTag tag) argument 1482 TypeTag tag = collapseType(pR0Type->tag); local 1520 TypeTag tag = collapseType(pR0Type->tag); local 1698 TypeTag tag = pNewType->tag; local 2689 TypeTag tag = collapseType(pR0Type->tag); local 2723 TypeTag tag = collapseType(pR0Type->tag); local 2869 TypeTag tag = pNewType->tag; local 4781 int tag = pVal->pHead->tag; local 4909 int tag = pGen->getR0Type()->tag; local 5138 createType(TypeTag tag, Type* pHead, Type* pTail) argument 5180 TypeTag tag = pType->tag; local 5258 TypeTag tag = pType->tag; local 5305 insertTypeSpecifier(Type** ppType, TypeTag tag) argument [all...] |