Lines Matching refs:Normalizer2
8 * file name: normalizer2.cpp
21 #include "unicode/normalizer2.h"
38 // Public API dispatch via Normalizer2 subclasses -------------------------- ***
40 Normalizer2::~Normalizer2() {}
43 Normalizer2::getRawDecomposition(UChar32, UnicodeString &) const {
48 Normalizer2::composePair(UChar32, UChar32) const {
53 Normalizer2::getCombiningClass(UChar32 /*c*/) const {
57 // Normalizer2 implementation for the old UNORM_NONE.
58 class NoopNormalizer2 : public Normalizer2 {
173 static Normalizer2 *noopSingleton;
217 const Normalizer2 *
218 Normalizer2::getNFCInstance(UErrorCode &errorCode) {
223 const Normalizer2 *
224 Normalizer2::getNFDInstance(UErrorCode &errorCode) {
229 const Normalizer2 *Normalizer2Factory::getFCDInstance(UErrorCode &errorCode) {
234 const Normalizer2 *Normalizer2Factory::getFCCInstance(UErrorCode &errorCode) {
239 const Normalizer2 *Normalizer2Factory::getNoopInstance(UErrorCode &errorCode) {
252 Normalizer2Factory::getImpl(const Normalizer2 *norm2) {
264 return (const UNormalizer2 *)Normalizer2::getNFCInstance(*pErrorCode);
269 return (const UNormalizer2 *)Normalizer2::getNFDInstance(*pErrorCode);
274 delete (Normalizer2 *)norm2;
295 const Normalizer2 *n2=(const Normalizer2 *)norm2;
332 const Normalizer2 *n2=(const Normalizer2 *)norm2;
401 if(reinterpret_cast<const Normalizer2 *>(norm2)->getDecomposition(c, destString)) {
420 if(reinterpret_cast<const Normalizer2 *>(norm2)->getRawDecomposition(c, destString)) {
429 return reinterpret_cast<const Normalizer2 *>(norm2)->composePair(a, b);
434 return reinterpret_cast<const Normalizer2 *>(norm2)->getCombiningClass(c);
449 return ((const Normalizer2 *)norm2)->isNormalized(sString, *pErrorCode);
464 return ((const Normalizer2 *)norm2)->quickCheck(sString, *pErrorCode);
479 return ((const Normalizer2 *)norm2)->spanQuickCheckYes(sString, *pErrorCode);
484 return ((const Normalizer2 *)norm2)->hasBoundaryBefore(c);
489 return ((const Normalizer2 *)norm2)->hasBoundaryAfter(c);
494 return ((const Normalizer2 *)norm2)->isInert(c);
502 const Normalizer2 *nfd=Normalizer2::getNFDInstance(errorCode);