Home
last modified time | relevance | path

Searched refs:le_int32 (Results 1 – 25 of 156) sorted by relevance

1234567

/external/icu4c/layoutex/layout/
DRunArrays.h62 inline RunArray(const le_int32 *limits, le_int32 count);
75 RunArray(le_int32 initialCapacity);
91 inline le_int32 getCount() const;
111 inline le_int32 getLimit() const;
122 inline le_int32 getLimit(le_int32 run) const;
148 le_int32 add(le_int32 limit);
177 virtual void init(le_int32 capacity);
191 virtual void grow(le_int32 capacity);
211 le_int32 ensureCapacity();
217 const le_int32 *fLimits;
[all …]
DParagraphLayout.h80 inline le_int32 countRuns() const;
90 le_int32 getAscent() const;
100 le_int32 getDescent() const;
110 le_int32 getLeading() const;
121 le_int32 getWidth() const;
138 const VisualRun *getVisualRun(le_int32 runIndex) const;
164 le_int32 fAscent;
165 le_int32 fDescent;
166 le_int32 fLeading;
168 le_int32 fRunCount;
[all …]
Dplruns.h46 const le_int32 *limits,
47 le_int32 count);
61 pl_openEmptyFontRuns(le_int32 initialCapacity);
83 U_INTERNAL le_int32 U_EXPORT2
106 U_INTERNAL le_int32 U_EXPORT2
119 U_INTERNAL le_int32 U_EXPORT2
121 le_int32 run);
137 le_int32 run);
158 U_INTERNAL le_int32 U_EXPORT2
161 le_int32 limit);
[all …]
/external/icu4c/layoutex/
DRunArrays.cpp19 RunArray::RunArray(le_int32 initialCapacity) in RunArray()
23 fLimits = LE_NEW_ARRAY(le_int32, fCapacity); in RunArray()
35 le_int32 RunArray::ensureCapacity() in ensureCapacity()
50 void RunArray::init(le_int32 capacity) in init()
52 fLimits = LE_NEW_ARRAY(le_int32, capacity); in init()
55 void RunArray::grow(le_int32 newCapacity) in grow()
57 fLimits = (le_int32 *) LE_GROW_ARRAY(fLimits, newCapacity); in grow()
60 le_int32 RunArray::add(le_int32 limit) in add()
66 le_int32 index = ensureCapacity(); in add()
67 le_int32 *limits = (le_int32 *) fLimits; in add()
[all …]
Dplruns.cpp20 const le_int32 *limits, in pl_openFontRuns()
21 le_int32 count) in pl_openFontRuns()
27 pl_openEmptyFontRuns(le_int32 initialCapacity) in pl_openEmptyFontRuns()
40 U_CAPI le_int32 U_EXPORT2
62 U_CAPI le_int32 U_EXPORT2
74 U_CAPI le_int32 U_EXPORT2
76 le_int32 run) in pl_getFontRunLimit()
89 le_int32 run) in pl_getFontRunFont()
100 U_CAPI le_int32 U_EXPORT2
103 le_int32 limit) in pl_addFontRun()
[all …]
DParagraphLayout.cpp39 StyleRuns(const RunArray *styleRunArrays[], le_int32 styleCount);
43 le_int32 getRuns(le_int32 runLimits[], le_int32 styleIndices[]);
46 le_int32 fStyleCount;
47 le_int32 fRunCount;
49 le_int32 *fRunLimits;
50 le_int32 *fStyleIndices;
53 StyleRuns::StyleRuns(const RunArray *styleRunArrays[], le_int32 styleCount) in StyleRuns()
56 le_int32 maxRunCount = 0; in StyleRuns()
57 le_int32 style, run, runStyle; in StyleRuns()
58 le_int32 *currentRun = LE_NEW_ARRAY(le_int32, styleCount); in StyleRuns()
[all …]
DLXUtilities.cpp17 le_int8 LXUtilities::highBit(le_int32 value) in highBit()
53 le_int32 LXUtilities::search(le_int32 value, const le_int32 array[], le_int32 count) in search()
55 le_int32 power = 1 << highBit(count); in search()
56 le_int32 extra = count - power; in search()
57 le_int32 probe = power; in search()
58 le_int32 index = 0; in search()
75 void LXUtilities::reverse(le_int32 array[], le_int32 length) in reverse()
77 le_int32 front, back; in reverse()
80 le_int32 swap = array[front]; in reverse()
87 void LXUtilities::reverse(float array[], le_int32 length) in reverse()
[all …]
/external/icu4c/layout/
DLEGlyphStorage.h42 le_int32 fGlyphCount;
56 le_int32 *fCharIndices;
85 le_int32 fSrcIndex;
92 le_int32 fDestIndex;
110 virtual le_bool applyInsertion(le_int32 atPosition, le_int32 count, LEGlyphID newGlyphs[]);
137 inline le_int32 getGlyphCount() const;
175 void getCharIndices(le_int32 charIndices[], LEErrorCode &success) const;
188 void getCharIndices(le_int32 charIndices[], le_int32 indexBase, LEErrorCode &success) const;
217 void getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) const;
231 void allocateGlyphArray(le_int32 initialGlyphCount, le_bool rightToLeft, LEErrorCode &success);
[all …]
DLayoutEngine.h92 le_int32 fScriptCode;
101 le_int32 fLanguageCode;
108 le_int32 fTypoFlags;
133 …LayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_in…
166 …virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_…
195 …virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32
232 …virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_boo…
273 …virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool re…
308 …static void adjustMarkGlyphs(const LEUnicode chars[], le_int32 charCount, le_bool reverse, LEGlyph…
347 …virtual le_int32 layoutChars(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 ma…
[all …]
DGlyphPositionAdjustments.h30 … inline Adjustment(float xPlace, float yPlace, float xAdv, float yAdv, le_int32 baseOff = -1);
38 inline le_int32 getBaseOffset() const;
45 inline void setBaseOffset(le_int32 newBaseOffset);
58 le_int32 baseOffset;
95 le_int32 fGlyphCount;
102 GlyphPositionAdjustments(le_int32 glyphCount);
106 inline le_bool isCursiveGlyph(le_int32 index) const;
107 inline le_bool baselineIsLogicalEnd(le_int32 index) const;
109 const LEPoint *getEntryPoint(le_int32 index, LEPoint &entryPoint) const;
110 const LEPoint *getExitPoint(le_int32 index, LEPoint &exitPoint) const;
[all …]
DOpenTypeLayoutEngine.h64 …OpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCod…
65 le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable);
77 …OpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCod…
78 le_int32 typoFlags);
97 static LETag getScriptTag(le_int32 scriptCode);
109 static LETag getLangSysTag(le_int32 languageCode);
168 le_int32 fFeatureMapCount;
249 …virtual le_int32 characterProcessing(const LEUnicode /*chars*/[], le_int32 offset, le_int32 count,…
281 …virtual le_int32 glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int3…
309 …virtual le_int32 glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorag…
[all …]
DOpenTypeUtilities.cpp18 le_int8 OpenTypeUtilities::highBit(le_int32 value) in highBit()
54 Offset OpenTypeUtilities::getTagOffset(LETag tag, const TagAndOffsetRecord *records, le_int32 recor… in getTagOffset()
57 le_int32 power = 1 << bit; in getTagOffset()
58 le_int32 extra = recordCount - power; in getTagOffset()
59 le_int32 probe = power; in getTagOffset()
60 le_int32 index = 0; in getTagOffset()
81 le_int32 OpenTypeUtilities::getGlyphRangeIndex(TTGlyphID glyphID, const GlyphRangeRecord *records, in getGlyphRangeIndex()
84 le_int32 power = 1 << bit; in getGlyphRangeIndex()
85 le_int32 extra = recordCount - power; in getGlyphRangeIndex()
86 le_int32 probe = power; in getGlyphRangeIndex()
[all …]
DArabicLayoutEngine.h51 …ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langu…
52 le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable);
67 …ArabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langu…
68 le_int32 typoFlags);
114 …virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_…
134 …virtual void adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_boo…
168 …rabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua…
169 le_int32 typoFlags);
198 …virtual le_int32 glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorag…
216 …virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool re…
[all …]
DCanonShaping.cpp15 void CanonShaping::sortMarks(le_int32 *indices, const le_int32 *combiningClasses, le_int32 index, l… in sortMarks()
17 for (le_int32 j = index + 1; j < limit; j += 1) { in sortMarks()
18 le_int32 i; in sortMarks()
19 le_int32 v = indices[j]; in sortMarks()
20 le_int32 c = combiningClasses[v]; in sortMarks()
34 void CanonShaping::reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft, in reorderMarks()
39 le_int32 *combiningClasses = LE_NEW_ARRAY(le_int32, charCount); in reorderMarks()
40 le_int32 *indices = LE_NEW_ARRAY(le_int32, charCount); in reorderMarks()
42 le_int32 i; in reorderMarks()
51 le_int32 mark; in reorderMarks()
[all …]
DIndicLayoutEngine.h57 …IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua…
58 le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable);
73 …IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua…
74 le_int32 typoFlags);
121 …virtual le_int32 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_…
152 …virtual le_int32 glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int3…
DIndicLayoutEngine.cpp27 …IndicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
28 le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
37 …eLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_i… in IndicOpenTypeLayoutEngine()
51 le_int32 IndicOpenTypeLayoutEngine::glyphProcessing(const LEUnicode chars[], le_int32 offset, le_in… in glyphProcessing()
63le_int32 retCount = OpenTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, … in glyphProcessing()
77 le_int32 IndicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, l… in characterProcessing()
89 le_int32 worstCase = count * IndicReordering::getWorstCaseExpansion(fScriptCode); in characterProcessing()
108le_int32 outCharCount = IndicReordering::reorder(&chars[offset], count, fScriptCode, outChars, gly… in characterProcessing()
DOpenTypeLayoutEngine.cpp67 static const le_int32 featureMapCount = LE_ARRAY_SIZE(featureMap);
69 …ine::OpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua… in OpenTypeLayoutEngine()
70 le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable) in OpenTypeLayoutEngine()
110 …ine::OpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua… in OpenTypeLayoutEngine()
111 le_int32 typoFlags) in OpenTypeLayoutEngine()
127 LETag OpenTypeLayoutEngine::getScriptTag(le_int32 scriptCode) in getScriptTag()
136 LETag OpenTypeLayoutEngine::getLangSysTag(le_int32 languageCode) in getLangSysTag()
151 le_int32 OpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int… in characterProcessing()
163le_int32 outCharCount = LayoutEngine::characterProcessing(chars, offset, count, max, rightToLeft, … in characterProcessing()
172 for (le_int32 i = 0; i < outCharCount; i += 1) { in characterProcessing()
[all …]
DMPreFixups.cpp15 le_int32 fBaseIndex;
16 le_int32 fMPreIndex;
19 MPreFixups::MPreFixups(le_int32 charCount) in MPreFixups()
31 void MPreFixups::add(le_int32 baseIndex, le_int32 mpreIndex) in add()
45 for (le_int32 fixup = 0; fixup < fFixupCount; fixup += 1) { in apply()
46 le_int32 baseIndex = fFixupData[fixup].fBaseIndex; in apply()
47 le_int32 mpreIndex = fFixupData[fixup].fMPreIndex; in apply()
48 le_int32 mpreLimit = mpreIndex + 1; in apply()
63 le_int32 mpreCount = mpreLimit - mpreIndex; in apply()
64 le_int32 moveCount = baseIndex - mpreLimit; in apply()
[all …]
DArabicLayoutEngine.cpp36 …rabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua… in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
37 le_int32 typoFlags, const GlyphSubstitutionTableHeader *gsubTable) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
44 …rabicOpenTypeLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 langua… in ArabicOpenTypeLayoutEngine()
45 le_int32 typoFlags) in ArabicOpenTypeLayoutEngine()
66 le_int32 ArabicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, in characterProcessing()
103 …TypeLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, l… in adjustGlyphPositions()
129 …eLayoutEngine(const LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode, le_i… in UnicodeArabicOpenTypeLayoutEngine()
144 le_int32 UnicodeArabicOpenTypeLayoutEngine::glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, L… in glyphPostProcessing()
153 le_int32 tempGlyphCount = tempGlyphStorage.getGlyphCount(); in glyphPostProcessing()
161 for (le_int32 i = 0; i < tempGlyphCount; i += 1) { in glyphPostProcessing()
[all …]
DHangulLayoutEngine.cpp104 static const le_int32 featureMapCount = LE_ARRAY_SIZE(featureMap);
111 static le_int32 compose(LEUnicode lead, LEUnicode vowel, LEUnicode trail, LEUnicode &syllable) in compose()
113 le_int32 lIndex = lead - LJMO_FIRST; in compose()
114 le_int32 vIndex = vowel - VJMO_FIRST; in compose()
115 le_int32 tIndex = trail - TJMO_FIRST; in compose()
116 le_int32 result = 3; in compose()
132 static le_int32 decompose(LEUnicode syllable, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) in decompose()
134 le_int32 sIndex = syllable - HSYL_FIRST; in decompose()
151 static le_int32 getCharClass(LEUnicode ch, LEUnicode &lead, LEUnicode &vowel, LEUnicode &trail) in getCharClass()
172 le_int32 c = decompose(ch, lead, vowel, trail); in getCharClass()
[all …]
/external/icu4c/samples/layout/
Dparagraph.h36 …Paragraph(const LEUnicode chars[], le_int32 charCount, const FontRuns *fontRuns, LEErrorCode &stat…
40 le_int32 getAscent();
41 le_int32 getLineHeight();
42 le_int32 getLineCount();
43 void breakLines(le_int32 width, le_int32 height);
44 void draw(RenderingSurface *surface, le_int32 firstLine, le_int32 lastLine);
53 le_int32 fParagraphCount;
54 le_int32 fParagraphMax;
55 le_int32 fParagraphGrow;
57 le_int32 fLineCount;
[all …]
DGnomeFontInstance.h37 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
38 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
56 le_int32 fPointSize;
57 le_int32 fUnitsPerEM;
58 le_int32 fAscent;
59 le_int32 fDescent;
60 le_int32 fLeading;
78 virtual le_int32 getUnitsPerEM() const;
80 virtual le_int32 getAscent() const;
82 virtual le_int32 getDescent() const;
[all …]
Dpflow.c43 le_int32 fParagraphCount;
44 le_int32 fParagraphMax;
45 le_int32 fParagraphGrow;
47 le_int32 fLineCount;
48 le_int32 fLinesMax;
49 le_int32 fLinesGrow;
55 le_int32 fLineHeight;
56 le_int32 fAscent;
57 le_int32 fWidth;
58 le_int32 fHeight;
[all …]
DGDIFontInstance.h34 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
35 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
57 le_int32 fPointSize;
58 le_int32 fUnitsPerEM;
59 le_int32 fAscent;
60 le_int32 fDescent;
61 le_int32 fLeading;
83 virtual le_int32 getUnitsPerEM() const;
85 virtual le_int32 getAscent() const;
87 virtual le_int32 getDescent() const;
[all …]
Dparagraph.cpp44 static le_int32 findRun(const RunArray *runArray, le_int32 offset) in findRun()
46 le_int32 runCount = runArray->getCount(); in findRun()
48 for (le_int32 run = 0; run < runCount; run += 1) { in findRun()
57 static void subsetFontRuns(const FontRuns *fontRuns, le_int32 start, le_int32 limit, FontRuns *sub) in subsetFontRuns()
59 le_int32 startRun = findRun(fontRuns, start); in subsetFontRuns()
60 le_int32 endRun = findRun(fontRuns, limit - 1); in subsetFontRuns()
64 for (le_int32 run = startRun; run <= endRun; run += 1) { in subsetFontRuns()
66 le_int32 runLimit = fontRuns->getLimit(run) - start; in subsetFontRuns()
87 le_int32 ascent = 0; in Paragraph()
88 le_int32 descent = 0; in Paragraph()
[all …]

1234567