Home
last modified time | relevance | path

Searched refs:glyphStorage (Results 1 – 25 of 95) sorted by relevance

1234

/external/icu/icu4c/source/layout/
DIndicRearrangementProcessor.cpp41 ByteOffset IndicRearrangementProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &c… in processStateEntry() argument
56 doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask)); in processStateEntry()
70 void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrang… in doRearrangementAction() argument
82 a = glyphStorage[firstGlyph]; in doRearrangementAction()
83 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
87 glyphStorage[x - 1] = glyphStorage[x]; in doRearrangementAction()
88 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
89 glyphStorage.setCharIndex(x - 1, ix, success); in doRearrangementAction()
93 glyphStorage[lastGlyph] = a; in doRearrangementAction()
94 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction()
[all …]
DIndicRearrangementProcessor2.cpp38 le_uint16 IndicRearrangementProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &c… in processStateEntry() argument
54 doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask)); in processStateEntry()
67 void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearran… in doRearrangementAction() argument
79 a = glyphStorage[firstGlyph]; in doRearrangementAction()
80 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction()
84 glyphStorage[x - 1] = glyphStorage[x]; in doRearrangementAction()
85 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction()
86 glyphStorage.setCharIndex(x - 1, ix, success); in doRearrangementAction()
90 glyphStorage[lastGlyph] = a; in doRearrangementAction()
91 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction()
[all …]
DMPreFixups.cpp43 void MPreFixups::apply(LEGlyphStorage &glyphStorage, LEErrorCode& success) in apply() argument
54 while (glyphStorage[baseIndex] == 0xFFFF || glyphStorage[baseIndex] == 0xFFFE) { in apply()
58 while (glyphStorage[mpreLimit] == 0xFFFF || glyphStorage[mpreLimit] == 0xFFFE) { in apply()
83 mpreSave[i] = glyphStorage[mpreIndex + i]; in apply()
84 … indexSave[i] = glyphStorage.getCharIndex(mpreIndex + i, success); //charIndices[mpreIndex + i]; in apply()
88 LEGlyphID glyph = glyphStorage[mpreLimit + i]; in apply()
89 le_int32 charIndex = glyphStorage.getCharIndex(mpreLimit + i, success); in apply()
91 glyphStorage[mpreIndex + i] = glyph; in apply()
92 glyphStorage.setCharIndex(mpreIndex + i, charIndex, success); in apply()
96 glyphStorage[mpreDest + i] = mpreSave[i]; in apply()
[all …]
DArabicLayoutEngine.cpp71 … LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument
89 glyphStorage.allocateGlyphArray(count, rightToLeft, success); in characterProcessing()
90 glyphStorage.allocateAuxData(success); in characterProcessing()
97 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage); in characterProcessing()
102 ArabicShaping::shape(chars, offset, count, max, rightToLeft, glyphStorage); in characterProcessing()
108 … LEGlyphStorage &glyphStorage, LEErrorCode &success) in adjustGlyphPositions() argument
120 … OpenTypeLayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success); in adjustGlyphPositions()
123 adjustMarkGlyphs(glyphStorage, &filter, success); in adjustGlyphPositions()
128 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success); in adjustGlyphPositions()
146 …glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorage, LEErrorCode &s… in glyphPostProcessing() argument
[all …]
DThaiShaping.cpp146 … LEUnicode errorChar, LEUnicode *outputBuffer, LEGlyphStorage &glyphStorage, le_int32 &outputIndex) in doTransition() argument
152 glyphStorage.setCharIndex(outputIndex, inputIndex, success); in doTransition()
157 glyphStorage.setCharIndex(outputIndex, inputIndex, success); in doTransition()
162 glyphStorage.setCharIndex(outputIndex, inputIndex, success); in doTransition()
167 glyphStorage.setCharIndex(outputIndex, inputIndex, success); in doTransition()
172 glyphStorage.setCharIndex(outputIndex, inputIndex, success); in doTransition()
177 glyphStorage.setCharIndex(outputIndex, inputIndex, success); in doTransition()
189 glyphStorage.setCharIndex(outputIndex, inputIndex, success); in doTransition()
194 glyphStorage.setCharIndex(outputIndex, inputIndex, success); in doTransition()
200 glyphStorage.setCharIndex(outputIndex, inputIndex, success); in doTransition()
[all …]
DOpenTypeLayoutEngine.cpp283 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument
312 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage); in characterProcessing()
319 glyphStorage.allocateGlyphArray(count, rightToLeft, success); in characterProcessing()
320 glyphStorage.allocateAuxData(success); in characterProcessing()
323 glyphStorage.setAuxData(i, fFeatureMask, success); in characterProcessing()
332 LEGlyphStorage &glyphStorage, LEErrorCode &success) in glyphProcessing() argument
343 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success); in glyphProcessing()
351 …count = fGSUBTable->process(fGSUBTable, glyphStorage, rightToLeft, fScriptTagV2, fLangSysTag, fGDE… in glyphProcessing()
355 …count = fGSUBTable->process(fGSUBTable, glyphStorage, rightToLeft, fScriptTag, fLangSysTag, fGDEFT… in glyphProcessing()
365 LEGlyphStorage &glyphStorage, LEErrorCode &success) in glyphSubstitution() argument
[all …]
DIndicLayoutEngine.cpp57 LEGlyphStorage &glyphStorage, LEErrorCode &success) in glyphProcessing() argument
68 …enTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success); in glyphProcessing()
75 IndicReordering::finalReordering(glyphStorage,retCount); in glyphProcessing()
76 IndicReordering::applyPresentationForms(glyphStorage,retCount); in glyphProcessing()
77 OpenTypeLayoutEngine::glyphSubstitution(count,max, rightToLeft, glyphStorage, success); in glyphProcessing()
79 IndicReordering::adjustMPres(fMPreFixups, glyphStorage, success); in glyphProcessing()
88 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument
108 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success); in characterProcessing()
109 glyphStorage.allocateAuxData(success); in characterProcessing()
121 …CharCount = IndicReordering::v2process(&chars[offset], count, fScriptCode, outChars, glyphStorage); in characterProcessing()
[all …]
DLayoutEngine.cpp199 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument
285 glyphStorage.adoptCharIndicesArray(fakeGlyphStorage); in characterProcessing()
306 LEGlyphStorage &glyphStorage, LEErrorCode &success) in computeGlyphs() argument
318 …unt = characterProcessing(chars, offset, count, max, rightToLeft, outChars, glyphStorage, success); in computeGlyphs()
321 … mapCharsToGlyphs(outChars, 0, outCharCount, rightToLeft, rightToLeft, glyphStorage, success); in computeGlyphs()
324 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success); in computeGlyphs()
327 return glyphStorage.getGlyphCount(); in computeGlyphs()
332 void LayoutEngine::positionGlyphs(LEGlyphStorage &glyphStorage, float x, float y, LEErrorCode &succ… in positionGlyphs() argument
338 glyphStorage.allocatePositions(success); in positionGlyphs()
344 le_int32 i, glyphCount = glyphStorage.getGlyphCount(); in positionGlyphs()
[all …]
DHangulLayoutEngine.cpp210 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument
230 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success); in characterProcessing()
231 glyphStorage.allocateAuxData(success); in characterProcessing()
258 glyphStorage.setCharIndex(outCharCount, i-offset, success); in characterProcessing()
259 glyphStorage.setAuxData(outCharCount++, nullFeatures, success); in characterProcessing()
265 glyphStorage.setCharIndex(outCharCount, i-offset, success); in characterProcessing()
266 glyphStorage.setAuxData(outCharCount++, ljmoFeatures, success); in characterProcessing()
271 glyphStorage.setCharIndex(outCharCount, i-offset, success); in characterProcessing()
272 glyphStorage.setAuxData(outCharCount++, vjmoFeatures, success); in characterProcessing()
277 glyphStorage.setCharIndex(outCharCount, i-offset, success); in characterProcessing()
[all …]
DGlyphIterator.cpp21 glyphStorage(theGlyphStorage), glyphPositionAdjustments(theGlyphPositionAdjustments), in GlyphIterator()
27 le_int32 glyphCount = glyphStorage.getGlyphCount(); in GlyphIterator()
48 : glyphStorage(that.glyphStorage) in GlyphIterator()
67 : glyphStorage(that.glyphStorage) in GlyphIterator()
86 : glyphStorage(that.glyphStorage) in GlyphIterator()
120 return glyphStorage.insertGlyphs(position, count, success); in insertGlyphs()
125 le_int32 newGlyphCount = glyphStorage.applyInsertions(); in applyInsertions()
168 return glyphStorage[position]; in getCurrGlyphID()
203 LEGlyphID glyph = glyphStorage[position]; in setCurrGlyphID()
205 glyphStorage[position] = LE_SET_GLYPH(glyph, glyphID); in setCurrGlyphID()
[all …]
DContextualGlyphInsertionProc2.cpp41 void ContextualGlyphInsertionProcessor2::doInsertion(LEGlyphStorage &glyphStorage, in doInsertion() argument
48 LEGlyphID *insertGlyphs = glyphStorage.insertGlyphs(atGlyph, count + 1, success); in doInsertion()
61 insertGlyphs[targetIndex++] = glyphStorage[atGlyph]; in doInsertion()
64 insertGlyphs[count] = glyphStorage[atGlyph]; in doInsertion()
70 glyphStorage.applyInsertions(); in doInsertion()
73 le_uint16 ContextualGlyphInsertionProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_in… in processStateEntry() argument
88 doInsertion(glyphStorage, markGlyph, markIndex, count, isKashidaLike, isBefore, success); in processStateEntry()
96 doInsertion(glyphStorage, currGlyph, currIndex, count, isKashidaLike, isBefore, success); in processStateEntry()
DThaiLayoutEngine.cpp59 …e_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &s… in computeGlyphs() argument
82 glyphStorage.allocateGlyphArray(count * 2, FALSE, success); in computeGlyphs()
90 …hCount = ThaiShaping::compose(chars, offset, count, fGlyphSet, fErrorChar, outChars, glyphStorage); in computeGlyphs()
91 mapCharsToGlyphs(outChars, 0, glyphCount, FALSE, FALSE, glyphStorage, success); in computeGlyphs()
95 glyphStorage.adoptGlyphCount(glyphCount); in computeGlyphs()
101 LEGlyphStorage &glyphStorage, LEErrorCode &success) in adjustGlyphPositions() argument
115 kt.process(glyphStorage, success); in adjustGlyphPositions()
DArabicShaping.cpp114 …id ArabicShaping::adjustTags(le_int32 outIndex, le_int32 shapeOffset, LEGlyphStorage &glyphStorage) in adjustTags() argument
117 FeatureMask featureMask = (FeatureMask) glyphStorage.getAuxData(outIndex, success); in adjustTags()
122 glyphStorage.setAuxData(outIndex, ((featureMask & ~SHAPE_MASK) | shape), success); in adjustTags()
126 le_bool rightToLeft, LEGlyphStorage &glyphStorage) in shape() argument
180 glyphStorage.setAuxData(out, NO_FEATURES, success); in shape()
182 glyphStorage.setAuxData(out, ISOL_FEATURES, success); in shape()
194 adjustTags(erout, 2, glyphStorage); in shape()
198 adjustTags(out, 1, glyphStorage); in shape()
208 adjustTags(erout, 2, glyphStorage); in shape()
DStateTableProcessor2.cpp54 void StateTableProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) in process() argument
60 le_int32 glyphCount = glyphStorage.getGlyphCount(); in process()
89 LEGlyphID gid = glyphStorage[currGlyph]; in process()
100 …currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex); // return a zero-based… in process()
120 LEGlyphID gid = glyphStorage[currGlyph]; in process()
135 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success); in process()
161 LEGlyphID gid = glyphStorage[currGlyph]; in process()
175 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success); in process()
197 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(glyphStorage[currGlyph]); in process()
206 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex, success); in process()
DLigatureSubstProc.cpp45 ByteOffset LigatureSubstitutionProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 … in processStateEntry() argument
93 if(componentGlyph > (le_uint32)glyphStorage.getGlyphCount()) { in processStateEntry()
98 … i += SWAPW(offsetTable.getObject(LE_GET_GLYPH(glyphStorage[componentGlyph]), success)); in processStateEntry()
104glyphStorage[componentGlyph] = LE_SET_GLYPH(glyphStorage[componentGlyph], ligatureGlyph); in processStateEntry()
112 glyphStorage[componentGlyph] = LE_SET_GLYPH(glyphStorage[componentGlyph], 0xFFFF); in processStateEntry()
DLayoutEngine.h188 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success);
216 …t, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &s…
231 … virtual void positionGlyphs(LEGlyphStorage &glyphStorage, float x, float y, LEErrorCode &success);
253 …[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &s…
300 …set, le_int32 count, le_bool reverse, le_bool mirror, LEGlyphStorage &glyphStorage, LEErrorCode &s…
315 …static void adjustMarkGlyphs(LEGlyphStorage &glyphStorage, LEGlyphFilter *markFilter, LEErrorCode …
336 …Unicode chars[], le_int32 charCount, le_bool reverse, LEGlyphStorage &glyphStorage, LEGlyphFilter …
DLigatureSubstProc2.cpp48 le_uint16 LigatureSubstitutionProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 … in processStateEntry() argument
98 if(componentGlyph > glyphStorage.getGlyphCount() || componentGlyph < 0) { in processStateEntry()
103 …i += SWAPW(componentTable(LE_GET_GLYPH(glyphStorage[componentGlyph]) + (SignExtend(offset, lafComp… in processStateEntry()
107glyphStorage[componentGlyph] = LE_SET_GLYPH(glyphStorage[componentGlyph], ligatureGlyph); in processStateEntry()
115glyphStorage[componentGlyph] = LE_SET_GLYPH(glyphStorage[componentGlyph], 0xFFFF); in processStateEntry()
DOpenTypeLayoutEngine.h280 LEUnicode *&/*outChars*/, LEGlyphStorage &glyphStorage, LEErrorCode &success);
312 LEGlyphStorage &glyphStorage, LEErrorCode &success);
314 …on(le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &s…
341 …glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorage, LEErrorCode &s…
365 …t, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &s…
382 …[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &s…
DTibetanLayoutEngine.cpp51 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument
71 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success); in characterProcessing()
72 glyphStorage.allocateAuxData(success); in characterProcessing()
81 …CharCount = TibetanReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage); in characterProcessing()
83 glyphStorage.adoptGlyphCount(outCharCount); in characterProcessing()
DArabicLayoutEngine.h117 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success);
136 …[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &s…
201 …glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorage, LEErrorCode &s…
220 LEGlyphStorage &glyphStorage, LEErrorCode &success);
236 …[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &s…
DKhmerLayoutEngine.cpp45 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument
65 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success); in characterProcessing()
66 glyphStorage.allocateAuxData(success); in characterProcessing()
75 …utCharCount = KhmerReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage); in characterProcessing()
77 glyphStorage.adoptGlyphCount(outCharCount); in characterProcessing()
DContextualGlyphSubstProc.cpp44 ByteOffset ContextualGlyphSubstitutionProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le… in processStateEntry() argument
54 LEGlyphID mGlyph = glyphStorage[markGlyph]; in processStateEntry()
57 glyphStorage[markGlyph] = LE_SET_GLYPH(mGlyph, newGlyph); in processStateEntry()
61 LEGlyphID thisGlyph = glyphStorage[currGlyph]; in processStateEntry()
64 glyphStorage[currGlyph] = LE_SET_GLYPH(thisGlyph, newGlyph); in processStateEntry()
DSingleTableProcessor.cpp35 void SingleTableProcessor::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) in process() argument
39 le_int32 glyphCount = glyphStorage.getGlyphCount(); in process()
42 …singleTableLookupTable->lookupSingle(singleTableLookupTable, entries, glyphStorage[glyph], success… in process()
45 glyphStorage[glyph] = SWAPW(lookupSingle->value); in process()
DSingleTableProcessor2.cpp36 void SingleTableProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) in process() argument
41 le_int32 glyphCount = glyphStorage.getGlyphCount(); in process()
44 …singleTableLookupTable->lookupSingle(singleTableLookupTable, entries, glyphStorage[glyph], success… in process()
47 glyphStorage[glyph] = SWAPW(lookupSingle->value); in process()
DSimpleArrayProcessor2.cpp37 void SimpleArrayProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) in process() argument
40 le_int32 glyphCount = glyphStorage.getGlyphCount(); in process()
44 LEGlyphID thisGlyph = glyphStorage[glyph]; in process()
48 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph); in process()

1234