Searched refs:suffixLen (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/cmds/statsd/src/storage/ |
D | StorageManager.cpp | 351 size_t suffixLen = strlen(suffix); in deleteSuffixedFiles() local 352 if (suffixLen <= nameLen && strncmp(name + nameLen - suffixLen, suffix, suffixLen) == 0) { in deleteSuffixedFiles() 394 size_t suffixLen = suffix.length(); in hasConfigMetricsReport() local 395 if (suffixLen <= nameLen && in hasConfigMetricsReport() 396 strncmp(name + nameLen - suffixLen, suffix.c_str(), suffixLen) == 0) { in hasConfigMetricsReport() 524 size_t suffixLen = suffix.length(); in readConfigFromDisk() local 526 if (suffixLen <= nameLen && in readConfigFromDisk() 527 strncmp(name + nameLen - suffixLen, suffix.c_str(), suffixLen) == 0) { in readConfigFromDisk()
|
/frameworks/av/media/libstagefright/foundation/ |
D | AString.cpp | 345 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/ |
D | Codec2InfoBuilder.cpp | 66 size_t suffixLen = strlen(suffix); in hasSuffix() local 67 return suffixLen > s.size() ? false : in hasSuffix() 68 s.compare(s.size() - suffixLen, suffixLen, suffix) == 0; in hasSuffix()
|