(b2764f780261f365005a80f5381925152df11bfb)
#include "qurl_p.h"
#include <QtCore/qstringlist.h>
#include <QtCore/private/qnumeric_p.h>
#include <QtCore/private/qoffsetstringarray_p.h>
#include <QtCore/private/qstringiterator_p.h>
#include <QtCore/private/qunicodetables_p.h>
#include <algorithm>
Go to the source code of this file.
|
static uint | encodeDigit (uint digit) |
|
static uint | adapt (uint delta, uint numpoints, bool firsttime) |
|
static void | appendEncode (QString *output, uint delta, uint bias) |
|
Q_AUTOTEST_EXPORT void | qt_punycodeEncoder (QStringView in, QString *output) |
|
Q_AUTOTEST_EXPORT QString | qt_punycodeDecoder (const QString &pc) |
|
static bool | lessThan (const QChar *a, int l, const char *c) |
|
static bool | equal (const QChar *a, int l, const char *b) |
|
static bool | qt_is_idn_enabled (QStringView aceDomain) |
|
template<typename C > |
static bool | isValidInNormalizedAsciiLabel (C c) |
|
template<typename C > |
static bool | isValidInNormalizedAsciiName (C c) |
|
static QString | mapDomainName (const QString &in, QUrl::AceProcessingOptions options, bool *resultIsAscii) |
|
static bool | validateAsciiLabel (QStringView label) |
|
static QString | convertToAscii (QStringView normalizedDomain, AceLeadingDot dot) |
|
static bool | checkAsciiDomainName (QStringView normalizedDomain, AceLeadingDot dot, bool *usesPunycode) |
|
static QString | convertToUnicode (const QString &asciiDomain, QUrl::AceProcessingOptions options) |
|
static bool | checkUnicodeName (const QString &domainName, QUrl::AceProcessingOptions options) |
|
QString | qt_ACE_do (const QString &domain, AceOperation op, AceLeadingDot dot, QUrl::AceProcessingOptions options) |
|
◆ adapt()
static uint adapt |
( |
uint | delta, |
|
|
uint | numpoints, |
|
|
bool | firsttime ) |
|
inlinestatic |
◆ appendEncode()
◆ checkAsciiDomainName()
◆ checkUnicodeName()
static bool checkUnicodeName |
( |
const QString & | domainName, |
|
|
QUrl::AceProcessingOptions | options ) |
|
static |
◆ convertToAscii()
◆ convertToUnicode()
static QString convertToUnicode |
( |
const QString & | asciiDomain, |
|
|
QUrl::AceProcessingOptions | options ) |
|
static |
◆ encodeDigit()
◆ equal()
static bool equal |
( |
const QChar * | a, |
|
|
int | l, |
|
|
const char * | b ) |
|
static |
◆ isValidInNormalizedAsciiLabel()
template<typename C >
static bool isValidInNormalizedAsciiLabel |
( |
C | c | ) |
|
|
inlinestatic |
◆ isValidInNormalizedAsciiName()
template<typename C >
static bool isValidInNormalizedAsciiName |
( |
C | c | ) |
|
|
inlinestatic |
◆ lessThan()
static bool lessThan |
( |
const QChar * | a, |
|
|
int | l, |
|
|
const char * | c ) |
|
static |
◆ mapDomainName()
static QString mapDomainName |
( |
const QString & | in, |
|
|
QUrl::AceProcessingOptions | options, |
|
|
bool * | resultIsAscii ) |
|
static |
◆ qt_ACE_do()
◆ qt_is_idn_enabled()
◆ qt_punycodeDecoder()
◆ qt_punycodeEncoder()
◆ validateAsciiLabel()
◆ base
static const uint base = 36 |
|
static |
◆ damp
static const uint damp = 700 |
|
static |
◆ idn_whitelist
static constexpr auto idn_whitelist |
|
staticconstexpr |
◆ initial_bias
static const uint initial_bias = 72 |
|
static |
◆ initial_n
static const uint initial_n = 128 |
|
static |
◆ MaxDomainLabelLength
static constexpr qsizetype MaxDomainLabelLength = 63 |
|
staticconstexpr |
◆ skew
static const uint skew = 38 |
|
static |
◆ tmax
static const uint tmax = 26 |
|
static |
◆ tmin
static const uint tmin = 1 |
|
static |
◆ user_idn_whitelist