Searched refs:norm2 (Results 1 - 25 of 26) sorted by relevance

12

/external/icu/icu4c/source/common/unicode/
H A Dunorm2.h226 * @param norm2 wrapped UNormalizer2 instance
236 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode);
241 * @param norm2 UNormalizer2 instance to be closed
245 unorm2_close(UNormalizer2 *norm2);
270 * @param norm2 UNormalizer2 instance
283 unorm2_normalize(const UNormalizer2 *norm2,
292 * @param norm2 UNormalizer2 instance
306 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2,
315 * @param norm2 UNormalizer2 instance
329 unorm2_append(const UNormalizer2 *norm2,
[all...]
H A Dnormalizer2.h458 norm2(n2), set(filterSet) {}
653 const Normalizer2 &norm2; member in class:FilteredNormalizer2
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DNormalizationTransliterator.java25 private final Normalizer2 norm2; field in class:NormalizationTransliterator
78 norm2 = n2;
115 } while(start < limit && !norm2.hasBoundaryBefore(c = text.char32At(start)));
116 if(start == limit && isIncremental && !norm2.hasBoundaryAfter(c)) {
123 norm2.normalize(segment, normalized);
144 final Normalizer2 norm2; field in class:NormalizationTransliterator.NormalizingTransform
145 public NormalizingTransform(Normalizer2 norm2) { argument
146 this.norm2 = norm2;
150 return norm2
[all...]
H A DFilteredNormalizer2.java38 norm2=n2;
86 return set.contains(c) ? norm2.getDecomposition(c) : null;
94 return set.contains(c) ? norm2.getRawDecomposition(c) : null;
102 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : -1;
110 return set.contains(c) ? norm2.getCombiningClass(c) : 0;
124 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) {
147 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit));
172 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit));
188 return !set.contains(c) || norm2.hasBoundaryBefore(c);
196 return !set.contains(c) || norm2
288 private Normalizer2 norm2; field in class:FilteredNormalizer2
[all...]
H A DNormalizer.java135 private Normalizer2 norm2; field in class:Normalizer
580 norm2 = mode.getNormalizer2(opt);
605 norm2 = mode.getNormalizer2(opt);
627 norm2 = mode.getNormalizer2(options);
654 copy.norm2 = norm2;
1758 norm2 = mode.getNormalizer2(options);
1797 norm2 = mode.getNormalizer2(options);
1958 if(norm2.hasBoundaryBefore(c)) {
1965 norm2
[all...]
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
H A DNormalizationTransliterator.java24 private final Normalizer2 norm2; field in class:NormalizationTransliterator
77 norm2 = n2;
114 } while(start < limit && !norm2.hasBoundaryBefore(c = text.char32At(start)));
115 if(start == limit && isIncremental && !norm2.hasBoundaryAfter(c)) {
122 norm2.normalize(segment, normalized);
143 final Normalizer2 norm2; field in class:NormalizationTransliterator.NormalizingTransform
144 public NormalizingTransform(Normalizer2 norm2) { argument
145 this.norm2 = norm2;
149 return norm2
[all...]
/external/icu/icu4c/source/common/
H A Dnormalizer2.cpp255 Normalizer2Factory::getImpl(const Normalizer2 *norm2) { argument
256 return &((Normalizer2WithImpl *)norm2)->impl;
276 unorm2_close(UNormalizer2 *norm2) { argument
277 delete (Normalizer2 *)norm2;
281 unorm2_normalize(const UNormalizer2 *norm2, argument
298 const Normalizer2 *n2=(const Normalizer2 *)norm2;
315 normalizeSecondAndAppend(const UNormalizer2 *norm2, argument
335 const Normalizer2 *n2=(const Normalizer2 *)norm2;
371 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2,
375 return normalizeSecondAndAppend(norm2,
[all...]
H A Dfilterednormalizer2.cpp73 // Not norm2.normalizeSecondAndAppend() because we do not want
75 dest.append(norm2.normalize(src.tempSubStringBetween(prevSpanLimit, spanLimit),
130 norm2.normalizeSecondAndAppend(first, prefix, errorCode);
132 norm2.append(first, prefix, errorCode);
137 norm2.normalizeSecondAndAppend(middle, prefix, errorCode);
139 norm2.append(middle, prefix, errorCode);
157 return set.contains(c) && norm2.getDecomposition(c, decomposition);
162 return set.contains(c) && norm2.getRawDecomposition(c, decomposition);
167 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : U_SENTINEL;
172 return set.contains(c) ? norm2
274 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode) argument
[all...]
H A Dloadednormalizer2impl.cpp350 const Normalizer2 *norm2=Normalizer2Factory::getInstance(mode, errorCode); local
352 return ((const Normalizer2WithImpl *)norm2)->getQuickCheck(c);
H A Duprops.cpp97 const Normalizer2 *norm2=Normalizer2Factory::getInstance( local
99 return U_SUCCESS(errorCode) && norm2->isInert(c);
H A Dnormalizer2impl.h632 // Must be used only when it is known that norm2 is a Normalizer2WithImpl instance.
633 static const Normalizer2Impl *getImpl(const Normalizer2 *norm2);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DFilteredNormalizer2.java38 norm2=n2;
91 return set.contains(c) ? norm2.getDecomposition(c) : null;
100 return set.contains(c) ? norm2.getRawDecomposition(c) : null;
109 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : -1;
118 return set.contains(c) ? norm2.getCombiningClass(c) : 0;
133 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) {
157 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit));
183 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit));
200 return !set.contains(c) || norm2.hasBoundaryBefore(c);
209 return !set.contains(c) || norm2
302 private Normalizer2 norm2; field in class:FilteredNormalizer2
[all...]
H A DNormalizer.java136 private Normalizer2 norm2; field in class:Normalizer
570 norm2 = mode.getNormalizer2(opt);
594 norm2 = mode.getNormalizer2(opt);
615 norm2 = mode.getNormalizer2(options);
641 copy.norm2 = norm2;
1719 norm2 = mode.getNormalizer2(options);
1756 norm2 = mode.getNormalizer2(options);
1908 if(norm2.hasBoundaryBefore(c)) {
1915 norm2
[all...]
/external/icu/icu4c/source/i18n/
H A Dnortrans.cpp65 const Normalizer2 *norm2 = Normalizer2::getInstance(NULL, name, mode, errorCode); local
67 return new NormalizationTransliterator(ID, *norm2);
77 const Normalizer2 &norm2) :
78 Transliterator(id, 0), fNorm2(norm2) {}
76 NormalizationTransliterator(const UnicodeString& id, const Normalizer2 &norm2) argument
H A Dnortrans.h89 NormalizationTransliterator(const UnicodeString& id, const Normalizer2 &norm2);
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
H A DLevenbergMarquardtEstimator.java804 double norm2 = 0;
807 norm2 += akk * akk;
809 jacNorm[k] = FastMath.sqrt(norm2);
819 double norm2 = 0;
823 norm2 += aki * aki;
825 if (Double.isInfinite(norm2) || Double.isNaN(norm2)) {
830 if (norm2 > ak2) {
832 ak2 = norm2;
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
H A DLevenbergMarquardtOptimizer.java804 double norm2 = 0;
807 norm2 += akk * akk;
809 jacNorm[k] = FastMath.sqrt(norm2);
819 double norm2 = 0;
822 norm2 += aki * aki;
824 if (Double.isInfinite(norm2) || Double.isNaN(norm2)) {
828 if (norm2 > ak2) {
830 ak2 = norm2;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
H A DTestDeprecatedNormalizerAPI.java38 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0);
39 if(norm2.next()!=0xe4) {
H A DBasicTest.java2388 Normalizer2 norm2=Normalizer2.getNFCInstance();
2403 if(!norm2.isNormalized(s)) {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
H A DTestDeprecatedNormalizerAPI.java37 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0);
38 if(norm2.next()!=0xe4) {
H A DBasicTest.java2387 Normalizer2 norm2=Normalizer2.getNFCInstance();
2402 if(!norm2.isNormalized(s)) {
/external/eigen/unsupported/Eigen/src/Polynomials/
H A DPolynomialSolver.h86 RealScalar norm2 = numext::abs2( m_roots[0] ); local
90 if( pred( currNorm2, norm2 ) ){
91 res=i; norm2=currNorm2; }
/external/libopus/celt/
H A Dbands.c1373 celt_norm * OPUS_RESTRICT norm, * OPUS_RESTRICT norm2; local
1397 norm2 = norm + M*eBands[m->nbEBands-1]-norm_offset;
1495 norm[j] = HALF32(norm[j]+norm2[j]);
1503 effective_lowband != -1 ? norm2+effective_lowband : NULL, LM,
1504 last?NULL:norm2+M*eBands[i]-norm_offset, Q15ONE, lowband_scratch, y_cm);
/external/icu/icu4c/source/test/intltest/
H A Dtstnorm.cpp1351 const Normalizer2 *norm2=Normalizer2::getNFCInstance(errorCode); local
1366 if(!norm2->isNormalized(s, errorCode)) {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
H A DUCharacterTest.java2669 Normalizer2 norm2=Normalizer2.getNFDInstance();
2677 String decomp=norm2.normalize(UTF16.valueOf(start));

Completed in 654 milliseconds

12