Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qstringalgorithms.h File Reference

(d849cb80a4ba468e2c6097ebfcab384ddaec8e67)

#include <QtCore/qbytearrayalgorithms.h>
#include <QtCore/qcontainerfwd.h>
#include <QtCore/qnamespace.h>
#include <QtCore/qstringfwd.h>
#include <algorithm>
#include <iterator>
#include <QtCore/q20type_traits.h>
+ Include dependency graph for qstringalgorithms.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QtPrivate
 \macro QT_NO_KEYWORDS >
 

Functions

Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::qustrlen (const char16_t *str) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::qustrnlen (const char16_t *str, qsizetype maxlen) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const char16_t * QtPrivate::qustrchr (QStringView str, char16_t ch) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION const char16_t * QtPrivate::qustrcasechr (QStringView str, char16_t ch) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int QtPrivate::compareStrings (QStringView lhs, QStringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int QtPrivate::compareStrings (QStringView lhs, QLatin1StringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int QtPrivate::compareStrings (QStringView lhs, QBasicUtf8StringView< false > rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int QtPrivate::compareStrings (QLatin1StringView lhs, QStringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int QtPrivate::compareStrings (QLatin1StringView lhs, QLatin1StringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int QtPrivate::compareStrings (QLatin1StringView lhs, QBasicUtf8StringView< false > rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int QtPrivate::compareStrings (QBasicUtf8StringView< false > lhs, QStringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int QtPrivate::compareStrings (QBasicUtf8StringView< false > lhs, QLatin1StringView rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION int QtPrivate::compareStrings (QBasicUtf8StringView< false > lhs, QBasicUtf8StringView< false > rhs, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::equalStrings (QStringView lhs, QStringView rhs) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::equalStrings (QStringView lhs, QLatin1StringView rhs) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::equalStrings (QStringView lhs, QBasicUtf8StringView< false > rhs) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::equalStrings (QLatin1StringView lhs, QStringView rhs) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::equalStrings (QLatin1StringView lhs, QLatin1StringView rhs) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::equalStrings (QLatin1StringView lhs, QBasicUtf8StringView< false > rhs) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::equalStrings (QBasicUtf8StringView< false > lhs, QStringView rhs) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::equalStrings (QBasicUtf8StringView< false > lhs, QLatin1StringView rhs) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::equalStrings (QBasicUtf8StringView< false > lhs, QBasicUtf8StringView< false > rhs) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::startsWith (QStringView haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::startsWith (QStringView haystack, QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::startsWith (QLatin1StringView haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::startsWith (QLatin1StringView haystack, QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::endsWith (QStringView haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::endsWith (QStringView haystack, QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::endsWith (QLatin1StringView haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::endsWith (QLatin1StringView haystack, QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::findStringInsensitive (QStringView haystack, qsizetype from, char16_t needle) noexcept
 
qsizetype QtPrivate::findString (QStringView str, qsizetype from, QChar needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::findString (QStringView haystack, qsizetype from, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::findString (QStringView haystack, qsizetype from, QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::findString (QLatin1StringView haystack, qsizetype from, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::findString (QLatin1StringView haystack, qsizetype from, QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::lastIndexOf (QStringView haystack, qsizetype from, char16_t needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::lastIndexOf (QStringView haystack, qsizetype from, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::lastIndexOf (QStringView haystack, qsizetype from, QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::lastIndexOf (QLatin1StringView haystack, qsizetype from, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::lastIndexOf (QLatin1StringView haystack, qsizetype from, QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QStringView QtPrivate::trimmed (QStringView s) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION QLatin1StringView QtPrivate::trimmed (QLatin1StringView s) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::isLower (QStringView s) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::isUpper (QStringView s) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::count (QStringView haystack, QChar needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::count (QStringView haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::count (QStringView haystack, QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::count (QLatin1StringView haystack, QLatin1StringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::count (QLatin1StringView haystack, QStringView needle, Qt::CaseSensitivity cs=Qt::CaseSensitive)
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION qsizetype QtPrivate::count (QLatin1StringView haystack, QChar needle, Qt::CaseSensitivity cs=Qt::CaseSensitive) noexcept
 
Q_CORE_EXPORT QString QtPrivate::convertToQString (QAnyStringView s)
 
Q_CORE_EXPORT QByteArray QtPrivate::convertToLatin1 (QStringView str)
 
Q_CORE_EXPORT QByteArray QtPrivate::convertToUtf8 (QStringView str)
 
Q_CORE_EXPORT QByteArray QtPrivate::convertToLocal8Bit (QStringView str)
 
Q_CORE_EXPORT QList< uintQtPrivate::convertToUcs4 (QStringView str)
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::isRightToLeft (QStringView string) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::isAscii (QLatin1StringView s) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::isAscii (QStringView s) noexcept
 
constexpr bool QtPrivate::isLatin1 (QLatin1StringView s) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::isLatin1 (QStringView s) noexcept
 
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION bool QtPrivate::isValidUtf16 (QStringView s) noexcept
 
template<typename Char , size_t N>
constexpr Q_ALWAYS_INLINE qsizetype QtPrivate::lengthHelperContainerLoop (const Char(&str)[N])
 
template<typename Char , size_t N>
constexpr Q_ALWAYS_INLINE std::enable_if_t< sizeof(Char)==sizeof(char16_t), qsizetypeQtPrivate::lengthHelperContainer (const Char(&str)[N])
 
qsizetype QtPrivate::qstrnlen_helper (const char *str, size_t maxlen)
 
template<typename Char , size_t N>
constexpr std::enable_if_t< sizeof(Char)==1, qsizetypeQtPrivate::lengthHelperContainer (const Char(&str)[N])
 
template<typename Container >
constexpr qsizetype QtPrivate::lengthHelperContainer (const Container &c) noexcept