Home
last modified time | relevance | path

Searched refs:taglen (Results 1 – 2 of 2) sorted by relevance

/system/core/logd/
DLogKlog.cpp607 size_t taglen = len - (p - buf); in log() local
612 if ((taglen >= 6) && !fast<strncmp>(p, "[INFO]", 6)) { in log()
615 taglen -= 6; in log()
617 for(et = bt; taglen && *et && (*et != ':') && !isspace(*et); ++et, --taglen) { in log()
620 while (taglen && *et && *et != ']') { in log()
622 --taglen; in log()
626 for(cp = et; taglen && isspace(*cp); ++cp, --taglen); in log()
634 } else if (taglen) { in log()
636 if ((taglen > size) && // enough space for match plus trailing : in log()
644 taglen -= size - 5; in log()
[all …]
/system/core/liblog/
Dlog_is_loggable.c94 const size_t taglen = (tag && *tag) ? strlen(tag) : 0; in __android_log_level() local
96 char key[sizeof(log_namespace) + taglen]; /* may be > PROPERTY_KEY_MAX */ in __android_log_level()
145 if (taglen) { in __android_log_level()