Home
last modified time | relevance | path

Searched refs:numTables (Results 1 – 25 of 30) sorted by relevance

12

/external/fonttools/Lib/fontTools/ttLib/
Dsfnt.py83 for i in range(self.numTables):
210 def __init__(self, file, numTables, sfntVersion="\000\001\000\000", argument
213 self.numTables = numTables
226 self.origNextTableOffset = sfntDirectorySize + numTables * sfntDirectoryEntrySize
234 self.searchRange, self.entrySelector, self.rangeShift = getSearchRange(numTables, 16)
237 …self.nextTableOffset = self.directoryOffset + self.directorySize + numTables * self.DirectoryEntry…
288 if len(tables) != self.numTables:
289 raise TTLibError("wrong number of tables; expected %d, found %d" % (self.numTables, len(tables)))
359 self.searchRange, self.entrySelector, self.rangeShift = getSearchRange(self.numTables, 16)
Dwoff2.py55 for i in range(self.numTables):
138 def __init__(self, file, numTables, sfntVersion="\000\001\000\000", argument
147 self.numTables = numTables
171 self.numTables -= 1
186 if len(self.tables) != self.numTables:
187 …raise TTLibError("wrong number of tables; expected %d, found %d" % (self.numTables, len(self.table…
331 self.searchRange, self.entrySelector, self.rangeShift = getSearchRange(self.numTables, 16)
DttFont.py206 numTables = len(tags)
208 writer = SFNTWriter(file, numTables, self.sfntVersion, self.flavor, self.flavorData)
250 numTables = len(tables)
270 for i in range(numTables):
/external/skia/src/sfnt/
DSkOTUtils.cpp50 int numTables = SkEndian_SwapBE16(sfntHeader.numTables); in RenameFont() local
51 for (tableIndex = 0; tableIndex < numTables; ++tableIndex) { in RenameFont()
59 if (tableIndex == numTables) { in RenameFont()
104 SkSFNTHeader::TableDirectoryEntry* endEntry = currentEntry + numTables; in RenameFont()
DSkSFNTHeader.h51 SK_SFNT_USHORT numTables; member
/external/skqp/src/sfnt/
DSkOTUtils.cpp50 int numTables = SkEndian_SwapBE16(sfntHeader.numTables); in RenameFont() local
51 for (tableIndex = 0; tableIndex < numTables; ++tableIndex) { in RenameFont()
59 if (tableIndex == numTables) { in RenameFont()
104 SkSFNTHeader::TableDirectoryEntry* endEntry = currentEntry + numTables; in RenameFont()
DSkSFNTHeader.h51 SK_SFNT_USHORT numTables; member
/external/icu/icu4c/source/test/perf/leperf/
DPortableFontInstance.cpp108 …le_int32 dirSize = sizeof tempDir + ((SWAPW(tempDir.numTables) - ANY_NUMBER) * sizeof(DirectoryEnt… in PortableFontInstance()
114 le_uint16 numTables = 0; in PortableFontInstance() local
131 numTables = SWAPW(fDirectory->numTables); in PortableFontInstance()
132 fDirPower = 1 << highBit(numTables); in PortableFontInstance()
133 fDirExtra = numTables - fDirPower; in PortableFontInstance()
DFontObject.cpp21 : directory(NULL), numTables(0), searchRange(0),entrySelector(0), in FontObject()
37 numTables = SWAPW(tempDir.numTables); in FontObject()
42 int dirSize = sizeof tempDir + ((numTables - ANY_NUMBER) * sizeof(DirectoryEntry)); in FontObject()
DFontObject.h38 le_uint16 numTables; member
215 le_uint16 numTables; variable
Dsfnt.h40 le_uint16 numTables; member
/external/icu/icu4c/source/test/letest/
DPortableFontInstance.cpp105 …le_int32 dirSize = sizeof tempDir + ((SWAPW(tempDir.numTables) - ANY_NUMBER) * sizeof(DirectoryEnt… in PortableFontInstance()
111 le_uint16 numTables = 0; in PortableFontInstance() local
128 numTables = SWAPW(fDirectory->numTables); in PortableFontInstance()
129 fDirPower = 1 << highBit(numTables); in PortableFontInstance()
130 fDirExtra = numTables - fDirPower; in PortableFontInstance()
DFontObject.cpp17 : directory(NULL), numTables(0), searchRange(0),entrySelector(0), in FontObject()
33 numTables = SWAPW(tempDir.numTables); in FontObject()
38 int dirSize = sizeof tempDir + ((numTables - ANY_NUMBER) * sizeof(DirectoryEntry)); in FontObject()
DFontObject.h34 le_uint16 numTables; member
211 le_uint16 numTables; variable
Dsfnt.h36 le_uint16 numTables; member
/external/skqp/tests/
DTypefaceTest.cpp39 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test() local
40 for (int tableEntryIndex = 0; tableEntryIndex < numTables; ++tableEntryIndex) { in TypefaceStyle_test()
/external/skia/tests/
DTypefaceTest.cpp39 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test() local
40 for (int tableEntryIndex = 0; tableEntryIndex < numTables; ++tableEntryIndex) { in TypefaceStyle_test()
/external/skia/src/core/
DSkMaskGamma.h143 void getGammaTableDimensions(int* tableWidth, int* numTables) const { in getGammaTableDimensions() argument
145 *numTables = (1 << MAX_LUM_BITS); in getGammaTableDimensions()
/external/skqp/src/core/
DSkMaskGamma.h143 void getGammaTableDimensions(int* tableWidth, int* numTables) const { in getGammaTableDimensions() argument
145 *numTables = (1 << MAX_LUM_BITS); in getGammaTableDimensions()
/external/skia/src/ports/
DSkFontHost_mac.cpp1791 int numTables = this->countTables(); in onOpenStream() local
1793 tableTags.setCount(numTables); in onOpenStream()
1806 for (int tableIndex = 0; tableIndex < numTables; ++tableIndex) { in onOpenStream()
1824 for (int tableIndex = 0; tableIndex < numTables; ++tableIndex) { in onOpenStream()
1836 size_t totalSize = sizeof(SkSFNTHeader) + sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
1837 for (int tableIndex = 0; tableIndex < numTables; ++tableIndex) { in onOpenStream()
1852 while (searchRange < numTables >> 1) { in onOpenStream()
1857 uint16_t rangeShift = (numTables << 4) - searchRange; in onOpenStream()
1862 header->numTables = SkEndian_SwapBE16(numTables); in onOpenStream()
1870 dataPtr += sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
[all …]
DSkFontHost_win.cpp2149 int numTables = SkEndian_SwapBE16(header.numTables); in onGetTableTags() local
2152 size_t size = numTables * sizeof(SkSFNTHeader::TableDirectoryEntry); in onGetTableTags()
2153 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
2158 for (int i = 0; i < numTables; ++i) { in onGetTableTags()
2162 return numTables; in onGetTableTags()
/external/skqp/src/ports/
DSkFontHost_mac.cpp1790 int numTables = this->countTables(); in onOpenStream() local
1792 tableTags.setCount(numTables); in onOpenStream()
1805 for (int tableIndex = 0; tableIndex < numTables; ++tableIndex) { in onOpenStream()
1823 for (int tableIndex = 0; tableIndex < numTables; ++tableIndex) { in onOpenStream()
1835 size_t totalSize = sizeof(SkSFNTHeader) + sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
1836 for (int tableIndex = 0; tableIndex < numTables; ++tableIndex) { in onOpenStream()
1851 while (searchRange < numTables >> 1) { in onOpenStream()
1856 uint16_t rangeShift = (numTables << 4) - searchRange; in onOpenStream()
1861 header->numTables = SkEndian_SwapBE16(numTables); in onOpenStream()
1869 dataPtr += sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
[all …]
/external/fonttools/Tests/ttLib/
Dwoff2_test.py364 cls.numTables = len(cls.tags)
380 self.writer = WOFF2Writer(BytesIO(), self.numTables, self.font.sfntVersion)
385 self.assertEqual(self.writer.numTables, self.numTables-1)
450 for i in range(self.numTables):
522 cls.numTables = len(cls.tags)
/external/harfbuzz_ng/src/
Dhb-ot-color-cbdt-table.hh247 const IndexSubtableRecord* find_table (hb_codepoint_t glyph, unsigned int numTables) const in find_table()
249 for (unsigned int i = 0; i < numTables; ++i) in find_table()
/external/icu/icu4c/source/samples/layout/
Dsfnt.h41 le_uint16 numTables; member

12