Home
last modified time | relevance | path

Searched refs:nfcImpl (Results 1 – 25 of 41) sorted by relevance

12

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DFCDUTF16CollationIterator.java25 nfcImpl = d.nfcImpl; in FCDUTF16CollationIterator()
33 nfcImpl = data.nfcImpl; in FCDUTF16CollationIterator()
256 int fcd16 = nfcImpl.getFCD16(c);
270 } while(nfcImpl.getFCD16(c) > 0xff);
332 int fcd16 = nfcImpl.getFCD16(c);
347 } while((fcd16 = nfcImpl.getFCD16(c)) != 0);
368 nfcImpl.decompose(rawSeq, from, to, normalized, to - from);
409 private final Normalizer2Impl nfcImpl;
DFCDIterCollationIterator.java26 nfcImpl = data.nfcImpl; in FCDIterCollationIterator()
269 int fcd16 = nfcImpl.getFCD16(c); in nextSegment()
282 if(nfcImpl.getFCD16(c) <= 0xff) { in nextSegment()
358 int fcd16 = nfcImpl.getFCD16(c); in previousSegment()
372 fcd16 = nfcImpl.getFCD16(c); in previousSegment()
405 nfcImpl.decompose(s, normalized); in normalize()
446 private final Normalizer2Impl nfcImpl; local
DCollationTailoring.java46 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in ensureOwnedData() local
47 ownedData = new CollationData(nfcImpl); in ensureOwnedData()
DCollationData.java38 nfcImpl = nfc; in CollationData()
184 return nfcImpl.getFCD16(c); in getFCD16()
502 public Normalizer2Impl nfcImpl; field in CollationData
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DFCDUTF16CollationIterator.java27 nfcImpl = d.nfcImpl; in FCDUTF16CollationIterator()
35 nfcImpl = data.nfcImpl; in FCDUTF16CollationIterator()
258 int fcd16 = nfcImpl.getFCD16(c);
272 } while(nfcImpl.getFCD16(c) > 0xff);
334 int fcd16 = nfcImpl.getFCD16(c);
349 } while((fcd16 = nfcImpl.getFCD16(c)) != 0);
370 nfcImpl.decompose(rawSeq, from, to, normalized, to - from);
411 private final Normalizer2Impl nfcImpl;
DFCDIterCollationIterator.java28 nfcImpl = data.nfcImpl; in FCDIterCollationIterator()
271 int fcd16 = nfcImpl.getFCD16(c); in nextSegment()
284 if(nfcImpl.getFCD16(c) <= 0xff) { in nextSegment()
360 int fcd16 = nfcImpl.getFCD16(c); in previousSegment()
374 fcd16 = nfcImpl.getFCD16(c); in previousSegment()
407 nfcImpl.decompose(s, normalized); in normalize()
448 private final Normalizer2Impl nfcImpl; local
DCollationTailoring.java48 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in ensureOwnedData() local
49 ownedData = new CollationData(nfcImpl); in ensureOwnedData()
DCollationData.java40 nfcImpl = nfc; in CollationData()
186 return nfcImpl.getFCD16(c); in getFCD16()
504 public Normalizer2Impl nfcImpl; field in CollationData
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java1175 int nfdQCYesLimit = data.nfcImpl.decompose(s, 0, s.length(), null); in writeIdenticalLevel()
1187 data.nfcImpl.decompose(s, nfdQCYesLimit, s.length(), nfd, destLengthEstimate); in writeIdenticalLevel()
1525 final int nextDecomposedCodePoint(Normalizer2Impl nfcImpl, int c) { in nextDecomposedCodePoint() argument
1527 decomp = nfcImpl.getDecomposition(c); in nextDecomposedCodePoint()
1566 void setText(Normalizer2Impl nfcImpl, CharSequence seq, int start) { in setText() argument
1568 int spanLimit = nfcImpl.makeFCD(seq, start, seq.length(), null); in setText()
1579 ReorderingBuffer buffer = new ReorderingBuffer(nfcImpl, str, seq.length() - start); in setText()
1580 nfcImpl.makeFCD(seq, spanLimit, seq.length(), buffer); in setText()
1589 …private static final int compareNFDIter(Normalizer2Impl nfcImpl, NFDIterator left, NFDIterator rig… in compareNFDIter() argument
1604 leftCp = left.nextDecomposedCodePoint(nfcImpl, leftCp); in compareNFDIter()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedCollator.java1147 int nfdQCYesLimit = data.nfcImpl.decompose(s, 0, s.length(), null); in writeIdenticalLevel()
1159 data.nfcImpl.decompose(s, nfdQCYesLimit, s.length(), nfd, destLengthEstimate); in writeIdenticalLevel()
1486 final int nextDecomposedCodePoint(Normalizer2Impl nfcImpl, int c) { in nextDecomposedCodePoint() argument
1488 decomp = nfcImpl.getDecomposition(c); in nextDecomposedCodePoint()
1527 void setText(Normalizer2Impl nfcImpl, CharSequence seq, int start) { in setText() argument
1529 int spanLimit = nfcImpl.makeFCD(seq, start, seq.length(), null); in setText()
1540 ReorderingBuffer buffer = new ReorderingBuffer(nfcImpl, str, seq.length() - start); in setText()
1541 nfcImpl.makeFCD(seq, spanLimit, seq.length(), buffer); in setText()
1550 …private static final int compareNFDIter(Normalizer2Impl nfcImpl, NFDIterator left, NFDIterator rig… in compareNFDIter() argument
1565 leftCp = left.nextDecomposedCodePoint(nfcImpl, leftCp); in compareNFDIter()
[all …]
DCanonicalIterator.java53 nfcImpl = allModes.impl.ensureCanonIterData(); in CanonicalIterator()
135 if (nfcImpl.isCanonSegmentStarter(cp)) { in setSource()
230 private final Normalizer2Impl nfcImpl; field in CanonicalIterator
299 if (!nfcImpl.getCanonStartSet(cp, starts)) { in getEquivalents2()
366 String decomp = nfcImpl.getDecomposition(comp); in extract()
/external/icu/icu4c/source/i18n/
Drulebasedcollator.cpp806 UChar32 nextDecomposedCodePoint(const Normalizer2Impl &nfcImpl, UChar32 c) { in nextDecomposedCodePoint() argument
808 decomp = nfcImpl.getDecomposition(c, buffer, length); in nextDecomposedCodePoint()
852 FCDUTF16NFDIterator(const Normalizer2Impl &nfcImpl, const UChar *text, const UChar *textLimit) in FCDUTF16NFDIterator() argument
855 const UChar *spanLimit = nfcImpl.makeFCD(text, textLimit, NULL, errorCode); in FCDUTF16NFDIterator()
863 ReorderingBuffer buffer(nfcImpl, str); in FCDUTF16NFDIterator()
865 nfcImpl.makeFCD(spanLimit, textLimit, &buffer, errorCode); in FCDUTF16NFDIterator()
932 UCollationResult compareNFDIter(const Normalizer2Impl &nfcImpl, in compareNFDIter() argument
948 leftCp = left.nextDecomposedCodePoint(nfcImpl, leftCp); in compareNFDIter()
955 rightCp = right.nextDecomposedCodePoint(nfcImpl, rightCp); in compareNFDIter()
1070 const Normalizer2Impl &nfcImpl = data->nfcImpl; in doCompare() local
[all …]
Dutf16collationiterator.cpp156 nfcImpl(other.nfcImpl), in FCDUTF16CollationIterator()
381 uint16_t fcd16 = nfcImpl.nextFCD16(p, rawLimit); in nextSegment()
392 } while(p != rawLimit && nfcImpl.nextFCD16(p, rawLimit) > 0xff); in nextSegment()
445 uint16_t fcd16 = nfcImpl.previousFCD16(rawStart, p); in previousSegment()
458 (fcd16 = nfcImpl.previousFCD16(rawStart, p)) != 0); in previousSegment()
479 nfcImpl.decompose(from, to, normalized, (int32_t)(to - from), errorCode); in normalize()
Duitercollationiterator.h67 nfcImpl(data->nfcImpl) {} in FCDUIterCollationIterator()
151 const Normalizer2Impl &nfcImpl; variable
Dutf8collationiterator.h83 nfcImpl(data->nfcImpl) {} in FCDUTF8CollationIterator()
164 const Normalizer2Impl &nfcImpl; variable
Dutf16collationiterator.h89 nfcImpl(data->nfcImpl), in FCDUTF16CollationIterator()
175 const Normalizer2Impl &nfcImpl; variable
Dcollationdata.h57 nfcImpl(nfc), in CollationData()
128 return nfcImpl.getFCD16(c); in getFCD16()
192 const Normalizer2Impl &nfcImpl; member
Duitercollationiterator.cpp315 uint16_t fcd16 = nfcImpl.getFCD16(c); in nextSegment()
328 if(nfcImpl.getFCD16(c) <= 0xff) { in nextSegment()
396 uint16_t fcd16 = nfcImpl.getFCD16(c); in previousSegment()
410 fcd16 = nfcImpl.getFCD16(c); in previousSegment()
442 nfcImpl.decompose(s, normalized, errorCode); in normalize()
Dcollationtailoring.cpp71 const Normalizer2Impl *nfcImpl = Normalizer2Factory::getNFCImpl(errorCode); in ensureOwnedData() local
73 ownedData = new CollationData(*nfcImpl); in ensureOwnedData()
Dutf8collationiterator.cpp398 uint16_t fcd16 = nfcImpl.getFCD16(c); in nextSegment()
411 if(nfcImpl.getFCD16(c) <= 0xff) { in nextSegment()
477 uint16_t fcd16 = nfcImpl.getFCD16(c); in previousSegment()
491 fcd16 = nfcImpl.getFCD16(c); in previousSegment()
523 nfcImpl.decompose(s, normalized, errorCode); in normalize()
/external/icu/icu4c/source/common/
Dunormcmp.cpp145 const Normalizer2Impl *nfcImpl; in unorm_cmpEquivFold() local
180 nfcImpl=Normalizer2Factory::getNFCImpl(*pErrorCode); in unorm_cmpEquivFold()
182 nfcImpl=NULL; in unorm_cmpEquivFold()
410 0!=(p=nfcImpl->getDecomposition((UChar32)cp1, decomp1, length)) in unorm_cmpEquivFold()
451 0!=(p=nfcImpl->getDecomposition((UChar32)cp2, decomp2, length)) in unorm_cmpEquivFold()
Dcaniter.cpp75 nfcImpl(*Normalizer2Factory::getNFCImpl(status)) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
77 if(U_SUCCESS(status) && nfcImpl.ensureCanonIterData(status)) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
220 if (nfcImpl.isCanonSegmentStarter(cp)) { in setSource()
449 if (!nfcImpl.getCanonStartSet(cp, starts)) { in getEquivalents2()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCanonicalIterator.java53 nfcImpl = allModes.impl.ensureCanonIterData(); in CanonicalIterator()
139 if (nfcImpl.isCanonSegmentStarter(cp)) { in setSource()
234 private final Normalizer2Impl nfcImpl; field in CanonicalIterator
303 if (!nfcImpl.getCanonStartSet(cp, starts)) { in getEquivalents2()
370 String decomp = nfcImpl.getDecomposition(comp); in extract()
/external/icu/icu4c/source/test/intltest/
Ducdtest.cpp328 const Normalizer2Impl *nfcImpl=Normalizer2Factory::getNFCImpl(errorCode); in TestConsistency() local
329 if(!nfcImpl->ensureCanonIterData(errorCode) || errorCode.isFailure()) { in TestConsistency()
337 if (nfcImpl->getCanonStartSet(0x49, set1)) { in TestConsistency()
/external/icu/icu4c/source/common/unicode/
Dcaniter.h182 const Normalizer2Impl &nfcImpl; variable

12