Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
provider.cpp File Reference

(fb226262e8b371372fdc66b832b9eab24741f70d)

#include "provider.h"
#include "panic.h"
#include <qfile.h>
#include <qfileinfo.h>
#include <qtextstream.h>
#include <qregularexpression.h>
#include <qstring.h>
#include <qtpreprocessorsupport.h>
+ Include dependency graph for provider.cpp:

Go to the source code of this file.

Macros

#define TYPEDATA_ENTRY(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)
 

Macro Definition Documentation

◆ TYPEDATA_ENTRY

#define TYPEDATA_ENTRY ( type,
backendType )
Value:
static Tracepoint::Field::Type backendType(QString rawType)
Definition provider.cpp:102
GLenum type
[2]
#define QT_STRINGIFY(x)

Definition at line 99 of file provider.cpp.

Function Documentation

◆ arrayLength()

static int arrayLength ( const QString & rawType)
inlinestatic

Definition at line 52 of file provider.cpp.

◆ backendType()

static Tracepoint::Field::Type backendType ( QString rawType)
static

Definition at line 102 of file provider.cpp.

◆ decayArrayToPointer()

static QString decayArrayToPointer ( QString type)
static

Definition at line 82 of file provider.cpp.

◆ isPow2OrZero()

static bool isPow2OrZero ( quint32 value)
static

Definition at line 283 of file provider.cpp.

◆ minumumValueSize()

static int minumumValueSize ( int min,
int max )
static

Definition at line 267 of file provider.cpp.

Referenced by parseProvider().

+ Here is the caller graph for this function:

◆ parseProvider()

Provider parseProvider ( const QString & filename)

Definition at line 292 of file provider.cpp.

References QtPrivate::asString(), minumumValueSize(), QT_FORWARD_DECLARE_CLASS(), TraceEnum::EnumValue::range, TraceEnum::EnumValue::value, TraceFlags::FlagValue::value, and TraceEnum::valueSize.

+ Here is the call graph for this function:

◆ parseTracepoint()

static Tracepoint parseTracepoint ( const Provider & provider,
const QString & name,
const QStringList & args,
const QString & fileName,
const int lineNumber )
static

Definition at line 186 of file provider.cpp.

References QtPrivate::asString(), and TraceEnum::valueSize.

+ Here is the call graph for this function:

◆ pow2Log2()

static quint32 pow2Log2 ( quint32 v)
static

Definition at line 288 of file provider.cpp.

◆ removeBraces()

static QString removeBraces ( QString type)
static

Definition at line 92 of file provider.cpp.

◆ sequenceLength()

static QString sequenceLength ( const QString & rawType)
inlinestatic

Definition at line 66 of file provider.cpp.