Home
last modified time | relevance | path

Searched refs:compositions (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp114 if(compositions==NULL) { in getCompositionPairs()
118 length=compositions->size()/2; in getCompositionPairs()
119 return reinterpret_cast<const CompositionPair *>(compositions->getBuffer()); in getCompositionPairs()
129 UVector32 *compositions; // (trail, composite) pairs member
189 delete norms[i].compositions; in ~Normalizer2DataBuilder()
381 UVector32 *compositions=leadNorm->compositions; in addComposition() local
383 if(compositions==NULL) { in addComposition()
384 compositions=leadNorm->compositions=new UVector32(errorCode); in addComposition()
403 compositions->insertElementAt(trail, 2*i, errorCode); in addComposition()
404 compositions->insertElementAt(start, 2*i+1, errorCode); in addComposition()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DNormalizer2Impl.java1819 private static int combine(String compositions, int list, int trail) { in combine() argument
1825 while(key1>(firstUnit=compositions.charAt(list))) { in combine()
1830 return ((int)compositions.charAt(list+1)<<16)|compositions.charAt(list+2); in combine()
1832 return compositions.charAt(list+1); in combine()
1842 if(key1>(firstUnit=compositions.charAt(list))) { in combine()
1845 if(key2>(secondUnit=compositions.charAt(list+1))) { in combine()
1852 return ((secondUnit&~COMP_2_TRAIL_MASK)<<16)|compositions.charAt(list+2); in combine()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DNormalizer2Impl.java1823 private static int combine(String compositions, int list, int trail) { in combine() argument
1829 while(key1>(firstUnit=compositions.charAt(list))) { in combine()
1834 return ((int)compositions.charAt(list+1)<<16)|compositions.charAt(list+2); in combine()
1836 return compositions.charAt(list+1); in combine()
1846 if(key1>(firstUnit=compositions.charAt(list))) { in combine()
1849 if(key2>(secondUnit=compositions.charAt(list+1))) { in combine()
1856 return ((secondUnit&~COMP_2_TRAIL_MASK)<<16)|compositions.charAt(list+2); in combine()