Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 "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 2683 of file qbytearray.cpp.
Referenced by QtPrivate::findString(), and lastIndexOfHelper().
using CompressSizeHint_t = quint32 |
Definition at line 530 of file qbytearray.cpp.
|
strong |
Enumerator | |
---|---|
Compression | |
Decompression |
Definition at line 532 of file qbytearray.cpp.
Definition at line 54 of file qbytearray.cpp.
Definition at line 49 of file qbytearray.cpp.
|
inlinestaticnoexcept |
Definition at line 2860 of file qbytearray.cpp.
References ch.
Referenced by QByteArray::count(), and QtPrivate::count().
|
static |
Definition at line 552 of file qbytearray.cpp.
References zlibError().
Referenced by QByteArray::qCompress().
|
static |
Definition at line 570 of file qbytearray.cpp.
References Decompression, and zlibError().
Referenced by xxflate().
|
inlinestaticconstexpr |
Definition at line 3004 of file qbytearray.cpp.
Referenced by QByteArray::isUpper().
|
inlinestaticconstexpr |
Definition at line 2996 of file qbytearray.cpp.
Referenced by QByteArray::isLower(), and QByteArray::number().
|
inlinestaticnoexcept |
Definition at line 2769 of file qbytearray.cpp.
Referenced by QtPrivate::lastIndexOf(), and QtPrivate::lastIndexOf().
|
static |
Definition at line 2735 of file qbytearray.cpp.
References REHASH.
Referenced by QtPrivate::lastIndexOf().
|
static |
Definition at line 558 of file qbytearray.cpp.
References zlibError().
Referenced by QByteArray::qCompress().
|
static |
Definition at line 4719 of file qbytearray.cpp.
References ba, QByteArray::data(), i, QByteArray::isEmpty(), QByteArray::size(), and QByteArray::truncate().
Referenced by QByteArray::percentDecoded().
|
related |
Definition at line 671 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 346 of file qbytearray.cpp.
References QtMiscUtils::caseCompareAscii(), i, Q_ASSERT, qMin(), and s2.
Referenced by QByteArray::compare(), QByteArrayView::compare(), and parseHeaderName().
|
static |
Definition at line 4221 of file qbytearray.cpp.
References base, and qWarning.
Referenced by QByteArray::setNum(), and QByteArray::setNum().
|
static |
Definition at line 3265 of file qbytearray.cpp.
References ch.
|
static |
Definition at line 564 of file qbytearray.cpp.
References zlibError().
Referenced by QByteArray::qCompress(), and xxflate().
|
static |
Definition at line 576 of file qbytearray.cpp.
References QByteArray(), qWarning, and zlibOpAsString().
Referenced by xxflate().
|
static |
Definition at line 585 of file qbytearray.cpp.
References capacity, Decompression, QArrayData::GrowsAtEnd, init(), invalidCompressedData(), out, Q_ASSERT, QByteArray(), qScopeGuard(), tooMuchData(), and unexpectedZlibError().
Referenced by QByteArray::qCompress().
|
static |
Definition at line 545 of file qbytearray.cpp.
References QByteArray(), qWarning, and zlibOpAsString().
Referenced by dataIsNull(), invalidCompressedData(), lengthIsNegative(), and tooMuchData().
|
static |
Definition at line 535 of file qbytearray.cpp.
References Compression, and Decompression.
Referenced by unexpectedZlibError(), and zlibError().
|
static |
Definition at line 449 of file qbytearray.cpp.
Referenced by QByteArray::qChecksum().