Lines Matching refs:caseSensitive
252 size_t find(const LChar* str, unsigned start, bool caseSensitive) const
253 { return caseSensitive ? find(str, start) : findIgnoringCase(str, start); }
254 size_t find(const String& str, unsigned start, bool caseSensitive) const
255 { return caseSensitive ? find(str, start) : findIgnoringCase(str, start); }
256 size_t reverseFind(const String& str, unsigned start, bool caseSensitive) const
257 { return caseSensitive ? reverseFind(str, start) : reverseFindIgnoringCase(str, start); }
274 bool contains(const LChar* str, bool caseSensitive = true) const { return find(str, 0, caseSensitive) != notFound; }
275 bool contains(const String& str, bool caseSensitive = true) const { return find(str, 0, caseSensitive) != notFound; }
277 bool startsWith(const String& s, bool caseSensitive = true) const
278 { return m_impl ? m_impl->startsWith(s.impl(), caseSensitive) : s.isEmpty(); }
282 bool startsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const
283 { return m_impl ? m_impl->startsWith<matchLength>(prefix, caseSensitive) : !matchLength; }
285 bool endsWith(const String& s, bool caseSensitive = true) const
286 { return m_impl ? m_impl->endsWith(s.impl(), caseSensitive) : s.isEmpty(); }
290 bool endsWith(const char (&prefix)[matchLength], bool caseSensitive = true) const
291 { return m_impl ? m_impl->endsWith<matchLength>(prefix, caseSensitive) : !matchLength; }