Home
last modified time | relevance | path

Searched refs:le_uint16 (Results 1 – 25 of 70) sorted by relevance

123

/external/icu4c/test/letest/
DFontObject.h32 le_uint16 numTables;
33 le_uint16 searchRange;
34 le_uint16 entrySelector;
35 le_uint16 rangeShift;
42 le_uint16 platformID;
43 le_uint16 platformSpecificID;
49 le_uint16 version;
50 le_uint16 numberSubtables;
56 le_uint16 format;
57 le_uint16 length;
[all …]
Dsfnt.h34 le_uint16 numTables;
35 le_uint16 searchRange;
36 le_uint16 entrySelector;
37 le_uint16 rangeShift;
48 le_uint16 platformID;
49 le_uint16 platformSpecificID;
59 le_uint16 version;
60 le_uint16 numberSubtables;
70 le_uint16 format;
71 le_uint16 length;
[all …]
DPortableFontInstance.h41 le_uint16 fDirPower;
42 le_uint16 fDirExtra;
48 le_uint16 fNameCount;
49 le_uint16 fNameStringOffset;
54 le_uint16 fNumGlyphs;
55 le_uint16 fNumLongHorMetrics;
76 …virtual const char *getNameString(le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uin…
DFontObject.cpp62 le_uint16 table = 0; in findTable()
63 le_uint16 probe = 1 << entrySelector; in findTable()
103 CMAPEncodingSubtable *FontObject::findCMAP(le_uint16 platformID, le_uint16 platformSpecificID) in findCMAP()
114 le_uint16 i; in findCMAP()
115 le_uint16 nSubtables = SWAPW(cmapTable->numberSubtables); in findCMAP()
160 le_uint16 index = 0; in unicodeToGlyph()
161 le_uint16 probe = 1 << cmEntrySelector; in unicodeToGlyph()
180 le_uint16 offset = unicode - SWAPW(cmStartCodes[index]); in unicodeToGlyph()
181 le_uint16 rangeOffset = SWAPW(cmIdRangeOffset[index]); in unicodeToGlyph()
182le_uint16 *glyphIndexTable = (le_uint16 *) ((char *) &cmIdRangeOffset[index] + rangeOffset); in unicodeToGlyph()
[all …]
Dcmaps.h47 le_uint16 fEntrySelector;
48 le_uint16 fRangeShift;
49 const le_uint16 *fEndCodes;
50 const le_uint16 *fStartCodes;
51 const le_uint16 *fIdDelta;
52 const le_uint16 *fIdRangeOffset;
Dcmaps.cpp55 le_uint16 i; in createUnicodeMapper()
56 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); in createUnicodeMapper()
107 le_uint16 segCount = SWAPW(header->segCountX2) / 2; in CMAPFormat4Mapper()
124 le_uint16 index = 0; in unicodeToGlyph()
125 le_uint16 probe = 1 << fEntrySelector; in unicodeToGlyph()
144 le_uint16 offset = unicode - SWAPU16(fStartCodes[index]); in unicodeToGlyph()
145 le_uint16 rangeOffset = SWAPW(fIdRangeOffset[index]); in unicodeToGlyph()
146le_uint16 *glyphIndexTable = (le_uint16 *) ((char *) &fIdRangeOffset[index] + rangeOffset); in unicodeToGlyph()
Dcfonts.h22 …onst char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encodin…
/external/icu4c/samples/layout/
Dsfnt.h35 le_uint16 numTables;
36 le_uint16 searchRange;
37 le_uint16 entrySelector;
38 le_uint16 rangeShift;
45 le_uint16 platformID;
46 le_uint16 platformSpecificID;
52 le_uint16 version;
53 le_uint16 numberSubtables;
59 le_uint16 format;
60 le_uint16 length;
[all …]
Dcmaps.h51 le_uint16 fEntrySelector;
52 le_uint16 fRangeShift;
53 const le_uint16 *fEndCodes;
54 const le_uint16 *fStartCodes;
55 const le_uint16 *fIdDelta;
56 const le_uint16 *fIdRangeOffset;
Dcmaps.cpp61 le_uint16 i; in createUnicodeMapper()
62 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); in createUnicodeMapper()
113 le_uint16 segCount = SWAPW(header->segCountX2) / 2; in CMAPFormat4Mapper()
130 le_uint16 index = 0; in unicodeToGlyph()
131 le_uint16 probe = 1 << fEntrySelector; in unicodeToGlyph()
150 le_uint16 offset = unicode - SWAPU16(fStartCodes[index]); in unicodeToGlyph()
151 le_uint16 rangeOffset = SWAPW(fIdRangeOffset[index]); in unicodeToGlyph()
152le_uint16 *glyphIndexTable = (le_uint16 *) ((char *) &fIdRangeOffset[index] + rangeOffset); in unicodeToGlyph()
/external/icu4c/layout/
DContextualSubstSubtables.h26 le_uint16 sequenceIndex;
27 le_uint16 lookupListIndex;
33 const TTGlyphID *glyphArray, le_uint16 glyphCount, GlyphIterator *glyphIterator,
37 const le_uint16 *classArray, le_uint16 glyphCount, GlyphIterator *glyphIterator,
41 const Offset *coverageTableOffsetArray, le_uint16 glyphCount,
47 le_uint16 substCount,
60 le_uint16 subRuleSetCount;
68 le_uint16 subRuleCount;
76 le_uint16 glyphCount;
77 le_uint16 substCount;
[all …]
DContextualSubstSubtables.cpp27 le_uint16 substCount, in applySubstitutionLookups()
35 le_uint16 sequenceIndex = SWAPW(substLookupRecordArray[subst].sequenceIndex); in applySubstitutionLookups()
36 le_uint16 lookupListIndex = SWAPW(substLookupRecordArray[subst].lookupListIndex); in applySubstitutionLookups()
45 le_bool ContextualSubstitutionBase::matchGlyphIDs(const TTGlyphID *glyphArray, le_uint16 glyphCount, in matchGlyphIDs()
74 le_bool ContextualSubstitutionBase::matchGlyphClasses(const le_uint16 *classArray, le_uint16 glyphC… in matchGlyphClasses()
113 …SubstitutionBase::matchGlyphCoverages(const Offset *coverageTableOffsetArray, le_uint16 glyphCount, in matchGlyphCoverages()
184 le_uint16 srSetCount = SWAPW(subRuleSetCount); in process()
190 le_uint16 subRuleCount = SWAPW(subRuleSetTable->subRuleCount); in process()
193 for (le_uint16 subRule = 0; subRule < subRuleCount; subRule += 1) { in process()
198 le_uint16 matchCount = SWAPW(subRuleTable->glyphCount) - 1; in process()
[all …]
DDeviceTables.cpp15 const le_uint16 DeviceTable::fieldMasks[] = {0x0003, 0x000F, 0x00FF};
16 const le_uint16 DeviceTable::fieldSignBits[] = {0x0002, 0x0008, 0x0080};
17 const le_uint16 DeviceTable::fieldBits[] = { 2, 4, 8};
21 le_int16 DeviceTable::getAdjustment(le_uint16 ppem) const in getAdjustment()
23 le_uint16 start = SWAPW(startSize); in getAdjustment()
24 le_uint16 format = SWAPW(deltaFormat) - 1; in getAdjustment()
28 le_uint16 sizeIndex = ppem - start; in getAdjustment()
29 le_uint16 bits = fieldBits[format]; in getAdjustment()
30 le_uint16 count = 16 / bits; in getAdjustment()
31 le_uint16 word = SWAPW(deltaValues[sizeIndex / count]); in getAdjustment()
[all …]
DLookupProcessor.cpp25 le_uint16 lookupType = SWAPW(lookupTable->lookupType); in applyLookupTable()
26 le_uint16 subtableCount = SWAPW(lookupTable->subTableCount); in applyLookupTable()
30 for (le_uint16 subtable = 0; subtable < subtableCount; subtable += 1) { in applyLookupTable()
59 for (le_uint16 order = 0; order < lookupOrderCount; order += 1) { in process()
60 le_uint16 lookup = lookupOrderArray[order]; in process()
65 le_uint16 lookupFlags = SWAPW(lookupTable->lookupFlags); in process()
80 le_uint32 LookupProcessor::applySingleLookup(le_uint16 lookupTableIndex, GlyphIterator *glyphIterat… in applySingleLookup()
84 le_uint16 lookupFlags = SWAPW(lookupTable->lookupFlags); in applySingleLookup()
93 le_uint16 lookupCount = featureTable? SWAPW(featureTable->lookupCount) : 0; in selectLookups()
96 for (le_uint16 lookup = 0; lookup < lookupCount; lookup += 1) { in selectLookups()
[all …]
DDeviceTables.h23 le_uint16 startSize;
24 le_uint16 endSize;
25 le_uint16 deltaFormat;
26 le_uint16 deltaValues[ANY_NUMBER];
28 le_int16 getAdjustment(le_uint16 ppem) const;
31 static const le_uint16 fieldMasks[];
32 static const le_uint16 fieldSignBits[];
33 static const le_uint16 fieldBits[];
DKernTable.cpp22 le_uint16 left; // left glyph of kern pair
23 le_uint16 right; // right glyph of kern pair
31 le_uint16 nPairs;
32 le_uint16 searchRange;
33 le_uint16 entrySelector;
34 le_uint16 rangeShift;
40 le_uint16 version;
41 le_uint16 length;
42 le_uint16 coverage;
48 le_uint16 version;
[all …]
DLookups.h33 le_uint16 subtableFormat;
43 le_uint16 lookupType;
44 le_uint16 lookupFlags;
45 le_uint16 subTableCount;
48 const LookupSubtable *getLookupSubtable(le_uint16 subtableIndex) const;
53 le_uint16 lookupCount;
56 const LookupTable *getLookupTable(le_uint16 lookupTableIndex) const;
DGlyphDefinitionTables.h35 le_uint16 glyphCount;
41 le_uint16 pointCount;
42 le_uint16 pointIndexArray[ANY_NUMBER];
48 le_uint16 ligGlyphCount;
54 le_uint16 caretCount;
60 le_uint16 caretValueFormat;
70 le_uint16 caretValuePoint;
DCoverageTables.cpp44 le_uint16 count = SWAPW(glyphCount); in getGlyphCoverage()
46 le_uint16 power = 1 << bit; in getGlyphCoverage()
47 le_uint16 extra = count - power; in getGlyphCoverage()
48 le_uint16 probe = power; in getGlyphCoverage()
49 le_uint16 index = 0; in getGlyphCoverage()
77 le_uint16 count = SWAPW(rangeCount); in getGlyphCoverage()
86 le_uint16 startCoverageIndex = SWAPW(rangeRecordArray[rangeIndex].rangeValue); in getGlyphCoverage()
DPairPositioningSubtables.h34 le_uint16 pairValueCount;
48 le_uint16 pairSetCount;
55 le_uint16 recordCount, le_uint16 recordSize) const;
74 le_uint16 class1Count;
75 le_uint16 class2Count;
DKernTable.h32 le_uint16 coverage;
33 le_uint16 nPairs;
36 le_uint16 searchRange;
37 le_uint16 entrySelector;
38 le_uint16 rangeShift;
DScriptAndLanguage.h25 le_uint16 reqFeatureIndex;
26 le_uint16 featureCount;
27 le_uint16 featureIndexArray[ANY_NUMBER];
33 le_uint16 langSysCount;
43 le_uint16 scriptCount;
DClassDefinitionTables.h22 le_uint16 classFormat;
31 le_uint16 glyphCount;
32 le_uint16 classValueArray[ANY_NUMBER];
42 le_uint16 classValue;
47 le_uint16 classRangeCount;
DLESwaps.h80 const le_uint16 word = 0xFF00; in isBigEndian()
96 static le_uint16 swapWord(le_uint16 value) in swapWord()
113 return swapWord((le_uint16) (value >> 16)) | (swapWord((le_uint16) value) << 16); in swapLong()
DFeatures.h29 le_uint16 lookupCount;
30 le_uint16 lookupListIndexArray[ANY_NUMBER];
35 le_uint16 featureCount;
38 const FeatureTable *getFeatureTable(le_uint16 featureIndex, LETag *featureTag) const;

123