![]() |
Qt 6.x
The Qt SDK
|
Go to the source code of this file.
Macros | |
#define | REHASH(a) |
Functions | |
static QT_BEGIN_NAMESPACE void | bm_init_skiptable (const uchar *cc, qsizetype len, uchar *skiptable) |
static qsizetype | bm_find (const uchar *cc, qsizetype l, qsizetype index, const uchar *puc, qsizetype pl, const uchar *skiptable) |
static qsizetype | findChar (const char *str, qsizetype len, char ch, qsizetype from) |
static qsizetype | qFindByteArrayBoyerMoore (const char *haystack, qsizetype haystackLen, qsizetype haystackOffset, const char *needle, qsizetype needleLen) |
qsizetype | qFindByteArray (const char *haystack0, qsizetype haystackLen, qsizetype from, const char *needle, qsizetype needleLen) |
#define REHASH | ( | a | ) |
Definition at line 247 of file qbytearraymatcher.cpp.
|
inlinestatic |
Definition at line 19 of file qbytearraymatcher.cpp.
Referenced by QByteArrayMatcher::indexIn(), QByteArrayMatcher::indexIn(), QStringMatcher::indexIn(), QStaticByteArrayMatcherBase::indexOfIn(), and qFindByteArrayBoyerMoore().
|
inlinestatic |
Definition at line 10 of file qbytearraymatcher.cpp.
References qMin().
Referenced by QByteArrayMatcher::QByteArrayMatcher(), QByteArrayMatcher::QByteArrayMatcher(), qFindByteArrayBoyerMoore(), and QByteArrayMatcher::setPattern().
Definition at line 216 of file qbytearraymatcher.cpp.
References ch, e, qMax(), and str.
Referenced by qFindByteArray().
qsizetype qFindByteArray | ( | const char * | haystack0, |
qsizetype | haystackLen, | ||
qsizetype | from, | ||
const char * | needle, | ||
qsizetype | needleLen | ||
) |
Definition at line 255 of file qbytearraymatcher.cpp.
References findChar(), qFindByteArrayBoyerMoore(), and REHASH.
Referenced by QtPrivate::findByteArray().
|
static |
Definition at line 235 of file qbytearraymatcher.cpp.
References bm_find(), and bm_init_skiptable().
Referenced by qFindByteArray().