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>.
Loading...
Searching...
No Matches
qdnslookup.cpp File Reference

(4503dabfbd11c084c2781a679c9af12d5fb8f763)

#include "qdnslookup.h"
#include "qdnslookup_p.h"
#include <qapplicationstatic.h>
#include <qcoreapplication.h>
#include <qdatetime.h>
#include <qendian.h>
#include <qloggingcategory.h>
#include <qrandom.h>
#include <qspan.h>
#include <qurl.h>
#include <algorithm>
#include "moc_qdnslookup.cpp"
#include "moc_qdnslookup_p.cpp"
+ Include dependency graph for qdnslookup.cpp:

Go to the source code of this file.

Functions

static Q_LOGGING_CATEGORY (lcDnsLookup, "qt.network.dnslookup", QtCriticalMsg) namespace
 
 Q_APPLICATION_STATIC (QDnsLookupThreadPool, theDnsLookupThreadPool)
 
static bool qt_qdnsmailexchangerecord_less_than (const QDnsMailExchangeRecord &r1, const QDnsMailExchangeRecord &r2)
 
static void qt_qdnsmailexchangerecord_sort (QList< QDnsMailExchangeRecord > &records)
 
static bool qt_qdnsservicerecord_less_than (const QDnsServiceRecord &r1, const QDnsServiceRecord &r2)
 
static void qt_qdnsservicerecord_sort (QList< QDnsServiceRecord > &records)
 
static QDnsLookupRunnable::EncodedLabel encodeLabel (const QString &label)
 
QDebug operator<< (QDebug &d, QDnsLookupRunnable *r)
 

Function Documentation

◆ encodeLabel()

static QDnsLookupRunnable::EncodedLabel encodeLabel ( const QString & label)
static

Definition at line 1498 of file qdnslookup.cpp.

References ForbidLeadingDot, qt_ACE_do(), and ToAceOnly.

+ Here is the call graph for this function:

◆ operator<<()

QDebug operator<< ( QDebug & d,
QDnsLookupRunnable * r )
inline

Definition at line 1565 of file qdnslookup.cpp.

◆ Q_APPLICATION_STATIC()

Q_APPLICATION_STATIC ( QDnsLookupThreadPool ,
theDnsLookupThreadPool  )

◆ Q_LOGGING_CATEGORY()

static Q_LOGGING_CATEGORY ( lcDnsLookup ,
"qt.network.dnslookup" ,
QtCriticalMsg  )
static

Definition at line 27 of file qdnslookup.cpp.

◆ qt_qdnsmailexchangerecord_less_than()

static bool qt_qdnsmailexchangerecord_less_than ( const QDnsMailExchangeRecord & r1,
const QDnsMailExchangeRecord & r2 )
static

Definition at line 42 of file qdnslookup.cpp.

References r1, and r2.

Referenced by qt_qdnsmailexchangerecord_sort().

+ Here is the caller graph for this function:

◆ qt_qdnsmailexchangerecord_sort()

static void qt_qdnsmailexchangerecord_sort ( QList< QDnsMailExchangeRecord > & records)
static

Definition at line 52 of file qdnslookup.cpp.

References QRandomGenerator::global(), i, j, pos, and qt_qdnsmailexchangerecord_less_than().

Referenced by QDnsLookupRunnable::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_qdnsservicerecord_less_than()

static bool qt_qdnsservicerecord_less_than ( const QDnsServiceRecord & r1,
const QDnsServiceRecord & r2 )
static

Definition at line 81 of file qdnslookup.cpp.

References r1, and r2.

Referenced by qt_qdnsservicerecord_sort().

+ Here is the caller graph for this function:

◆ qt_qdnsservicerecord_sort()

static void qt_qdnsservicerecord_sort ( QList< QDnsServiceRecord > & records)
static

Definition at line 94 of file qdnslookup.cpp.

References QRandomGenerator::global(), i, j, qDebug, qPrintable, and qt_qdnsservicerecord_less_than().

Referenced by QDnsLookupRunnable::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: