Home
last modified time | relevance | path

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

/system/logging/logd/
DLogAudit.cpp343 size_t suffix_len = strnlen(ecomm, LOGGER_ENTRY_MAX_PAYLOAD - prefix_len); in logPrint() local
345 str_len + prefix_len + suffix_len + denial_metadata.length() + 2; in logPrint()
353 strncpy(newstr + 1 + str_len + prefix_len, ecomm, suffix_len); in logPrint()
354 strncpy(newstr + 1 + str_len + prefix_len + suffix_len, in logPrint()
/system/tools/hidl/
DCoordinator.cpp480 const auto suffix_len = std::strlen(suffix); in getPackageInterfaceFiles() local
483 if (d_namelen < suffix_len in getPackageInterfaceFiles()
484 || strcmp(ent->d_name + d_namelen - suffix_len, suffix)) { in getPackageInterfaceFiles()
488 fileNames->push_back(std::string(ent->d_name, d_namelen - suffix_len)); in getPackageInterfaceFiles()