Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qstringmatcher.cpp File Reference

(9e479614d95a0859491ef8cbcc79a3a92f18a649)

#include "qstringmatcher.h"
Include dependency graph for qstringmatcher.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void bm_init_skiptable (QStringView needle, uchar *skiptable, Qt::CaseSensitivity cs)
static qsizetype bm_find (QStringView haystack, qsizetype index, QStringView needle, const uchar *skiptable, Qt::CaseSensitivity cs)
qsizetype qFindStringBoyerMoore (QStringView haystack, qsizetype haystackOffset, QStringView needle, Qt::CaseSensitivity cs)

Variables

static QT_BEGIN_NAMESPACE constexpr qsizetype FoldBufferCapacity = 256

Function Documentation

◆ bm_find()

qsizetype bm_find ( QStringView haystack,
qsizetype index,
QStringView needle,
const uchar * skiptable,
Qt::CaseSensitivity cs )
inlinestatic

Definition at line 34 of file qstringmatcher.cpp.

◆ bm_init_skiptable()

void bm_init_skiptable ( QStringView needle,
uchar * skiptable,
Qt::CaseSensitivity cs )
static

Definition at line 12 of file qstringmatcher.cpp.

References foldCase().

Here is the call graph for this function:

◆ qFindStringBoyerMoore()

qsizetype qFindStringBoyerMoore ( QStringView haystack,
qsizetype haystackOffset,
QStringView needle,
Qt::CaseSensitivity cs )

Definition at line 323 of file qstringmatcher.cpp.

Variable Documentation

◆ FoldBufferCapacity

QT_BEGIN_NAMESPACE constexpr qsizetype FoldBufferCapacity = 256
staticconstexpr

Definition at line 10 of file qstringmatcher.cpp.