/external/icu4c/layout/ |
IndicRearrangementProcessor.cpp | 38 ByteOffset IndicRearrangementProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index) 52 doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask)); 66 void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrangementVerb verb) const 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[lastGlyph] = a [all...] |
IndicRearrangementProcessor2.cpp | 38 le_uint16 IndicRearrangementProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index) 52 doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask)); 65 void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrangementVerb verb) const 77 a = glyphStorage[firstGlyph]; 78 ia = glyphStorage.getCharIndex(firstGlyph, success); 82 glyphStorage[x - 1] = glyphStorage[x]; 83 ix = glyphStorage.getCharIndex(x, success); 84 glyphStorage.setCharIndex(x - 1, ix, success); 88 glyphStorage[lastGlyph] = a [all...] |
ContextualGlyphInsertionProc2.cpp | 39 le_uint16 ContextualGlyphInsertionProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex2 index) 53 LEGlyphID *insertGlyphs = glyphStorage.insertGlyphs(markGlyph, count + 1); 57 insertGlyphs[i] = glyphStorage[markGlyph]; 58 glyphStorage.applyInsertions(); 60 LEGlyphID *insertGlyphs = glyphStorage.insertGlyphs(markGlyph, count + 1); 61 insertGlyphs[0] = glyphStorage[markGlyph]; 65 glyphStorage.applyInsertions(); 71 LEGlyphID *insertGlyphs = glyphStorage.insertGlyphs(markGlyph, count + 1); 75 insertGlyphs[i] = glyphStorage[markGlyph]; 76 glyphStorage.applyInsertions() [all...] |
MPreFixups.cpp | 43 void MPreFixups::apply(LEGlyphStorage &glyphStorage, LEErrorCode& success) 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[mpreIndex + i] = glyph [all...] |
IndicLayoutEngine.cpp | 57 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); [all...] |
SegmentSingleProcessor.cpp | 36 void SegmentSingleProcessor::process(LEGlyphStorage &glyphStorage) 39 le_int32 glyphCount = glyphStorage.getGlyphCount(); 43 LEGlyphID thisGlyph = glyphStorage[glyph]; 49 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SegmentSingleProcessor2.cpp | 36 void SegmentSingleProcessor2::process(LEGlyphStorage &glyphStorage) 39 le_int32 glyphCount = glyphStorage.getGlyphCount(); 43 LEGlyphID thisGlyph = glyphStorage[glyph]; 49 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SimpleArrayProcessor.cpp | 36 void SimpleArrayProcessor::process(LEGlyphStorage &glyphStorage) 38 le_int32 glyphCount = glyphStorage.getGlyphCount(); 42 LEGlyphID thisGlyph = glyphStorage[glyph]; 46 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SimpleArrayProcessor2.cpp | 36 void SimpleArrayProcessor2::process(LEGlyphStorage &glyphStorage) 38 le_int32 glyphCount = glyphStorage.getGlyphCount(); 42 LEGlyphID thisGlyph = glyphStorage[glyph]; 46 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SingleTableProcessor.cpp | 36 void SingleTableProcessor::process(LEGlyphStorage &glyphStorage) 40 le_int32 glyphCount = glyphStorage.getGlyphCount(); 43 const LookupSingle *lookupSingle = singleTableLookupTable->lookupSingle(entries, glyphStorage[glyph]); 46 glyphStorage[glyph] = SWAPW(lookupSingle->value);
|
SingleTableProcessor2.cpp | 36 void SingleTableProcessor2::process(LEGlyphStorage &glyphStorage) 40 le_int32 glyphCount = glyphStorage.getGlyphCount(); 43 const LookupSingle *lookupSingle = singleTableLookupTable->lookupSingle(entries, glyphStorage[glyph]); 46 glyphStorage[glyph] = SWAPW(lookupSingle->value);
|
TrimmedArrayProcessor.cpp | 38 void TrimmedArrayProcessor::process(LEGlyphStorage &glyphStorage) 40 le_int32 glyphCount = glyphStorage.getGlyphCount(); 44 LEGlyphID thisGlyph = glyphStorage[glyph]; 50 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
TrimmedArrayProcessor2.cpp | 38 void TrimmedArrayProcessor2::process(LEGlyphStorage &glyphStorage) 40 le_int32 glyphCount = glyphStorage.getGlyphCount(); 44 LEGlyphID thisGlyph = glyphStorage[glyph]; 50 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
ContextualGlyphSubstProc.cpp | 39 ByteOffset ContextualGlyphSubstitutionProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index) 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);
|
GlyphPositioningTables.cpp | 19 void GlyphPositioningTableHeader::process(LEGlyphStorage &glyphStorage, GlyphPositionAdjustments *glyphPositionAdjustments, le_bool rightToLeft, 33 processor.process(glyphStorage, glyphPositionAdjustments, rightToLeft, glyphDefinitionTableHeader, fontInstance, success); 35 glyphPositionAdjustments->applyCursiveAdjustments(glyphStorage, rightToLeft, fontInstance);
|
GlyphSubstitutionTables.cpp | 20 le_int32 GlyphSubstitutionTableHeader::process(LEGlyphStorage &glyphStorage, 36 return processor.process(glyphStorage, NULL, rightToLeft, glyphDefinitionTableHeader, NULL, success);
|
ArabicLayoutEngine.cpp | 67 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, LEErrorCode &success [all...] |
GXLayoutEngine.cpp | 31 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) 42 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success); 48 fMorphTable->process(glyphStorage); 55 LEGlyphStorage &/*glyphStorage*/, LEErrorCode &success)
|
GXLayoutEngine2.cpp | 29 le_int32 GXLayoutEngine2::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) 40 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success); 46 fMorphTable->process(glyphStorage, fTypoFlags); 52 LEGlyphStorage &/*glyphStorage*/, LEErrorCode &success)
|
SegmentArrayProcessor.cpp | 36 void SegmentArrayProcessor::process(LEGlyphStorage &glyphStorage) 39 le_int32 glyphCount = glyphStorage.getGlyphCount(); 43 LEGlyphID thisGlyph = glyphStorage[glyph]; 54 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SegmentArrayProcessor2.cpp | 36 void SegmentArrayProcessor2::process(LEGlyphStorage &glyphStorage) 39 le_int32 glyphCount = glyphStorage.getGlyphCount(); 43 LEGlyphID thisGlyph = glyphStorage[glyph]; 54 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
ThaiLayoutEngine.cpp | 59 le_int32 ThaiLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, LEGlyphStorage &glyphStorage, LEErrorCode &success) 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);
|
KhmerLayoutEngine.cpp | 45 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);
|
ThaiShaping.cpp | 146 LEUnicode errorChar, LEUnicode *outputBuffer, LEGlyphStorage &glyphStorage, le_int32 &outputIndex) 152 glyphStorage.setCharIndex(outputIndex, inputIndex, success); 157 glyphStorage.setCharIndex(outputIndex, inputIndex, success); 162 glyphStorage.setCharIndex(outputIndex, inputIndex, success); 167 glyphStorage.setCharIndex(outputIndex, inputIndex, success); 172 glyphStorage.setCharIndex(outputIndex, inputIndex, success); 177 glyphStorage.setCharIndex(outputIndex, inputIndex, success); 189 glyphStorage.setCharIndex(outputIndex, inputIndex, success); 194 glyphStorage.setCharIndex(outputIndex, inputIndex, success); 200 glyphStorage.setCharIndex(outputIndex, inputIndex, success) [all...] |
GlyphIterator.cpp | 21 glyphStorage(theGlyphStorage), glyphPositionAdjustments(theGlyphPositionAdjustments), 26 le_int32 glyphCount = glyphStorage.getGlyphCount(); 44 : glyphStorage(that.glyphStorage) 62 : glyphStorage(that.glyphStorage) 80 : glyphStorage(that.glyphStorage) 112 return glyphStorage.insertGlyphs(position, count, success); 117 le_int32 newGlyphCount = glyphStorage.applyInsertions() [all...] |