![]() |
Qt 6.x
The Qt SDK
|
#include "provider.h"
#include "panic.h"
#include <qfile.h>
#include <qfileinfo.h>
#include <qtextstream.h>
#include <qregularexpression.h>
#include <qstring.h>
#include <qtpreprocessorsupport.h>
Go to the source code of this file.
Macros | |
#define | TYPEDATA_ENTRY(type, backendType) { QT_STRINGIFY(type), backendType } |
Functions | |
static int | arrayLength (const QString &rawType) |
static QString | sequenceLength (const QString &rawType) |
static QString | decayArrayToPointer (QString type) |
static QString | removeBraces (QString type) |
static Tracepoint::Field::Type | backendType (QString rawType) |
static Tracepoint | parseTracepoint (const Provider &provider, const QString &name, const QStringList &args, const QString &fileName, const int lineNumber) |
static int | minumumValueSize (int min, int max) |
static bool | isPow2OrZero (quint32 value) |
static quint32 | pow2Log2 (quint32 v) |
Provider | parseProvider (const QString &filename) |
#define TYPEDATA_ENTRY | ( | type, | |
backendType | |||
) | { QT_STRINGIFY(type), backendType } |
Definition at line 99 of file provider.cpp.
|
inlinestatic |
Definition at line 52 of file provider.cpp.
References match(), QStringLiteral, and rx().
Referenced by backendType(), QNetworkReplyWasmImplPrivate::doSendRequest(), AndroidCameraPrivate::fetchLastPreviewFrame(), QV4::ArrayPrototype::method_join(), QQuickJSContext2DPrototype::method_setLineDash(), notifyNewPreviewFrame(), notifyPictureCaptured(), QQmlDelegateModelItemMetaType::parseGroups(), parseTracepoint(), ListModel::set(), and ListModel::set().
|
static |
Definition at line 102 of file provider.cpp.
References arrayLength(), backendType(), Tracepoint::Field::Boolean, d, QString::endsWith(), Tracepoint::Field::Float, i, Tracepoint::Field::Integer, Tracepoint::Field::IntegerHex, Tracepoint::Field::Pointer, QStringLiteral, Tracepoint::Field::QtByteArray, Tracepoint::Field::QtRect, Tracepoint::Field::QtRectF, Tracepoint::Field::QtSize, Tracepoint::Field::QtSizeF, Tracepoint::Field::QtString, Tracepoint::Field::QtUrl, QString::remove(), removeBraces(), QString::replace(), Tracepoint::Field::Sequence, sequenceLength(), Tracepoint::Field::String, QString::trimmed(), TYPEDATA_ENTRY, unknown, and Tracepoint::Field::Unknown.
Referenced by backendType(), and parseTracepoint().
Definition at line 82 of file provider.cpp.
References QStringLiteral, and rx().
Referenced by parseTracepoint().
|
static |
Definition at line 283 of file provider.cpp.
Referenced by parseProvider().
|
static |
Definition at line 267 of file provider.cpp.
Referenced by parseProvider().
Definition at line 292 of file provider.cpp.
References args, QFileInfo::baseName(), QList< T >::constBegin(), QList< T >::constEnd(), Provider::enumerations, Provider::flags, i, QString::isEmpty(), isPow2OrZero(), line, QRegularExpression::match(), match(), minumumValueSize(), TraceEnum::name, TraceFlags::name, Provider::name, panic(), parseTracepoint(), pow2Log2(), Provider::prefixText, QList< T >::push_back(), qDebug, qMax(), qMin(), qPrintable, QStringLiteral, QIODeviceBase::ReadOnly, Qt::SkipEmptyParts, QString::split(), QString::startsWith(), QIODeviceBase::Text, Provider::tracepoints, QString::trimmed(), TraceEnum::values, TraceFlags::values, and TraceEnum::valueSize.
Referenced by main().
|
static |
Definition at line 186 of file provider.cpp.
References args, Tracepoint::Field::arrayLen, arrayLength(), backendType(), Tracepoint::Field::backendType, QList< T >::constBegin(), QList< T >::constEnd(), decayArrayToPointer(), e, Tracepoint::Field::EnumeratedType, Provider::enumerations, Tracepoint::Field::enumValueSize, fileName, Provider::flags, Tracepoint::Field::FlagType, i, QList< T >::isEmpty(), match(), Tracepoint::Field::name, panic(), Tracepoint::Field::paramType, qPrintable, QStringLiteral, removeBraces(), rx(), Tracepoint::Field::seqLen, and sequenceLength().
Referenced by parseProvider().
Definition at line 288 of file provider.cpp.
References qCountLeadingZeroBits().
Referenced by parseProvider().
Definition at line 92 of file provider.cpp.
References QStringLiteral, and rx().
Referenced by backendType(), and parseTracepoint().
Definition at line 66 of file provider.cpp.
References match(), QStringLiteral, and rx().
Referenced by backendType(), and parseTracepoint().