/external/harfbuzz/src/ |
harfbuzz-hangul.c | 31 // Hangul is a syllable based script. Unicode reserves a large range 43 // Syllable breaks do _not_ occur between: 49 // A standard syllable is of the form L+V+T*. The above rules allow 149 /* see if we can compose the syllable into a modern hangul */ 231 HB_ShaperItem syllable; local 239 syllable = *item; 244 syllable.item.pos = sstart; 245 syllable.item.length = send-sstart; 246 syllable.glyphs = item->glyphs + first_glyph; 247 syllable.attributes = item->attributes + first_glyph [all...] |
harfbuzz-tibetan.c | 145 /* now we have the syllable in the right order, and can start running it through open type. */ 212 HB_ShaperItem syllable = *item; local 228 /* IDEBUG("syllable from %d, length %d, invalid=%s", sstart, send-sstart, 230 syllable.item.pos = sstart; 231 syllable.item.length = send-sstart; 232 syllable.glyphs = item->glyphs + first_glyph; 233 syllable.attributes = item->attributes + first_glyph; 234 syllable.offsets = item->offsets + first_glyph; 235 syllable.advances = item->advances + first_glyph; 236 syllable.num_glyphs = item->num_glyphs - first_glyph [all...] |
harfbuzz-khmer.c | 34 // center of the syllable, it can be surrounded by coeng (subscript) consonants, vowels, 35 // split vowels, signs... but there is only one base in a syllable, it has to be coded as 36 // the first character of the syllable. 60 // If they are in the same syllable as a coeng consonant, Unicode 3.0 says that they 64 // Each vowel has its own position. Only one vowel per syllable is allowed. 66 // Allowed in a syllable. 93 CF_SPLIT_VOWEL = 0x02000000, /* flag for a split vowel -> the first part is added in front of the syllable */ 94 CF_DOTTED_CIRCLE = 0x04000000, /* add a dotted circle if a character with this flag is the first in a syllable */ 121 // simple classes, they are used in the statetable (in this file) to control the length of a syllable 124 // indicate error in syllable constructio 598 HB_ShaperItem syllable = *item; local [all...] |
harfbuzz-myanmar.c | 63 Mymr_CF_DOTTED_CIRCLE = 0x10000000, /* add a dotted circle if a character with this flag is the first in a syllable */ 149 {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 1 - exit state (or sp to the right of the syllable) */ 177 with virama where virama should treat as start of next syllable 192 // calculate, using the state table, which one is the last character of the syllable 284 /* according to the table the max length of a syllable should be around 14 chars */ 346 /* copy the rest of the syllable to the output, inserting the kinzi 423 /* now we have the syllable in the right order, and can start running it through open type. */ 465 HB_ShaperItem syllable = *item; local 481 MMDEBUG("syllable from %d, length %d, invalid=%s", sstart, send-sstart, 483 syllable.item.pos = sstart [all...] |
harfbuzz-indic.cpp | 1831 HB_ShaperItem syllable = *item; local [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-hangul.c | 31 // Hangul is a syllable based script. Unicode reserves a large range 43 // Syllable breaks do _not_ occur between: 49 // A standard syllable is of the form L+V+T*. The above rules allow 149 /* see if we can compose the syllable into a modern hangul */ 231 HB_ShaperItem syllable; local 239 syllable = *item; 244 syllable.item.pos = sstart; 245 syllable.item.length = send-sstart; 246 syllable.glyphs = item->glyphs + first_glyph; 247 syllable.attributes = item->attributes + first_glyph [all...] |
harfbuzz-tibetan.c | 145 /* now we have the syllable in the right order, and can start running it through open type. */ 212 HB_ShaperItem syllable = *item; local 228 /* IDEBUG("syllable from %d, length %d, invalid=%s", sstart, send-sstart, 230 syllable.item.pos = sstart; 231 syllable.item.length = send-sstart; 232 syllable.glyphs = item->glyphs + first_glyph; 233 syllable.attributes = item->attributes + first_glyph; 234 syllable.offsets = item->offsets + first_glyph; 235 syllable.advances = item->advances + first_glyph; 236 syllable.num_glyphs = item->num_glyphs - first_glyph [all...] |
harfbuzz-khmer.c | 34 // center of the syllable, it can be surrounded by coeng (subscript) consonants, vowels, 35 // split vowels, signs... but there is only one base in a syllable, it has to be coded as 36 // the first character of the syllable. 60 // If they are in the same syllable as a coeng consonant, Unicode 3.0 says that they 64 // Each vowel has its own position. Only one vowel per syllable is allowed. 66 // Allowed in a syllable. 93 CF_SPLIT_VOWEL = 0x02000000, /* flag for a split vowel -> the first part is added in front of the syllable */ 94 CF_DOTTED_CIRCLE = 0x04000000, /* add a dotted circle if a character with this flag is the first in a syllable */ 121 // simple classes, they are used in the statetable (in this file) to control the length of a syllable 124 // indicate error in syllable constructio 598 HB_ShaperItem syllable = *item; local [all...] |
harfbuzz-myanmar.c | 63 Mymr_CF_DOTTED_CIRCLE = 0x10000000, /* add a dotted circle if a character with this flag is the first in a syllable */ 149 {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, /* 1 - exit state (or sp to the right of the syllable) */ 177 with virama where virama should treat as start of next syllable 192 // calculate, using the state table, which one is the last character of the syllable 284 /* according to the table the max length of a syllable should be around 14 chars */ 346 /* copy the rest of the syllable to the output, inserting the kinzi 424 /* now we have the syllable in the right order, and can start running it through open type. */ 466 HB_ShaperItem syllable = *item; local 482 MMDEBUG("syllable from %d, length %d, invalid=%s", sstart, send-sstart, 484 syllable.item.pos = sstart [all...] |
harfbuzz-indic.cpp | 1829 HB_ShaperItem syllable = *item; local [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-shape-complex-sea.cc | 265 syllable_type_t syllable_type = (syllable_type_t) (buffer->info[start].syllable() & 0x0F); 282 if ((buffer->info[i].syllable() & 0x0F) == broken_cluster) { 305 unsigned int syllable = buffer->cur().syllable(); local 306 syllable_type_t syllable_type = (syllable_type_t) (syllable & 0x0F); 307 if (unlikely (last_syllable != syllable && syllable_type == broken_cluster)) 309 last_syllable = syllable; 314 info.syllable() = buffer->cur().syllable(); 336 unsigned int last_syllable = info[0].syllable(); [all...] |
hb-ot-shape-complex-myanmar.cc | 162 * cannot happen in a consonant syllable. The plus side however is, we can call the 163 * consonant syllable logic from the vowel syllable function and get it all right! */ 426 syllable_type_t syllable_type = (syllable_type_t) (buffer->info[start].syllable() & 0x0F); 443 if ((buffer->info[i].syllable() & 0x0F) == broken_cluster) { 466 unsigned int syllable = buffer->cur().syllable(); local 467 syllable_type_t syllable_type = (syllable_type_t) (syllable & 0x0F); 468 if (unlikely (last_syllable != syllable && syllable_type == broken_cluster)) 470 last_syllable = syllable; [all...] |
hb-ot-shape-complex-indic.cc | 166 * cannot happen in a consonant syllable. The plus side however is, we can call the 167 * consonant syllable logic from the vowel syllable function and get it all right! */ 228 * - The ones that are GenCat=Lo is encoded logically, ie. beginning of syllable. (eg. Malayalam) 659 * The shaping engine finds the base consonant of the syllable, using the 660 * following algorithm: starting from the end of the syllable, move backwards 666 * o If the syllable starts with Ra + Halant (in a script that has Reph) 675 /* -> If the syllable starts with Ra + Halant (in a script that has Reph) 713 /* -> starting from the end of the syllable, move backwards */ 786 /* -> If the syllable starts with Ra + Halant (in a script that has Reph 1135 unsigned int syllable = buffer->cur().syllable(); local [all...] |
hb-ot-shape-complex-sea-machine.rl | 71 if (0) fprintf (stderr, "syllable %d..%d %s\n", last, p+1, #syllable_type); \ 73 info[i].syllable() = (syllable_serial << 4) | syllable_type; \
|
hb-ot-shape-complex-sea-machine.hh | 101 if (0) fprintf (stderr, "syllable %d..%d %s\n", last, p+1, #syllable_type); \ 103 info[i].syllable() = (syllable_serial << 4) | syllable_type; \
|
hb-ot-shape-complex-indic-machine.rl | 95 if (0) fprintf (stderr, "syllable %d..%d %s\n", last, p+1, #syllable_type); \ 97 info[i].syllable() = (syllable_serial << 4) | syllable_type; \
|
hb-ot-shape-complex-myanmar-machine.rl | 94 if (0) fprintf (stderr, "syllable %d..%d %s\n", last, p+1, #syllable_type); \ 96 info[i].syllable() = (syllable_serial << 4) | syllable_type; \
|
hb-ot-layout-gsubgpos-private.hh | 302 syllable arg1(0), 313 inline void set_syllable (uint8_t syllable_) { syllable = syllable_; } 328 (syllable && syllable != info.syllable ())) 368 uint8_t syllable; member in struct:OT::hb_apply_context_t::matcher_t 392 matcher.set_syllable (start_index_ == c->buffer->idx ? c->buffer->cur().syllable () : 0); 395 inline void set_syllable (unsigned int syllable) { matcher.set_syllable (syllable); } 462 matcher.set_syllable (start_index_ == c->buffer->idx ? c->buffer->cur().syllable () : 0) 948 uint8_t syllable = c->buffer->cur().syllable(); local [all...] |
hb-ot-layout-private.hh | 43 #define syllable() var1.u8[2] /* GSUB/GPOS shaping boundaries */ macro
|
hb-ot-shape-complex-myanmar-machine.hh | 272 if (0) fprintf (stderr, "syllable %d..%d %s\n", last, p+1, #syllable_type); \ 274 info[i].syllable() = (syllable_serial << 4) | syllable_type; \
|
/external/icu4c/layout/ |
KhmerReordering.cpp | 34 // simple classes, they are used in the statetable (in this file) to control the length of a syllable 37 // indicate error in syllable construction 59 // _xx character does not combine into syllable, such as numbers, puntuation marks, non-Khmer signs... 100 // within the syllable, but are not in the table) we also get their type back, or an unknown object 235 // formed Khmer Syllable. 243 // in the syllable, but the state could be produced a consonant of any type when 300 {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, // 1 - exit state (or sign to the right of the syllable) 334 // calculate, using the state table, which one is the last character of the syllable 372 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); local 380 for (i = prev; i < syllable; i += 1) [all...] |
HangulLayoutEngine.cpp | 111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) 127 syllable = (LEUnicode) ((lIndex * VJMO_COUNT + vIndex) * TJMO_COUNT + tIndex + HSYL_FIRST); 132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) 134 le_int32 sIndex = syllable - HSYL_FIRST; 296 * See if the syllable can be composed into a single character. There are 5 307 LEUnicode syllable = 0x0000; local 313 * If the composition consumes the whole decomposed syllable, 316 if (compose(lead, vowel, trail, syllable) == outLength) { 318 outChars[outCharCount] = syllable;
|
TibetanReordering.cpp | 35 // simple classes, they are used in the statetable (in this file) to control the length of a syllable 38 // indicate error in syllable construction 244 // formed Tibetan Syllable. 252 // in the syllable, but the state could be produced a consonant of any type when 262 {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,}, // 1 - exit state (or sign to the right of the syllable) 297 // calculate, using the state table, which one is the last character of the syllable 334 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); local 347 for (i = prev; i < syllable; i += 1) { 382 prev = syllable; // move the pointer to the start of next syllable [all...] |
IndicReordering.cpp | 60 // Syllable structure bits 649 le_int32 syllable = findSyllable(classTable, chars, prev, charCount); local 650 le_int32 matra, markStart = syllable; 679 for (i = prev; i < syllable; i += 1) { 749 // Check for REPH at front of syllable [all...] |
/external/icu4c/common/ |
normalizer2impl.cpp | 541 // Hangul syllable: decompose algorithmically 573 // Hangul syllable: decompose algorithmically 603 // Hangul syllable: decompose algorithmically 847 UChar syllable=(UChar) local 854 syllable+=t; // The next character was a Jamo T. 856 *starter=syllable; 1137 UChar syllable=(UChar) local 1956 UChar32 syllable= local [all...] |