Lines Matching defs:tag

44 static FilterInfo * filterinfo_new(const char * tag, android_LogPriority pri)
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);
363 entry->message = entry->tag + tag_len + 1;
573 * Pull the tag out.
584 entry->tag = android_lookupEventTag(map, tagIndex);
586 entry->tag = NULL;
590 * If we don't have a map, or didn't find the tag number in the map,
591 * stuff a generated tag value into the start of the output buffer and
594 if (entry->tag == NULL) {
598 entry->tag = messageBuf;
704 "%c/%-8s: ", priChar, entry->tag);
711 " (%s)\n", entry->tag);
728 priChar, entry->tag, entry->pid);
735 (int)entry->pid, (int)entry->tid, priChar, entry->tag);
743 (void*)entry->tid, priChar, entry->tag);
751 "%c/%-8s(%5d): ", priChar, entry->tag, entry->pid);
904 const char *tag;
911 tag = "random";
916 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) == 0);
919 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) > 0);
922 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) > 0);
925 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) == 0);
929 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) > 0);
932 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) > 0);
935 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) > 0);
938 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) == 0);
948 assert(android_log_shouldPrintLine(p_format, tag, ANDROID_LOG_DEBUG) == 0);