Home
last modified time | relevance | path

Searched refs:tableOffset (Results 1 – 4 of 4) sorted by relevance

/external/webkit/WebCore/platform/graphics/opentype/
DOpenTypeUtilities.cpp230 unsigned tableOffset = sfnt->tables[i].offset; in getEOTHeader() local
233 …if (dataLength < tableOffset || dataLength < tableLength || dataLength < tableOffset + tableLength) in getEOTHeader()
240 if (dataLength < tableOffset + sizeof(OS2Table)) in getEOTHeader()
244 const OS2Table* OS2 = reinterpret_cast<const OS2Table*>(data + tableOffset); in getEOTHeader()
260 if (dataLength < tableOffset + sizeof(headTable)) in getEOTHeader()
264 const headTable* head = reinterpret_cast<const headTable*>(data + tableOffset); in getEOTHeader()
270 if (dataLength < tableOffset + offsetof(nameTable, nameRecords)) in getEOTHeader()
274 const nameTable* name = reinterpret_cast<const nameTable*>(data + tableOffset); in getEOTHeader()
276 … if (dataLength < tableOffset + offsetof(nameTable, nameRecords) + (j + 1) * sizeof(nameRecord)) in getEOTHeader()
279 …if (dataLength < tableOffset + name->stringOffset + name->nameRecords[j].offset + name->nameRecord… in getEOTHeader()
[all …]
/external/icu4c/i18n/
Ducol_elm.cpp1415 uint32_t tableOffset = 0; in uprv_uca_assembleTable() local
1458 tableOffset += (uint32_t)(paddedsize(sizeof(UCATableHeader))); in uprv_uca_assembleTable()
1460 myData->options = tableOffset; in uprv_uca_assembleTable()
1461 uprv_memcpy(dataStart+tableOffset, t->options, sizeof(UColOptionSet)); in uprv_uca_assembleTable()
1462 tableOffset += (uint32_t)(paddedsize(sizeof(UColOptionSet))); in uprv_uca_assembleTable()
1466 myData->expansion = tableOffset; in uprv_uca_assembleTable()
1467 uprv_memcpy(dataStart+tableOffset, expansions->CEs, expansions->position*sizeof(uint32_t)); in uprv_uca_assembleTable()
1468 tableOffset += (uint32_t)(paddedsize(expansions->position*sizeof(uint32_t))); in uprv_uca_assembleTable()
1474 myData->contractionIndex = tableOffset; in uprv_uca_assembleTable()
1475 … uprv_memcpy(dataStart+tableOffset, contractions->codePoints, contractionsSize*sizeof(UChar)); in uprv_uca_assembleTable()
[all …]
/external/icu4c/layout/
DLookups.cpp37 le_int32 LookupSubtable::getGlyphCoverage(Offset tableOffset, LEGlyphID glyphID) const in getGlyphCoverage() argument
39 … const CoverageTable *coverageTable = (const CoverageTable *) ((char *) this + SWAPW(tableOffset)); in getGlyphCoverage()
DLookups.h38 le_int32 getGlyphCoverage(Offset tableOffset, LEGlyphID glyphID) const;