OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SWAPW
(Results
1 - 25
of
48
) sorted by null
1
2
/external/icu4c/layout/
GlyphDefinitionTables.cpp
16
return (const GlyphClassDefinitionTable *) ((char *) this +
SWAPW
(glyphClassDefOffset));
21
return (const AttachmentListTable *) ((char *) this +
SWAPW
(attachListOffset));
26
return (const LigatureCaretListTable *) ((char *) this +
SWAPW
(ligCaretListOffset));
31
return (const MarkAttachClassDefinitionTable *) ((char *) this +
SWAPW
(MarkAttachClassDefOffset));
LookupTables.cpp
29
le_int16 unity =
SWAPW
(unitSize);
30
le_int16 probe =
SWAPW
(searchRange);
31
le_int16 extra =
SWAPW
(rangeShift);
36
if (
SWAPW
(trial->lastGlyph) <= ttGlyph) {
44
if (
SWAPW
(trial->lastGlyph) <= ttGlyph) {
49
if (
SWAPW
(entry->firstGlyph) <= ttGlyph) {
58
le_int16 unity =
SWAPW
(unitSize);
59
le_int16 probe =
SWAPW
(searchRange);
60
le_int16 extra =
SWAPW
(rangeShift);
65
if (
SWAPW
(trial->glyph) <= ttGlyph)
[
all
...]
Lookups.cpp
17
if (lookupTableIndex >=
SWAPW
(lookupCount)) {
23
return (const LookupTable *) ((char *) this +
SWAPW
(lookupTableOffset));
28
if (subtableIndex >=
SWAPW
(subTableCount)) {
34
return (const LookupSubtable *) ((char *) this +
SWAPW
(subtableOffset));
39
const CoverageTable *coverageTable = (const CoverageTable *) ((char *) this +
SWAPW
(tableOffset));
Features.cpp
18
if (featureIndex >=
SWAPW
(featureCount)) {
26
return (const FeatureTable *) ((char *) this +
SWAPW
(featureTableOffset));
41
OpenTypeUtilities::getTagOffset(featureTag, (TagAndOffsetRecord *) featureRecordArray,
SWAPW
(featureCount));
47
return (const FeatureTable *) ((char *) this +
SWAPW
(featureTableOffset));
49
int count =
SWAPW
(featureCount);
53
return (const FeatureTable *) ((char *) this +
SWAPW
(featureRecordArray[i].featureTableOffset));
AlternateSubstSubtables.cpp
24
le_uint16 altSetCount =
SWAPW
(alternateSetCount);
27
Offset alternateSetTableOffset =
SWAPW
(alternateSetTableOffsetArray[coverageIndex]);
30
TTGlyphID alternate =
SWAPW
(alternateSetTable->alternateArray[0]);
33
glyphIterator->setCurrGlyphID(
SWAPW
(alternateSetTable->alternateArray[0]));
ClassDefinitionTables.cpp
17
switch(
SWAPW
(classFormat)) {
42
switch(
SWAPW
(classFormat)) {
68
TTGlyphID firstGlyph =
SWAPW
(startGlyph);
69
TTGlyphID lastGlyph = firstGlyph +
SWAPW
(glyphCount);
72
return
SWAPW
(classValueArray[ttGlyphID - firstGlyph]);
80
le_uint16 count =
SWAPW
(glyphCount);
84
if (
SWAPW
(classValueArray[i]) == glyphClass) {
95
le_uint16 rangeCount =
SWAPW
(classRangeCount);
103
return
SWAPW
(classRangeRecordArray[rangeIndex].rangeValue);
108
le_uint16 rangeCount =
SWAPW
(classRangeCount)
[
all
...]
CoverageTables.cpp
17
switch(
SWAPW
(coverageFormat))
44
le_uint16 count =
SWAPW
(glyphCount);
55
if (
SWAPW
(glyphArray[extra]) <= ttGlyphID) {
62
if (
SWAPW
(glyphArray[index + probe]) <= ttGlyphID) {
67
if (
SWAPW
(glyphArray[index]) == ttGlyphID) {
77
le_uint16 count =
SWAPW
(rangeCount);
85
TTGlyphID firstInRange =
SWAPW
(rangeRecordArray[rangeIndex].firstGlyph);
86
le_uint16 startCoverageIndex =
SWAPW
(rangeRecordArray[rangeIndex].rangeValue);
SubtableProcessor.cpp
22
length =
SWAPW
(subtableHeader->length);
23
coverage =
SWAPW
(subtableHeader->coverage);
AnchorTables.cpp
18
switch(
SWAPW
(anchorFormat)) {
54
le_int16 x =
SWAPW
(xCoordinate);
55
le_int16 y =
SWAPW
(yCoordinate);
67
if (! fontInstance->getGlyphPoint(glyphID,
SWAPW
(anchorPoint), point)) {
68
le_int16 x =
SWAPW
(xCoordinate);
69
le_int16 y =
SWAPW
(yCoordinate);
80
le_int16 x =
SWAPW
(xCoordinate);
81
le_int16 y =
SWAPW
(yCoordinate);
83
Offset dtxOffset =
SWAPW
(xDeviceTableOffset);
84
Offset dtyOffset =
SWAPW
(yDeviceTableOffset)
[
all
...]
PairPositioningSubtables.cpp
21
switch(
SWAPW
(subtableFormat))
52
Offset pairSetTableOffset =
SWAPW
(pairSetTableOffsetArray[coverageIndex]);
54
le_uint16 pairValueCount =
SWAPW
(pairSetTable->pairValueCount);
55
le_int16 valueRecord1Size = ValueRecord::getSize(
SWAPW
(valueFormat1));
56
le_int16 valueRecord2Size = ValueRecord::getSize(
SWAPW
(valueFormat2));
70
pairValueRecord->valueRecord1.adjustPosition(
SWAPW
(valueFormat1), (char *) this, tempIterator, fontInstance);
76
valueRecord2->adjustPosition(
SWAPW
(valueFormat2), (char *) this, *glyphIterator, fontInstance);
96
const ClassDefinitionTable *classDef1 = (const ClassDefinitionTable *) ((char *) this +
SWAPW
(classDef1Offset));
97
const ClassDefinitionTable *classDef2 = (const ClassDefinitionTable *) ((char *) this +
SWAPW
(classDef2Offset));
100
le_int16 valueRecord1Size = ValueRecord::getSize(
SWAPW
(valueFormat1))
[
all
...]
ContextualGlyphSubstProc.cpp
25
substitutionTableOffset =
SWAPW
(contextualGlyphSubstitutionHeader->substitutionTableOffset);
42
ByteOffset newState =
SWAPW
(entry->newStateOffset);
43
le_int16 flags =
SWAPW
(entry->flags);
44
WordOffset markOffset =
SWAPW
(entry->markOffset);
45
WordOffset currOffset =
SWAPW
(entry->currOffset);
50
TTGlyphID newGlyph =
SWAPW
(table[LE_GET_GLYPH(mGlyph)]);
58
TTGlyphID newGlyph =
SWAPW
(table[LE_GET_GLYPH(thisGlyph)]);
ExtensionSubtables.cpp
19
#define READ_LONG(code) (le_uint32)((
SWAPW
(*(le_uint16*)&code) << 16) +
SWAPW
(*(((le_uint16*)&code) + 1)))
29
le_uint16 elt =
SWAPW
(extensionLookupType);
MarkArrays.cpp
22
le_uint16 mCount =
SWAPW
(markCount);
26
Offset anchorTableOffset =
SWAPW
(markRecord->markAnchorTableOffset);
30
markClass =
SWAPW
(markRecord->markClass);
LigatureSubstSubtables.cpp
22
Offset ligSetTableOffset =
SWAPW
(ligSetTableOffsetArray[coverageIndex]);
24
le_uint16 ligCount =
SWAPW
(ligSetTable->ligatureCount);
27
Offset ligTableOffset =
SWAPW
(ligSetTable->ligatureTableOffsetArray[lig]);
29
le_uint16 compCount =
SWAPW
(ligTable->compCount) - 1;
31
TTGlyphID ligGlyph =
SWAPW
(ligTable->ligGlyph);
39
if (LE_GET_GLYPH(glyphIterator->getCurrGlyphID()) !=
SWAPW
(ligTable->componentArray[comp])) {
MultipleSubstSubtables.cpp
37
le_uint16 seqCount =
SWAPW
(sequenceCount);
40
Offset sequenceTableOffset =
SWAPW
(sequenceTableOffsetArray[coverageIndex]);
42
le_uint16 glyphCount =
SWAPW
(sequenceTable->glyphCount);
48
TTGlyphID substitute =
SWAPW
(sequenceTable->substituteArray[0]);
61
TTGlyphID substitute =
SWAPW
(sequenceTable->substituteArray[i]);
82
TTGlyphID substitute =
SWAPW
(sequenceTable->substituteArray[i]);
StateTableProcessor.cpp
27
stateSize =
SWAPW
(stateTableHeader->stHeader.stateSize);
28
classTableOffset =
SWAPW
(stateTableHeader->stHeader.classTableOffset);
29
stateArrayOffset =
SWAPW
(stateTableHeader->stHeader.stateArrayOffset);
30
entryTableOffset =
SWAPW
(stateTableHeader->stHeader.entryTableOffset);
33
firstGlyph =
SWAPW
(classTable->firstGlyph);
34
lastGlyph = firstGlyph +
SWAPW
(classTable->nGlyphs);
MorphTables.cpp
32
le_int16 nFeatureEntries =
SWAPW
(chainHeader->nFeatureEntries);
33
le_int16 nSubtables =
SWAPW
(chainHeader->nSubtables);
39
le_int16 length =
SWAPW
(subtableHeader->length);
40
SubtableCoverage coverage =
SWAPW
(subtableHeader->coverage);
59
switch (
SWAPW
(coverage) & scfTypeMask)
ScriptAndLanguage.cpp
16
le_uint16 count =
SWAPW
(langSysCount);
17
Offset langSysTableOffset = exactMatch? 0 :
SWAPW
(defaultLangSysTableOffset);
49
le_uint16 count =
SWAPW
(scriptCount);
50
le_uint16 limit = ((
SWAPW
(scriptRecordArray[0].offset) - sizeof(ScriptListTable)) / sizeof(scriptRecordArray)) + ANY_NUMBER;
58
scriptTableOffset =
SWAPW
(scriptRecordArray[s].offset);
CursiveAttachmentSubtables.cpp
21
le_uint16 eeCount =
SWAPW
(entryExitCount);
29
Offset entryOffset =
SWAPW
(entryExitRecords[coverageIndex].entryAnchor);
30
Offset exitOffset =
SWAPW
(entryExitRecords[coverageIndex].exitAnchor);
SegmentArrayProcessor.cpp
47
TTGlyphID firstGlyph =
SWAPW
(lookupSegment->firstGlyph);
48
le_int16 offset =
SWAPW
(lookupSegment->value);
52
TTGlyphID newGlyph =
SWAPW
(glyphArray[LE_GET_GLYPH(thisGlyph) - firstGlyph]);
SinglePositioningSubtables.cpp
20
switch(
SWAPW
(subtableFormat))
50
valueRecord.adjustPosition(
SWAPW
(valueFormat), (const char *) this, *glyphIterator, fontInstance);
64
valueRecordArray[0].adjustPosition(coverageIndex,
SWAPW
(valueFormat), (const char *) this, *glyphIterator, fontInstance);
TrimmedArrayProcessor.cpp
30
firstGlyph =
SWAPW
(trimmedArrayLookupTable->firstGlyph);
31
lastGlyph = firstGlyph +
SWAPW
(trimmedArrayLookupTable->glyphCount);
48
TTGlyphID newGlyph =
SWAPW
(trimmedArrayLookupTable->valueArray[ttGlyph - firstGlyph]);
GlyphLookupTables.cpp
17
const ScriptListTable *scriptListTable = (const ScriptListTable *) ((char *)this +
SWAPW
(scriptListOffset));
24
const ScriptListTable *scriptListTable = (const ScriptListTable *) ((char *)this +
SWAPW
(scriptListOffset));
28
// Note: don't have to
SWAPW
langSysTable->featureCount to check for non-zero.
/external/icu4c/test/letest/
FontObject.cpp
31
numTables =
SWAPW
(tempDir.numTables);
32
searchRange =
SWAPW
(tempDir.searchRange) >> 4;
33
entrySelector =
SWAPW
(tempDir.entrySelector);
34
rangeShift =
SWAPW
(tempDir.rangeShift) >> 4;
115
le_uint16 nSubtables =
SWAPW
(cmapTable->numberSubtables);
121
if (
SWAPW
(esh->platformID) == platformID &&
122
SWAPW
(esh->platformSpecificID) == platformSpecificID) {
136
SWAPW
(encodingSubtable->format) != 4) {
143
cmSegCount =
SWAPW
(header->segCountX2) / 2;
144
cmSearchRange =
SWAPW
(header->searchRange)
[
all
...]
PortableFontInstance.cpp
88
le_int32 dirSize = sizeof tempDir + ((
SWAPW
(tempDir.numTables) - ANY_NUMBER) * sizeof(DirectoryEntry));
110
numTables =
SWAPW
(fDirectory->numTables);
122
fUnitsPerEM =
SWAPW
(headTable->unitsPerEm);
149
fAscent = (le_int32) yUnitsToPoints((float)
SWAPW
(hheaTable->ascent));
150
fDescent = (le_int32) yUnitsToPoints((float)
SWAPW
(hheaTable->descent));
151
fLeading = (le_int32) yUnitsToPoints((float)
SWAPW
(hheaTable->lineGap));
153
fNumLongHorMetrics =
SWAPW
(hheaTable->numOfLongHorMetrics);
266
realThis->fNameCount =
SWAPW
(realThis->fNAMETable->count);
267
realThis->fNameStringOffset =
SWAPW
(realThis->fNAMETable->stringOffset);
274
if (
SWAPW
(nameRecord->platformID) == platformID && SWAPW(nameRecord->encodingID) == encodingID &
[
all
...]
Completed in 950 milliseconds
1
2