Home
last modified time | relevance | path

Searched refs:prefix_len (Results 1 – 3 of 3) sorted by relevance

/system/core/logd/
DLogAudit.cpp389 size_t prefix_len = estr - str; in logPrint() local
390 if (prefix_len > LOGGER_ENTRY_MAX_PAYLOAD) { in logPrint()
391 prefix_len = LOGGER_ENTRY_MAX_PAYLOAD; in logPrint()
393 size_t suffix_len = strnlen(ecomm, LOGGER_ENTRY_MAX_PAYLOAD - prefix_len); in logPrint()
395 str_len + prefix_len + suffix_len + denial_metadata.length() + 2; in logPrint()
402 strncpy(newstr + 1 + str_len, str, prefix_len); in logPrint()
403 strncpy(newstr + 1 + str_len + prefix_len, ecomm, suffix_len); in logPrint()
404 strncpy(newstr + 1 + str_len + prefix_len + suffix_len, in logPrint()
/system/core/property_service/libpropertyinfoparser/
Dproperty_info_parser.cpp95 auto prefix_len = trie_node.prefix(i)->namelen; in CheckPrefixMatch() local
96 if (prefix_len > remaining_name_size) continue; in CheckPrefixMatch()
98 if (!strncmp(c_string(trie_node.prefix(i)->name_offset), remaining_name, prefix_len)) { in CheckPrefixMatch()
/system/core/liblog/
Dpmsg_reader.cpp297 size_t len, prefix_len; in __android_log_pmsg_file_read() local
323 prefix_len = 0; in __android_log_pmsg_file_read()
334 prefix_len = strlen(prefix); in __android_log_pmsg_file_read()
370 if (prefix_len && strncmp(msg + sizeof(prio), prefix, prefix_len)) { in __android_log_pmsg_file_read()
389 if ((prefix_len > offset) && in __android_log_pmsg_file_read()
390 strncmp(&msg[offset + sizeof(prio)], split + 1, prefix_len - offset)) { in __android_log_pmsg_file_read()