/external/fonttools/Lib/fontTools/ttLib/ |
D | sfnt.py | 83 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)
|
D | woff2.py | 55 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)
|
D | ttFont.py | 206 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/ |
D | SkOTUtils.cpp | 50 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()
|
D | SkSFNTHeader.h | 51 SK_SFNT_USHORT numTables; member
|
/external/skqp/src/sfnt/ |
D | SkOTUtils.cpp | 50 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()
|
D | SkSFNTHeader.h | 51 SK_SFNT_USHORT numTables; member
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | PortableFontInstance.cpp | 108 …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()
|
D | FontObject.cpp | 21 : 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()
|
D | FontObject.h | 38 le_uint16 numTables; member 215 le_uint16 numTables; variable
|
D | sfnt.h | 40 le_uint16 numTables; member
|
/external/icu/icu4c/source/test/letest/ |
D | PortableFontInstance.cpp | 105 …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()
|
D | FontObject.cpp | 17 : 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()
|
D | FontObject.h | 34 le_uint16 numTables; member 211 le_uint16 numTables; variable
|
D | sfnt.h | 36 le_uint16 numTables; member
|
/external/skqp/tests/ |
D | TypefaceTest.cpp | 39 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test() local 40 for (int tableEntryIndex = 0; tableEntryIndex < numTables; ++tableEntryIndex) { in TypefaceStyle_test()
|
/external/skia/tests/ |
D | TypefaceTest.cpp | 39 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/ |
D | SkMaskGamma.h | 143 void getGammaTableDimensions(int* tableWidth, int* numTables) const { in getGammaTableDimensions() argument 145 *numTables = (1 << MAX_LUM_BITS); in getGammaTableDimensions()
|
/external/skqp/src/core/ |
D | SkMaskGamma.h | 143 void getGammaTableDimensions(int* tableWidth, int* numTables) const { in getGammaTableDimensions() argument 145 *numTables = (1 << MAX_LUM_BITS); in getGammaTableDimensions()
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 1791 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 …]
|
D | SkFontHost_win.cpp | 2149 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/ |
D | SkFontHost_mac.cpp | 1790 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/ |
D | woff2_test.py | 364 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/ |
D | hb-ot-color-cbdt-table.hh | 247 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/ |
D | sfnt.h | 41 le_uint16 numTables; member
|