Lines Matching refs:str
170 // returns true if suffix is empty, or if str ends with suffix
171 static bool issuffixfor(const SkString& suffix, const char str[]) {
173 size_t strLen = strlen(str);
176 memcmp(suffix.c_str(), str + strLen - suffixLen, suffixLen) == 0;
186 SkString str(self.fPath);
188 if (!str.endsWith("/") && !str.endsWith("\\")) {
189 str.append("/");
191 str.append(entry->d_name);
193 if (0 == stat(str.c_str(), &s)) {