KDECore
CharDistribution.h
Go to the documentation of this file.
120 return 94*((unsigned char)str[0]-(unsigned char)0xb0) + (unsigned char)str[1] - (unsigned char)0xa1;
136 { if ((unsigned char)*str >= (unsigned char)0xb0 && (unsigned char)str[1] >= (unsigned char)0xa1)
137 return 94*((unsigned char)str[0]-(unsigned char)0xb0) + (unsigned char)str[1] - (unsigned char)0xa1;
156 return 157*((unsigned char)str[0]-(unsigned char)0xa4) + (unsigned char)str[1] - (unsigned char)0xa1 +63;
158 return 157*((unsigned char)str[0]-(unsigned char)0xa4) + (unsigned char)str[1] - (unsigned char)0x40;
178 else if ((unsigned char)*str >= (unsigned char)0xe0 && (unsigned char)*str <= (unsigned char)0xef)
200 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
unsigned int mTableSize
Definition: CharDistribution.h:101
int GetOrder(const char *str)
Definition: CharDistribution.h:198
bool GotEnoughData()
Definition: CharDistribution.h:80
int GetOrder(const char *str)
Definition: CharDistribution.h:153
int GetOrder(const char *str)
Definition: CharDistribution.h:135
int GetOrder(const char *str)
Definition: CharDistribution.h:173
int GetOrder(const char *str)
Definition: CharDistribution.h:118
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.