Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qhsts.cpp File Reference
#include "qhsts_p.h"
#include "QtCore/private/qipaddress_p.h"
#include "QtCore/qlist.h"
+ Include dependency graph for qhsts.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE bool is_valid_domain_name (const QString &host)
 
static bool isCHAR (int c)
 
static bool isCTL (int c)
 
static bool isLWS (int c)
 
static bool isTEXT (char c)
 
static bool isSeparator (char c)
 
static QByteArray unescapeMaxAge (const QByteArray &value)
 
static bool isTOKEN (char c)
 

Function Documentation

◆ is_valid_domain_name()

static QT_BEGIN_NAMESPACE bool is_valid_domain_name ( const QString host)
static

Definition at line 15 of file qhsts.cpp.

References QString::constBegin(), QString::constEnd(), parseIp6(), and QString::size().

Referenced by QHstsCache::isKnownHost().

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

◆ isCHAR()

static bool isCHAR ( int  c)
static

Definition at line 242 of file qhsts.cpp.

Referenced by isTOKEN().

+ Here is the caller graph for this function:

◆ isCTL()

static bool isCTL ( int  c)
static

Definition at line 248 of file qhsts.cpp.

Referenced by isTEXT(), and isTOKEN().

+ Here is the caller graph for this function:

◆ isLWS()

static bool isLWS ( int  c)
static

Definition at line 256 of file qhsts.cpp.

Referenced by isSeparator(), isTEXT(), and parseHttpOptionHeader().

+ Here is the caller graph for this function:

◆ isSeparator()

static bool isSeparator ( char  c)
static

Definition at line 278 of file qhsts.cpp.

References isLWS().

Referenced by isTOKEN(), QComboBoxDelegate::paint(), parseHttpOptionHeader(), QWindowsMenuItem::setIsSeparator(), QIOSMenuItem::setIsSeparator(), and QComboBoxDelegate::sizeHint().

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

◆ isTEXT()

static bool isTEXT ( char  c)
static

Definition at line 271 of file qhsts.cpp.

References isCTL(), and isLWS().

+ Here is the call graph for this function:

◆ isTOKEN()

static bool isTOKEN ( char  c)
static

Definition at line 298 of file qhsts.cpp.

References isCHAR(), isCTL(), and isSeparator().

+ Here is the call graph for this function:

◆ unescapeMaxAge()

static QByteArray unescapeMaxAge ( const QByteArray value)
static

Definition at line 289 of file qhsts.cpp.

References Q_ASSERT.