Home | History | Annotate | Download | only in text

Lines Matching refs:caseSensitive

246     size_t find(const LChar* str, unsigned start, bool caseSensitive) const
247 { return caseSensitive ? find(str, start) : findIgnoringCase(str, start); }
248 size_t find(const String& str, unsigned start, bool caseSensitive) const
249 { return caseSensitive ? find(str, start) : findIgnoringCase(str, start); }
250 size_t reverseFind(const String& str, unsigned start, bool caseSensitive) const
251 { return caseSensitive ? reverseFind(str, start) : reverseFindIgnoringCase(str, start); }
268 bool contains(const LChar* str, bool caseSensitive = true) const { return find(str, 0, caseSensitive) != kNotFound; }
269 bool contains(const String& str, bool caseSensitive = true) const { return find(str, 0, caseSensitive) != kNotFound; }
271 bool startsWith(const String& s, bool caseSensitive = true) const
272 { return m_impl ? m_impl->startsWith(s.impl(), caseSensitive) : s.isEmpty(); }
276 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const
277 { return m_impl ? m_impl->startsWith<matchLength>(prefix, caseSensitive) : !matchLength; }
279 bool endsWith(const String& s, bool caseSensitive = true) const
280 { return m_impl ? m_impl->endsWith(s.impl(), caseSensitive) : s.isEmpty(); }
284 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const
285 { return m_impl ? m_impl->endsWith<matchLength>(prefix, caseSensitive) : !matchLength; }