Home
last modified time | relevance | path

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

/system/core/logd/
DLogAudit.cpp393 size_t suffix_len = strnlen(ecomm, LOGGER_ENTRY_MAX_PAYLOAD - prefix_len); in logPrint() local
395 str_len + prefix_len + suffix_len + denial_metadata.length() + 2; 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/tools/hidl/
DCoordinator.cpp483 const auto suffix_len = std::strlen(suffix); in getPackageInterfaceFiles() local
486 if (d_namelen < suffix_len in getPackageInterfaceFiles()
487 || strcmp(ent->d_name + d_namelen - suffix_len, suffix)) { in getPackageInterfaceFiles()
491 fileNames->push_back(std::string(ent->d_name, d_namelen - suffix_len)); in getPackageInterfaceFiles()