KDECore
CharDistribution.h
Go to the documentation of this file.
121 return 94*((unsigned char)str[0]-(unsigned char)0xc4) + (unsigned char)str[1] - (unsigned char)0xa1;
139 return 94*((unsigned char)str[0]-(unsigned char)0xb0) + (unsigned char)str[1] - (unsigned char)0xa1;
155 { if ((unsigned char)*str >= (unsigned char)0xb0 && (unsigned char)str[1] >= (unsigned char)0xa1)
156 return 94*((unsigned char)str[0]-(unsigned char)0xb0) + (unsigned char)str[1] - (unsigned char)0xa1;
175 return 157*((unsigned char)str[0]-(unsigned char)0xa4) + (unsigned char)str[1] - (unsigned char)0xa1 +63;
177 return 157*((unsigned char)str[0]-(unsigned char)0xa4) + (unsigned char)str[1] - (unsigned char)0x40;
197 else if ((unsigned char)*str >= (unsigned char)0xe0 && (unsigned char)*str <= (unsigned char)0xef)
219 return 94*((unsigned char)str[0]-(unsigned char)0xa1) + (unsigned char)str[1] - (unsigned char)0xa1;
float mTypicalDistributionRatio
Definition: CharDistribution.h:105
unsigned int mFreqChars
Definition: CharDistribution.h:92
#define KDE_NO_EXPORT
The KDE_NO_EXPORT macro marks the symbol of the given variable to be hidden.
Definition: kdemacros.h.cmake:73
int GetOrder(const char *str)
Definition: CharDistribution.h:119
unsigned int mTableSize
Definition: CharDistribution.h:101
int GetOrder(const char *str)
Definition: CharDistribution.h:217
bool GotEnoughData()
Definition: CharDistribution.h:80
int GetOrder(const char *str)
Definition: CharDistribution.h:172
int GetOrder(const char *str)
Definition: CharDistribution.h:154
int GetOrder(const char *str)
Definition: CharDistribution.h:192
int GetOrder(const char *str)
Definition: CharDistribution.h:137
unsigned int mTotalChars
Definition: CharDistribution.h:95
void HandleData(const char *, unsigned int)
Definition: CharDistribution.h:41
CharDistributionAnalysis()
Definition: CharDistribution.h:37
const short * mCharToFreqOrder
Definition: CharDistribution.h:98
virtual ~CharDistributionAnalysis()
Definition: CharDistribution.h:38
void HandleOneChar(const char *aStr, unsigned int aCharLen)
Definition: CharDistribution.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.