![]() |
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>
Include dependency graph for qbytearray.cpp: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().
Here is the caller graph for this function:
|
static |
Definition at line 545 of file qbytearray.cpp.
References zlibError().
Referenced by QByteArray::qCompress().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticnoexcept |
Definition at line 2645 of file qbytearray.cpp.
References qMax().
Referenced by QtPrivate::findByteArray().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 563 of file qbytearray.cpp.
References Decompression, and zlibError().
Referenced by xxflate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticconstexpr |
Definition at line 2978 of file qbytearray.cpp.
Referenced by QByteArray::isUpper().
Here is the caller graph for this function:
|
inlinestaticconstexpr |
Definition at line 2970 of file qbytearray.cpp.
Referenced by QByteArray::isLower(), and QByteArray::number().
Here is the caller graph for this function:
|
inlinestaticnoexcept |
Definition at line 2744 of file qbytearray.cpp.
Referenced by QtPrivate::lastIndexOf().
Here is the caller graph for this function:
|
static |
Definition at line 2710 of file qbytearray.cpp.
References REHASH.
Referenced by QtPrivate::lastIndexOf().
Here is the caller graph for this function:
|
static |
Definition at line 551 of file qbytearray.cpp.
References zlibError().
Referenced by QByteArray::qCompress().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
related |
Definition at line 664 of file qbytearray.cpp.
Referenced by QByteArray::qCompress(), QSvgIconEngine::read(), QShader::serialized(), QSvgIconEngine::write(), QCacheItem::writeCompressedData(), and RCCFileInfo::writeDataBlob().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function: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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 4224 of file qbytearray.cpp.
References base, and qWarning.
Referenced by QByteArray::setNum(), and QByteArray::setNum().
Here is the caller graph for this function:
|
static |
Definition at line 3186 of file qbytearray.cpp.
References ch, QByteArray::constBegin(), and e.
Here is the call graph for this function:
|
static |
Definition at line 557 of file qbytearray.cpp.
References zlibError().
Referenced by QByteArray::qCompress(), and xxflate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 569 of file qbytearray.cpp.
References qWarning, and zlibOpAsString().
Referenced by xxflate().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 538 of file qbytearray.cpp.
References qWarning, and zlibOpAsString().
Referenced by dataIsNull(), invalidCompressedData(), lengthIsNegative(), and tooMuchData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 528 of file qbytearray.cpp.
References Compression, and Decompression.
Referenced by unexpectedZlibError(), and zlibError().
Here is the caller graph for this function:
|
static |
Definition at line 442 of file qbytearray.cpp.
Referenced by QByteArray::qChecksum().