/external/icu4c/layout/ |
D | IndicRearrangementProcessor.cpp | 38 ByteOffset IndicRearrangementProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &c… in processStateEntry() argument 52 doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask)); in processStateEntry() 66 void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrang… in doRearrangementAction() argument 78 a = glyphStorage[firstGlyph]; in doRearrangementAction() 79 ia = glyphStorage.getCharIndex(firstGlyph, success); in doRearrangementAction() 83 glyphStorage[x - 1] = glyphStorage[x]; in doRearrangementAction() 84 ix = glyphStorage.getCharIndex(x, success); in doRearrangementAction() 85 glyphStorage.setCharIndex(x - 1, ix, success); in doRearrangementAction() 89 glyphStorage[lastGlyph] = a; in doRearrangementAction() 90 glyphStorage.setCharIndex(lastGlyph, ia, success); in doRearrangementAction() [all …]
|
D | MPreFixups.cpp | 43 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 …]
|
D | OpenTypeLayoutEngine.cpp | 179 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument 208 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage); in characterProcessing() 215 glyphStorage.allocateGlyphArray(count, rightToLeft, success); in characterProcessing() 216 glyphStorage.allocateAuxData(success); in characterProcessing() 219 glyphStorage.setAuxData(i, fFeatureMask, success); in characterProcessing() 228 LEGlyphStorage &glyphStorage, LEErrorCode &success) in glyphProcessing() argument 239 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success); in glyphProcessing() 247 …count = fGSUBTable->process(glyphStorage, rightToLeft, fScriptTagV2, fLangSysTag, fGDEFTable, fSub… in glyphProcessing() 251 …count = fGSUBTable->process(glyphStorage, rightToLeft, fScriptTag, fLangSysTag, fGDEFTable, fSubst… in glyphProcessing() 261 LEGlyphStorage &glyphStorage, LEErrorCode &success) in glyphSubstitution() argument [all …]
|
D | ArabicLayoutEngine.cpp | 67 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument 85 glyphStorage.allocateGlyphArray(count, rightToLeft, success); in characterProcessing() 86 glyphStorage.allocateAuxData(success); in characterProcessing() 93 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage); in characterProcessing() 98 ArabicShaping::shape(chars, offset, count, max, rightToLeft, glyphStorage); in characterProcessing() 104 … LEGlyphStorage &glyphStorage, LEErrorCode &success) in adjustGlyphPositions() argument 116 … OpenTypeLayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success); in adjustGlyphPositions() 120 adjustMarkGlyphs(glyphStorage, &filter, success); in adjustGlyphPositions() 125 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success); in adjustGlyphPositions() 144 …glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorage, LEErrorCode &s… in glyphPostProcessing() argument [all …]
|
D | ThaiShaping.cpp | 146 … 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 …]
|
D | IndicLayoutEngine.cpp | 57 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 …]
|
D | LayoutEngine.cpp | 193 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) in characterProcessing() argument 279 glyphStorage.adoptCharIndicesArray(fakeGlyphStorage); in characterProcessing() 300 LEGlyphStorage &glyphStorage, LEErrorCode &success) in computeGlyphs() argument 312 …unt = characterProcessing(chars, offset, count, max, rightToLeft, outChars, glyphStorage, success); in computeGlyphs() 315 … mapCharsToGlyphs(outChars, 0, outCharCount, rightToLeft, rightToLeft, glyphStorage, success); in computeGlyphs() 318 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success); in computeGlyphs() 321 return glyphStorage.getGlyphCount(); in computeGlyphs() 326 void LayoutEngine::positionGlyphs(LEGlyphStorage &glyphStorage, float x, float y, LEErrorCode &succ… in positionGlyphs() argument 332 glyphStorage.allocatePositions(success); in positionGlyphs() 338 le_int32 i, glyphCount = glyphStorage.getGlyphCount(); in positionGlyphs() [all …]
|
D | HangulLayoutEngine.cpp | 210 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 …]
|
D | GlyphIterator.cpp | 21 glyphStorage(theGlyphStorage), glyphPositionAdjustments(theGlyphPositionAdjustments), in GlyphIterator() 26 le_int32 glyphCount = glyphStorage.getGlyphCount(); in GlyphIterator() 44 : glyphStorage(that.glyphStorage) in GlyphIterator() 62 : glyphStorage(that.glyphStorage) in GlyphIterator() 80 : glyphStorage(that.glyphStorage) in GlyphIterator() 112 return glyphStorage.insertGlyphs(position, count, success); in insertGlyphs() 117 le_int32 newGlyphCount = glyphStorage.applyInsertions(); in applyInsertions() 160 return glyphStorage[position]; in getCurrGlyphID() 195 LEGlyphID glyph = glyphStorage[position]; in setCurrGlyphID() 197 glyphStorage[position] = LE_SET_GLYPH(glyph, glyphID); in setCurrGlyphID() [all …]
|
D | ThaiLayoutEngine.cpp | 59 …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 116 kt.process(glyphStorage); in adjustGlyphPositions()
|
D | ArabicShaping.cpp | 112 …id ArabicShaping::adjustTags(le_int32 outIndex, le_int32 shapeOffset, LEGlyphStorage &glyphStorage) in adjustTags() argument 115 FeatureMask featureMask = (FeatureMask) glyphStorage.getAuxData(outIndex, success); in adjustTags() 120 glyphStorage.setAuxData(outIndex, ((featureMask & ~SHAPE_MASK) | shape), success); in adjustTags() 124 le_bool rightToLeft, LEGlyphStorage &glyphStorage) in shape() argument 178 glyphStorage.setAuxData(out, NO_FEATURES, success); in shape() 180 glyphStorage.setAuxData(out, ISOL_FEATURES, success); in shape() 192 adjustTags(erout, 2, glyphStorage); in shape() 196 adjustTags(out, 1, glyphStorage); in shape() 206 adjustTags(erout, 2, glyphStorage); in shape()
|
D | LayoutEngine.h | 175 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success); 203 …t, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &s… 218 … virtual void positionGlyphs(LEGlyphStorage &glyphStorage, float x, float y, LEErrorCode &success); 240 …[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &s… 281 …set, le_int32 count, le_bool reverse, le_bool mirror, LEGlyphStorage &glyphStorage, LEErrorCode &s… 295 …static void adjustMarkGlyphs(LEGlyphStorage &glyphStorage, LEGlyphFilter *markFilter, LEErrorCode … 316 …Unicode chars[], le_int32 charCount, le_bool reverse, LEGlyphStorage &glyphStorage, LEGlyphFilter …
|
D | LigatureSubstProc.cpp | 45 ByteOffset LigatureSubstitutionProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 … in processStateEntry() argument 81 i += SWAPW(offsetTable[LE_GET_GLYPH(glyphStorage[componentGlyph])]); in processStateEntry() 87 … glyphStorage[componentGlyph] = LE_SET_GLYPH(glyphStorage[componentGlyph], ligatureGlyph); in processStateEntry() 91 … glyphStorage[componentGlyph] = LE_SET_GLYPH(glyphStorage[componentGlyph], 0xFFFF); in processStateEntry()
|
D | OpenTypeLayoutEngine.h | 274 LEUnicode *&/*outChars*/, LEGlyphStorage &glyphStorage, LEErrorCode &success); 306 LEGlyphStorage &glyphStorage, LEErrorCode &success); 308 …on(le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &s… 335 …glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorage, LEErrorCode &s… 359 …t, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &s… 376 …[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &s…
|
D | ContextualGlyphSubstProc.cpp | 39 ByteOffset ContextualGlyphSubstitutionProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le… in processStateEntry() argument 49 LEGlyphID mGlyph = glyphStorage[markGlyph]; in processStateEntry() 52 glyphStorage[markGlyph] = LE_SET_GLYPH(mGlyph, newGlyph); in processStateEntry() 57 LEGlyphID thisGlyph = glyphStorage[currGlyph]; in processStateEntry() 60 glyphStorage[currGlyph] = LE_SET_GLYPH(thisGlyph, newGlyph); in processStateEntry()
|
D | KhmerLayoutEngine.cpp | 45 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()
|
D | TibetanLayoutEngine.cpp | 51 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()
|
D | SingleTableProcessor.cpp | 36 void SingleTableProcessor::process(LEGlyphStorage &glyphStorage) in process() argument 40 le_int32 glyphCount = glyphStorage.getGlyphCount(); in process() 43 …st LookupSingle *lookupSingle = singleTableLookupTable->lookupSingle(entries, glyphStorage[glyph]); in process() 46 glyphStorage[glyph] = SWAPW(lookupSingle->value); in process()
|
D | SimpleArrayProcessor.cpp | 36 void SimpleArrayProcessor::process(LEGlyphStorage &glyphStorage) in process() argument 38 le_int32 glyphCount = glyphStorage.getGlyphCount(); in process() 42 LEGlyphID thisGlyph = glyphStorage[glyph]; in process() 46 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph); in process()
|
D | ArabicLayoutEngine.h | 117 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…
|
D | SegmentSingleProcessor.cpp | 36 void SegmentSingleProcessor::process(LEGlyphStorage &glyphStorage) in process() argument 39 le_int32 glyphCount = glyphStorage.getGlyphCount(); in process() 43 LEGlyphID thisGlyph = glyphStorage[glyph]; in process() 49 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph); in process()
|
D | TrimmedArrayProcessor.cpp | 38 void TrimmedArrayProcessor::process(LEGlyphStorage &glyphStorage) in process() argument 40 le_int32 glyphCount = glyphStorage.getGlyphCount(); in process() 44 LEGlyphID thisGlyph = glyphStorage[glyph]; in process() 50 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph); in process()
|
D | SegmentArrayProcessor.cpp | 36 void SegmentArrayProcessor::process(LEGlyphStorage &glyphStorage) in process() argument 39 le_int32 glyphCount = glyphStorage.getGlyphCount(); in process() 43 LEGlyphID thisGlyph = glyphStorage[glyph]; in process() 54 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph); in process()
|
D | MorphTables.cpp | 23 void MorphTableHeader::process(LEGlyphStorage &glyphStorage) const in process() 45 subtableHeader->process(glyphStorage); in process() 55 void MorphSubtableHeader::process(LEGlyphStorage &glyphStorage) const in process() 91 processor->process(glyphStorage); in process()
|
D | StateTableProcessor.cpp | 41 void StateTableProcessor::process(LEGlyphStorage &glyphStorage) in process() argument 49 le_int32 glyphCount = glyphStorage.getGlyphCount(); in process() 59 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(glyphStorage[currGlyph]); in process() 71 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex); in process()
|