Searched refs:prefix_len (Results 1 – 3 of 3) sorted by relevance
/system/core/logd/ |
D | LogAudit.cpp | 314 size_t prefix_len = estr - str; in logPrint() local 315 if (prefix_len > LOGGER_ENTRY_MAX_PAYLOAD) { in logPrint() 316 prefix_len = LOGGER_ENTRY_MAX_PAYLOAD; in logPrint() 318 size_t suffix_len = strnlen(ecomm, LOGGER_ENTRY_MAX_PAYLOAD - prefix_len); in logPrint() 320 str_len + prefix_len + suffix_len + denial_metadata.length() + 2; in logPrint() 327 strncpy(newstr + 1 + str_len, str, prefix_len); in logPrint() 328 strncpy(newstr + 1 + str_len + prefix_len, ecomm, suffix_len); in logPrint() 329 strncpy(newstr + 1 + str_len + prefix_len + suffix_len, in logPrint()
|
/system/core/liblog/ |
D | pmsg_reader.cpp | 179 size_t len, prefix_len; in __android_log_pmsg_file_read() local 204 prefix_len = 0; in __android_log_pmsg_file_read() 215 prefix_len = strlen(prefix); in __android_log_pmsg_file_read() 252 if (prefix_len && strncmp(msg + sizeof(prio), prefix, prefix_len)) { in __android_log_pmsg_file_read() 271 if ((prefix_len > offset) && in __android_log_pmsg_file_read() 272 strncmp(&msg[offset + sizeof(prio)], split + 1, prefix_len - offset)) { in __android_log_pmsg_file_read()
|
/system/core/property_service/libpropertyinfoparser/ |
D | property_info_parser.cpp | 95 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()
|