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
qbytearraymatcher.cpp File Reference

(9e479614d95a0859491ef8cbcc79a3a92f18a649)

#include "qbytearraymatcher.h"
#include <qtconfiginclude.h>
#include <private/qtcore-config_p.h>
#include <limits.h>
Include dependency graph for qbytearraymatcher.cpp:

Go to the source code of this file.

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 Q_NEVER_INLINE qsizetype qFindByteArrayBoyerMoore (const char *haystack, qsizetype haystackLen, qsizetype haystackOffset, const char *needle, qsizetype needleLen)
static qsizetype qFindByteArray (const char *haystack0, qsizetype l, qsizetype from, const char *needle, qsizetype sl)

Function Documentation

◆ bm_find()

qsizetype bm_find ( const uchar * cc,
qsizetype l,
qsizetype index,
const uchar * puc,
qsizetype pl,
const uchar * skiptable )
inlinestatic

Definition at line 25 of file qbytearraymatcher.cpp.

◆ bm_init_skiptable()

QT_BEGIN_NAMESPACE void bm_init_skiptable ( const uchar * cc,
qsizetype len,
uchar * skiptable )
inlinestatic

Definition at line 16 of file qbytearraymatcher.cpp.

◆ qFindByteArray()

qsizetype qFindByteArray ( const char * haystack0,
qsizetype l,
qsizetype from,
const char * needle,
qsizetype sl )
static

Definition at line 276 of file qbytearraymatcher.cpp.

◆ qFindByteArrayBoyerMoore()

Q_NEVER_INLINE qsizetype qFindByteArrayBoyerMoore ( const char * haystack,
qsizetype haystackLen,
qsizetype haystackOffset,
const char * needle,
qsizetype needleLen )
static

Definition at line 225 of file qbytearraymatcher.cpp.