Home
last modified time | relevance | path

Searched refs:LEUnicode (Results 1 – 25 of 59) sorted by relevance

123

/external/icu/icu4c/source/layout/
DThaiShaping.h70 …static le_int32 compose(const LEUnicode *input, le_int32 offset, le_int32 charCount, le_uint8 glyp…
71 LEUnicode errorChar, LEUnicode *output, LEGlyphStorage &glyphStorage);
82 …static le_uint8 doTransition(StateTransition transition, LEUnicode currChar, le_int32 inputIndex, …
83LEUnicode errorChar, LEUnicode *outputBuffer, LEGlyphStorage &glyphStorage, le_int32 &outputIndex);
85 …static le_uint8 getNextState(LEUnicode ch, le_uint8 state, le_int32 inputIndex, le_uint8 glyphSet,…
86 … le_uint8 &charClass, LEUnicode *output, LEGlyphStorage &glyphStorage, le_int32 &outputIndex);
88 static le_bool isLegalHere(LEUnicode ch, le_uint8 prevState);
89 static le_uint8 getCharClass(LEUnicode ch);
91 static LEUnicode noDescenderCOD(LEUnicode cod, le_uint8 glyphSet);
92 static LEUnicode leftAboveVowel(LEUnicode vowel, le_uint8 glyphSet);
[all …]
DIndicReordering.h76 typedef LEUnicode SplitMatra[SM_MAX_PIECES];
95 LEUnicode firstChar;
96 LEUnicode lastChar;
105 CharClass getCharClass(LEUnicode ch) const;
109 inline le_bool isVowelModifier(LEUnicode ch) const;
110 inline le_bool isStressMark(LEUnicode ch) const;
111 inline le_bool isConsonant(LEUnicode ch) const;
112 inline le_bool isReph(LEUnicode ch) const;
113 inline le_bool isVirama(LEUnicode ch) const;
114 inline le_bool isAlLakuna(LEUnicode ch) const;
[all …]
DThaiShaping.cpp31 le_uint8 ThaiShaping::getCharClass(LEUnicode ch) in getCharClass()
43 LEUnicode ThaiShaping::leftAboveVowel(LEUnicode vowel, le_uint8 glyphSet) in leftAboveVowel()
45 static const LEUnicode leftAboveVowels[][7] = { in leftAboveVowel()
63 LEUnicode ThaiShaping::lowerRightTone(LEUnicode tone, le_uint8 glyphSet) in lowerRightTone()
65 static const LEUnicode lowerRightTones[][7] = { in lowerRightTone()
79 LEUnicode ThaiShaping::lowerLeftTone(LEUnicode tone, le_uint8 glyphSet) in lowerLeftTone()
81 static const LEUnicode lowerLeftTones[][7] = { in lowerLeftTone()
95 LEUnicode ThaiShaping::upperLeftTone(LEUnicode tone, le_uint8 glyphSet) in upperLeftTone()
97 static const LEUnicode upperLeftTones[][7] = { in upperLeftTone()
111 LEUnicode ThaiShaping::lowerBelowVowel(LEUnicode vowel, le_uint8 glyphSet) in lowerBelowVowel()
[all …]
DHangulLayoutEngine.cpp111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) in compose()
127 syllable = (LEUnicode) ((lIndex * VJMO_COUNT + vIndex) * TJMO_COUNT + tIndex + HSYL_FIRST); in compose()
132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) in decompose()
151 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) in getCharClass()
209 le_int32 HangulOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, … in characterProcessing()
210 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing()
223 outChars = LE_NEW_ARRAY(LEUnicode, worstCase); in characterProcessing()
248 LEUnicode lead = 0; in characterProcessing()
249 LEUnicode vowel = 0; in characterProcessing()
250 LEUnicode trail = 0; in characterProcessing()
[all …]
DTibetanReordering.h124 LEUnicode firstChar; // for Tibetan this will become xOF00
125 LEUnicode lastChar; // and this x0FFF
128 CharClass getCharClass(LEUnicode ch) const;
136 static le_int32 reorder(const LEUnicode *theChars, le_int32 charCount, le_int32 scriptCode,
137 LEUnicode *outChars, LEGlyphStorage &glyphStorage);
145 …static le_int32 findSyllable(const TibetanClassTable *classTable, const LEUnicode *chars, le_int32…
DKhmerReordering.h105 LEUnicode firstChar; // for Khmer this will become x1780
106 LEUnicode lastChar; // and this x17DF
109 CharClass getCharClass(LEUnicode ch) const;
117 static le_int32 reorder(const LEUnicode *theChars, le_int32 charCount, le_int32 scriptCode,
118 LEUnicode *outChars, LEGlyphStorage &glyphStorage);
126 …static le_int32 findSyllable(const KhmerClassTable *classTable, const LEUnicode *chars, le_int32 p…
DArabicLayoutEngine.cpp31 return fFontInstance->canDisplay((LEUnicode) glyph); in accept()
69 le_int32 ArabicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, … in characterProcessing()
70 … le_int32 max, le_bool rightToLeft, LEUnicode *&outChars, in characterProcessing()
82 outChars = LE_NEW_ARRAY(LEUnicode, count); in characterProcessing()
107 void ArabicOpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_… in adjustGlyphPositions()
156 LEUnicode *tempChars = LE_NEW_ARRAY(LEUnicode, tempGlyphCount); in glyphPostProcessing()
164 tempChars[i] = (LEUnicode) LE_GET_GLYPH(tempGlyphStorage[i]); in glyphPostProcessing()
176 void UnicodeArabicOpenTypeLayoutEngine::mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, … in mapCharsToGlyphs()
201 void UnicodeArabicOpenTypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offs… in adjustGlyphPositions()
DIndicReordering.cpp95 LEUnicode *fOutChars;
99 LEUnicode fMpre;
102 LEUnicode fMbelow;
105 LEUnicode fMabove;
108 LEUnicode fMpost;
111 LEUnicode fLengthMark;
114 LEUnicode fAlLakuna;
122 LEUnicode fVMabove;
123 LEUnicode fVMpost;
127 LEUnicode fSMabove;
[all …]
DLayoutEngine.h187 …virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_…
188 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success);
216 …virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 …
253 …virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_boo…
300 …virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool re…
336 …static void adjustMarkGlyphs(const LEUnicode chars[], le_int32 charCount, le_bool reverse, LEGlyph…
375 …virtual le_int32 layoutChars(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 ma…
DArabicLayoutEngine.h116 …virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_…
117 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success);
136 …virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_boo…
219 …virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool re…
236 …virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_boo…
DOpenTypeLayoutEngine.h279 …virtual le_int32 characterProcessing(const LEUnicode /*chars*/[], le_int32 offset, le_int32 count,…
280 LEUnicode *&/*outChars*/, LEGlyphStorage &glyphStorage, LEErrorCode &success);
311 …virtual le_int32 glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int3…
365 …virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 …
382 …virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_boo…
DThaiLayoutEngine.cpp59 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, … in computeGlyphs()
70 LEUnicode *outChars; in computeGlyphs()
75 outChars = LE_NEW_ARRAY(LEUnicode, count * 2); in computeGlyphs()
100 void ThaiLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 coun… in adjustGlyphPositions()
DLayoutEngine.cpp198 le_int32 LayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count… in characterProcessing()
199 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing()
222 const LEUnicode *inChars = &chars[offset]; in characterProcessing()
223 LEUnicode *reordered = NULL; in characterProcessing()
237 reordered = LE_NEW_ARRAY(LEUnicode, count); in characterProcessing()
287 outChars = LE_NEW_ARRAY(LEUnicode, outCharCount); in characterProcessing()
296 outChars[out] = (LEUnicode) LE_GET_GLYPH(fakeGlyphStorage[i]); in characterProcessing()
305 le_int32 LayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_i… in computeGlyphs()
317 LEUnicode *outChars = NULL; in computeGlyphs()
359 void LayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, l… in adjustGlyphPositions()
[all …]
DThaiLayoutEngine.h91 LEUnicode fErrorChar;
115 …virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 …
138 …virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_boo…
DIndicLayoutEngine.h123 …virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_…
124 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success);
154 …virtual le_int32 glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int3…
DIndicLayoutEngine.cpp56 le_int32 IndicOpenTypeLayoutEngine::glyphProcessing(const LEUnicode chars[], le_int32 offset, le_in… in glyphProcessing()
87 le_int32 IndicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, l… in characterProcessing()
88 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing()
101 outChars = LE_NEW_ARRAY(LEUnicode, worstCase); in characterProcessing()
DTibetanLayoutEngine.cpp50 le_int32 TibetanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset,… in characterProcessing()
51 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing()
64 outChars = LE_NEW_ARRAY(LEUnicode, worstCase); in characterProcessing()
DKhmerLayoutEngine.cpp44 le_int32 KhmerOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, l… in characterProcessing()
45 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing()
58 outChars = LE_NEW_ARRAY(LEUnicode, worstCase); in characterProcessing()
DKhmerReordering.cpp102 KhmerClassTable::CharClass KhmerClassTable::getCharClass(LEUnicode ch) const in getCharClass()
131 LEUnicode *fOutChars;
137 KhmerReorderingOutput(LEUnicode *outChars, LEGlyphStorage &glyphStorage) in KhmerReorderingOutput()
153 void writeChar(LEUnicode ch, le_uint32 charIndex, FeatureMask charFeatures) in writeChar()
336 le_int32 KhmerReordering::findSyllable(const KhmerClassTable *classTable, const LEUnicode *chars, l… in findSyllable()
359 le_int32 KhmerReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32 /*scriptCode… in reorder()
360 LEUnicode *outChars, LEGlyphStorage &glyphStorage) in reorder()
DCanonShaping.h24 static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft,
25 LEUnicode *outChars, LEGlyphStorage &glyphStorage);
DTibetanReordering.cpp113 TibetanClassTable::CharClass TibetanClassTable::getCharClass(LEUnicode ch) const in getCharClass()
133 LEUnicode *fOutChars;
139 TibetanReorderingOutput(LEUnicode *outChars, LEGlyphStorage &glyphStorage) in TibetanReorderingOutput()
155 void writeChar(LEUnicode ch, le_uint32 charIndex, FeatureMask featureMask) in writeChar()
299 le_int32 TibetanReordering::findSyllable(const TibetanClassTable *classTable, const LEUnicode *char… in findSyllable()
322 le_int32 TibetanReordering::reorder(const LEUnicode *chars, le_int32 charCount, le_int32, in reorder()
323 LEUnicode *outChars, LEGlyphStorage &glyphStorage) in reorder()
/external/icu/icu4c/source/test/letest/
Dtestdata.cpp24 LEUnicode inputText0[] =
132 LEUnicode inputText1[] =
314 LEUnicode inputText2[] =
496 LEUnicode inputText3[] =
/external/icu/icu4c/source/samples/layout/
Dparagraph.cpp35 static LEUnicode *skipLineEnd(LEUnicode *ptr) in skipLineEnd()
76 Paragraph::Paragraph(const LEUnicode chars[], int32_t charCount, const FontRuns *fontRuns, LEErrorC… in Paragraph()
81 static const LEUnicode separators[] = {CH_LF, CH_CR, CH_LSEP, CH_PSEP, 0x0000}; in Paragraph()
97 fChars = LE_NEW_ARRAY(LEUnicode, charCount + 1); in Paragraph()
101 LEUnicode *pStart = &fChars[0]; in Paragraph()
104 LEUnicode *pEnd = u_strpbrk(pStart, separators); in Paragraph()
Dpflow.c53 LEUnicode *fChars;
65 static LEUnicode *skipLineEnd(LEUnicode *ptr) in skipLineEnd()
108 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErro… in pf_create()
116 LEUnicode *pStart; in pf_create()
117 static const LEUnicode separators[] = {CH_LF, CH_CR, CH_LSEP, CH_PSEP, 0x0000}; in pf_create()
149 flow->fChars = NEW_ARRAY(LEUnicode, charCount + 1); in pf_create()
156 LEUnicode *pEnd = u_strpbrk(pStart, separators); in pf_create()
/external/icu/icu4c/source/test/perf/leperf/
Dleperf.cpp19 LEUnicode *chars;
25 LEUnicode ArabChars[] = {
41 LEUnicode *chars = params->chars; in iterate()
80 p.chars = new LEUnicode[257]; in main()

123