#include "nsCodingStateMachine.h"
Go to the source code of this file.
Definition at line 47 of file nsMBCSSM.cpp.
const PRUint32 Big5CharLenTable[] = {0, 1, 1, 2, 0} [static] |
Definition at line 90 of file nsMBCSSM.cpp.
{ {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, BIG5_cls }, 5, {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, BIG5_st }, Big5CharLenTable, "Big5", }
Definition at line 92 of file nsMBCSSM.cpp.
Referenced by nsBig5Prober::nsBig5Prober().
Definition at line 100 of file nsMBCSSM.cpp.
{ PCK4BITS( 3, 4, 3, 5,eStart,eError,eError,eError), PCK4BITS(eError,eError,eError,eError,eItsMe,eItsMe,eItsMe,eItsMe), PCK4BITS(eItsMe,eItsMe,eStart,eError,eStart,eError,eError,eError), PCK4BITS(eError,eError,eStart,eError,eError,eError, 3,eError), PCK4BITS( 3,eError,eError,eError,eStart,eStart,eStart,eStart) }
Definition at line 137 of file nsMBCSSM.cpp.
const PRUint32 EUCJPCharLenTable[] = {2, 2, 2, 3, 1, 0} [static] |
Definition at line 145 of file nsMBCSSM.cpp.
{ {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, EUCJP_cls }, 6, {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, EUCJP_st }, EUCJPCharLenTable, "EUC-JP", }
Definition at line 147 of file nsMBCSSM.cpp.
Referenced by nsEUCJPProber::~nsEUCJPProber().
Definition at line 155 of file nsMBCSSM.cpp.
const PRUint32 EUCKRCharLenTable[] = {0, 1, 2, 0} [static] |
Definition at line 197 of file nsMBCSSM.cpp.
{ {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, EUCKR_cls }, 4, {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, EUCKR_st }, EUCKRCharLenTable, "EUC-KR", }
Definition at line 199 of file nsMBCSSM.cpp.
Referenced by nsEUCKRProber::nsEUCKRProber().
Definition at line 207 of file nsMBCSSM.cpp.
{ PCK4BITS(eError,eError,eStart, 3, 3, 3, 4,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eItsMe,eItsMe), PCK4BITS(eItsMe,eItsMe,eItsMe,eItsMe,eItsMe,eError,eStart,eError), PCK4BITS(eStart,eStart,eStart,eError,eError,eError,eError,eError), PCK4BITS( 5,eError,eError,eError,eStart,eError,eStart,eStart), PCK4BITS(eStart,eError,eStart,eStart,eStart,eStart,eStart,eStart) }
Definition at line 244 of file nsMBCSSM.cpp.
const PRUint32 EUCTWCharLenTable[] = {0, 0, 1, 2, 2, 2, 3} [static] |
Definition at line 253 of file nsMBCSSM.cpp.
{ {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, EUCTW_cls }, 7, {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, EUCTW_st }, EUCTWCharLenTable, "x-euc-tw", }
Definition at line 255 of file nsMBCSSM.cpp.
Referenced by nsEUCTWProber::nsEUCTWProber().
PRUint32 GB18030_cls[256/8] [static] |
Definition at line 319 of file nsMBCSSM.cpp.
PRUint32 GB18030_st[6] [static] |
{ PCK4BITS(eError,eStart,eStart,eStart,eStart,eStart, 3,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eItsMe,eItsMe), PCK4BITS(eItsMe,eItsMe,eItsMe,eItsMe,eItsMe,eError,eError,eStart), PCK4BITS( 4,eError,eStart,eStart,eError,eError,eError,eError), PCK4BITS(eError,eError, 5,eError,eError,eError,eItsMe,eError), PCK4BITS(eError,eError,eStart,eStart,eStart,eStart,eStart,eStart) }
Definition at line 355 of file nsMBCSSM.cpp.
const PRUint32 GB18030CharLenTable[] = {0, 1, 1, 1, 1, 1, 2} [static] |
Definition at line 369 of file nsMBCSSM.cpp.
{ {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, GB18030_cls }, 7, {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, GB18030_st }, GB18030CharLenTable, "GB18030", }
Definition at line 371 of file nsMBCSSM.cpp.
Referenced by nsGB18030Prober::nsGB18030Prober().
Definition at line 381 of file nsMBCSSM.cpp.
const PRUint32 SJISCharLenTable[] = {0, 1, 1, 2, 0, 0} [static] |
Definition at line 426 of file nsMBCSSM.cpp.
{ {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, SJIS_cls }, 6, {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, SJIS_st }, SJISCharLenTable, "Shift_JIS", }
Definition at line 428 of file nsMBCSSM.cpp.
Referenced by nsSJISProber::nsSJISProber().
PRUint32 UCS2BE_cls[256/8] [static] |
Definition at line 437 of file nsMBCSSM.cpp.
{ PCK4BITS( 5, 7, 7,eError, 4, 3,eError,eError), PCK4BITS(eError,eError,eError,eError,eItsMe,eItsMe,eItsMe,eItsMe), PCK4BITS(eItsMe,eItsMe, 6, 6, 6, 6,eError,eError), PCK4BITS( 6, 6, 6, 6, 6,eItsMe, 6, 6), PCK4BITS( 6, 6, 6, 6, 5, 7, 7,eError), PCK4BITS( 5, 8, 6, 6,eError, 6, 6, 6), PCK4BITS( 6, 6, 6, 6,eError,eError,eStart,eStart) }
Definition at line 473 of file nsMBCSSM.cpp.
const PRUint32 UCS2BECharLenTable[] = {2, 2, 2, 0, 2, 2} [static] |
Definition at line 483 of file nsMBCSSM.cpp.
{ {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, UCS2BE_cls }, 6, {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, UCS2BE_st }, UCS2BECharLenTable, "UTF-16BE", }
Definition at line 485 of file nsMBCSSM.cpp.
PRUint32 UCS2LE_cls[256/8] [static] |
Definition at line 493 of file nsMBCSSM.cpp.
{ PCK4BITS( 6, 6, 7, 6, 4, 3,eError,eError), PCK4BITS(eError,eError,eError,eError,eItsMe,eItsMe,eItsMe,eItsMe), PCK4BITS(eItsMe,eItsMe, 5, 5, 5,eError,eItsMe,eError), PCK4BITS( 5, 5, 5,eError, 5,eError, 6, 6), PCK4BITS( 7, 6, 8, 8, 5, 5, 5,eError), PCK4BITS( 5, 5, 5,eError,eError,eError, 5, 5), PCK4BITS( 5, 5, 5,eError, 5,eError,eStart,eStart) }
Definition at line 529 of file nsMBCSSM.cpp.
const PRUint32 UCS2LECharLenTable[] = {2, 2, 2, 2, 2, 2} [static] |
Definition at line 539 of file nsMBCSSM.cpp.
{ {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, UCS2LE_cls }, 6, {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, UCS2LE_st }, UCS2LECharLenTable, "UTF-16LE", }
Definition at line 541 of file nsMBCSSM.cpp.
Definition at line 550 of file nsMBCSSM.cpp.
{ PCK4BITS(eError,eStart,eError,eError,eError,eError, 12, 10), PCK4BITS( 9, 11, 8, 7, 6, 5, 4, 3), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eItsMe,eItsMe,eItsMe,eItsMe,eItsMe,eItsMe,eItsMe,eItsMe), PCK4BITS(eItsMe,eItsMe,eItsMe,eItsMe,eItsMe,eItsMe,eItsMe,eItsMe), PCK4BITS(eError,eError, 5, 5, 5, 5,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eError,eError,eError, 5, 5, 5,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eError,eError, 7, 7, 7, 7,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eError,eError,eError,eError, 7, 7,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eError,eError, 9, 9, 9, 9,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eError,eError,eError,eError,eError, 9,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eError,eError, 12, 12, 12, 12,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eError,eError,eError,eError,eError, 12,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eError,eError, 12, 12, 12,eError,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError), PCK4BITS(eError,eError,eStart,eStart,eStart,eStart,eError,eError), PCK4BITS(eError,eError,eError,eError,eError,eError,eError,eError) }
Definition at line 587 of file nsMBCSSM.cpp.
const PRUint32 UTF8CharLenTable[] [static] |
{0, 1, 0, 0, 0, 0, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6 }
Definition at line 616 of file nsMBCSSM.cpp.
{ {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, UTF8_cls }, 16, {eIdxSft4bits, eSftMsk4bits, eBitSft4bits, eUnitMsk4bits, UTF8_st }, UTF8CharLenTable, "UTF-8", }
Definition at line 619 of file nsMBCSSM.cpp.
Referenced by nsUTF8Prober::nsUTF8Prober().