Searched refs:glyphStorage (Results 1 - 25 of 71) sorted by relevance

123

/external/icu4c/layout/
H A DIndicRearrangementProcessor.cpp38 ByteOffset IndicRearrangementProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index) argument
52 doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask));
66 void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrangementVerb verb) const argument
78 a = glyphStorage[firstGlyph];
79 ia = glyphStorage.getCharIndex(firstGlyph, success);
83 glyphStorage[x - 1] = glyphStorage[x];
84 ix = glyphStorage.getCharIndex(x, success);
85 glyphStorage.setCharIndex(x - 1, ix, success);
89 glyphStorage[lastGlyp
[all...]
H A DSimpleArrayProcessor.cpp36 void SimpleArrayProcessor::process(LEGlyphStorage &glyphStorage) argument
38 le_int32 glyphCount = glyphStorage.getGlyphCount();
42 LEGlyphID thisGlyph = glyphStorage[glyph];
46 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
H A DSingleTableProcessor.cpp36 void SingleTableProcessor::process(LEGlyphStorage &glyphStorage) argument
40 le_int32 glyphCount = glyphStorage.getGlyphCount();
43 const LookupSingle *lookupSingle = singleTableLookupTable->lookupSingle(entries, glyphStorage[glyph]);
46 glyphStorage[glyph] = SWAPW(lookupSingle->value);
H A DMPreFixups.cpp43 void MPreFixups::apply(LEGlyphStorage &glyphStorage, LEErrorCode& success) argument
54 while (glyphStorage[baseIndex] == 0xFFFF || glyphStorage[baseIndex] == 0xFFFE) {
58 while (glyphStorage[mpreLimit] == 0xFFFF || glyphStorage[mpreLimit] == 0xFFFE) {
83 mpreSave[i] = glyphStorage[mpreIndex + i];
84 indexSave[i] = glyphStorage.getCharIndex(mpreIndex + i, success); //charIndices[mpreIndex + i];
88 LEGlyphID glyph = glyphStorage[mpreLimit + i];
89 le_int32 charIndex = glyphStorage.getCharIndex(mpreLimit + i, success);
91 glyphStorage[mpreInde
[all...]
H A DGlyphPositioningTables.cpp19 void GlyphPositioningTableHeader::process(LEGlyphStorage &glyphStorage, GlyphPositionAdjustments *glyphPositionAdjustments, le_bool rightToLeft, argument
33 processor.process(glyphStorage, glyphPositionAdjustments, rightToLeft, glyphDefinitionTableHeader, fontInstance, success);
35 glyphPositionAdjustments->applyCursiveAdjustments(glyphStorage, rightToLeft, fontInstance);
H A DSegmentArrayProcessor.cpp36 void SegmentArrayProcessor::process(LEGlyphStorage &glyphStorage) argument
39 le_int32 glyphCount = glyphStorage.getGlyphCount();
43 LEGlyphID thisGlyph = glyphStorage[glyph];
54 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
H A DSegmentSingleProcessor.cpp36 void SegmentSingleProcessor::process(LEGlyphStorage &glyphStorage) argument
39 le_int32 glyphCount = glyphStorage.getGlyphCount();
43 LEGlyphID thisGlyph = glyphStorage[glyph];
49 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
H A DTrimmedArrayProcessor.cpp38 void TrimmedArrayProcessor::process(LEGlyphStorage &glyphStorage) argument
40 le_int32 glyphCount = glyphStorage.getGlyphCount();
44 LEGlyphID thisGlyph = glyphStorage[glyph];
50 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
H A DThaiLayoutEngine.cpp59 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
82 glyphStorage.allocateGlyphArray(count * 2, FALSE, success);
90 glyphCount = ThaiShaping::compose(chars, offset, count, fGlyphSet, fErrorChar, outChars, glyphStorage);
91 mapCharsToGlyphs(outChars, 0, glyphCount, FALSE, FALSE, glyphStorage, success);
95 glyphStorage.adoptGlyphCount(glyphCount);
101 LEGlyphStorage &glyphStorage, LEErrorCode &success)
116 kt.process(glyphStorage);
100 adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool , LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
H A DContextualGlyphSubstProc.cpp39 ByteOffset ContextualGlyphSubstitutionProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index) argument
49 LEGlyphID mGlyph = glyphStorage[markGlyph];
52 glyphStorage[markGlyph] = LE_SET_GLYPH(mGlyph, newGlyph);
57 LEGlyphID thisGlyph = glyphStorage[currGlyph];
60 glyphStorage[currGlyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
H A DKhmerLayoutEngine.cpp45 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success)
65 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success);
66 glyphStorage.allocateAuxData(success);
75 le_int32 outCharCount = KhmerReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
77 glyphStorage.adoptGlyphCount(outCharCount);
44 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
H A DTibetanLayoutEngine.cpp51 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success)
71 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success);
72 glyphStorage.allocateAuxData(success);
81 le_int32 outCharCount = TibetanReordering::reorder(&chars[offset], count, fScriptCode, outChars, glyphStorage);
83 glyphStorage.adoptGlyphCount(outCharCount);
50 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
H A DIndicLayoutEngine.cpp57 LEGlyphStorage &glyphStorage, LEErrorCode &success)
68 le_int32 retCount = OpenTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success);
75 IndicReordering::finalReordering(glyphStorage,retCount);
76 IndicReordering::applyPresentationForms(glyphStorage,retCount);
77 OpenTypeLayoutEngine::glyphSubstitution(count,max, rightToLeft, glyphStorage, success);
79 IndicReordering::adjustMPres(fMPreFixups, glyphStorage, success);
88 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success)
108 glyphStorage.allocateGlyphArray(worstCase, rightToLeft, success);
109 glyphStorage.allocateAuxData(success);
121 outCharCount = IndicReordering::v2process(&chars[offset], count, fScriptCode, outChars, glyphStorage);
56 glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
87 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
[all...]
H A DGlyphSubstitutionTables.cpp20 le_int32 GlyphSubstitutionTableHeader::process(LEGlyphStorage &glyphStorage, argument
36 return processor.process(glyphStorage, NULL, rightToLeft, glyphDefinitionTableHeader, NULL, success);
H A DIndicRearrangementProcessor.h30 virtual ByteOffset processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index);
34 void doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrangementVerb verb) const;
H A DArabicLayoutEngine.cpp67 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success)
85 glyphStorage.allocateGlyphArray(count, rightToLeft, success);
86 glyphStorage.allocateAuxData(success);
93 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage);
98 ArabicShaping::shape(chars, offset, count, max, rightToLeft, glyphStorage);
104 LEGlyphStorage &glyphStorage, LEErrorCode &success)
116 OpenTypeLayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success);
120 adjustMarkGlyphs(glyphStorage, &filter, success);
125 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success);
144 le_int32 UnicodeArabicOpenTypeLayoutEngine::glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorage, LEErrorCod argument
66 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
103 adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
174 mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, le_bool , LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
199 adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
[all...]
H A DOpenTypeLayoutEngine.cpp179 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success)
208 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage);
215 glyphStorage.allocateGlyphArray(count, rightToLeft, success);
216 glyphStorage.allocateAuxData(success);
219 glyphStorage.setAuxData(i, fFeatureMask, success);
228 LEGlyphStorage &glyphStorage, LEErrorCode &success)
239 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success);
247 count = fGSUBTable->process(glyphStorage, rightToLeft, fScriptTagV2, fLangSysTag, fGDEFTable, fSubstitutionFilter,
251 count = fGSUBTable->process(glyphStorage, rightToLeft, fScriptTag, fLangSysTag, fGDEFTable, fSubstitutionFilter,
261 LEGlyphStorage &glyphStorage, LEErrorCod
178 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
227 glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
260 glyphSubstitution(le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
285 glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
299 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
339 adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
[all...]
H A DHanLayoutEngine.cpp55 LEUnicode *&/*outChars*/, LEGlyphStorage &glyphStorage, LEErrorCode &success)
66 glyphStorage.allocateGlyphArray(count, FALSE, success);
67 glyphStorage.allocateAuxData(success);
78 glyphStorage.setAuxData(i, features, success);
54 characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool , LEUnicode *& , LEGlyphStorage &glyphStorage, LEErrorCode &success) argument
H A DMPreFixups.h32 void apply(LEGlyphStorage &glyphStorage, LEErrorCode& success);
H A DMorphTables.cpp23 void MorphTableHeader::process(LEGlyphStorage &glyphStorage) const
45 subtableHeader->process(glyphStorage);
55 void MorphSubtableHeader::process(LEGlyphStorage &glyphStorage) const
91 processor->process(glyphStorage);
H A DSegmentArrayProcessor.h28 virtual void process(LEGlyphStorage &glyphStorage);
H A DSegmentSingleProcessor.h28 virtual void process(LEGlyphStorage &glyphStorage);
H A DSimpleArrayProcessor.h28 virtual void process(LEGlyphStorage &glyphStorage);
H A DSingleTableProcessor.h28 virtual void process(LEGlyphStorage &glyphStorage);
H A DStateTableProcessor.cpp41 void StateTableProcessor::process(LEGlyphStorage &glyphStorage) argument
49 le_int32 glyphCount = glyphStorage.getGlyphCount();
59 TTGlyphID glyphCode = (TTGlyphID) LE_GET_GLYPH(glyphStorage[currGlyph]);
71 currentState = processStateEntry(glyphStorage, currGlyph, entryTableIndex);

Completed in 144 milliseconds

123