Home
last modified time | relevance | path

Searched refs:nfcImpl (Results 1 – 25 of 30) 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.java45 Normalizer2Impl nfcImpl = Norm2AllModes.getNFCInstance().impl; in ensureOwnedData() local
46 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
DCollationDataBuilder.java49 nfcImpl = Norm2AllModes.getNFCInstance().impl; in CollationDataBuilder()
1084 int fcd16 = nfcImpl.getFCD16(suffix.codePointAt(0)); in buildContext()
1088 fcd16 = nfcImpl.getFCD16(suffix.codePointBefore(suffix.length())); in buildContext()
1165 collIter = new DataBuilderCollationIterator(this, new CollationData(nfcImpl)); in getCEs()
1335 protected Normalizer2Impl nfcImpl; field in CollationDataBuilder
DCollationBuilder.java39 nfcImpl = Norm2AllModes.getNFCInstance().impl; in CollationBuilder()
49 nfcImpl.ensureCanonIterData(); in CollationBuilder()
912 if(!nfcImpl.getCanonStartSet(lastStarter, composites)) { return; }
1487 private Normalizer2Impl nfcImpl; field in CollationBuilder
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java1194 int nfdQCYesLimit = data.nfcImpl.decompose(s, 0, s.length(), null); in writeIdenticalLevel()
1206 data.nfcImpl.decompose(s, nfdQCYesLimit, s.length(), nfd, destLengthEstimate); in writeIdenticalLevel()
1543 final int nextDecomposedCodePoint(Normalizer2Impl nfcImpl, int c) { in nextDecomposedCodePoint() argument
1545 decomp = nfcImpl.getDecomposition(c); in nextDecomposedCodePoint()
1584 void setText(Normalizer2Impl nfcImpl, CharSequence seq, int start) { in setText() argument
1586 int spanLimit = nfcImpl.makeFCD(seq, start, seq.length(), null); in setText()
1597 ReorderingBuffer buffer = new ReorderingBuffer(nfcImpl, str, seq.length() - start); in setText()
1598 nfcImpl.makeFCD(seq, spanLimit, seq.length(), buffer); in setText()
1607 …private static final int compareNFDIter(Normalizer2Impl nfcImpl, NFDIterator left, NFDIterator rig… in compareNFDIter() argument
1622 leftCp = left.nextDecomposedCodePoint(nfcImpl, leftCp); in compareNFDIter()
[all …]
/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 …]
Duitercollationiterator.h67 nfcImpl(data->nfcImpl) {} in FCDUIterCollationIterator()
151 const Normalizer2Impl &nfcImpl; variable
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()
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()
Dcollationdatabuilder.h234 const Normalizer2Impl &nfcImpl; variable
Dcollationbuilder.h294 const Normalizer2Impl &nfcImpl; variable
/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()
DNormalizer.java2028 Normalizer2Impl nfcImpl; in cmpEquivFold() local
2062 nfcImpl=Norm2AllModes.getNFCInstance().impl; in cmpEquivFold()
2064 nfcImpl=null; in cmpEquivFold()
2289 (decomp1=nfcImpl.getDecomposition(cp1))!=null in cmpEquivFold()
2333 (decomp2=nfcImpl.getDecomposition(cp2))!=null in cmpEquivFold()
/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()
Dtstnorm.cpp1111 const Normalizer2Impl *nfcImpl=Normalizer2Factory::getNFCImpl(errorCode); in TestCompare() local
1112 if(U_FAILURE(errorCode) || !nfcImpl->ensureCanonIterData(errorCode)) { in TestCompare()
1120 if(nfcImpl->getCanonStartSet(iI[i], iSet)) { in TestCompare()
/external/icu/icu4c/source/common/unicode/
Dcaniter.h182 const Normalizer2Impl &nfcImpl; variable

12