/external/icu/icu4c/source/common/unicode/ |
D | unorm2.h | 240 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode); 249 unorm2_close(UNormalizer2 *norm2); 287 unorm2_normalize(const UNormalizer2 *norm2, 310 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2, 333 unorm2_append(const UNormalizer2 *norm2, 358 unorm2_getDecomposition(const UNormalizer2 *norm2, 392 unorm2_getRawDecomposition(const UNormalizer2 *norm2, 412 unorm2_composePair(const UNormalizer2 *norm2, UChar32 a, UChar32 b); 424 unorm2_getCombiningClass(const UNormalizer2 *norm2, UChar32 c); 443 unorm2_isNormalized(const UNormalizer2 *norm2, [all …]
|
/external/icu/libandroidicu/include/unicode/ |
D | unorm2.h | 240 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode); 249 unorm2_close(UNormalizer2 *norm2); 287 unorm2_normalize(const UNormalizer2 *norm2, 310 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2, 333 unorm2_append(const UNormalizer2 *norm2, 358 unorm2_getDecomposition(const UNormalizer2 *norm2, 392 unorm2_getRawDecomposition(const UNormalizer2 *norm2, 412 unorm2_composePair(const UNormalizer2 *norm2, UChar32 a, UChar32 b); 424 unorm2_getCombiningClass(const UNormalizer2 *norm2, UChar32 c); 443 unorm2_isNormalized(const UNormalizer2 *norm2, [all …]
|
/external/icu/libicu/cts_headers/unicode/ |
D | unorm2.h | 240 unorm2_openFiltered(const UNormalizer2 *norm2, const USet *filterSet, UErrorCode *pErrorCode); 249 unorm2_close(UNormalizer2 *norm2); 287 unorm2_normalize(const UNormalizer2 *norm2, 310 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2, 333 unorm2_append(const UNormalizer2 *norm2, 358 unorm2_getDecomposition(const UNormalizer2 *norm2, 392 unorm2_getRawDecomposition(const UNormalizer2 *norm2, 412 unorm2_composePair(const UNormalizer2 *norm2, UChar32 a, UChar32 b); 424 unorm2_getCombiningClass(const UNormalizer2 *norm2, UChar32 c); 443 unorm2_isNormalized(const UNormalizer2 *norm2, [all …]
|
/external/icu/libicu/ndk_headers/unicode/ |
D | unorm2.h | 217 unorm2_close(UNormalizer2 *norm2) __INTRODUCED_IN(31); 257 unorm2_normalize(const UNormalizer2 *norm2, 282 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2, 307 unorm2_append(const UNormalizer2 *norm2, 334 unorm2_getDecomposition(const UNormalizer2 *norm2, 370 unorm2_getRawDecomposition(const UNormalizer2 *norm2, 392 unorm2_composePair(const UNormalizer2 *norm2, UChar32 a, UChar32 b) __INTRODUCED_IN(31); 406 unorm2_getCombiningClass(const UNormalizer2 *norm2, UChar32 c) __INTRODUCED_IN(31); 427 unorm2_isNormalized(const UNormalizer2 *norm2, 451 unorm2_quickCheck(const UNormalizer2 *norm2, [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NormalizationTransliterator.java | 25 private final Normalizer2 norm2; field in NormalizationTransliterator 78 norm2 = n2; in NormalizationTransliterator() 115 } while(start < limit && !norm2.hasBoundaryBefore(c = text.char32At(start))); in handleTransliterate() 116 if(start == limit && isIncremental && !norm2.hasBoundaryAfter(c)) { in handleTransliterate() 123 norm2.normalize(segment, normalized); in handleTransliterate() 144 final Normalizer2 norm2; field in NormalizationTransliterator.NormalizingTransform 145 public NormalizingTransform(Normalizer2 norm2) { in NormalizingTransform() argument 146 this.norm2 = norm2; in NormalizingTransform() 150 return norm2.normalize(source); in transform() 162 cache = SOURCE_CACHE.get(norm2); in addSourceTargetSet() [all …]
|
D | FilteredNormalizer2.java | 38 norm2=n2; in FilteredNormalizer2() 86 return set.contains(c) ? norm2.getDecomposition(c) : null; in getDecomposition() 94 return set.contains(c) ? norm2.getRawDecomposition(c) : null; in getRawDecomposition() 102 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : -1; in composePair() 110 return set.contains(c) ? norm2.getCombiningClass(c) : 0; in getCombiningClass() 124 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized() 147 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck() 172 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes() 188 return !set.contains(c) || norm2.hasBoundaryBefore(c); in hasBoundaryBefore() 196 return !set.contains(c) || norm2.hasBoundaryAfter(c); in hasBoundaryAfter() [all …]
|
D | Normalizer.java | 135 private Normalizer2 norm2; field in Normalizer 581 norm2 = mode.getNormalizer2(opt); in Normalizer() 606 norm2 = mode.getNormalizer2(opt); in Normalizer() 628 norm2 = mode.getNormalizer2(options); in Normalizer() 655 copy.norm2 = norm2; in clone() 1759 norm2 = mode.getNormalizer2(options); in setMode() 1798 norm2 = mode.getNormalizer2(options); in setOption() 1959 if(norm2.hasBoundaryBefore(c)) { in nextNormalize() 1966 norm2.normalize(segment, buffer); in nextNormalize() 1982 if(norm2.hasBoundaryBefore(c)) { in previousNormalize() [all …]
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | NormalizationTransliterator.java | 24 private final Normalizer2 norm2; field in NormalizationTransliterator 77 norm2 = n2; in NormalizationTransliterator() 114 } while(start < limit && !norm2.hasBoundaryBefore(c = text.char32At(start))); in handleTransliterate() 115 if(start == limit && isIncremental && !norm2.hasBoundaryAfter(c)) { in handleTransliterate() 122 norm2.normalize(segment, normalized); in handleTransliterate() 143 final Normalizer2 norm2; field in NormalizationTransliterator.NormalizingTransform 144 public NormalizingTransform(Normalizer2 norm2) { in NormalizingTransform() argument 145 this.norm2 = norm2; in NormalizingTransform() 149 return norm2.normalize(source); in transform() 161 cache = SOURCE_CACHE.get(norm2); in addSourceTargetSet() [all …]
|
/external/icu/icu4c/source/common/ |
D | normalizer2.cpp | 207 Normalizer2Factory::getImpl(const Normalizer2 *norm2) { in getImpl() argument 208 return &((Normalizer2WithImpl *)norm2)->impl; in getImpl() 324 unorm2_close(UNormalizer2 *norm2) { in unorm2_close() argument 325 delete (Normalizer2 *)norm2; in unorm2_close() 329 unorm2_normalize(const UNormalizer2 *norm2, in unorm2_normalize() argument 346 const Normalizer2 *n2=(const Normalizer2 *)norm2; in unorm2_normalize() 363 normalizeSecondAndAppend(const UNormalizer2 *norm2, in normalizeSecondAndAppend() argument 383 const Normalizer2 *n2=(const Normalizer2 *)norm2; in normalizeSecondAndAppend() 419 unorm2_normalizeSecondAndAppend(const UNormalizer2 *norm2, in unorm2_normalizeSecondAndAppend() argument 423 return normalizeSecondAndAppend(norm2, in unorm2_normalizeSecondAndAppend() [all …]
|
D | filterednormalizer2.cpp | 77 dest.append(norm2.normalize(src.tempSubStringBetween(prevSpanLimit, spanLimit), in normalize() 124 norm2.normalizeUTF8(options, StringPiece(src, spanLength), sink, edits, errorCode); in normalizeUTF8() 178 norm2.normalizeSecondAndAppend(first, prefix, errorCode); in normalizeSecondAndAppend() 180 norm2.append(first, prefix, errorCode); in normalizeSecondAndAppend() 185 norm2.normalizeSecondAndAppend(middle, prefix, errorCode); in normalizeSecondAndAppend() 187 norm2.append(middle, prefix, errorCode); in normalizeSecondAndAppend() 205 return set.contains(c) && norm2.getDecomposition(c, decomposition); in getDecomposition() 210 return set.contains(c) && norm2.getRawDecomposition(c, decomposition); in getRawDecomposition() 215 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : U_SENTINEL; in composePair() 220 return set.contains(c) ? norm2.getCombiningClass(c) : 0; in getCombiningClass() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | FilteredNormalizer2.java | 38 norm2=n2; in FilteredNormalizer2() 91 return set.contains(c) ? norm2.getDecomposition(c) : null; in getDecomposition() 100 return set.contains(c) ? norm2.getRawDecomposition(c) : null; in getRawDecomposition() 109 return (set.contains(a) && set.contains(b)) ? norm2.composePair(a, b) : -1; in composePair() 118 return set.contains(c) ? norm2.getCombiningClass(c) : 0; in getCombiningClass() 133 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) { in isNormalized() 157 norm2.quickCheck(s.subSequence(prevSpanLimit, spanLimit)); in quickCheck() 183 norm2.spanQuickCheckYes(s.subSequence(prevSpanLimit, spanLimit)); in spanQuickCheckYes() 200 return !set.contains(c) || norm2.hasBoundaryBefore(c); in hasBoundaryBefore() 209 return !set.contains(c) || norm2.hasBoundaryAfter(c); in hasBoundaryAfter() [all …]
|
D | Normalizer.java | 136 private Normalizer2 norm2; field in Normalizer 570 norm2 = mode.getNormalizer2(opt); in Normalizer() 594 norm2 = mode.getNormalizer2(opt); in Normalizer() 615 norm2 = mode.getNormalizer2(options); in Normalizer() 641 copy.norm2 = norm2; in clone() 1719 norm2 = mode.getNormalizer2(options); in setMode() 1756 norm2 = mode.getNormalizer2(options); in setOption() 1908 if(norm2.hasBoundaryBefore(c)) { in nextNormalize() 1915 norm2.normalize(segment, buffer); in nextNormalize() 1931 if(norm2.hasBoundaryBefore(c)) { in previousNormalize() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | nortrans.cpp | 65 const Normalizer2 *norm2 = Normalizer2::getInstance(NULL, name, mode, errorCode); in _create() local 67 return new NormalizationTransliterator(ID, *norm2); in _create() 77 const Normalizer2 &norm2) : in NormalizationTransliterator() argument 78 Transliterator(id, 0), fNorm2(norm2) {} in NormalizationTransliterator()
|
/external/icu/icu4c/source/test/perf/normperf/ |
D | simplenormperf.cpp | 237 norm2(n2), src(text), s(src.getBuffer()) {} in NormalizeUTF16() 242 const Normalizer2 &norm2; member in __anona8c344160111::NormalizeUTF16 259 norm2.normalize(piece, dest, errorCode); in call() 267 NormalizeUTF8(const Normalizer2 &n2, const UnicodeString &text) : norm2(n2), sink(&dest) { in NormalizeUTF8() 275 const Normalizer2 &norm2; member in __anona8c344160111::NormalizeUTF8 297 norm2.normalizeUTF8(0, piece, sink, nullptr, errorCode); in call()
|
/external/icu/libicu/src/ |
D | shim.cpp | 965 int32_t unorm2_append(const UNormalizer2 * norm2, UChar * first, int32_t firstLength, int32_t first… in unorm2_append() argument 966 …return U_ICU_ENTRY_POINT_RENAME(unorm2_append)(norm2, first, firstLength, firstCapacity, second, s… in unorm2_append() 968 void unorm2_close(UNormalizer2 * norm2) { in unorm2_close() argument 969 U_ICU_ENTRY_POINT_RENAME(unorm2_close)(norm2); in unorm2_close() 971 UChar32 unorm2_composePair(const UNormalizer2 * norm2, UChar32 a, UChar32 b) { in unorm2_composePair() argument 972 return U_ICU_ENTRY_POINT_RENAME(unorm2_composePair)(norm2, a, b); in unorm2_composePair() 974 uint8_t unorm2_getCombiningClass(const UNormalizer2 * norm2, UChar32 c) { in unorm2_getCombiningClass() argument 975 return U_ICU_ENTRY_POINT_RENAME(unorm2_getCombiningClass)(norm2, c); in unorm2_getCombiningClass() 977 int32_t unorm2_getDecomposition(const UNormalizer2 * norm2, UChar32 c, UChar * decomposition, int32… in unorm2_getDecomposition() argument 978 …return U_ICU_ENTRY_POINT_RENAME(unorm2_getDecomposition)(norm2, c, decomposition, capacity, pError… in unorm2_getDecomposition() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/ |
D | LevenbergMarquardtEstimator.java | 804 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/ |
D | LevenbergMarquardtOptimizer.java | 804 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/s2-geometry-library-java/src/com/google/common/geometry/ |
D | S2Cap.java | 192 return isFull() || S2Point.sub(axis, p).norm2() < 2 * height; in interiorContains() 209 double dist2 = S2Point.sub(axis, p).norm2(); in addPoint() 369 if (dot * dot > sin2Angle * edge.norm2()) { in intersects() 387 return S2Point.sub(axis, p).norm2() <= 2 * height; in contains()
|
D | S2.java | 238 return Math.abs(p.norm2() - 1) <= 1e-15; in isUnitLength() 613 double dab = vab.norm2(); in expensiveCCW() 614 double dbc = vbc.norm2(); in expensiveCCW() 615 double dca = vca.norm2(); in expensiveCCW() 676 double da = a.norm2(); in planarCCW() 677 double db = b.norm2(); in planarCCW()
|
D | S2EdgeUtil.java | 661 double d2 = S2Point.minus(x, y).norm2(); in replaceIfCloser() 785 double linearDist2 = Math.min(S2Point.minus(x, a).norm2(), S2Point.minus(x, b).norm2()); in getDistance() 801 S2Point p = S2Point.minus(x, S2Point.mul(crossProd, x.dotProd(crossProd) / crossProd.norm2())); in getClosestPoint() 808 return S2Point.minus(x, a).norm2() <= S2Point.minus(x, b).norm2() ? a : b; in getClosestPoint()
|
/external/eigen/unsupported/Eigen/src/Polynomials/ |
D | PolynomialSolver.h | 86 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/libandroidicu/static_shim/ |
D | shim.cpp | 364 UChar32 unorm2_composePair_android(const UNormalizer2 * norm2, UChar32 a, UChar32 b) { in unorm2_composePair_android() argument 365 return unorm2_composePair(norm2, a, b); in unorm2_composePair_android() 367 int32_t unorm2_getDecomposition_android(const UNormalizer2 * norm2, UChar32 c, UChar * decompositio… in unorm2_getDecomposition_android() argument 368 return unorm2_getDecomposition(norm2, c, decomposition, capacity, pErrorCode); in unorm2_getDecomposition_android() 376 int32_t unorm2_getRawDecomposition_android(const UNormalizer2 * norm2, UChar32 c, UChar * decomposi… in unorm2_getRawDecomposition_android() argument 377 return unorm2_getRawDecomposition(norm2, c, decomposition, capacity, pErrorCode); in unorm2_getRawDecomposition_android()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | TestDeprecatedNormalizerAPI.java | 40 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0); in TestNormalizerAPI() local 41 if(norm2.next()!=0xe4) { in TestNormalizerAPI()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
D | TestDeprecatedNormalizerAPI.java | 43 Normalizer norm2 = new Normalizer(s,Normalizer.NFC,0); in TestNormalizerAPI() local 44 if(norm2.next()!=0xe4) { in TestNormalizerAPI()
|
/external/icu/icu4c/source/test/intltest/ |
D | normconf.cpp | 285 UBool isNormalizedUTF8(const Normalizer2 &norm2, const UnicodeString &s, UErrorCode &errorCode) { in isNormalizedUTF8() argument 287 return norm2.isNormalizedUTF8(s.toUTF8String(s8), errorCode); in isNormalizedUTF8() 447 const Normalizer2 *norm2, in checkNorm() argument 474 if (norm2 == nullptr || options != 0) { in checkNorm() 486 norm2->normalizeUTF8(0, s8, sink, editsPtr, errorCode); in checkNorm()
|