HomeSort by relevance Sort by last modified time
    Searched refs:decomposition (Results 1 - 25 of 36) sorted by null

1 2

  /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 288 * Gets the decomposition mapping of c.
292 * if c does not have a decomposition mapping in this instance's data.
295 * @param decomposition String object which will be set to c's
296 * decomposition mapping, if there is one.
297 * @return TRUE if c has a decomposition, otherwise FALSE
301 getDecomposition(UChar32 c, UnicodeString &decomposition) const = 0;
304 * Gets the raw decomposition mapping of c.
307 * raw decomposition mapping as specified in UnicodeData.txt or
322 * @param decomposition String object which will be set to c's
323 * raw decomposition mapping, if there is one
    [all...]
unorm2.h 47 * Decomposition followed by composition.
66 * If a string is in this form, then further decomposition <i>without reordering</i>
336 * Gets the decomposition mapping of c.
340 * if c does not have a decomposition mapping in this instance's data.
344 * @param decomposition String buffer which will be set to c's
345 * decomposition mapping, if there is one.
346 * @param capacity number of UChars that can be written to decomposition
351 * @return the non-negative length of c's decomposition, if there is one; otherwise a negative value
356 UChar32 c, UChar *decomposition, int32_t capacity,
360 * Gets the raw decomposition mapping of c
    [all...]
  /external/syzkaller/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)
97 // We assume that the CCC of the first character in a decomposition
113 // 2: NFD_QC Yes (0) or No (1). No also means there is a decomposition.
143 // Decomposition returns the decomposition for the underlying rune
145 func (p Properties) Decomposition() []byte
    [all...]
maketables.go 159 decomp Decomposition
160 expandedDecomp Decomposition
172 fmt.Fprintf(buf, " decomposition: %X\n", f.decomp)
178 type Decomposition []rune
330 func insertOrdered(b Decomposition, r rune) Decomposition {
348 func decomposeRecursive(form int, r rune, d Decomposition) Decomposition {
360 // Phase 0: pre-expand decomposition.
366 exp := make(Decomposition, 0
    [all...]
iter.go 26 multiSeg []byte // remainder of multi-segment decomposition
196 // treat last segment as normal decomposition
240 } else if d := i.info.Decomposition(); d != nil {
242 // Case 1: there is a leftover to copy. In this case the decomposition
261 // We are in the last segment. Treat as normal decomposition.
414 d := i.info.Decomposition()
  /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...]
Normalizer.java 97 * <p>The form is defined such that the "raw decomposition", the recursive
98 * canonical decomposition of each character, results in a string that is
294 * No decomposition/composition.
303 * Canonical decomposition.
312 * Compatibility decomposition.
321 * Canonical decomposition followed by canonical composition.
339 * Compatibility decomposition followed by canonical composition.
375 * Canonical decomposition followed by canonical composition. Used with the
395 * Compatibility decomposition followed by canonical composition.
415 * Canonical decomposition. This value is passed to th
950 String decomposition = Normalizer2.getNFCInstance().getDecomposition(char32); local
    [all...]
RuleBasedCollator.java 89 * <li>As mentioned in the documentation of the base class Collator, compatibility decomposition mode is not supported.</li>
492 * Sets the decomposition mode to the initial mode set during construction of the RuleBasedCollator. See
621 * Sets the decomposition mode of this Collator. Setting this
622 * decomposition attribute with CANONICAL_DECOMPOSITION allows the
628 * decomposition mode allows the user to select between faster and
633 * default decomposition mode.
639 * <p>See getDecomposition for a description of decomposition
642 * @param decomposition the new decomposition mode
647 * decomposition mode
    [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...]
Normalizer.java 96 * <p>The form is defined such that the "raw decomposition", the recursive
97 * canonical decomposition of each character, results in a string that is
289 * No decomposition/composition.
297 * Canonical decomposition.
305 * Compatibility decomposition.
313 * Canonical decomposition followed by canonical composition.
329 * Compatibility decomposition followed by canonical composition.
362 * Canonical decomposition followed by canonical composition. Used with the
381 * Compatibility decomposition followed by canonical composition.
400 * Canonical decomposition. This value is passed to th
923 String decomposition = Normalizer2.getNFCInstance().getDecomposition(char32); local
    [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/python/cpython2/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/icu4c/source/common/
norm2allmodes.h 110 getDecomposition(UChar32 c, UnicodeString &decomposition) const {
118 decomposition.setTo(buffer, length); // copy the string (Jamos from Hangul syllable c)
120 decomposition.setTo(FALSE, d, length); // read-only alias
125 getRawDecomposition(UChar32 c, UnicodeString &decomposition) const {
133 decomposition.setTo(buffer, length); // copy the string (algorithmic decomposition)
135 decomposition.setTo(FALSE, d, length); // read-only alias
normalizer2.cpp 442 UChar32 c, UChar *decomposition, int32_t capacity,
447 if(decomposition==NULL ? capacity!=0 : capacity<0) {
451 UnicodeString destString(decomposition, 0, capacity);
453 return destString.extract(decomposition, capacity, *pErrorCode);
461 UChar32 c, UChar *decomposition, int32_t capacity,
466 if(decomposition==NULL ? capacity!=0 : capacity<0) {
470 UnicodeString destString(decomposition, 0, capacity);
472 return destString.extract(decomposition, capacity, *pErrorCode);
filterednormalizer2.cpp 204 FilteredNormalizer2::getDecomposition(UChar32 c, UnicodeString &decomposition) const {
205 return set.contains(c) && norm2.getDecomposition(c, decomposition);
209 FilteredNormalizer2::getRawDecomposition(UChar32 c, UnicodeString &decomposition) const {
210 return set.contains(c) && norm2.getRawDecomposition(c, decomposition);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/
TestDeprecatedNormalizerAPI.java 76 * <li>b) The decomposition according to the iterator is the same as
104 String iterDecomp = iter.decomposition();
124 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")"
141 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("&agrave;&#92;u0325 is not equals to a&#92;u0325&#768; without decomposition");
102 * System.out.println("Error: &agrave;&#92;u0325 should be equals to a&#92;u0325&#768; with decomposition");
105 * System.out.println("&agrave;&#92;u0325 is equals to a&#92;u0325&#768; with decomposition");
109 * System.out.println("Error: &agrave;&#92;u0325 should be not equals to a&#92;u0325&#768; without decomposition");
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
TestDeprecatedNormalizerAPI.java 73 * <li>b) The decomposition according to the iterator is the same as
101 String iterDecomp = iter.decomposition();
121 errln("ERROR: " + hex(x) + " has decomposition (" + hex(decomp) + ")"
138 String decomp = iter.decomposition();
  /external/icu/libandroidicu/include/unicode/
unorm2.h 47 * Decomposition followed by composition.
66 * If a string is in this form, then further decomposition <i>without reordering</i>
336 * Gets the decomposition mapping of c.
340 * if c does not have a decomposition mapping in this instance's data.
344 * @param decomposition String buffer which will be set to c's
345 * decomposition mapping, if there is one.
346 * @param capacity number of UChars that can be written to decomposition
351 * @return the non-negative length of c's decomposition, if there is one; otherwise a negative value
356 UChar32 c, UChar *decomposition, int32_t capacity,
360 * Gets the raw decomposition mapping of c
    [all...]
  /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')
  /external/python/cpython2/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')
  /external/python/cpython3/Lib/test/
test_unicodedata.py 97 self.db.decomposition(char),
162 self.assertEqual(self.db.decomposition('\uFFFE'),'')
163 self.assertEqual(self.db.decomposition('\u00bc'), '<fraction> 0031 2044 0034')
165 self.assertRaises(TypeError, self.db.decomposition)
166 self.assertRaises(TypeError, self.db.decomposition, 'xx')

Completed in 1339 milliseconds

1 2