Classes | Macros | Functions | Variables
qstring.cpp File Reference
#include "qstring.h"
#include "qregexp.h"
#include "qdatastream.h"
#include "qtextcodec.h"
#include "qstack.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
#include <limits.h>

Go to the source code of this file.

Classes

class  QLigature
 
class  QBidiState
 

Macros

#define NEG1   (QChar::Direction)(-1)
 
#define QT_ALLOC_QCHAR_VEC(N)   (QChar*) new char[ sizeof(QChar)*( N ) ]
 
#define QT_DELETE_QCHAR_VEC(P)   delete[] ((char*)( P ))
 
#define Q2HELPER(x)
 

Functions

static int ucstrcmp (const QString &as, const QString &bs)
 
static int ucstrncmp (const QChar *a, const QChar *b, int l)
 
static int ucstrnicmp (const QChar *a, const QChar *b, int l)
 
static bool format (QChar::Decomposition tag, QString &str, int index, int len)
 
static bool is_neutral (unsigned short dir)
 
static unsigned int reverse (QString &chars, unsigned char *level, unsigned int a, unsigned int b)
 
static QCharinternalAsciiToUnicode (const QByteArray &ba, uint *len)
 
static QCharinternalAsciiToUnicode (const char *str, uint *len, uint maxlen=(uint)-1)
 
static uint computeNewMax (uint len)
 
static bool ok_in_base (QChar c, int base)
 
bool operator== (const QString &s1, const QString &s2)
 
bool operator!= (const QString &s1, const QString &s2)
 
bool operator< (const QString &s1, const QString &s2)
 
bool operator<= (const QString &s1, const QString &s2)
 
bool operator> (const QString &s1, const QString &s2)
 
bool operator>= (const QString &s1, const QString &s2)
 
bool operator== (const QString &s1, const char *s2)
 
bool operator== (const char *s1, const QString &s2)
 
bool operator!= (const QString &s1, const char *s2)
 
bool operator!= (const char *s1, const QString &s2)
 
bool operator< (const QString &s1, const char *s2)
 
bool operator< (const char *s1, const QString &s2)
 
bool operator<= (const QString &s1, const char *s2)
 
bool operator<= (const char *s1, const QString &s2)
 
bool operator> (const QString &s1, const char *s2)
 
bool operator> (const char *s1, const QString &s2)
 
bool operator>= (const QString &s1, const char *s2)
 
bool operator>= (const char *s1, const QString &s2)
 

Variables

static const Q_UINT8 ui_00 []
 
static const Q_UINT8 ui_01 []
 
static const Q_UINT8 ui_02 []
 
static const Q_UINT8 ui_03 []
 
static const Q_UINT8 ui_04 []
 
static const Q_UINT8 ui_05 []
 
static const Q_UINT8 ui_06 []
 
static const Q_UINT8 ui_07 []
 
static const Q_UINT8 ui_08 []
 
static const Q_UINT8 ui_09 []
 
static const Q_UINT8 ui_0A []
 
static const Q_UINT8 ui_0B []
 
static const Q_UINT8 ui_0C []
 
static const Q_UINT8 ui_0D []
 
static const Q_UINT8 ui_0E []
 
static const Q_UINT8 ui_0F []
 
static const Q_UINT8 ui_10 []
 
static const Q_UINT8 ui_11 []
 
static const Q_UINT8 ui_12 []
 
static const Q_UINT8 ui_13 []
 
static const Q_UINT8 ui_14 []
 
static const Q_UINT8 ui_15 []
 
static const Q_UINT8 ui_16 []
 
static const Q_UINT8 ui_17 []
 
static const Q_UINT8 ui_18 []
 
static const Q_UINT8 ui_1E []
 
static const Q_UINT8 ui_1F []
 
static const Q_UINT8 ui_20 []
 
static const Q_UINT8 ui_21 []
 
static const Q_UINT8 ui_22 []
 
static const Q_UINT8 ui_23 []
 
static const Q_UINT8 ui_24 []
 
static const Q_UINT8 ui_25 []
 
static const Q_UINT8 ui_26 []
 
static const Q_UINT8 ui_27 []
 
static const Q_UINT8 ui_28 []
 
static const Q_UINT8 ui_2E []
 
static const Q_UINT8 ui_2F []
 
static const Q_UINT8 ui_30 []
 
static const Q_UINT8 ui_31 []
 
static const Q_UINT8 ui_32 []
 
static const Q_UINT8 ui_33 []
 
static const Q_UINT8 ui_34 []
 
static const Q_UINT8 ui_4D []
 
static const Q_UINT8 ui_9F []
 
static const Q_UINT8 ui_A4 []
 
static const Q_UINT8 ui_D7 []
 
static const Q_UINT8 ui_D8 []
 
static const Q_UINT8 ui_DB []
 
static const Q_UINT8 ui_DF []
 
static const Q_UINT8 ui_E0 []
 
static const Q_UINT8 ui_F8 []
 
static const Q_UINT8 ui_FA []
 
static const Q_UINT8 ui_FB []
 
static const Q_UINT8 ui_FD []
 
static const Q_UINT8 ui_FE []
 
static const Q_UINT8 ui_FF []
 
static const Q_UINT8 *const unicode_info [256]
 
static const Q_UINT16 decomposition_map []
 
static const Q_UINT16 di_00 []
 
static const Q_UINT16 di_01 []
 
static const Q_UINT16 di_02 []
 
static const Q_UINT16 di_03 []
 
static const Q_UINT16 di_04 []
 
static const Q_UINT16 di_05 []
 
static const Q_UINT16 di_06 []
 
static const Q_UINT16 di_07 []
 
static const Q_UINT16 di_09 []
 
static const Q_UINT16 di_0A []
 
static const Q_UINT16 di_0B []
 
static const Q_UINT16 di_0C []
 
static const Q_UINT16 di_0D []
 
static const Q_UINT16 di_0E []
 
static const Q_UINT16 di_0F []
 
static const Q_UINT16 di_10 []
 
static const Q_UINT16 di_1E []
 
static const Q_UINT16 di_1F []
 
static const Q_UINT16 di_20 []
 
static const Q_UINT16 di_21 []
 
static const Q_UINT16 di_22 []
 
static const Q_UINT16 di_23 []
 
static const Q_UINT16 di_24 []
 
static const Q_UINT16 di_2E []
 
static const Q_UINT16 di_2F []
 
static const Q_UINT16 di_30 []
 
static const Q_UINT16 di_31 []
 
static const Q_UINT16 di_32 []
 
static const Q_UINT16 di_33 []
 
static const Q_UINT16 di_F9 []
 
static const Q_UINT16 di_FA []
 
static const Q_UINT16 di_FB []
 
static const Q_UINT16 di_FC []
 
static const Q_UINT16 di_FD []
 
static const Q_UINT16 di_FE []
 
static const Q_UINT16 di_FF []
 
static const Q_UINT16 *const decomposition_info [256]
 
static const Q_UINT16 ligature_map []
 
static const Q_UINT16 li_00 []
 
static const Q_UINT16 li_01 []
 
static const Q_UINT16 li_02 []
 
static const Q_UINT16 li_03 []
 
static const Q_UINT16 li_04 []
 
static const Q_UINT16 li_05 []
 
static const Q_UINT16 li_06 []
 
static const Q_UINT16 li_07 []
 
static const Q_UINT16 li_09 []
 
static const Q_UINT16 li_0A []
 
static const Q_UINT16 li_0B []
 
static const Q_UINT16 li_0C []
 
static const Q_UINT16 li_0D []
 
static const Q_UINT16 li_0F []
 
static const Q_UINT16 li_10 []
 
static const Q_UINT16 li_1E []
 
static const Q_UINT16 li_1F []
 
static const Q_UINT16 li_21 []
 
static const Q_UINT16 li_22 []
 
static const Q_UINT16 li_30 []
 
static const Q_UINT16 li_FB []
 
static const Q_UINT16 *const ligature_info [256]
 
static const Q_UINT8 dir_00 []
 
static const Q_UINT8 dir_01 []
 
static const Q_UINT8 dir_02 []
 
static const Q_UINT8 dir_03 []
 
static const Q_UINT8 dir_04 []
 
static const Q_UINT8 dir_05 []
 
static const Q_UINT8 dir_06 []
 
static const Q_UINT8 dir_07 []
 
static const Q_UINT8 dir_09 []
 
static const Q_UINT8 dir_0A []
 
static const Q_UINT8 dir_0B []
 
static const Q_UINT8 dir_0C []
 
static const Q_UINT8 dir_0D []
 
static const Q_UINT8 dir_0E []
 
static const Q_UINT8 dir_0F []
 
static const Q_UINT8 dir_10 []
 
static const Q_UINT8 dir_16 []
 
static const Q_UINT8 dir_17 []
 
static const Q_UINT8 dir_18 []
 
static const Q_UINT8 dir_1F []
 
static const Q_UINT8 dir_20 []
 
static const Q_UINT8 dir_21 []
 
static const Q_UINT8 dir_22 []
 
static const Q_UINT8 dir_23 []
 
static const Q_UINT8 dir_24 []
 
static const Q_UINT8 dir_25 []
 
static const Q_UINT8 dir_26 []
 
static const Q_UINT8 dir_27 []
 
static const Q_UINT8 dir_28 []
 
static const Q_UINT8 dir_2E []
 
static const Q_UINT8 dir_2F []
 
static const Q_UINT8 dir_30 []
 
static const Q_UINT8 dir_A4 []
 
static const Q_UINT8 dir_FB []
 
static const Q_UINT8 dir_FC []
 
static const Q_UINT8 dir_FD []
 
static const Q_UINT8 dir_FE []
 
static const Q_UINT8 dir_FF []
 
static const Q_UINT8 *const direction_info [256]
 
static const Q_UINT16 case_0 []
 
static const Q_UINT16 case_1 []
 
static const Q_UINT16 case_2 []
 
static const Q_UINT16 case_3 []
 
static const Q_UINT16 case_4 []
 
static const Q_UINT16 case_5 []
 
static const Q_UINT16 case_10 []
 
static const Q_UINT16 case_1e []
 
static const Q_UINT16 case_1f []
 
static const Q_UINT16 case_20 []
 
static const Q_UINT16 case_21 []
 
static const Q_UINT16 case_fb []
 
static const Q_UINT16 case_ff []
 
static const Q_UINT16 *const case_info [256]
 
static const Q_INT8 num_0 []
 
static const Q_INT8 num_6 []
 
static const Q_INT8 num_9 []
 
static const Q_INT8 num_b []
 
static const Q_INT8 num_d []
 
static const Q_INT8 num_e []
 
static const Q_INT8 num_f []
 
static const Q_INT8 num_20 []
 
static const Q_INT8 num_ff []
 
static const Q_INT8 *const decimal_info [256]
 
static const Q_UINT16 symmetricPairs []
 
static int symmetricPairsSize
 
static QChar LRM ((ushort) 0x200e)
 
static QChar RLM ((ushort) 0x200f)
 
static QChar LRE ((ushort) 0x202a)
 
static QChar RLE ((ushort) 0x202b)
 
static QChar RLO ((ushort) 0x202e)
 
static QChar LRO ((ushort) 0x202d)
 
static QChar PDF ((ushort) 0x202c)
 
static QChar::Direction resolv [5][5]
 

Macro Definition Documentation

#define NEG1   (QChar::Direction)(-1)

Definition at line 11687 of file qstring.cpp.

#define Q2HELPER (   x)

Definition at line 12221 of file qstring.cpp.

#define QT_ALLOC_QCHAR_VEC (   N)    (QChar*) new char[ sizeof(QChar)*( N ) ]

Definition at line 11946 of file qstring.cpp.

#define QT_DELETE_QCHAR_VEC (   P)    delete[] ((char*)( P ))

Definition at line 11947 of file qstring.cpp.

Function Documentation

static uint computeNewMax ( uint  len)
static

Definition at line 12071 of file qstring.cpp.

12072 {
12073  if (len >= 0x80000000)
12074  return len;
12075 
12076  uint newMax = 4;
12077  while ( newMax < len )
12078  newMax *= 2;
12079  // try to save some memory
12080  if ( newMax >= 1024 * 1024 && len <= newMax - (newMax >> 2) )
12081  newMax -= newMax >> 2;
12082  return newMax;
12083 }
unsigned uint
Definition: qglobal.h:351
static bool format ( QChar::Decomposition  tag,
QString str,
int  index,
int  len 
)
inlinestatic

Definition at line 11496 of file qstring.cpp.

11498 {
11499  unsigned int l = index + len;
11500  unsigned int r = index;
11501 
11502  bool right = FALSE;
11503 
11504  bool left = ((l < str.length()) &&
11505  ((str[(int)l].joining() == QChar::Dual) ||
11506  (str[(int)l].joining() == QChar::Right)));
11507  if (r > 0) {
11508  r--;
11509  //printf("joining(right) = %d\n", str[(int)r].joining());
11510  right = (str[(int)r].joining() == QChar::Dual);
11511  }
11512 
11513 
11514  switch (tag) {
11515  case QChar::Medial:
11516  return (left && right);
11517  case QChar::Initial:
11518  return (left && !right);
11519  case QChar::Final:
11520  return (right);// && !left);
11521  case QChar::Isolated:
11522  default:
11523  return (!right && !left);
11524  }
11525 } // format()
const bool FALSE
Definition: qglobal.h:370
static QStrList * l
Definition: config.cpp:1044
uint length() const
Definition: qstring.h:679
static QChar* internalAsciiToUnicode ( const QByteArray ba,
uint len 
)
static

Definition at line 11977 of file qstring.cpp.

11978 {
11979  if ( ba.isNull() ) {
11980  if ( len )
11981  *len = 0;
11982  return 0;
11983  }
11984  int l = 0;
11985  while ( l < (int)ba.size() && ba[l] )
11986  l++;
11987  const char* str = ba.data();
11988  QChar *uc = QT_ALLOC_QCHAR_VEC( l );
11989  QChar *result = uc;
11990  if ( len )
11991  *len = l;
11992  while (l--)
11993  *uc++ = *str++;
11994  return result;
11995 }
bool isNull() const
Definition: qarray.h:68
static QCString result
The QChar class provides a light-weight Unicode character.
Definition: qstring.h:56
static QStrList * l
Definition: config.cpp:1044
type * data() const
Definition: qarray.h:63
#define QT_ALLOC_QCHAR_VEC(N)
Definition: qstring.cpp:11946
uint size() const
Definition: qarray.h:65
static QCString str
static QChar* internalAsciiToUnicode ( const char *  str,
uint len,
uint  maxlen = (uint)-1 
)
static

Definition at line 12028 of file qstring.cpp.

12030 {
12031  QChar* result = 0;
12032  uint l = 0;
12033  if ( str ) {
12034  if ( maxlen != (uint)-1 ) {
12035  while ( l < maxlen && str[l] )
12036  l++;
12037  } else {
12038  // Faster?
12039  l = qstrlen(str);
12040  }
12041  QChar *uc = QT_ALLOC_QCHAR_VEC( l );
12042  result = uc;
12043  uint i = l;
12044  while ( i-- )
12045  *uc++ = *str++;
12046  }
12047  if ( len )
12048  *len = l;
12049  return result;
12050 }
static QCString result
static const int maxlen
Definition: qregexp.cpp:904
The QChar class provides a light-weight Unicode character.
Definition: qstring.h:56
static QStrList * l
Definition: config.cpp:1044
Q_EXPORT uint qstrlen(const char *str)
Definition: qcstring.h:81
#define QT_ALLOC_QCHAR_VEC(N)
Definition: qstring.cpp:11946
unsigned uint
Definition: qglobal.h:351
static QCString str
static bool is_neutral ( unsigned short  dir)
inlinestatic

Definition at line 11607 of file qstring.cpp.

11607  {
11608  return ((dir == QChar::DirB) ||
11609  (dir == QChar::DirS) ||
11610  (dir == QChar::DirWS) ||
11611  (dir == QChar::DirON) ||
11612  (dir == QChar::DirNSM));
11613 }
string dir
static bool ok_in_base ( QChar  c,
int  base 
)
static

Definition at line 13817 of file qstring.cpp.

13818 {
13819  if ( base <= 10 )
13820  return c.isDigit() && c.digitValue() < base;
13821  else
13822  return c.isDigit() || (c >= 'a' && c < char('a'+base-10))
13823  || (c >= 'A' && c < char('A'+base-10));
13824 }
int digitValue() const
Definition: qstring.cpp:11075
bool isDigit() const
Definition: qstring.cpp:11066
bool operator!= ( const QString s1,
const QString s2 
)
related

Definition at line 14850 of file qstring.cpp.

14851 { return !(s1==s2); }
bool operator!= ( const QString s1,
const char *  s2 
)
related

Definition at line 14872 of file qstring.cpp.

14873 { return !(s1==s2); }
bool operator!= ( const char *  s1,
const QString s2 
)
related

Definition at line 14875 of file qstring.cpp.

14876 { return !(s1==s2); }
bool operator< ( const QString s1,
const QString s2 
)

Definition at line 14853 of file qstring.cpp.

14854 { return ucstrcmp(s1,s2) < 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator< ( const QString s1,
const char *  s2 
)
related

Definition at line 14878 of file qstring.cpp.

14879 { return ucstrcmp(s1,s2) < 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator< ( const char *  s1,
const QString s2 
)
related

Definition at line 14881 of file qstring.cpp.

14882 { return ucstrcmp(s1,s2) < 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator<= ( const QString s1,
const QString s2 
)

Definition at line 14856 of file qstring.cpp.

14857 { return ucstrcmp(s1,s2) <= 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator<= ( const QString s1,
const char *  s2 
)
related

Definition at line 14884 of file qstring.cpp.

14885 { return ucstrcmp(s1,s2) <= 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator<= ( const char *  s1,
const QString s2 
)
related

Definition at line 14887 of file qstring.cpp.

14888 { return ucstrcmp(s1,s2) <= 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator== ( const QString s1,
const QString s2 
)
related

Definition at line 14843 of file qstring.cpp.

14844 {
14845  return (s1.length() == s2.length()) && s1.isNull() == s2.isNull() &&
14846  (memcmp((char*)s1.unicode(),(char*)s2.unicode(),
14847  s1.length()*sizeof(QChar)) ==0);
14848 }
const QChar * unicode() const
Definition: qstring.h:508
The QChar class provides a light-weight Unicode character.
Definition: qstring.h:56
uint length() const
Definition: qstring.h:679
bool isNull() const
Definition: qstring.h:379
bool operator== ( const QString s1,
const char *  s2 
)
related

Definition at line 14866 of file qstring.cpp.

14867 { return s1==QString(s2); }
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
Definition: qstring.h:350
bool operator== ( const char *  s1,
const QString s2 
)
related

Definition at line 14869 of file qstring.cpp.

14870 { return QString(s1)==s2; }
The QString class provides an abstraction of Unicode text and the classic C null-terminated char arra...
Definition: qstring.h:350
bool operator> ( const QString s1,
const QString s2 
)

Definition at line 14859 of file qstring.cpp.

14860 { return ucstrcmp(s1,s2) > 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator> ( const QString s1,
const char *  s2 
)
related

Definition at line 14890 of file qstring.cpp.

14891 { return ucstrcmp(s1,s2) > 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator> ( const char *  s1,
const QString s2 
)
related

Definition at line 14893 of file qstring.cpp.

14894 { return ucstrcmp(s1,s2) > 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator>= ( const QString s1,
const QString s2 
)

Definition at line 14862 of file qstring.cpp.

14863 { return ucstrcmp(s1,s2) >= 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator>= ( const QString s1,
const char *  s2 
)
related

Definition at line 14896 of file qstring.cpp.

14897 { return ucstrcmp(s1,s2) >= 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
bool operator>= ( const char *  s1,
const QString s2 
)
related

Definition at line 14899 of file qstring.cpp.

14900 { return ucstrcmp(s1,s2) >= 0; }
static int ucstrcmp(const QString &as, const QString &bs)
Definition: qstring.cpp:10693
static unsigned int reverse ( QString chars,
unsigned char *  level,
unsigned int  a,
unsigned int  b 
)
static

Definition at line 11649 of file qstring.cpp.

11651 {
11652  unsigned int c = a;
11653  unsigned char lev = level[c];
11654 
11655  while ((c < b) && (level[c] >= lev)) {
11656  if (level[c] > lev)
11657  c = reverse(chars, level, c, b);
11658  c++;
11659  }
11660 
11661  if (lev > 0) {
11662  QChar temp;
11663  unsigned int d = a, e = c-1;
11664  while (d < e) {
11665  temp = chars[(int)d];
11666  chars[(int)d] = chars[(int)e];
11667  chars[(int)e] = temp;
11668 
11669  d++; e--;
11670  }
11671  }
11672 
11673  return c;
11674 }
The QChar class provides a light-weight Unicode character.
Definition: qstring.h:56
const double e
const double a
static unsigned int reverse(QString &chars, unsigned char *level, unsigned int a, unsigned int b)
Definition: qstring.cpp:11649
static bool * b
Definition: config.cpp:1043
static int ucstrcmp ( const QString as,
const QString bs 
)
static

Definition at line 10693 of file qstring.cpp.

10694 {
10695  const QChar *a = as.unicode();
10696  const QChar *b = bs.unicode();
10697  if ( a == b )
10698  return 0;
10699  if ( a == 0 )
10700  return 1;
10701  if ( b == 0 )
10702  return -1;
10703  int l=QMIN(as.length(),bs.length());
10704  while ( l-- && *a == *b )
10705  a++,b++;
10706  if ( l==-1 )
10707  return ( as.length()-bs.length() );
10708  return a->unicode() - b->unicode();
10709 }
const QChar * unicode() const
Definition: qstring.h:508
ushort unicode() const
Definition: qstring.h:151
The QChar class provides a light-weight Unicode character.
Definition: qstring.h:56
static QStrList * l
Definition: config.cpp:1044
#define QMIN(a, b)
Definition: qglobal.h:391
uint length() const
Definition: qstring.h:679
const double a
static bool * b
Definition: config.cpp:1043
static int ucstrncmp ( const QChar a,
const QChar b,
int  l 
)
static

Definition at line 10711 of file qstring.cpp.

10712 {
10713  while ( l-- && *a == *b )
10714  a++,b++;
10715  if ( l==-1 )
10716  return 0;
10717  return a->unicode() - b->unicode();
10718 }
ushort unicode() const
Definition: qstring.h:151
static QStrList * l
Definition: config.cpp:1044
static int ucstrnicmp ( const QChar a,
const QChar b,
int  l 
)
static

Definition at line 10720 of file qstring.cpp.

10721 {
10722  while ( l-- && a->lower() == b->lower() )
10723  a++,b++;
10724  if ( l==-1 )
10725  return 0;
10726  QChar al = a->lower();
10727  QChar bl = b->lower();
10728  return al.unicode() - bl.unicode();
10729 }
ushort unicode() const
Definition: qstring.h:151
The QChar class provides a light-weight Unicode character.
Definition: qstring.h:56
static QStrList * l
Definition: config.cpp:1044
QChar lower() const
Definition: qstring.cpp:11229

Variable Documentation

const Q_UINT16 case_0[]
static

Definition at line 9825 of file qstring.cpp.

const Q_UINT16 case_1[]
static

Definition at line 9860 of file qstring.cpp.

const Q_UINT16 case_10[]
static

Definition at line 10035 of file qstring.cpp.

const Q_UINT16 case_1e[]
static

Definition at line 10070 of file qstring.cpp.

const Q_UINT16 case_1f[]
static

Definition at line 10105 of file qstring.cpp.

const Q_UINT16 case_2[]
static

Definition at line 9895 of file qstring.cpp.

const Q_UINT16 case_20[]
static

Definition at line 10140 of file qstring.cpp.

const Q_UINT16 case_21[]
static

Definition at line 10175 of file qstring.cpp.

const Q_UINT16 case_3[]
static

Definition at line 9930 of file qstring.cpp.

const Q_UINT16 case_4[]
static

Definition at line 9965 of file qstring.cpp.

const Q_UINT16 case_5[]
static

Definition at line 10000 of file qstring.cpp.

const Q_UINT16 case_fb[]
static

Definition at line 10210 of file qstring.cpp.

const Q_UINT16 case_ff[]
static

Definition at line 10245 of file qstring.cpp.

const Q_UINT16* const case_info[256]
static

Definition at line 10280 of file qstring.cpp.

const Q_INT8* const decimal_info[256]
static

Definition at line 10631 of file qstring.cpp.

const Q_UINT16* const decomposition_info[256]
static

Definition at line 7151 of file qstring.cpp.

const Q_UINT16 decomposition_map[]
static

Definition at line 2403 of file qstring.cpp.

const Q_UINT16 di_00[]
static

Definition at line 5891 of file qstring.cpp.

const Q_UINT16 di_01[]
static

Definition at line 5926 of file qstring.cpp.

const Q_UINT16 di_02[]
static

Definition at line 5961 of file qstring.cpp.

const Q_UINT16 di_03[]
static

Definition at line 5996 of file qstring.cpp.

const Q_UINT16 di_04[]
static

Definition at line 6031 of file qstring.cpp.

const Q_UINT16 di_05[]
static

Definition at line 6066 of file qstring.cpp.

const Q_UINT16 di_06[]
static

Definition at line 6101 of file qstring.cpp.

const Q_UINT16 di_07[]
static

Definition at line 6136 of file qstring.cpp.

const Q_UINT16 di_09[]
static

Definition at line 6171 of file qstring.cpp.

const Q_UINT16 di_0A[]
static

Definition at line 6206 of file qstring.cpp.

const Q_UINT16 di_0B[]
static

Definition at line 6241 of file qstring.cpp.

const Q_UINT16 di_0C[]
static

Definition at line 6276 of file qstring.cpp.

const Q_UINT16 di_0D[]
static

Definition at line 6311 of file qstring.cpp.

const Q_UINT16 di_0E[]
static

Definition at line 6346 of file qstring.cpp.

const Q_UINT16 di_0F[]
static

Definition at line 6381 of file qstring.cpp.

const Q_UINT16 di_10[]
static

Definition at line 6416 of file qstring.cpp.

const Q_UINT16 di_1E[]
static

Definition at line 6451 of file qstring.cpp.

const Q_UINT16 di_1F[]
static

Definition at line 6486 of file qstring.cpp.

const Q_UINT16 di_20[]
static

Definition at line 6521 of file qstring.cpp.

const Q_UINT16 di_21[]
static

Definition at line 6556 of file qstring.cpp.

const Q_UINT16 di_22[]
static

Definition at line 6591 of file qstring.cpp.

const Q_UINT16 di_23[]
static

Definition at line 6626 of file qstring.cpp.

const Q_UINT16 di_24[]
static

Definition at line 6661 of file qstring.cpp.

const Q_UINT16 di_2E[]
static

Definition at line 6696 of file qstring.cpp.

const Q_UINT16 di_2F[]
static

Definition at line 6731 of file qstring.cpp.

const Q_UINT16 di_30[]
static

Definition at line 6766 of file qstring.cpp.

const Q_UINT16 di_31[]
static

Definition at line 6801 of file qstring.cpp.

const Q_UINT16 di_32[]
static

Definition at line 6836 of file qstring.cpp.

const Q_UINT16 di_33[]
static

Definition at line 6871 of file qstring.cpp.

const Q_UINT16 di_F9[]
static

Definition at line 6906 of file qstring.cpp.

const Q_UINT16 di_FA[]
static

Definition at line 6941 of file qstring.cpp.

const Q_UINT16 di_FB[]
static

Definition at line 6976 of file qstring.cpp.

const Q_UINT16 di_FC[]
static

Definition at line 7011 of file qstring.cpp.

const Q_UINT16 di_FD[]
static

Definition at line 7046 of file qstring.cpp.

const Q_UINT16 di_FE[]
static

Definition at line 7081 of file qstring.cpp.

const Q_UINT16 di_FF[]
static

Definition at line 7116 of file qstring.cpp.

const Q_UINT8 dir_00[]
static

Definition at line 8451 of file qstring.cpp.

const Q_UINT8 dir_01[]
static

Definition at line 8486 of file qstring.cpp.

const Q_UINT8 dir_02[]
static

Definition at line 8521 of file qstring.cpp.

const Q_UINT8 dir_03[]
static

Definition at line 8556 of file qstring.cpp.

const Q_UINT8 dir_04[]
static

Definition at line 8591 of file qstring.cpp.

const Q_UINT8 dir_05[]
static

Definition at line 8626 of file qstring.cpp.

const Q_UINT8 dir_06[]
static

Definition at line 8661 of file qstring.cpp.

const Q_UINT8 dir_07[]
static

Definition at line 8696 of file qstring.cpp.

const Q_UINT8 dir_09[]
static

Definition at line 8731 of file qstring.cpp.

const Q_UINT8 dir_0A[]
static

Definition at line 8766 of file qstring.cpp.

const Q_UINT8 dir_0B[]
static

Definition at line 8801 of file qstring.cpp.

const Q_UINT8 dir_0C[]
static

Definition at line 8836 of file qstring.cpp.

const Q_UINT8 dir_0D[]
static

Definition at line 8871 of file qstring.cpp.

const Q_UINT8 dir_0E[]
static

Definition at line 8906 of file qstring.cpp.

const Q_UINT8 dir_0F[]
static

Definition at line 8941 of file qstring.cpp.

const Q_UINT8 dir_10[]
static

Definition at line 8976 of file qstring.cpp.

const Q_UINT8 dir_16[]
static

Definition at line 9011 of file qstring.cpp.

const Q_UINT8 dir_17[]
static

Definition at line 9046 of file qstring.cpp.

const Q_UINT8 dir_18[]
static

Definition at line 9081 of file qstring.cpp.

const Q_UINT8 dir_1F[]
static

Definition at line 9116 of file qstring.cpp.

const Q_UINT8 dir_20[]
static

Definition at line 9151 of file qstring.cpp.

const Q_UINT8 dir_21[]
static

Definition at line 9186 of file qstring.cpp.

const Q_UINT8 dir_22[]
static

Definition at line 9221 of file qstring.cpp.

const Q_UINT8 dir_23[]
static

Definition at line 9256 of file qstring.cpp.

const Q_UINT8 dir_24[]
static

Definition at line 9291 of file qstring.cpp.

const Q_UINT8 dir_25[]
static

Definition at line 9326 of file qstring.cpp.

const Q_UINT8 dir_26[]
static

Definition at line 9361 of file qstring.cpp.

const Q_UINT8 dir_27[]
static

Definition at line 9396 of file qstring.cpp.

const Q_UINT8 dir_28[]
static

Definition at line 9431 of file qstring.cpp.

const Q_UINT8 dir_2E[]
static

Definition at line 9466 of file qstring.cpp.

const Q_UINT8 dir_2F[]
static

Definition at line 9501 of file qstring.cpp.

const Q_UINT8 dir_30[]
static

Definition at line 9536 of file qstring.cpp.

const Q_UINT8 dir_A4[]
static

Definition at line 9571 of file qstring.cpp.

const Q_UINT8 dir_FB[]
static

Definition at line 9606 of file qstring.cpp.

const Q_UINT8 dir_FC[]
static

Definition at line 9641 of file qstring.cpp.

const Q_UINT8 dir_FD[]
static

Definition at line 9676 of file qstring.cpp.

const Q_UINT8 dir_FE[]
static

Definition at line 9711 of file qstring.cpp.

const Q_UINT8 dir_FF[]
static

Definition at line 9746 of file qstring.cpp.

const Q_UINT8* const direction_info[256]
static

Definition at line 9781 of file qstring.cpp.

const Q_UINT16 li_00[]
static

Definition at line 7680 of file qstring.cpp.

const Q_UINT16 li_01[]
static

Definition at line 7715 of file qstring.cpp.

const Q_UINT16 li_02[]
static

Definition at line 7750 of file qstring.cpp.

const Q_UINT16 li_03[]
static

Definition at line 7785 of file qstring.cpp.

const Q_UINT16 li_04[]
static

Definition at line 7820 of file qstring.cpp.

const Q_UINT16 li_05[]
static

Definition at line 7855 of file qstring.cpp.

const Q_UINT16 li_06[]
static

Definition at line 7890 of file qstring.cpp.

const Q_UINT16 li_07[]
static

Definition at line 7925 of file qstring.cpp.

const Q_UINT16 li_09[]
static

Definition at line 7960 of file qstring.cpp.

const Q_UINT16 li_0A[]
static

Definition at line 7995 of file qstring.cpp.

const Q_UINT16 li_0B[]
static

Definition at line 8030 of file qstring.cpp.

const Q_UINT16 li_0C[]
static

Definition at line 8065 of file qstring.cpp.

const Q_UINT16 li_0D[]
static

Definition at line 8100 of file qstring.cpp.

const Q_UINT16 li_0F[]
static

Definition at line 8135 of file qstring.cpp.

const Q_UINT16 li_10[]
static

Definition at line 8170 of file qstring.cpp.

const Q_UINT16 li_1E[]
static

Definition at line 8205 of file qstring.cpp.

const Q_UINT16 li_1F[]
static

Definition at line 8240 of file qstring.cpp.

const Q_UINT16 li_21[]
static

Definition at line 8275 of file qstring.cpp.

const Q_UINT16 li_22[]
static

Definition at line 8310 of file qstring.cpp.

const Q_UINT16 li_30[]
static

Definition at line 8345 of file qstring.cpp.

const Q_UINT16 li_FB[]
static

Definition at line 8380 of file qstring.cpp.

const Q_UINT16* const ligature_info[256]
static

Definition at line 8415 of file qstring.cpp.

const Q_UINT16 ligature_map[]
static

Definition at line 7187 of file qstring.cpp.

QChar LRE((ushort) 0x202a)
static
QChar LRM((ushort) 0x200e)
static
QChar LRO((ushort) 0x202d)
static
const Q_INT8 num_0[]
static

Definition at line 10316 of file qstring.cpp.

const Q_INT8 num_20[]
static

Definition at line 10561 of file qstring.cpp.

const Q_INT8 num_6[]
static

Definition at line 10351 of file qstring.cpp.

const Q_INT8 num_9[]
static

Definition at line 10386 of file qstring.cpp.

const Q_INT8 num_b[]
static

Definition at line 10421 of file qstring.cpp.

const Q_INT8 num_d[]
static

Definition at line 10456 of file qstring.cpp.

const Q_INT8 num_e[]
static

Definition at line 10491 of file qstring.cpp.

const Q_INT8 num_f[]
static

Definition at line 10526 of file qstring.cpp.

const Q_INT8 num_ff[]
static

Definition at line 10596 of file qstring.cpp.

QChar PDF((ushort) 0x202c)
static
QChar::Direction resolv[5][5]
static
Initial value:

Definition at line 11689 of file qstring.cpp.

QChar RLE((ushort) 0x202b)
static
QChar RLM((ushort) 0x200f)
static
QChar RLO((ushort) 0x202e)
static
const Q_UINT16 symmetricPairs[]
static
Initial value:
= {
0x0028, 0x0029, 0x0029, 0x0028, 0x003C, 0x003E, 0x003E, 0x003C,
0x005B, 0x005D, 0x005D, 0x005B, 0x007B, 0x007D, 0x007D, 0x007B,
0x2045, 0x2046, 0x2046, 0x2045, 0x207D, 0x207E, 0x207E, 0x207D,
0x208D, 0x208E, 0x208E, 0x208D, 0x3008, 0x3009, 0x3009, 0x3008,
0x300A, 0x300B, 0x300B, 0x300A, 0x300C, 0x300D, 0x300D, 0x300C,
0x300E, 0x300F, 0x300F, 0x300E, 0x3010, 0x3011, 0x3011, 0x3010,
0x3014, 0x3015, 0x3015, 0x3014, 0x3016, 0x3017, 0x3017, 0x3016,
0x3018, 0x3019, 0x3019, 0x3018, 0x301A, 0x301B, 0x301B, 0x301A,
0xFD3E, 0xFD3F, 0xFD3F, 0xFD3E, 0xFE59, 0xFE5A, 0xFE5A, 0xFE59,
0xFE5B, 0xFE5C, 0xFE5C, 0xFE5B, 0xFE5D, 0xFE5E, 0xFE5E, 0xFE5D,
0xFF08, 0xFF09, 0xFF09, 0xFF08, 0xFF3B, 0xFF3D, 0xFF3D, 0xFF3B,
0xFF5B, 0xFF5D, 0xFF5D, 0xFF5B, 0xFF62, 0xFF63, 0xFF63, 0xFF62,
}

Definition at line 10666 of file qstring.cpp.

int symmetricPairsSize
static
Initial value:
=
sizeof(symmetricPairs)/sizeof(symmetricPairs[0])
static const Q_UINT16 symmetricPairs[]
Definition: qstring.cpp:10666

Definition at line 10681 of file qstring.cpp.

const Q_UINT8 ui_00[]
static

Definition at line 370 of file qstring.cpp.

const Q_UINT8 ui_01[]
static

Definition at line 407 of file qstring.cpp.

const Q_UINT8 ui_02[]
static

Definition at line 442 of file qstring.cpp.

const Q_UINT8 ui_03[]
static

Definition at line 477 of file qstring.cpp.

const Q_UINT8 ui_04[]
static

Definition at line 512 of file qstring.cpp.

const Q_UINT8 ui_05[]
static

Definition at line 547 of file qstring.cpp.

const Q_UINT8 ui_06[]
static

Definition at line 582 of file qstring.cpp.

const Q_UINT8 ui_07[]
static

Definition at line 617 of file qstring.cpp.

const Q_UINT8 ui_08[]
static

Definition at line 652 of file qstring.cpp.

const Q_UINT8 ui_09[]
static

Definition at line 687 of file qstring.cpp.

const Q_UINT8 ui_0A[]
static

Definition at line 722 of file qstring.cpp.

const Q_UINT8 ui_0B[]
static

Definition at line 757 of file qstring.cpp.

const Q_UINT8 ui_0C[]
static

Definition at line 792 of file qstring.cpp.

const Q_UINT8 ui_0D[]
static

Definition at line 827 of file qstring.cpp.

const Q_UINT8 ui_0E[]
static

Definition at line 862 of file qstring.cpp.

const Q_UINT8 ui_0F[]
static

Definition at line 897 of file qstring.cpp.

const Q_UINT8 ui_10[]
static

Definition at line 932 of file qstring.cpp.

const Q_UINT8 ui_11[]
static

Definition at line 967 of file qstring.cpp.

const Q_UINT8 ui_12[]
static

Definition at line 1002 of file qstring.cpp.

const Q_UINT8 ui_13[]
static

Definition at line 1037 of file qstring.cpp.

const Q_UINT8 ui_14[]
static

Definition at line 1072 of file qstring.cpp.

const Q_UINT8 ui_15[]
static

Definition at line 1107 of file qstring.cpp.

const Q_UINT8 ui_16[]
static

Definition at line 1142 of file qstring.cpp.

const Q_UINT8 ui_17[]
static

Definition at line 1177 of file qstring.cpp.

const Q_UINT8 ui_18[]
static

Definition at line 1212 of file qstring.cpp.

const Q_UINT8 ui_1E[]
static

Definition at line 1247 of file qstring.cpp.

const Q_UINT8 ui_1F[]
static

Definition at line 1282 of file qstring.cpp.

const Q_UINT8 ui_20[]
static

Definition at line 1317 of file qstring.cpp.

const Q_UINT8 ui_21[]
static

Definition at line 1352 of file qstring.cpp.

const Q_UINT8 ui_22[]
static

Definition at line 1387 of file qstring.cpp.

const Q_UINT8 ui_23[]
static

Definition at line 1422 of file qstring.cpp.

const Q_UINT8 ui_24[]
static

Definition at line 1457 of file qstring.cpp.

const Q_UINT8 ui_25[]
static

Definition at line 1492 of file qstring.cpp.

const Q_UINT8 ui_26[]
static

Definition at line 1527 of file qstring.cpp.

const Q_UINT8 ui_27[]
static

Definition at line 1562 of file qstring.cpp.

const Q_UINT8 ui_28[]
static

Definition at line 1597 of file qstring.cpp.

const Q_UINT8 ui_2E[]
static

Definition at line 1632 of file qstring.cpp.

const Q_UINT8 ui_2F[]
static

Definition at line 1667 of file qstring.cpp.

const Q_UINT8 ui_30[]
static

Definition at line 1702 of file qstring.cpp.

const Q_UINT8 ui_31[]
static

Definition at line 1737 of file qstring.cpp.

const Q_UINT8 ui_32[]
static

Definition at line 1772 of file qstring.cpp.

const Q_UINT8 ui_33[]
static

Definition at line 1807 of file qstring.cpp.

const Q_UINT8 ui_34[]
static

Definition at line 1842 of file qstring.cpp.

const Q_UINT8 ui_4D[]
static

Definition at line 1877 of file qstring.cpp.

const Q_UINT8 ui_9F[]
static

Definition at line 1912 of file qstring.cpp.

const Q_UINT8 ui_A4[]
static

Definition at line 1947 of file qstring.cpp.

const Q_UINT8 ui_D7[]
static

Definition at line 1982 of file qstring.cpp.

const Q_UINT8 ui_D8[]
static

Definition at line 2017 of file qstring.cpp.

const Q_UINT8 ui_DB[]
static

Definition at line 2052 of file qstring.cpp.

const Q_UINT8 ui_DF[]
static

Definition at line 2087 of file qstring.cpp.

const Q_UINT8 ui_E0[]
static

Definition at line 2122 of file qstring.cpp.

const Q_UINT8 ui_F8[]
static

Definition at line 2157 of file qstring.cpp.

const Q_UINT8 ui_FA[]
static

Definition at line 2192 of file qstring.cpp.

const Q_UINT8 ui_FB[]
static

Definition at line 2227 of file qstring.cpp.

const Q_UINT8 ui_FD[]
static

Definition at line 2262 of file qstring.cpp.

const Q_UINT8 ui_FE[]
static

Definition at line 2297 of file qstring.cpp.

const Q_UINT8 ui_FF[]
static

Definition at line 2332 of file qstring.cpp.

const Q_UINT8* const unicode_info[256]
static

Definition at line 2367 of file qstring.cpp.