/openjdk7/jdk/src/share/native/sun/font/layout/ |
H A D | Features.cpp | 43 if (featureIndex >= SWAPW(featureCount) || LE_FAILURE(success)) { 51 return LEReferenceTo<FeatureTable>(base, success, SWAPW(featureTableOffset)); 67 OpenTypeUtilities::getTagOffset(featureTag, (TagAndOffsetRecord *) featureRecordArray, SWAPW(featureCount)); 73 return (const FeatureTable *) ((char *) this + SWAPW(featureTableOffset)); 75 int count = SWAPW(featureCount); 79 return (const FeatureTable *) ((char *) this + SWAPW(featureRecordArray[i].featureTableOffset));
|
H A D | LookupTables.cpp | 55 le_int16 unity = SWAPW(unitSize); 56 le_int16 probe = SWAPW(searchRange); 57 le_int16 extra = SWAPW(rangeShift); 64 if (SWAPW(trial->lastGlyph) <= ttGlyph) { 73 if (SWAPW(trial->lastGlyph) <= ttGlyph) { 78 if (SWAPW(entry->firstGlyph) <= ttGlyph) { 87 le_int16 unity = SWAPW(unitSize); 88 le_int16 probe = SWAPW(searchRange); 89 le_int16 extra = SWAPW(rangeShift); 94 if (SWAPW(tria [all...] |
H A D | CoverageTables.cpp | 42 switch(SWAPW(coverageFormat)) 69 le_uint16 count = SWAPW(glyphCount); 80 if (SWAPW(glyphArray[extra]) <= ttGlyphID) { 87 if (SWAPW(glyphArray[index + probe]) <= ttGlyphID) { 92 if (SWAPW(glyphArray[index]) == ttGlyphID) { 102 le_uint16 count = SWAPW(rangeCount); 110 TTGlyphID firstInRange = SWAPW(rangeRecordArray[rangeIndex].firstGlyph); 111 le_uint16 startCoverageIndex = SWAPW(rangeRecordArray[rangeIndex].rangeValue);
|
H A D | AnchorTables.cpp | 43 switch(SWAPW(anchorFormat)) { 79 le_int16 x = SWAPW(xCoordinate); 80 le_int16 y = SWAPW(yCoordinate); 92 if (! fontInstance->getGlyphPoint(glyphID, SWAPW(anchorPoint), point)) { 93 le_int16 x = SWAPW(xCoordinate); 94 le_int16 y = SWAPW(yCoordinate); 105 le_int16 x = SWAPW(xCoordinate); 106 le_int16 y = SWAPW(yCoordinate); 108 Offset dtxOffset = SWAPW(xDeviceTableOffset); 109 Offset dtyOffset = SWAPW(yDeviceTableOffse [all...] |
H A D | ExtensionSubtables.cpp | 44 #define READ_LONG(code) (le_uint32)((SWAPW(*(le_uint16*)&code) << 16) + SWAPW(*(((le_uint16*)&code) + 1))) 56 le_uint16 elt = SWAPW(extensionLookupType);
|
H A D | MarkArrays.cpp | 47 le_uint16 mCount = SWAPW(markCount); 51 Offset anchorTableOffset = SWAPW(markRecord->markAnchorTableOffset); 55 markClass = SWAPW(markRecord->markClass);
|
H A D | AlternateSubstSubtables.cpp | 50 le_uint16 altSetCount = SWAPW(alternateSetCount); 53 Offset alternateSetTableOffset = SWAPW(alternateSetTableOffsetArray[coverageIndex]); 56 TTGlyphID alternate = SWAPW(alternateSetTable->alternateArray[0]); 59 glyphIterator->setCurrGlyphID(SWAPW(alternateSetTable->alternateArray[0]));
|
H A D | GlyphDefinitionTables.cpp | 44 return LEReferenceTo<GlyphClassDefinitionTable>(base, success, SWAPW(glyphClassDefOffset)); 52 return LEReferenceTo<AttachmentListTable>(base, success, SWAPW(attachListOffset)); 60 return LEReferenceTo<LigatureCaretListTable>(base, success, SWAPW(ligCaretListOffset)); 68 return LEReferenceTo<MarkAttachClassDefinitionTable>(base, success, SWAPW(MarkAttachClassDefOffset));
|
H A D | SubtableProcessor.cpp | 47 length = SWAPW(subtableHeader->length); 48 coverage = SWAPW(subtableHeader->coverage);
|
H A D | LigatureSubstSubtables.cpp | 53 Offset ligSetTableOffset = SWAPW(ligSetTableOffsetArray[coverageIndex]); 55 le_uint16 ligCount = SWAPW(ligSetTable->ligatureCount); 58 Offset ligTableOffset = SWAPW(ligSetTable->ligatureTableOffsetArray[lig]); 60 le_uint16 compCount = SWAPW(ligTable->compCount) - 1; 62 TTGlyphID ligGlyph = SWAPW(ligTable->ligGlyph); 70 if (LE_GET_GLYPH(glyphIterator->getCurrGlyphID()) != SWAPW(ligTable->componentArray[comp])) {
|
H A D | MultipleSubstSubtables.cpp | 62 le_uint16 seqCount = SWAPW(sequenceCount); 69 Offset sequenceTableOffset = SWAPW(sequenceTableOffsetArray[coverageIndex]); 71 le_uint16 glyphCount = SWAPW(sequenceTable->glyphCount); 77 TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[0]); 90 TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[i]); 111 TTGlyphID substitute = SWAPW(sequenceTable->substituteArray[i]);
|
H A D | ContextualGlyphSubstProc.cpp | 50 substitutionTableOffset = SWAPW(contextualGlyphSubstitutionHeader->substitutionTableOffset); 73 ByteOffset newState = SWAPW(entry->newStateOffset); 74 le_int16 flags = SWAPW(entry->flags); 75 WordOffset markOffset = SWAPW(entry->markOffset); 76 WordOffset currOffset = SWAPW(entry->currOffset); 80 TTGlyphID newGlyph = SWAPW(int16Table.getObject(markOffset + LE_GET_GLYPH(mGlyph), success)); // whew. 87 TTGlyphID newGlyph = SWAPW(int16Table.getObject(currOffset + LE_GET_GLYPH(thisGlyph), success)); // whew.
|
H A D | Lookups.cpp | 42 LEReferenceToArrayOf<Offset> lookupTableOffsetArrayRef(base, success, (const Offset*)&lookupTableOffsetArray, SWAPW(lookupCount)); 47 return LEReferenceTo<LookupTable>(base, success, SWAPW(lookupTableOffsetArrayRef.getObject(lookupTableIndex, success))); 53 LEReferenceToArrayOf<Offset> subTableOffsetArrayRef(base, success, (const Offset*)&subTableOffsetArray, SWAPW(subTableCount)); 58 return LEReferenceTo<LookupSubtable>(base, success, SWAPW(subTableOffsetArrayRef.getObject(subtableIndex, success))); 64 const LEReferenceTo<CoverageTable> coverageTable(base, success, SWAPW(tableOffset));
|
H A D | CursiveAttachmentSubtables.cpp | 46 le_uint16 eeCount = SWAPW(entryExitCount); 54 Offset entryOffset = SWAPW(entryExitRecords[coverageIndex].entryAnchor); // TODO 55 Offset exitOffset = SWAPW(entryExitRecords[coverageIndex].exitAnchor);
|
H A D | LESwaps.h | 53 #define SWAPW(value) (value) macro 55 #define SWAPW(value) LESwaps::swapWord(value) 58 #define SWAPW(value) (LESwaps::isBigEndian() ? (value) : LESwaps::swapWord(value))
|
H A D | StateTableProcessor.cpp | 52 stateSize = SWAPW(stateTableHeader->stHeader.stateSize); 53 classTableOffset = SWAPW(stateTableHeader->stHeader.classTableOffset); 54 stateArrayOffset = SWAPW(stateTableHeader->stHeader.stateArrayOffset); 55 entryTableOffset = SWAPW(stateTableHeader->stHeader.entryTableOffset); 59 firstGlyph = SWAPW(classTable->firstGlyph); 60 lastGlyph = firstGlyph + SWAPW(classTable->nGlyphs);
|
H A D | PairPositioningSubtables.cpp | 46 switch(SWAPW(subtableFormat)) 86 Offset pairSetTableOffset = SWAPW(pairSetTableOffsetArray[coverageIndex]); 91 le_uint16 pairValueCount = SWAPW(pairSetTable->pairValueCount); 92 le_int16 valueRecord1Size = ValueRecord::getSize(SWAPW(valueFormat1)); 93 le_int16 valueRecord2Size = ValueRecord::getSize(SWAPW(valueFormat2)); 107 pairValueRecord->valueRecord1.adjustPosition(SWAPW(valueFormat1), (char *) this, tempIterator, fontInstance); 113 valueRecord2->adjustPosition(SWAPW(valueFormat2), (char *) this, *glyphIterator, fontInstance); 138 const ClassDefinitionTable *classDef1 = (const ClassDefinitionTable *) ((char *) this + SWAPW(classDef1Offset)); 139 const ClassDefinitionTable *classDef2 = (const ClassDefinitionTable *) ((char *) this + SWAPW(classDef2Offset)); 142 le_int16 valueRecord1Size = ValueRecord::getSize(SWAPW(valueFormat [all...] |
H A D | SubstitutionLookups.cpp | 66 le_uint16 sequenceIndex = SWAPW(substLookupRecordArray[subst].sequenceIndex); 67 le_uint16 lookupListIndex = SWAPW(substLookupRecordArray[subst].lookupListIndex);
|
H A D | ContextualSubstSubtables.cpp | 65 le_uint16 sequenceIndex = SWAPW(substLookupRecordArray[subst].sequenceIndex); 66 le_uint16 lookupListIndex = SWAPW(substLookupRecordArray[subst].lookupListIndex); 93 if (glyph != SWAPW(glyphArray[match])) { 124 le_int32 matchClass = SWAPW(classArray[match]); 155 Offset coverageTableOffset = SWAPW(coverageTableOffsetArray[glyph]); 182 switch(SWAPW(subtableFormat)) 226 le_uint16 srSetCount = SWAPW(subRuleSetCount); 229 Offset subRuleSetTableOffset = SWAPW(subRuleSetTableOffsetArray[coverageIndex]); 232 le_uint16 subRuleCount = SWAPW(subRuleSetTable->subRuleCount); 237 SWAPW(subRuleSetTabl [all...] |
H A D | ClassDefinitionTables.cpp | 45 switch(SWAPW(classFormat)) { 71 switch(SWAPW(classFormat)) { 96 le_uint16 count = SWAPW(glyphCount); 99 TTGlyphID firstGlyph = SWAPW(startGlyph); 103 return SWAPW( classValueArrayRef(ttGlyphID - firstGlyph, success) ); 112 le_uint16 count = SWAPW(glyphCount); 117 if (SWAPW(classValueArrayRef(i,success)) == glyphClass) { 129 le_uint16 rangeCount = SWAPW(classRangeCount); 138 return SWAPW(classRangeRecordArrayRef(rangeIndex, success).rangeValue); 144 le_uint16 rangeCount = SWAPW(classRangeCoun [all...] |
H A D | ContextualGlyphSubstProc2.cpp | 71 le_uint16 newState = SWAPW(entry->newStateIndex); 72 le_uint16 flags = SWAPW(entry->flags); 73 le_int16 markIndex = SWAPW(entry->markIndex); 74 le_int16 currIndex = SWAPW(entry->currIndex); 107 le_int16 format = SWAPW(lookupTable->format); 117 newGlyph = SWAPW(lookupTable0->valueArray(glyphCode, success)); 127 newGlyph = SWAPW(segment->value); 143 newGlyph = SWAPW(segment->value); 151 TTGlyphID firstGlyph = SWAPW(lookupTable8->firstGlyph); 152 TTGlyphID glyphCount = SWAPW(lookupTable [all...] |
H A D | DeviceTables.cpp | 48 le_uint16 start = SWAPW(startSize); 49 le_uint16 format = SWAPW(deltaFormat) - 1; 52 if (ppem >= start && ppem <= SWAPW(endSize) && format < FORMAT_COUNT) { 56 le_uint16 word = SWAPW(deltaValues[sizeIndex / count]);
|
H A D | LigatureSubstProc.cpp | 54 ligatureActionTableOffset = SWAPW(ligatureSubstitutionHeader->ligatureActionTableOffset); 55 componentTableOffset = SWAPW(ligatureSubstitutionHeader->componentTableOffset); 56 ligatureTableOffset = SWAPW(ligatureSubstitutionHeader->ligatureTableOffset); 75 ByteOffset newState = SWAPW(entry->newStateOffset); 76 le_int16 flags = SWAPW(entry->flags); 123 i += SWAPW(offsetTable.getObject(LE_GET_GLYPH(glyphStorage[componentGlyph]), success)); 127 TTGlyphID ligatureGlyph = SWAPW(*ligatureOffset.getAlias());
|
H A D | MarkToLigaturePosnSubtables.cpp | 68 const MarkArray *markArray = (const MarkArray *) ((char *) this + SWAPW(markArrayOffset)); 70 le_uint16 mcCount = SWAPW(classCount); 82 const LigatureArray *ligatureArray = (const LigatureArray *) ((char *) this + SWAPW(baseArrayOffset)); 83 le_uint16 ligatureCount = SWAPW(ligatureArray->ligatureCount); 93 Offset ligatureAttachOffset = SWAPW(ligatureArray->ligatureAttachTableOffsetArray[ligatureCoverage]); 95 le_int32 componentCount = SWAPW(ligatureAttachTable->componentCount); 104 Offset anchorTableOffset = SWAPW(componentRecord->ligatureAnchorTableOffsetArray[markClass]);
|
H A D | MarkToMarkPosnSubtables.cpp | 69 const MarkArray *markArray = (const MarkArray *) ((char *) this + SWAPW(markArrayOffset)); 71 le_uint16 mcCount = SWAPW(classCount); 82 const Mark2Array *mark2Array = (const Mark2Array *) ((char *) this + SWAPW(baseArrayOffset)); 83 le_uint16 mark2Count = SWAPW(mark2Array->mark2RecordCount); 93 Offset anchorTableOffset = SWAPW(mark2Record->mark2AnchorTableOffsetArray[markClass]);
|