Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkString.h28 bool SkStrEndsWith(const char string[], const char suffixStr[]);
120 bool endsWith(const char suffixStr[]) const { in endsWith() argument
121 return SkStrEndsWith(fRec->data(), suffixStr); in endsWith()
/external/skia/src/core/
DSkString.cpp39 bool SkStrEndsWith(const char string[], const char suffixStr[]) { in SkStrEndsWith() argument
41 SkASSERT(suffixStr); in SkStrEndsWith()
43 size_t suffixLen = strlen(suffixStr); in SkStrEndsWith()
45 !strncmp(string + strLen - suffixLen, suffixStr, suffixLen); in SkStrEndsWith()