Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp452 size_t suffixLen = strlen(suffix); in deleteSuffixedFiles() local
453 if (suffixLen <= nameLen && strncmp(name + nameLen - suffixLen, suffix, suffixLen) == 0) { in deleteSuffixedFiles()
495 size_t suffixLen = suffix.length(); in hasConfigMetricsReport() local
496 if (suffixLen <= nameLen && in hasConfigMetricsReport()
497 strncmp(name + nameLen - suffixLen, suffix.c_str(), suffixLen) == 0) { in hasConfigMetricsReport()
625 size_t suffixLen = suffix.length(); in readConfigFromDisk() local
627 if (suffixLen <= nameLen && in readConfigFromDisk()
628 strncmp(name + nameLen - suffixLen, suffix.c_str(), suffixLen) == 0) { in readConfigFromDisk()
/frameworks/av/media/libstagefright/foundation/
DAString.cpp345 size_t suffixLen = strlen(suffix); in endsWith() local
347 if (mSize < suffixLen) { in endsWith()
351 return !strcmp(mData + mSize - suffixLen, suffix); in endsWith()
359 size_t suffixLen = strlen(suffix); in endsWithIgnoreCase() local
361 if (mSize < suffixLen) { in endsWithIgnoreCase()
365 return !strcasecmp(mData + mSize - suffixLen, suffix); in endsWithIgnoreCase()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp65 size_t suffixLen = strlen(suffix); in hasSuffix() local
66 return suffixLen > s.size() ? false : in hasSuffix()
67 s.compare(s.size() - suffixLen, suffixLen, suffix) == 0; in hasSuffix()