/external/icu/icu4c/source/layout/ |
IndicRearrangementProcessor.cpp | 41 ByteOffset IndicRearrangementProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index) 56 doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask)); 70 void IndicRearrangementProcessor::doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrangementVerb verb) const 82 a = glyphStorage[firstGlyph]; 83 ia = glyphStorage.getCharIndex(firstGlyph, success); 87 glyphStorage[x - 1] = glyphStorage[x]; 88 ix = glyphStorage.getCharIndex(x, success); 89 glyphStorage.setCharIndex(x - 1, ix, success); 93 glyphStorage[lastGlyph] = a [all...] |
IndicRearrangementProcessor2.cpp | 38 le_uint16 IndicRearrangementProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, 54 doRearrangementAction(glyphStorage, (IndicRearrangementVerb) (flags & irfVerbMask)); 67 void IndicRearrangementProcessor2::doRearrangementAction(LEGlyphStorage &glyphStorage, IndicRearrangementVerb verb) const 79 a = glyphStorage[firstGlyph]; 80 ia = glyphStorage.getCharIndex(firstGlyph, success); 84 glyphStorage[x - 1] = glyphStorage[x]; 85 ix = glyphStorage.getCharIndex(x, success); 86 glyphStorage.setCharIndex(x - 1, ix, success); 90 glyphStorage[lastGlyph] = a [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...] |
SimpleArrayProcessor.cpp | 35 void SimpleArrayProcessor::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) 37 le_int32 glyphCount = glyphStorage.getGlyphCount(); 43 LEGlyphID thisGlyph = glyphStorage[glyph]; 46 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SimpleArrayProcessor2.cpp | 37 void SimpleArrayProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) 40 le_int32 glyphCount = glyphStorage.getGlyphCount(); 44 LEGlyphID thisGlyph = glyphStorage[glyph]; 48 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SingleTableProcessor.cpp | 35 void SingleTableProcessor::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) 39 le_int32 glyphCount = glyphStorage.getGlyphCount(); 42 const LookupSingle *lookupSingle = singleTableLookupTable->lookupSingle(singleTableLookupTable, entries, glyphStorage[glyph], success); 45 glyphStorage[glyph] = SWAPW(lookupSingle->value);
|
SingleTableProcessor2.cpp | 36 void SingleTableProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) 41 le_int32 glyphCount = glyphStorage.getGlyphCount(); 44 const LookupSingle *lookupSingle = singleTableLookupTable->lookupSingle(singleTableLookupTable, entries, glyphStorage[glyph], success); 47 glyphStorage[glyph] = SWAPW(lookupSingle->value);
|
GlyphPositioningTables.cpp | 19 void GlyphPositioningTableHeader::process(const LEReferenceTo<GlyphPositioningTableHeader> &base, LEGlyphStorage &glyphStorage, GlyphPositionAdjustments *glyphPositionAdjustments, le_bool rightToLeft, 33 processor.process(glyphStorage, glyphPositionAdjustments, rightToLeft, glyphDefinitionTableHeader, fontInstance, success); 35 glyphPositionAdjustments->applyCursiveAdjustments(glyphStorage, rightToLeft, fontInstance);
|
ContextualGlyphInsertionProc2.cpp | 41 void ContextualGlyphInsertionProcessor2::doInsertion(LEGlyphStorage &glyphStorage, 48 LEGlyphID *insertGlyphs = glyphStorage.insertGlyphs(atGlyph, count + 1, success); 61 insertGlyphs[targetIndex++] = glyphStorage[atGlyph]; 64 insertGlyphs[count] = glyphStorage[atGlyph]; 70 glyphStorage.applyInsertions(); 73 le_uint16 ContextualGlyphInsertionProcessor2::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, 88 doInsertion(glyphStorage, markGlyph, markIndex, count, isKashidaLike, isBefore, success); 96 doInsertion(glyphStorage, currGlyph, currIndex, count, isKashidaLike, isBefore, success);
|
ArabicLayoutEngine.cpp | 71 LEGlyphStorage &glyphStorage, LEErrorCode &success) 89 glyphStorage.allocateGlyphArray(count, rightToLeft, success); 90 glyphStorage.allocateAuxData(success); 97 CanonShaping::reorderMarks(&chars[offset], count, rightToLeft, outChars, glyphStorage); 102 ArabicShaping::shape(chars, offset, count, max, rightToLeft, glyphStorage); 108 LEGlyphStorage &glyphStorage, LEErrorCode &success) 120 OpenTypeLayoutEngine::adjustGlyphPositions(chars, offset, count, reverse, glyphStorage, success); 123 adjustMarkGlyphs(glyphStorage, &filter, success); 128 adjustMarkGlyphs(&chars[offset], count, reverse, glyphStorage, &filter, success); 146 le_int32 UnicodeArabicOpenTypeLayoutEngine::glyphPostProcessing(LEGlyphStorage &tempGlyphStorage, LEGlyphStorage &glyphStorage, LEErrorCode &success [all...] |
GXLayoutEngine.cpp | 32 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) 43 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success); 49 fMorphTable->process(fMorphTable, glyphStorage, success); 56 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(fMorphTable, glyphStorage, fTypoFlags, success); 52 LEGlyphStorage &/*glyphStorage*/, LEErrorCode &success)
|
SegmentArrayProcessor.cpp | 35 void SegmentArrayProcessor::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) 38 le_int32 glyphCount = glyphStorage.getGlyphCount(); 42 LEGlyphID thisGlyph = glyphStorage[glyph]; 52 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SegmentArrayProcessor2.cpp | 35 void SegmentArrayProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) 38 le_int32 glyphCount = glyphStorage.getGlyphCount(); 42 LEGlyphID thisGlyph = glyphStorage[glyph]; 53 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SegmentSingleProcessor.cpp | 35 void SegmentSingleProcessor::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) 38 le_int32 glyphCount = glyphStorage.getGlyphCount(); 42 LEGlyphID thisGlyph = glyphStorage[glyph]; 48 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
SegmentSingleProcessor2.cpp | 36 void SegmentSingleProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) 39 le_int32 glyphCount = glyphStorage.getGlyphCount(); 43 LEGlyphID thisGlyph = glyphStorage[glyph]; 49 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
TrimmedArrayProcessor.cpp | 43 void TrimmedArrayProcessor::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) 46 le_int32 glyphCount = glyphStorage.getGlyphCount(); 50 LEGlyphID thisGlyph = glyphStorage[glyph]; 56 glyphStorage[glyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
TrimmedArrayProcessor2.cpp | 39 void TrimmedArrayProcessor2::process(LEGlyphStorage &glyphStorage, LEErrorCode &success) 42 le_int32 glyphCount = glyphStorage.getGlyphCount(); 46 LEGlyphID thisGlyph = glyphStorage[glyph]; 52 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) 115 kt.process(glyphStorage, success);
|
ContextualGlyphSubstProc.cpp | 44 ByteOffset ContextualGlyphSubstitutionProcessor::processStateEntry(LEGlyphStorage &glyphStorage, le_int32 &currGlyph, EntryTableIndex index) 54 LEGlyphID mGlyph = glyphStorage[markGlyph]; 57 glyphStorage[markGlyph] = LE_SET_GLYPH(mGlyph, newGlyph); 61 LEGlyphID thisGlyph = glyphStorage[currGlyph]; 64 glyphStorage[currGlyph] = LE_SET_GLYPH(thisGlyph, newGlyph);
|
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...] |
LayoutEngine.cpp | 199 LEUnicode *&outChars, LEGlyphStorage &glyphStorage, LEErrorCode &success) 281 * back to the original input characters. Save it in glyphStorage. The 285 glyphStorage.adoptCharIndicesArray(fakeGlyphStorage); 306 LEGlyphStorage &glyphStorage, LEErrorCode &success) 318 le_int32 outCharCount = characterProcessing(chars, offset, count, max, rightToLeft, outChars, glyphStorage, success); 321 mapCharsToGlyphs(outChars, 0, outCharCount, rightToLeft, rightToLeft, glyphStorage, success); 324 mapCharsToGlyphs(chars, offset, count, rightToLeft, rightToLeft, glyphStorage, success); 327 return glyphStorage.getGlyphCount(); 332 void LayoutEngine::positionGlyphs(LEGlyphStorage &glyphStorage, float x, float y, LEErrorCode &success) 338 glyphStorage.allocatePositions(success) [all...] |
GlyphSubstitutionTables.cpp | 21 LEGlyphStorage &glyphStorage, 37 return processor.process(glyphStorage, NULL, rightToLeft, glyphDefinitionTableHeader, NULL, success);
|