Qt 4.8
|
#include "qbytearray.h"
#include "qbytearraymatcher.h"
#include "qtools_p.h"
#include "qstring.h"
#include "qlist.h"
#include "qlocale.h"
#include "qlocale_p.h"
#include "qscopedpointer.h"
#include <qdatastream.h>
#include <zlib.h>
#include <ctype.h>
#include <limits.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Macros | |
#define | IS_RAW_DATA(d) ((d)->data != (d)->array) |
#define | REHASH(a) |
Functions | |
static int | lastIndexOfHelper (const char *haystack, int l, const char *needle, int ol, int from) |
static void | q_fromPercentEncoding (QByteArray *ba, char percent) |
void | q_fromPercentEncoding (QByteArray *ba) |
void | q_normalizePercentEncoding (QByteArray *ba, const char *exclude) |
static bool | q_strchr (const char str[], char chr) |
static void | q_toPercentEncoding (QByteArray *ba, const char *dontEncode, const char *alsoEncode, char percent) |
void | q_toPercentEncoding (QByteArray *ba, const char *exclude, const char *include) |
int | qAllocMore (int alloc, int extra) |
static QByteArray & | qbytearray_insert (QByteArray *ba, int pos, const char *arr, int len) |
Inserts len bytes from the array arr at position pos and returns a reference the modified byte array. More... | |
int | qFindByteArray (const char *haystack0, int haystackLen, int from, const char *needle0, int needleLen) |
static bool | qIsUpper (char c) |
int | qstrcmp (const QByteArray &str1, const char *str2) |
int | qstrcmp (const QByteArray &str1, const QByteArray &str2) |
static char | qToLower (char c) |
static char | toHexHelper (char c) |
Variables | |
static const quint16 | crc_tbl [16] |
Definition at line 60 of file qbytearray.cpp.
Referenced by QByteArray::append(), and QByteArray::prepend().
#define REHASH | ( | a | ) |
Definition at line 2372 of file qbytearray.cpp.
Referenced by lastIndexOfHelper().
|
static |
|
static |
Definition at line 4291 of file qbytearray.cpp.
Referenced by QByteArray::fromPercentEncoding(), q_fromPercentEncoding(), and q_normalizePercentEncoding().
void q_fromPercentEncoding | ( | QByteArray * | ba | ) |
Definition at line 4331 of file qbytearray.cpp.
Referenced by fromPercentEncodingHelper(), and fromPercentEncodingMutable().
void q_normalizePercentEncoding | ( | QByteArray * | ba, |
const char * | exclude | ||
) |
Definition at line 4429 of file qbytearray.cpp.
Referenced by QUrlPrivate::normalized().
|
inlinestatic |
|
static |
Definition at line 4384 of file qbytearray.cpp.
Referenced by q_normalizePercentEncoding(), q_toPercentEncoding(), and QByteArray::toPercentEncoding().
void q_toPercentEncoding | ( | QByteArray * | ba, |
const char * | exclude, | ||
const char * | include | ||
) |
Definition at line 4424 of file qbytearray.cpp.
Referenced by toPercentEncodingHelper().
int qAllocMore | ( | int | alloc, |
int | extra | ||
) |
Definition at line 70 of file qbytearray.cpp.
Referenced by QByteArray::append(), QFragmentMapData< QTextBlockData >::createFragment(), grow(), QVectorData::grow(), QString::grow(), and QByteArray::prepend().
|
inlinestatic |
Inserts len bytes from the array arr at position pos and returns a reference the modified byte array.
Definition at line 1834 of file qbytearray.cpp.
Referenced by QByteArray::insert(), and QByteArray::replace().
int qFindByteArray | ( | const char * | haystack0, |
int | haystackLen, | ||
int | from, | ||
const char * | needle, | ||
int | needleLen | ||
) |
Definition at line 275 of file qbytearraymatcher.cpp.
Referenced by QByteArray::indexOf().
|
inlinestatic |
Definition at line 637 of file qbytearray.cpp.
Referenced by QByteArray::setNum().
int qstrcmp | ( | const QByteArray & | str1, |
const char * | str2 | ||
) |
Definition at line 336 of file qbytearray.cpp.
Referenced by QAccessibleObjectPrivate::actionList(), QDBusAdaptorConnector::addAdaptor(), QPrintPropertiesDialog::addItemToOptions(), QAudioDeviceInfoInternal::availableDevices(), QLocalePrivate::bytearrayToDouble(), QMetaObject::checkConnectArgs(), QCUPSSupport::collectMarkedOptionsHelper(), QPSQLDriver::commitTransaction(), QTest::compare_string_helper(), QFutureWatcherBase::connectNotify(), QNetworkSession::connectNotify(), QDBusAbstractInterface::connectNotify(), QAxClass< T >::createObject(), QDeclarativeVisualDataModelDataMetaObject::createProperty(), QScript::QMetaObjectWrapperObject::deleteProperty(), QFutureWatcherBase::disconnectNotify(), QNetworkSession::disconnectNotify(), QProxyStylePrivate::ensureBaseStyle(), QScript::QMetaObjectWrapperObject::getOwnPropertyDescriptor(), QScript::QMetaObjectWrapperObject::getOwnPropertySlot(), getStyle(), QObject::inherits(), QDeclarativeJS::integerFromString(), QScript::integerFromString(), QMetaMethod::invoke(), isProcessBeingDebugged(), QObject::killTimer(), QStyleSheetStyle::nativeFrameWidth(), QStyleSheetStyleSelector::nodeNameEquals(), QStyleSheetStyleSelector::nodeNames(), operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), QCUPSSupport::pageRect(), QCUPSSupport::paperRect(), parentWidget(), QPPDOptionsModel::parseChoices(), QCUPSSupport::ppdOption(), QApplicationPrivate::process_cmdline(), QVideoSurfaceFormat::property(), QScript::QMetaObjectWrapperObject::put(), QTest::qExec(), QTest::qInvokeTestMethod(), QRenderRule::QRenderRule(), QSQLite2DriverPrivate::QSQLite2DriverPrivate(), qt_check_if_internal_widget(), qt_init(), QAxObject::qt_metacast(), QAxWidget::qt_metacast(), QAxHostWidget::qt_metacast(), qt_parseEtcLpPrinters(), QBBSystemLocaleData::readHourFormat(), QBBSystemLocaleData::readMeasurementSystem(), QCUPSSupport::saveOptions(), QWizard::setDefaultProperty(), QFontDialogPrivate::setFont(), QObject::setObjectName(), QVideoSurfaceFormat::setProperty(), QDBusConnectionInterface::unregisterService(), and QAccessible::updateAccessibility().
int qstrcmp | ( | const QByteArray & | str1, |
const QByteArray & | str2 | ||
) |
Definition at line 363 of file qbytearray.cpp.
|
inlinestatic |
Definition at line 642 of file qbytearray.cpp.
Referenced by QByteArray::setNum().
|
inlinestatic |
|
static |
Definition at line 413 of file qbytearray.cpp.
Referenced by QByteArray::qChecksum(), and qstrcmp().