Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/layoutex/layout/
DRunArrays.h64 inline RunArray(const le_int32 *limits, le_int32 count);
77 RunArray(le_int32 initialCapacity);
93 inline le_int32 getCount() const;
113 inline le_int32 getLimit() const;
124 inline le_int32 getLimit(le_int32 run) const;
150 le_int32 add(le_int32 limit);
179 virtual void init(le_int32 capacity);
193 virtual void grow(le_int32 capacity);
213 le_int32 ensureCapacity();
219 const le_int32 *fLimits;
[all …]
DParagraphLayout.h87 inline le_int32 countRuns() const;
97 le_int32 getAscent() const;
107 le_int32 getDescent() const;
117 le_int32 getLeading() const;
128 le_int32 getWidth() const;
145 const VisualRun *getVisualRun(le_int32 runIndex) const;
171 le_int32 fAscent;
172 le_int32 fDescent;
173 le_int32 fLeading;
175 le_int32 fRunCount;
[all …]
Dplruns.h63 const le_int32 *limits,
64 le_int32 count);
78 pl_openEmptyFontRuns(le_int32 initialCapacity);
100 U_INTERNAL le_int32 U_EXPORT2
123 U_INTERNAL le_int32 U_EXPORT2
136 U_INTERNAL le_int32 U_EXPORT2
138 le_int32 run);
154 le_int32 run);
175 U_INTERNAL le_int32 U_EXPORT2
178 le_int32 limit);
[all …]
Dplayout.h100 le_int32 count,
136 le_int32 count);
181 U_INTERNAL le_int32 U_EXPORT2
194 U_INTERNAL le_int32 U_EXPORT2
207 U_INTERNAL le_int32 U_EXPORT2
262 U_INTERNAL le_int32 U_EXPORT2
275 U_INTERNAL le_int32 U_EXPORT2
288 U_INTERNAL le_int32 U_EXPORT2
301 U_INTERNAL le_int32 U_EXPORT2
315 U_INTERNAL le_int32 U_EXPORT2
[all …]
/external/icu/icu4c/source/layoutex/
DRunArrays.cpp21 RunArray::RunArray(le_int32 initialCapacity) in RunArray()
25 fLimits = LE_NEW_ARRAY(le_int32, fCapacity); in RunArray()
37 le_int32 RunArray::ensureCapacity() in ensureCapacity()
52 void RunArray::init(le_int32 capacity) in init()
54 fLimits = LE_NEW_ARRAY(le_int32, capacity); in init()
57 void RunArray::grow(le_int32 newCapacity) in grow()
59 fLimits = (le_int32 *) LE_GROW_ARRAY(fLimits, newCapacity); in grow()
62 le_int32 RunArray::add(le_int32 limit) in add()
68 le_int32 index = ensureCapacity(); in add()
69 le_int32 *limits = (le_int32 *) fLimits; in add()
[all …]
Dplruns.cpp22 const le_int32 *limits, in pl_openFontRuns()
23 le_int32 count) in pl_openFontRuns()
29 pl_openEmptyFontRuns(le_int32 initialCapacity) in pl_openEmptyFontRuns()
42 U_CAPI le_int32 U_EXPORT2
64 U_CAPI le_int32 U_EXPORT2
76 U_CAPI le_int32 U_EXPORT2
78 le_int32 run) in pl_getFontRunLimit()
91 le_int32 run) in pl_getFontRunFont()
102 U_CAPI le_int32 U_EXPORT2
105 le_int32 limit) in pl_addFontRun()
[all …]
DParagraphLayout.cpp41 StyleRuns(const RunArray *styleRunArrays[], le_int32 styleCount);
45 le_int32 getRuns(le_int32 runLimits[], le_int32 styleIndices[]);
48 le_int32 fStyleCount;
49 le_int32 fRunCount;
51 le_int32 *fRunLimits;
52 le_int32 *fStyleIndices;
55 StyleRuns::StyleRuns(const RunArray *styleRunArrays[], le_int32 styleCount) in StyleRuns()
58 le_int32 maxRunCount = 0; in StyleRuns()
59 le_int32 style, run, runStyle; in StyleRuns()
60 le_int32 *currentRun = LE_NEW_ARRAY(le_int32, styleCount); in StyleRuns()
[all …]
DLXUtilities.cpp19 le_int8 LXUtilities::highBit(le_int32 value) in highBit()
55 le_int32 LXUtilities::search(le_int32 value, const le_int32 array[], le_int32 count) in search()
57 le_int32 power = 1 << highBit(count); in search()
58 le_int32 extra = count - power; in search()
59 le_int32 probe = power; in search()
60 le_int32 index = 0; in search()
77 void LXUtilities::reverse(le_int32 array[], le_int32 length) in reverse()
79 le_int32 front, back; in reverse()
82 le_int32 swap = array[front]; in reverse()
89 void LXUtilities::reverse(float array[], le_int32 length) in reverse()
[all …]
DLXUtilities.h21 static le_int8 highBit(le_int32 value);
22 static le_int32 search(le_int32 value, const le_int32 array[], le_int32 count);
23 static void reverse(le_int32 array[], le_int32 count);
24 static void reverse(float array[], le_int32 count);
Dplayout.cpp29 le_int32 count, in pl_create()
55 le_int32 count) in pl_isComplex()
84 U_CAPI le_int32 U_EXPORT2
96 U_CAPI le_int32 U_EXPORT2
108 U_CAPI le_int32 U_EXPORT2
152 U_CAPI le_int32 U_EXPORT2
164 U_CAPI le_int32 U_EXPORT2
176 U_CAPI le_int32 U_EXPORT2
188 U_CAPI le_int32 U_EXPORT2
200 U_CAPI le_int32 U_EXPORT2
[all …]
/external/icu/icu4c/source/samples/layout/
Dparagraph.h42 …Paragraph(const LEUnicode chars[], le_int32 charCount, const FontRuns *fontRuns, LEErrorCode &stat…
46 le_int32 getAscent();
47 le_int32 getLineHeight();
48 le_int32 getLineCount();
49 void breakLines(le_int32 width, le_int32 height);
50 void draw(RenderingSurface *surface, le_int32 firstLine, le_int32 lastLine);
59 le_int32 fParagraphCount;
60 le_int32 fParagraphMax;
61 le_int32 fParagraphGrow;
63 le_int32 fLineCount;
[all …]
DGnomeFontInstance.h43 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
44 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
62 le_int32 fPointSize;
63 le_int32 fUnitsPerEM;
64 le_int32 fAscent;
65 le_int32 fDescent;
66 le_int32 fLeading;
84 virtual le_int32 getUnitsPerEM() const;
86 virtual le_int32 getAscent() const;
88 virtual le_int32 getDescent() const;
[all …]
Dpflow.c46 le_int32 fParagraphCount;
47 le_int32 fParagraphMax;
48 le_int32 fParagraphGrow;
50 le_int32 fLineCount;
51 le_int32 fLinesMax;
52 le_int32 fLinesGrow;
58 le_int32 fLineHeight;
59 le_int32 fAscent;
60 le_int32 fWidth;
61 le_int32 fHeight;
[all …]
DGDIFontInstance.h40 virtual void drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count,
41 const float *positions, le_int32 x, le_int32 y, le_int32 width, le_int32 height);
63 le_int32 fPointSize;
64 le_int32 fUnitsPerEM;
65 le_int32 fAscent;
66 le_int32 fDescent;
67 le_int32 fLeading;
89 virtual le_int32 getUnitsPerEM() const;
91 virtual le_int32 getAscent() const;
93 virtual le_int32 getDescent() const;
[all …]
Dparagraph.cpp50 static le_int32 findRun(const RunArray *runArray, le_int32 offset) in findRun()
52 le_int32 runCount = runArray->getCount(); in findRun()
54 for (le_int32 run = 0; run < runCount; run += 1) { in findRun()
63 static void subsetFontRuns(const FontRuns *fontRuns, le_int32 start, le_int32 limit, FontRuns *sub) in subsetFontRuns()
65 le_int32 startRun = findRun(fontRuns, start); in subsetFontRuns()
66 le_int32 endRun = findRun(fontRuns, limit - 1); in subsetFontRuns()
70 for (le_int32 run = startRun; run <= endRun; run += 1) { in subsetFontRuns()
72 le_int32 runLimit = fontRuns->getLimit(run) - start; in subsetFontRuns()
93 le_int32 ascent = 0; in Paragraph()
94 le_int32 descent = 0; in Paragraph()
[all …]
DScriptCompositeFontInstance.h78 …st LEFontInstance *getSubFont(const LEUnicode chars[], le_int32 *offset, le_int32 limit, le_int32
92 virtual le_int32 getUnitsPerEM() const;
94 virtual le_int32 getAscent() const;
96 virtual le_int32 getDescent() const;
98 virtual le_int32 getLeading() const;
102 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;
141 inline le_int32 ScriptCompositeFontInstance::getUnitsPerEM() const in getUnitsPerEM()
146 inline le_int32 ScriptCompositeFontInstance::getAscent() const in getAscent()
151 inline le_int32 ScriptCompositeFontInstance::getDescent() const in getDescent()
156 inline le_int32 ScriptCompositeFontInstance::getLeading() const in getLeading()
DFontMap.h30 virtual const LEFontInstance *getScriptFont(le_int32 scriptCode, LEErrorCode &status);
34 virtual le_int32 getAscent() const;
36 virtual le_int32 getDescent() const;
38 virtual le_int32 getLeading() const;
47 le_int32 getFontIndex(const char *fontName);
51 le_int32 fFontCount;
53 le_int32 fAscent;
54 le_int32 fDescent;
55 le_int32 fLeading;
61 le_int32 fFontIndices[scriptCodeCount];
DFontMap.cpp29 le_int32 defaultFont = -1, i, script; in FontMap()
77 le_int32 fillCount = uscript_getCode(scriptName, &scriptCode, 1, &scriptStatus); in FontMap()
86 script = (le_int32) scriptCode; in FontMap()
116 le_int32 font; in ~FontMap()
131 le_int32 FontMap::getFontIndex(const char *fontName) in getFontIndex()
133 le_int32 index; in getFontIndex()
141 if (fFontCount < (le_int32) scriptCodeCount) { in getFontIndex()
150 le_int32 script; in getFontIndex()
168 le_int32 len = strlen(fontName); in getFontIndex()
177 le_int32 start, end, len; in strip()
[all …]
Dpflow.h24 pf_flow *pf_create(const LEUnicode chars[], le_int32 charCount, const pl_fontRuns *fontRuns, LEErro…
28 le_int32 pf_getAscent(pf_flow *flow);
29 le_int32 pf_getLineHeight(pf_flow *flow);
30 le_int32 pf_getLineCount(pf_flow *flow);
31 void pf_breakLines(pf_flow *flow, le_int32 width, le_int32 height);
32 void pf_draw(pf_flow *flow, rs_surface *surface, le_int32 firstLine, le_int32 lastLine);
DGnomeFontInstance.cpp47 void GnomeSurface::drawGlyphs(const LEFontInstance *font, const LEGlyphID *glyphs, le_int32 count, in drawGlyphs() argument
48 … const float *positions, le_int32 x, le_int32 y, le_int32 /*width*/, le_int32 /*height*/) in drawGlyphs()
82 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
83 fDescent = (le_int32) -(yUnitsToPoints(fFace->descender) * fDeviceScaleY); in GnomeFontInstance()
84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
164 le_bool GnomeFontInstance::getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) con… in getGlyphPoint()
184 void GnomeFontInstance::rasterizeGlyphs(cairo_t *cairo, const LEGlyphID *glyphs, le_int32 glyphCoun… in rasterizeGlyphs()
185 le_int32 x, le_int32 y) const in rasterizeGlyphs()
188 le_int32 in, out; in rasterizeGlyphs()
DSurface.h15 …rawGlyphs(RenderingFontInstance *font, const LEGlyphID *glyphs, le_int32 count, const le_int32 *dx,
16 le_int32 x, le_int32 y, le_int32 width, le_int32 height);
/external/icu/icu4c/source/test/letest/
Dtestdata.cpp68 le_int32 resultGlyphCount0 = 136;
70 le_int32 resultIndices0[] =
206 le_int32 resultGlyphCount1 = 252;
208 le_int32 resultIndices1[] =
388 le_int32 resultGlyphCount2 = 252;
390 le_int32 resultIndices2[] =
548 le_int32 resultGlyphCount3 = 168;
550 le_int32 resultIndices3[] =
631 le_int32 testCount = ARRAY_LENGTH(testInputs);
DPortableFontInstance.h36 le_int32 fUnitsPerEM;
38 le_int32 fAscent;
39 le_int32 fDescent;
40 le_int32 fLeading;
59 static le_int8 highBit(le_int32 value);
86 virtual le_int32 getUnitsPerEM() const;
92 virtual le_int32 getAscent() const;
94 virtual le_int32 getDescent() const;
96 virtual le_int32 getLeading() const;
110 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;
/external/icu/icu4c/source/test/perf/leperf/
DPortableFontInstance.h40 le_int32 fUnitsPerEM;
42 le_int32 fAscent;
43 le_int32 fDescent;
44 le_int32 fLeading;
63 static le_int8 highBit(le_int32 value);
91 virtual le_int32 getUnitsPerEM() const;
97 virtual le_int32 getAscent() const;
99 virtual le_int32 getDescent() const;
101 virtual le_int32 getLeading() const;
115 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;
DSimpleFontInstance.h32 le_int32 fAscent;
33 le_int32 fDescent;
45 virtual le_int32 getUnitsPerEM() const;
47 virtual le_int32 getAscent() const;
49 virtual le_int32 getDescent() const;
51 virtual le_int32 getLeading() const;
65 virtual le_bool getGlyphPoint(LEGlyphID glyph, le_int32 pointNumber, LEPoint &point) const;

123