Searched refs:suffixLen (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/cmds/statsd/src/storage/ |
D | StorageManager.cpp | 353 size_t suffixLen = strlen(suffix); in deleteSuffixedFiles() local 354 if (suffixLen <= nameLen && strncmp(name + nameLen - suffixLen, suffix, suffixLen) == 0) { in deleteSuffixedFiles() 396 size_t suffixLen = suffix.length(); in hasConfigMetricsReport() local 397 if (suffixLen <= nameLen && in hasConfigMetricsReport() 398 strncmp(name + nameLen - suffixLen, suffix.c_str(), suffixLen) == 0) { in hasConfigMetricsReport() 526 size_t suffixLen = suffix.length(); in readConfigFromDisk() local 528 if (suffixLen <= nameLen && in readConfigFromDisk() 529 strncmp(name + nameLen - suffixLen, suffix.c_str(), suffixLen) == 0) { in readConfigFromDisk()
|
/frameworks/av/media/libstagefright/foundation/ |
D | AString.cpp | 342 size_t suffixLen = strlen(suffix); in endsWith() local 344 if (mSize < suffixLen) { in endsWith() 348 return !strcmp(mData + mSize - suffixLen, suffix); in endsWith() 356 size_t suffixLen = strlen(suffix); in endsWithIgnoreCase() local 358 if (mSize < suffixLen) { in endsWithIgnoreCase() 362 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()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBDescriptor.m | 56 const size_t suffixLen = suffix != NULL ? strlen(suffix) : 0; 58 prefixLen + middleLen + suffixLen + 1; // include space for null on end. 71 memcpy(buffer + prefixLen + middleLen, suffix, suffixLen);
|