![]() |
Qt 6.x
The Qt SDK
|
#include "qbytearray.h"
#include "qbytearraymatcher.h"
#include "private/qtools_p.h"
#include "qhashfunctions.h"
#include "qlist.h"
#include "qlocale_p.h"
#include "qlocale_tools_p.h"
#include "private/qnumeric_p.h"
#include "private/qsimd_p.h"
#include "qstringalgorithms_p.h"
#include "qscopedpointer.h"
#include "qbytearray_p.h"
#include "qstringconverter_p.h"
#include <qdatastream.h>
#include <qmath.h>
#include <zconf.h>
#include <zlib.h>
#include <qxpfunctional.h>
#include <ctype.h>
#include <limits.h>
#include <string.h>
#include <stdlib.h>
#include <algorithm>
Go to the source code of this file.
Macros | |
#define | REHASH(a) |
Typedefs | |
using | CompressSizeHint_t = quint32 |
Enumerations | |
enum class | ZLibOp : bool { Compression , Decompression } |
Variables | |
static const quint16 | crc_tbl [16] |
#define REHASH | ( | a | ) |
Definition at line 2640 of file qbytearray.cpp.
using CompressSizeHint_t = quint32 |
Definition at line 523 of file qbytearray.cpp.
|
strong |
Enumerator | |
---|---|
Compression | |
Decompression |
Definition at line 525 of file qbytearray.cpp.
Definition at line 47 of file qbytearray.cpp.
Definition at line 42 of file qbytearray.cpp.
|
inlinestaticnoexcept |
Definition at line 2834 of file qbytearray.cpp.
References ch.
Referenced by QByteArray::count(), and QtPrivate::count().
|
static |
Definition at line 545 of file qbytearray.cpp.
References zlibError().
Referenced by QByteArray::qCompress().
|
inlinestaticnoexcept |
Definition at line 2645 of file qbytearray.cpp.
References qMax().
Referenced by QtPrivate::findByteArray().
|
static |
Definition at line 563 of file qbytearray.cpp.
References Decompression, and zlibError().
Referenced by xxflate().
|
inlinestaticconstexpr |
Definition at line 2978 of file qbytearray.cpp.
Referenced by QByteArray::isUpper().
|
inlinestaticconstexpr |
Definition at line 2970 of file qbytearray.cpp.
Referenced by QByteArray::isLower(), and QByteArray::number().
|
inlinestaticnoexcept |
Definition at line 2744 of file qbytearray.cpp.
Referenced by QtPrivate::lastIndexOf().
|
static |
Definition at line 2710 of file qbytearray.cpp.
References REHASH.
Referenced by QtPrivate::lastIndexOf().
|
static |
Definition at line 551 of file qbytearray.cpp.
References zlibError().
Referenced by QByteArray::qCompress().
|
static |
Definition at line 4722 of file qbytearray.cpp.
References ba, QByteArray::data(), i, QByteArray::isEmpty(), QByteArray::size(), and QByteArray::truncate().
Referenced by QByteArray::percentDecoded().
|
related |
Definition at line 664 of file qbytearray.cpp.
Referenced by QByteArray::qCompress(), QSvgIconEngine::read(), QShader::serialized(), QSvgIconEngine::write(), QCacheItem::writeCompressedData(), and RCCFileInfo::writeDataBlob().
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().
A helper for QByteArray::compare. Compares len1 bytes from str1 to len2 bytes from str2. If len2 is -1, then str2 is expected to be '\0'-terminated.
Definition at line 339 of file qbytearray.cpp.
References QtMiscUtils::caseCompareAscii(), i, Q_ASSERT, qMin(), and s2.
Referenced by QByteArray::compare(), QByteArrayView::compare(), parseHeaderName(), and parseHeaderName().
|
static |
Definition at line 4224 of file qbytearray.cpp.
References base, and qWarning.
Referenced by QByteArray::setNum(), and QByteArray::setNum().
|
static |
Definition at line 3186 of file qbytearray.cpp.
References ch, QByteArray::constBegin(), and e.
|
static |
Definition at line 557 of file qbytearray.cpp.
References zlibError().
Referenced by QByteArray::qCompress(), and xxflate().
|
static |
Definition at line 569 of file qbytearray.cpp.
References qWarning, and zlibOpAsString().
Referenced by xxflate().
|
static |
Definition at line 578 of file qbytearray.cpp.
References capacity, Decompression, QArrayData::GrowsAtEnd, init(), invalidCompressedData(), out, Q_ASSERT, qScopeGuard(), tooMuchData(), and unexpectedZlibError().
Referenced by QByteArray::qCompress().
|
static |
Definition at line 538 of file qbytearray.cpp.
References qWarning, and zlibOpAsString().
Referenced by dataIsNull(), invalidCompressedData(), lengthIsNegative(), and tooMuchData().
|
static |
Definition at line 528 of file qbytearray.cpp.
References Compression, and Decompression.
Referenced by unexpectedZlibError(), and zlibError().
|
static |
Definition at line 442 of file qbytearray.cpp.
Referenced by QByteArray::qChecksum().