/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
ArabicCharacterData.java | 41 return decomposition; 55 decomposition = Normalizer.compose(UCharacter.toString(character), true); 59 decomposition = Normalizer.decompose(UCharacter.toString(character), true); 63 decomposition = null; 70 private String decomposition; field in class:ArabicCharacterData.Record
|
DecompTable.java | 29 DecompEntry(int composedChar, String decomposition) 31 int decompCount = UTF16.countCodePoint(decomposition); 38 for (int in = 0; in < decomposition.length(); in += UTF16.getCharCount(cp)) { 39 cp = UTF16.charAt(decomposition, in); 106 public void add(int composed, String decomposition) 108 DecompEntry entry = new DecompEntry(composed, decomposition);
|
CanonGSUBBuilder.java | 24 * decomposition. 27 * will match all Latin, Greek and Cyrillic characters with a canonical decomposition. 33 * It might be better to collect all the characters that have a canonical decomposition and just 78 String decomposition = record.getDecomposition(); local 80 if (decomposition != null && decomposition.length() == 1) { 120 String decomposition = record.getDecomposition(); local 122 if (decomposition != null && decomposition.length() > 1) { 131 contextualTree.insert(convertArabicString(decompType, ligature, decomposition, isolClassTable)) [all...] |
/external/icu/icu4c/source/common/unicode/ |
normalizer2.h | 256 * Gets the decomposition mapping of c. 260 * if c does not have a decomposition mapping in this instance's data. 263 * @param decomposition String object which will be set to c's 264 * decomposition mapping, if there is one. 265 * @return TRUE if c has a decomposition, otherwise FALSE 269 getDecomposition(UChar32 c, UnicodeString &decomposition) const = 0; 272 * Gets the raw decomposition mapping of c. 275 * raw decomposition mapping as specified in UnicodeData.txt or 290 * @param decomposition String object which will be set to c's 291 * raw decomposition mapping, if there is one [all...] |
unorm2.h | 46 * Decomposition followed by composition. 65 * If a string is in this form, then further decomposition <i>without reordering</i> 335 * Gets the decomposition mapping of c. 339 * if c does not have a decomposition mapping in this instance's data. 343 * @param decomposition String buffer which will be set to c's 344 * decomposition mapping, if there is one. 345 * @param capacity number of UChars that can be written to decomposition 350 * @return the non-negative length of c's decomposition, if there is one; otherwise a negative value 355 UChar32 c, UChar *decomposition, int32_t capacity, 359 * Gets the raw decomposition mapping of c [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/norm/ |
forminfo.go | 16 // For v < 0x8000, the respective rune has a decomposition and v is an index 17 // into a byte array of UTF-8 decomposition sequences and additional info and 20 // The header contains the number of bytes in the decomposition (excluding this 41 ccc uint8 // leading canonical combining class (ccc if not decomposition) 42 tccc uint8 // trailing canonical combining class (ccc if not decomposition) 94 // We assume that the CCC of the first character in a decomposition 110 // 2: NFD_QC Yes (0) or No (1). No also means there is a decomposition. 140 // Decomposition returns the decomposition for the underlying rune 142 func (p Properties) Decomposition() []byte [all...] |
iter.go | 26 multiSeg []byte // remainder of multi-segment decomposition 192 // treat last segment as normal decomposition 238 } else if d := i.info.Decomposition(); d != nil { 240 // Case 1: there is a leftover to copy. In this case the decomposition 257 // We are in the last segment. Treat as normal decomposition. 407 d := i.info.Decomposition()
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/ |
forminfo.go | 16 // For v < 0x8000, the respective rune has a decomposition and v is an index 17 // into a byte array of UTF-8 decomposition sequences and additional info and 20 // The header contains the number of bytes in the decomposition (excluding this 41 ccc uint8 // leading canonical combining class (ccc if not decomposition) 42 tccc uint8 // trailing canonical combining class (ccc if not decomposition) 94 // We assume that the CCC of the first character in a decomposition 110 // 2: NFD_QC Yes (0) or No (1). No also means there is a decomposition. 140 // Decomposition returns the decomposition for the underlying rune 142 func (p Properties) Decomposition() []byte [all...] |
iter.go | 26 multiSeg []byte // remainder of multi-segment decomposition 192 // treat last segment as normal decomposition 238 } else if d := i.info.Decomposition(); d != nil { 240 // Case 1: there is a leftover to copy. In this case the decomposition 257 // We are in the last segment. Treat as normal decomposition. 407 d := i.info.Decomposition()
|
/external/icu/icu4c/source/common/ |
normalizer2.cpp | 394 UChar32 c, UChar *decomposition, int32_t capacity, 399 if(decomposition==NULL ? capacity!=0 : capacity<0) { 403 UnicodeString destString(decomposition, 0, capacity); 405 return destString.extract(decomposition, capacity, *pErrorCode); 413 UChar32 c, UChar *decomposition, int32_t capacity, 418 if(decomposition==NULL ? capacity!=0 : capacity<0) { 422 UnicodeString destString(decomposition, 0, capacity); 424 return destString.extract(decomposition, capacity, *pErrorCode);
|
filterednormalizer2.cpp | 156 FilteredNormalizer2::getDecomposition(UChar32 c, UnicodeString &decomposition) const { 157 return set.contains(c) && norm2.getDecomposition(c, decomposition); 161 FilteredNormalizer2::getRawDecomposition(UChar32 c, UnicodeString &decomposition) const { 162 return set.contains(c) && norm2.getRawDecomposition(c, decomposition);
|
norm2allmodes.h | 108 getDecomposition(UChar32 c, UnicodeString &decomposition) const { 116 decomposition.setTo(buffer, length); // copy the string (Jamos from Hangul syllable c) 118 decomposition.setTo(FALSE, d, length); // read-only alias 123 getRawDecomposition(UChar32 c, UnicodeString &decomposition) const { 131 decomposition.setTo(buffer, length); // copy the string (algorithmic decomposition) 133 decomposition.setTo(FALSE, d, length); // read-only alias
|
/prebuilts/go/darwin-x86/test/ken/ |
cplx3.go | 7 // Test composition, decomposition, and reflection on complex numbers.
|
/prebuilts/go/linux-x86/test/ken/ |
cplx3.go | 7 // Test composition, decomposition, and reflection on complex numbers.
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
ComposedCharIter.java | 35 * composed characters in Unicode. If the decomposition for that character 38 * its decomposition sequence. 51 * is a canonical decomposition. 90 * @param options Optional decomposition features. None are supported, so this is ignored. 134 * Returns the Unicode decomposition of the current character. 135 * This method returns the decomposition of the precomposed character most 136 * recently returned by {@link #next}. The resulting decomposition is 141 public String decomposition() { method in class:ComposedCharIter 142 // the decomposition buffer contains the decomposition of [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ComposedCharIter.java | 34 * composed characters in Unicode. If the decomposition for that character 37 * its decomposition sequence. 50 * is a canonical decomposition. 88 * @param options Optional decomposition features. None are supported, so this is ignored. 132 * Returns the Unicode decomposition of the current character. 133 * This method returns the decomposition of the precomposed character most 134 * recently returned by {@link #next}. The resulting decomposition is 139 public String decomposition() { method in class:ComposedCharIter 140 // the decomposition buffer contains the decomposition of [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/pybench/ |
Unicode.py | 474 decomposition = unicodedata.decomposition
487 decomposition(c)
496 decomposition(c)
505 decomposition(c)
514 decomposition(c)
523 decomposition(c)
536 decomposition = unicodedata.decomposition
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
TestDeprecatedNormalizerAPI.java | 71 * <li>b) The decomposition according to the iterator is the same as 99 String iterDecomp = iter.decomposition(); 119 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" 136 String decomp = iter.decomposition();
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
Collator.java | 69 * Unlike the JDK, ICU4J's Collator deals only with 2 decomposition modes, 70 * the canonical decomposition mode and one that does not use any decomposition. 71 * The compatibility decomposition mode, java.text.Collator.FULL_DECOMPOSITION 73 * decomposition mode is set, the Collator handles un-normalized text properly, 75 * canonical decomposition is turned off, it is the user's responsibility to 99 * System.out.println("à\u0325 is not equals to a\u0325̀ without decomposition"); 102 * System.out.println("Error: à\u0325 should be equals to a\u0325̀ with decomposition"); 105 * System.out.println("à\u0325 is equals to a\u0325̀ with decomposition"); 109 * System.out.println("Error: à\u0325 should be not equals to a\u0325̀ without decomposition"); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
TestDeprecatedNormalizerAPI.java | 70 * <li>b) The decomposition according to the iterator is the same as 98 String iterDecomp = iter.decomposition(); 118 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")" 135 String decomp = iter.decomposition();
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_unicodedata.py | 97 self.db.decomposition(char),
158 self.assertEqual(self.db.decomposition(u'\uFFFE'),'')
159 self.assertEqual(self.db.decomposition(u'\u00bc'), '<fraction> 0031 2044 0034')
161 self.assertRaises(TypeError, self.db.decomposition)
162 self.assertRaises(TypeError, self.db.decomposition, u'xx')
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_unicodedata.py | 97 self.db.decomposition(char), 158 self.assertEqual(self.db.decomposition(u'\uFFFE'),'') 159 self.assertEqual(self.db.decomposition(u'\u00bc'), '<fraction> 0031 2044 0034') 161 self.assertRaises(TypeError, self.db.decomposition) 162 self.assertRaises(TypeError, self.db.decomposition, u'xx')
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_unicodedata.py | 97 self.db.decomposition(char), 158 self.assertEqual(self.db.decomposition(u'\uFFFE'),'') 159 self.assertEqual(self.db.decomposition(u'\u00bc'), '<fraction> 0031 2044 0034') 161 self.assertRaises(TypeError, self.db.decomposition) 162 self.assertRaises(TypeError, self.db.decomposition, u'xx')
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_unicodedata.py | 97 self.db.decomposition(char), 158 self.assertEqual(self.db.decomposition(u'\uFFFE'),'') 159 self.assertEqual(self.db.decomposition(u'\u00bc'), '<fraction> 0031 2044 0034') 161 self.assertRaises(TypeError, self.db.decomposition) 162 self.assertRaises(TypeError, self.db.decomposition, u'xx')
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_unicodedata.py | 97 self.db.decomposition(char), 158 self.assertEqual(self.db.decomposition(u'\uFFFE'),'') 159 self.assertEqual(self.db.decomposition(u'\u00bc'), '<fraction> 0031 2044 0034') 161 self.assertRaises(TypeError, self.db.decomposition) 162 self.assertRaises(TypeError, self.db.decomposition, u'xx')
|