/external/harfbuzz_ng/test/api/ |
test-unicode.c | 789 hb_codepoint_t decomposed[HB_UNICODE_MAX_DECOMPOSITION_LEN]; local 857 g_assert (hb_unicode_decompose_compatibility (uf, 0x0041, decomposed) == 0); 858 g_assert (hb_unicode_decompose_compatibility (uf, 0x1F632, decomposed) == 0); 861 g_assert (hb_unicode_decompose_compatibility (uf, 0x00B5, decomposed) == 1 && decomposed[0] == 0x03BC); 862 g_assert (hb_unicode_decompose_compatibility (uf, 0x03D6, decomposed) == 1 && decomposed[0] == 0x03C0); 865 g_assert (hb_unicode_decompose_compatibility (uf, 0xFB54, decomposed) == 1 && decomposed[0] == 0x067B); 869 g_assert (hb_unicode_decompose_compatibility (uf, 0xFDFA, decomposed) == 18 && decomposed[17] == 0x0645) [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-icu.cc | 224 UChar decomposed[4]; local 227 len = unorm2_getRawDecomposition (normalizer, ab, decomposed, 228 ARRAY_LENGTH (decomposed), &icu_err); 231 len = u_countChar32 (decomposed, len); 233 U16_GET_UNSAFE (decomposed, 0, *a); 238 U16_NEXT_UNSAFE (decomposed, len, *a); 239 U16_NEXT_UNSAFE (decomposed, len, *b); 294 /* If decomposed to more than two characters, take the last one, 315 hb_codepoint_t *decomposed, 337 /* Convert the decomposed form from UTF-16 to UTF-32. * [all...] |
hb-unicode-private.hh | 93 hb_codepoint_t *decomposed) 95 unsigned int ret = func.decompose_compatibility (this, u, decomposed, user_data.decompose_compatibility); 96 if (ret == 1 && u == decomposed[0]) { 97 decomposed[0] = 0; 100 decomposed[ret] = 0;
|
hb-ucdn.cc | 184 hb_codepoint_t u, hb_codepoint_t *decomposed, 187 return ucdn_compat_decompose(u, decomposed);
|
hb-ot-shape-complex-hangul.cc | 130 * - LV can be precomposed, or decomposed. Lets call those 133 * fully decomposed. Ie. <LVT>, <LV,T>, or <L,V,T>. 330 hb_codepoint_t decomposed[3] = {LBase + lindex, local 333 if (font->has_glyph (decomposed[0]) && 334 font->has_glyph (decomposed[1]) && 335 (!tindex || font->has_glyph (decomposed[2]))) 338 buffer->replace_glyphs (1, s_len, decomposed); 342 /* We decomposed S: apply jamo features to the individual glyphs 347 /* If we decomposed an LV because of a non-combining T following,
|
hb-unicode.h | 253 * @decomposed: address of codepoint array (of length %HB_UNICODE_MAX_DECOMPOSITION_LEN) to write decomposition into 256 * Fully decompose @u to its Unicode compatibility decomposition. The codepoints of the decomposition will be written to @decomposed. 269 hb_codepoint_t *decomposed, 441 hb_codepoint_t *decomposed);
|
hb-ot-shape-normalize.cc | 40 * Each shaper specifies whether it prefers decomposed (NFD) or composed (NFC). 43 * In general what happens is that: each grapheme is decomposed in a chain 179 hb_codepoint_t decomposed[HB_UNICODE_MAX_DECOMPOSITION_LEN]; local 182 len = c->buffer->unicode->decompose_compatibility (u, decomposed); 187 if (!c->font->get_glyph (decomposed[i], 0, &glyphs[i])) 191 output_char (c->buffer, decomposed[i], glyphs[i]);
|
hb-glib.cc | 320 /* If decomposed to more than two characters, take the last one, 339 hb_codepoint_t *decomposed, 343 return g_unichar_fully_decompose (u, TRUE, decomposed, HB_UNICODE_MAX_DECOMPOSITION_LEN); 360 *decomposed++ = g_utf8_get_char (c);
|
hb-unicode.cc | 105 hb_codepoint_t *decomposed HB_UNUSED, 435 * @decomposed: (out): 446 hb_codepoint_t *decomposed) 448 return ufuncs->decompose_compatibility (u, decomposed);
|
hb-ot-shape-complex-thai.cc | 327 hb_codepoint_t decomposed[2] = {hb_codepoint_t (NIKHAHIT_FROM_SARA_AM (u)), local 329 buffer->replace_glyphs (1, 2, decomposed); 351 /* Since we decomposed, and NIKHAHIT is combining, merge clusters with the
|
/external/harfbuzz_ng/src/ |
hb-icu.cc | 224 UChar decomposed[4]; local 227 len = unorm2_getRawDecomposition (normalizer, ab, decomposed, 228 ARRAY_LENGTH (decomposed), &icu_err); 231 len = u_countChar32 (decomposed, len); 233 U16_GET_UNSAFE (decomposed, 0, *a); 238 U16_NEXT_UNSAFE (decomposed, len, *a); 239 U16_NEXT_UNSAFE (decomposed, len, *b); 294 /* If decomposed to more than two characters, take the last one, 315 hb_codepoint_t *decomposed, 337 /* Convert the decomposed form from UTF-16 to UTF-32. * [all...] |
hb-unicode-private.hh | 93 hb_codepoint_t *decomposed) 95 unsigned int ret = func.decompose_compatibility (this, u, decomposed, user_data.decompose_compatibility); 96 if (ret == 1 && u == decomposed[0]) { 97 decomposed[0] = 0; 100 decomposed[ret] = 0;
|
hb-ot-shape-complex-hangul.cc | 130 * - LV can be precomposed, or decomposed. Lets call those 133 * fully decomposed. Ie. <LVT>, <LV,T>, or <L,V,T>. 330 hb_codepoint_t decomposed[3] = {LBase + lindex, local 333 if (font->has_glyph (decomposed[0]) && 334 font->has_glyph (decomposed[1]) && 335 (!tindex || font->has_glyph (decomposed[2]))) 338 buffer->replace_glyphs (1, s_len, decomposed); 342 /* We decomposed S: apply jamo features to the individual glyphs 347 /* If we decomposed an LV because of a non-combining T following,
|
hb-ucdn.cc | 207 hb_codepoint_t u, hb_codepoint_t *decomposed, 210 return ucdn_compat_decompose(u, decomposed);
|
hb-unicode.h | 253 * @decomposed: address of codepoint array (of length %HB_UNICODE_MAX_DECOMPOSITION_LEN) to write decomposition into 256 * Fully decompose @u to its Unicode compatibility decomposition. The codepoints of the decomposition will be written to @decomposed. 269 hb_codepoint_t *decomposed, 441 hb_codepoint_t *decomposed);
|
hb-ot-shape-normalize.cc | 40 * Each shaper specifies whether it prefers decomposed (NFD) or composed (NFC). 43 * In general what happens is that: each grapheme is decomposed in a chain 179 hb_codepoint_t decomposed[HB_UNICODE_MAX_DECOMPOSITION_LEN]; local 182 len = c->buffer->unicode->decompose_compatibility (u, decomposed); 187 if (!c->font->get_glyph (decomposed[i], 0, &glyphs[i])) 191 output_char (c->buffer, decomposed[i], glyphs[i]);
|
hb-glib.cc | 320 /* If decomposed to more than two characters, take the last one, 339 hb_codepoint_t *decomposed, 343 return g_unichar_fully_decompose (u, true, decomposed, HB_UNICODE_MAX_DECOMPOSITION_LEN); 360 *decomposed++ = g_utf8_get_char (c);
|
hb-unicode.cc | 105 hb_codepoint_t *decomposed HB_UNUSED, 440 * @decomposed: (out): 451 hb_codepoint_t *decomposed) 453 return ufuncs->decompose_compatibility (u, decomposed);
|
hb-ot-shape-complex-thai.cc | 327 hb_codepoint_t decomposed[2] = {hb_codepoint_t (NIKHAHIT_FROM_SARA_AM (u)), local 329 buffer->replace_glyphs (1, 2, decomposed); 354 /* Since we decomposed, and NIKHAHIT is combining, merge clusters with the
|
/art/test/092-locale/src/ |
Main.java | 123 String decomposed = "Bl\u0041\u0301ah"; local 127 if (!decomposed.equals(res)) { 132 res = Normalizer.normalize(decomposed, Normalizer.Form.NFC); 134 System.err.println("Bad compose: '" + decomposed + "' --> '"
|
/frameworks/minikin/libs/minikin/ |
FontCollection.cpp | 153 UChar decomposed[4]; local 154 int len = unorm2_getRawDecomposition(normalizer, ch, decomposed, 4, &errorCode); 157 U16_NEXT_UNSAFE(decomposed, off, ch);
|
/external/chromium_org/third_party/icu/source/tools/gennorm2/ |
n2builder.cpp | 425 UnicodeString *decomposed=NULL; local 476 if(decomposed==NULL) { 477 decomposed=new UnicodeString(m, 0, prev); 479 decomposed->append(*cNorm.mapping); 492 if(decomposed==NULL) { 493 decomposed=new UnicodeString(m, 0, prev); 495 decomposed->append(buffer, hangulLength); 496 } else if(decomposed!=NULL) { 497 decomposed->append(m, prev, i-prev); 500 if(decomposed!=NULL) [all...] |
/external/icu/icu4c/source/tools/gennorm2/ |
n2builder.cpp | 124 UnicodeString *rawMapping; // non-NULL if the mapping is further decomposed 451 UnicodeString *decomposed=NULL; local 502 if(decomposed==NULL) { 503 decomposed=new UnicodeString(m, 0, prev); 505 decomposed->append(*cNorm.mapping); 518 if(decomposed==NULL) { 519 decomposed=new UnicodeString(m, 0, prev); 521 decomposed->append(buffer, hangulLength); 522 } else if(decomposed!=NULL) { 523 decomposed->append(m, prev, i-prev) [all...] |
/external/harfbuzz_ng/src/hb-ucdn/ |
ucdn.c | 267 int ucdn_compat_decompose(uint32_t code, uint32_t *decomposed) 278 decomposed[i] = decode_utf16(&rec);
|
ucdn.h | 320 * Hangul is decomposed into L and V jamos for LV forms, and an 334 * @param decomposed filled with decomposition, must be able to hold 18 338 int ucdn_compat_decompose(uint32_t code, uint32_t *decomposed);
|