Searched refs:fastcmp (Results 1 - 12 of 12) sorted by relevance

/system/core/include/utils/
H A DFastStrcmp.h31 // Template class fastcmp used to create more time-efficient str*cmp
36 // fastcmp<strncmp>(str1, str2, len)
43 static inline int fastcmp(const char* l, const char* r, const size_t s) { function
57 static inline int fastcmp(const void* lv, const void* rv, const size_t s) { function
66 static inline int fastcmp(const char* l, const char* r) { function
/system/core/libutils/include/utils/
H A DFastStrcmp.h31 // Template class fastcmp used to create more time-efficient str*cmp
36 // fastcmp<strncmp>(str1, str2, len)
43 static inline int fastcmp(const char* l, const char* r, const size_t s) { function
57 static inline int fastcmp(const void* lv, const void* rv, const size_t s) { function
66 static inline int fastcmp(const char* l, const char* r) { function
/system/core/logd/
H A DLogUtils.h61 } while (fastcmp<memcmp>(s, needle, needleLen));
H A DLogKlog.cpp606 !fastcmp<strncmp>(p, infoBrace, infoBraceLen)) {
643 if (!fastcmp<strncasecmp>(bt + 1, cp + 1, size - 1)) { // no match
667 !fastcmp<strncmp>(bt + size - hostlen, host, hostlen) &&
668 !fastcmp<strncmp>(bt + 1, cp + 1, size - hostlen - 1)) {
723 ((size == cpuLen) && !fastcmp<strncmp>(tag, cpu, cpuLen)) ||
725 !fastcmp<strncasecmp>(tag, warning, warningLen)) ||
726 ((size == errorLen) && !fastcmp<strncasecmp>(tag, error, errorLen)) ||
727 ((size == infoLen) && !fastcmp<strncasecmp>(tag, info, infoLen))) {
739 if (((s + s) < taglen) && !fastcmp<memcmp>(mp, mp - 1 - s, s)) {
H A DLogReader.cpp110 if (!fastcmp<strncmp>(buffer, "dumpAndClose", 12)) {
H A DLogBuffer.cpp156 if (!fastcmp<memcmp>(msgl, msgr, lenl)) return SAME;
160 !fastcmp<memcmp>(msgl, msgr, sizeof(android_log_event_int_t) -
169 if (fastcmp<memcmp>(msgl, msgr, sizeof(android_log_event_string_t) -
186 if (fastcmp<memcmp>(avcl + strlen(avc), avcr + strlen(avc),
H A DLogBufferElement.cpp103 !fastcmp<strcmp>(retval, name + name_len - retval_len)) {
H A DLogStatistics.cpp62 if (fastcmp<strcmp>(buffer, "<pre-initialized>")) {
228 } else if (fastcmp<strcmp>(name, nameTmp)) {
H A DLogStatistics.h340 if (name && !fastcmp<strncmp>(name, "zygote", 6)) {
413 if (name && !fastcmp<strncmp>(name, "zygote", 6)) {
H A DLogAudit.cpp190 !fastcmp<strcmp>(avcl + strlen(avc), avcr + strlen(avc));
H A DLogTags.cpp57 fastcmp<strncmp>(comment, uid_str, strlen(uid_str)) ||
/system/core/liblog/
H A Devent_tag_map.cpp64 return fastcmp<strncmp>(data(), rval.data(), length()) == 0;
310 verbose = !!fastcmp<strncmp>(cp, "uid=", strlen("uid="));

Completed in 162 milliseconds