Home
last modified time | relevance | path

Searched refs:norm2 (Results 1 – 22 of 22) sorted by relevance

/external/icu/icu4c/source/common/unicode/
Dunorm2.h234 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode);
243 unorm2_close(UNormalizer2 *norm2);
281 unorm2_normalize(const UNormalizer2 *norm2,
304 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2,
327 unorm2_append(const UNormalizer2 *norm2,
352 unorm2_getDecomposition(const UNormalizer2 *norm2,
386 unorm2_getRawDecomposition(const UNormalizer2 *norm2,
406 unorm2_composePair(const UNormalizer2 *norm2, UChar32 a, UChar32 b);
418 unorm2_getCombiningClass(const UNormalizer2 *norm2, UChar32 c);
437 unorm2_isNormalized(const UNormalizer2 *norm2,
[all …]
Dnormalizer2.h456 norm2(n2), set(filterSet) {} in FilteredNormalizer2()
651 const Normalizer2 &norm2; variable
/external/icu/icu4c/source/common/
Dnormalizer2.cpp252 Normalizer2Factory::getImpl(const Normalizer2 *norm2) { in getImpl() argument
253 return &((Normalizer2WithImpl *)norm2)->impl; in getImpl()
273 unorm2_close(UNormalizer2 *norm2) { in unorm2_close() argument
274 delete (Normalizer2 *)norm2; in unorm2_close()
278 unorm2_normalize(const UNormalizer2 *norm2, in unorm2_normalize() argument
295 const Normalizer2 *n2=(const Normalizer2 *)norm2; in unorm2_normalize()
312 normalizeSecondAndAppend(const UNormalizer2 *norm2, in normalizeSecondAndAppend() argument
332 const Normalizer2 *n2=(const Normalizer2 *)norm2; in normalizeSecondAndAppend()
368 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2, in unorm2_normalizeSecondAndAppend() argument
372 return normalizeSecondAndAppend(norm2, in unorm2_normalizeSecondAndAppend()
[all …]
Dfilterednormalizer2.cpp73 dest.append(norm2.normalize(src.tempSubStringBetween(prevSpanLimit, spanLimit), in normalize()
128 norm2.normalizeSecondAndAppend(first, prefix, errorCode); in normalizeSecondAndAppend()
130 norm2.append(first, prefix, errorCode); in normalizeSecondAndAppend()
135 norm2.normalizeSecondAndAppend(middle, prefix, errorCode); in normalizeSecondAndAppend()
137 norm2.append(middle, prefix, errorCode); in normalizeSecondAndAppend()
155 return set.contains(c) && norm2.getDecomposition(c, decomposition); in getDecomposition()
160 return set.contains(c) && norm2.getRawDecomposition(c, decomposition); in getRawDecomposition()
165 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : U_SENTINEL; in composePair()
170 return set.contains(c) ? norm2.getCombiningClass(c) : 0; in getCombiningClass()
185 if( !norm2.isNormalized(s.tempSubStringBetween(prevSpanLimit, spanLimit), errorCode) || in isNormalized()
[all …]
Dloadednormalizer2impl.cpp348 const Normalizer2 *norm2=Normalizer2Factory::getInstance(mode, errorCode); in unorm_getQuickCheck() local
350 return ((const Normalizer2WithImpl *)norm2)->getQuickCheck(c); in unorm_getQuickCheck()
Duprops.cpp95 const Normalizer2 *norm2=Normalizer2Factory::getInstance( in isNormInert() local
97 return U_SUCCESS(errorCode) && norm2->isInert(c); in isNormInert()
Dnormalizer2impl.h631 static const Normalizer2Impl *getImpl(const Normalizer2 *norm2);
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DNormalizationTransliterator.java22 private final Normalizer2 norm2; field in NormalizationTransliterator
69 norm2 = n2; in NormalizationTransliterator()
105 } while(start < limit && !norm2.hasBoundaryBefore(c = text.char32At(start))); in handleTransliterate()
106 if(start == limit && isIncremental && !norm2.hasBoundaryAfter(c)) { in handleTransliterate()
113 norm2.normalize(segment, normalized); in handleTransliterate()
134 final Normalizer2 norm2; field in NormalizationTransliterator.NormalizingTransform
135 public NormalizingTransform(Normalizer2 norm2) { in NormalizingTransform() argument
136 this.norm2 = norm2; in NormalizingTransform()
139 return norm2.normalize(source); in transform()
151 cache = SOURCE_CACHE.get(norm2); in addSourceTargetSet()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DFilteredNormalizer2.java36 norm2=n2; in FilteredNormalizer2()
89 return set.contains(c) ? norm2.getDecomposition(c) : null; in getDecomposition()
98 return set.contains(c) ? norm2.getRawDecomposition(c) : null; in getRawDecomposition()
107 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : -1; in composePair()
116 return set.contains(c) ? norm2.getCombiningClass(c) : 0; in getCombiningClass()
131 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized()
155 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck()
181 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes()
198 return !set.contains(c) || norm2.hasBoundaryBefore(c); in hasBoundaryBefore()
207 return !set.contains(c) || norm2.hasBoundaryAfter(c); in hasBoundaryAfter()
[all …]
DNormalizer.java131 private Normalizer2 norm2; field in Normalizer
537 norm2 = mode.getNormalizer2(opt); in Normalizer()
560 norm2 = mode.getNormalizer2(opt); in Normalizer()
580 norm2 = mode.getNormalizer2(options); in Normalizer()
603 copy.norm2 = norm2; in clone()
1646 norm2 = mode.getNormalizer2(options); in setMode()
1681 norm2 = mode.getNormalizer2(options); in setOption()
1824 if(norm2.hasBoundaryBefore(c)) { in nextNormalize()
1831 norm2.normalize(segment, buffer); in nextNormalize()
1847 if(norm2.hasBoundaryBefore(c)) { in previousNormalize()
[all …]
/external/icu/icu4c/source/i18n/
Dnortrans.cpp63 const Normalizer2 *norm2 = Normalizer2::getInstance(NULL, name, mode, errorCode); in _create() local
65 return new NormalizationTransliterator(ID, *norm2); in _create()
75 const Normalizer2 &norm2) : in NormalizationTransliterator() argument
76 Transliterator(id, 0), fNorm2(norm2) {} in NormalizationTransliterator()
Dnortrans.h87 NormalizationTransliterator(const UnicodeString& id, const Normalizer2 &norm2);
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
DLevenbergMarquardtEstimator.java804 double norm2 = 0; in qrDecomposition() local
807 norm2 += akk * akk; in qrDecomposition()
809 jacNorm[k] = FastMath.sqrt(norm2); in qrDecomposition()
819 double norm2 = 0; in qrDecomposition() local
823 norm2 += aki * aki; in qrDecomposition()
825 if (Double.isInfinite(norm2) || Double.isNaN(norm2)) { in qrDecomposition()
830 if (norm2 > ak2) { in qrDecomposition()
832 ak2 = norm2; in qrDecomposition()
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
DLevenbergMarquardtOptimizer.java804 double norm2 = 0; in qrDecomposition() local
807 norm2 += akk * akk; in qrDecomposition()
809 jacNorm[k] = FastMath.sqrt(norm2); in qrDecomposition()
819 double norm2 = 0; in qrDecomposition() local
822 norm2 += aki * aki; in qrDecomposition()
824 if (Double.isInfinite(norm2) || Double.isNaN(norm2)) { in qrDecomposition()
828 if (norm2 > ak2) { in qrDecomposition()
830 ak2 = norm2; in qrDecomposition()
/external/ceres-solver/internal/ceres/
Drotation_test.cc70 double norm2 = arg[0] * arg[0] + arg[1] * arg[1] + variable
72 if (fabs(norm2 - 1.0) > kTolerance) {
73 *result_listener << "squared norm is " << norm2;
931 double norm2 = 0.0; in TEST() local
935 norm2 = angle_axis[k] * angle_axis[k]; in TEST()
938 const double inv_norm = theta / sqrt(norm2); in TEST()
971 double norm2 = 0.0; in TEST() local
975 norm2 = angle_axis[k] * angle_axis[k]; in TEST()
979 const double inv_norm = theta / sqrt(norm2); in TEST()
/external/eigen/unsupported/Eigen/src/Polynomials/
DPolynomialSolver.h86 RealScalar norm2 = numext::abs2( m_roots[0] ); in selectComplexRoot_withRespectToNorm() local
90 if( pred( currNorm2, norm2 ) ){ in selectComplexRoot_withRespectToNorm()
91 res=i; norm2=currNorm2; } in selectComplexRoot_withRespectToNorm()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DTestDeprecatedNormalizerAPI.java56 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0); in TestNormalizerAPI() local
57 if(norm2.next()!=0xe4) { in TestNormalizerAPI()
DBasicTest.java2325 Normalizer2 norm2=Normalizer2.getNFCInstance(); in initSkippables() local
2340 if(!norm2.isNormalized(s)) { in initSkippables()
/external/icu/icu4c/source/data/unidata/
Dchanges.txt275 - bin/gennorm2 -o $ICU_SRC_DIR/source/common/norm2_nfc_data.h -s $UNIDATA/norm2 nfc.txt --csource
276 - bin/gennorm2 -o $SRC_DATA_IN/nfc.nrm -s $UNIDATA/norm2 nfc.txt
277 - bin/gennorm2 -o $SRC_DATA_IN/nfkc.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt
278 - bin/gennorm2 -o $SRC_DATA_IN/nfkc_cf.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt nfkc_cf.txt
279 - bin/gennorm2 -o $SRC_DATA_IN/uts46.nrm -s $UNIDATA/norm2 nfc.txt uts46.txt
541 - ~/svn.icu/uni63/dbg$ bin/gennorm2 -o $SRC_DATA_IN/nfc.nrm -s $UNIDATA/norm2 nfc.txt
542 - ~/svn.icu/uni63/dbg$ bin/gennorm2 -o $SRC_DATA_IN/nfkc.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt
543 - ~/svn.icu/uni63/dbg$ bin/gennorm2 -o $SRC_DATA_IN/nfkc_cf.nrm -s $UNIDATA/norm2 nfc.txt nfkc.txt …
544 - ~/svn.icu/uni63/dbg$ bin/gennorm2 -o $SRC_DATA_IN/uts46.nrm -s $UNIDATA/norm2 nfc.txt uts46.txt
722 - ~/svn.icu/uni62/dbg$ bin/gennorm2 -o $SRC_DATA_IN/nfc.nrm -s $UNIDATA/norm2 nfc.txt
[all …]
/external/libopus/celt/
Dbands.c1363 celt_norm * OPUS_RESTRICT norm, * OPUS_RESTRICT norm2; in quant_all_bands() local
1387 norm2 = norm + M*eBands[m->nbEBands-1]-norm_offset; in quant_all_bands()
1484 norm[j] = HALF32(norm[j]+norm2[j]); in quant_all_bands()
1492 effective_lowband != -1 ? norm2+effective_lowband : NULL, LM, in quant_all_bands()
1493 last?NULL:norm2+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, y_cm); in quant_all_bands()
/external/icu/icu4c/source/test/intltest/
Dtstnorm.cpp1348 const Normalizer2 *norm2=Normalizer2::getNFCInstance(errorCode); in initExpectedSkippables() local
1363 if(!norm2->isNormalized(s, errorCode)) { in initExpectedSkippables()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterTest.java2635 Normalizer2 norm2=Normalizer2.getNFDInstance(); in TestConsistency()
2643 String decomp=norm2.normalize(UTF16.valueOf(start)); in TestConsistency()