Home
last modified time | relevance | path

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

12

/third_party/cups-filters/fontembed/
Dsfnt_subset.c18 otw=malloc(sizeof(struct _OTF_WRITE)*otf->numTables); in otf_ttc_extract()
25 for (iA=0;iA<otf->numTables;iA++) { in otf_ttc_extract()
31 iA=otf_write_sfnt(otw,otf->version,otf->numTables,output,context); in otf_ttc_extract()
41 int iA,iB,numTables=0; in otf_intersect_tables() local
42 for (iA=0,iB=0;(iA<otf->numTables)&&(otw[iB].tag);) { in otf_intersect_tables()
47 if (iB!=numTables) { // >, actually in otf_intersect_tables()
48 memmove(otw+numTables,otw+iB,sizeof(struct _OTF_WRITE)); in otf_intersect_tables()
52 numTables++; in otf_intersect_tables()
57 if (iB!=numTables) { // >, actually in otf_intersect_tables()
58 memmove(otw+numTables,otw+iB,sizeof(struct _OTF_WRITE)); in otf_intersect_tables()
[all …]
Dsfnt.c172 otf->numTables=get_USHORT(buf+4); in otf_do_load()
176 otf->tables=malloc(sizeof(OTF_DIRENT)*otf->numTables); in otf_do_load()
182 for (iA=0;iA<otf->numTables;iA++) { in otf_do_load()
385 const unsigned int numTables=get_USHORT(buf+4); in otf_find_table()
386 char *tables=malloc(16*numTables); in otf_find_table()
390 if (!otf_read(otf,tables,pos,16*numTables)) { in otf_find_table()
406 res=bsearch(&key,otf->tables,otf->numTables,sizeof(otf->tables[0]),otf_dirent_compare); in otf_find_table()
412 for (iA=0;iA<otf->numTables;iA++) { in otf_find_table()
610 const int numTables=get_USHORT(cmap+2); in otf_load_cmap() local
611 for (iA=0;iA<numTables;iA++) { in otf_load_cmap()
[all …]
Dtest_analyze.c111 const int numTables=get_USHORT(cmap+2); in show_cmap() local
112 printf(" numTables: %d\n",numTables); in show_cmap()
113 for (iA=0;iA<numTables;iA++) { in show_cmap()
116 assert(ndata>=cmap+4+8*numTables); in show_cmap()
211 printf("Has %d tables\n",otf->numTables); in main()
214 for (iA=0;iA<otf->numTables;iA++) { in main()
Dembed_sfnt.c599 otwfree=otw=malloc(sizeof(struct _OTF_WRITE)*otf->numTables); in emb_otf_ps()
607 for (iA=0;iA<otf->numTables;iA++) { in emb_otf_ps()
613 int numTables=otf->numTables; in emb_otf_ps()
629 int numTables=otf_intersect_tables(otf,otw); in emb_otf_ps() local
637 iA=otf_write_sfnt(otw,otf->version,numTables,outfilter_binary_ps,&of); in emb_otf_ps()
639 iA=otf_write_sfnt(otw,otf->version,numTables,outfilter_ascii_ps,&of); in emb_otf_ps()
Dsfnt.h18 unsigned short numTables; member
Dsfnt_int.h90 int otf_write_sfnt(struct _OTF_WRITE *otw,unsigned int version,int numTables,OUTPUT_FN output,void …
/third_party/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
/third_party/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
/third_party/skia/src/sfnt/
DSkOTUtils.cpp52 int numTables = SkEndian_SwapBE16(sfntHeader.numTables); in RenameFont() local
53 for (tableIndex = 0; tableIndex < numTables; ++tableIndex) { in RenameFont()
61 if (tableIndex == numTables) { in RenameFont()
113 SkSFNTHeader::TableDirectoryEntry* endEntry = currentEntry + numTables; in RenameFont()
DSkSFNTHeader.h51 SK_SFNT_USHORT numTables; member
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/
DFont.java71 numTables(4), enumConstant
378 public int numTables() { in numTables() method in Font
439 sb.append(this.numTables()); in toString()
479 List<Header> tableHeaders = new ArrayList<Header>(this.numTables()); in buildTableHeadersForSerialization()
481 Offset.tableRecordBegin.offset + this.numTables() * Offset.tableRecordSize.offset; in buildTableHeadersForSerialization()
605 private int numTables; field in Font.Builder
943 this.numTables = is.readUShort(); in readHeader()
948 for (int tableNumber = 0; tableNumber < this.numTables; tableNumber++) { in readHeader()
982 this.numTables = fd.readUShort(offset + Offset.numTables.offset); in readHeader()
989 tableNumber < this.numTables; in readHeader()
/third_party/skia/src/ports/
DSkTypeface_mac_ct.cpp682 int numTables = this->countTables(); in onOpenStream() local
684 tableTags.setCount(numTables); in onOpenStream()
697 for (int tableIndex = 0; tableIndex < numTables; ++tableIndex) { in onOpenStream()
715 for (int tableIndex = 0; tableIndex < numTables; ++tableIndex) { in onOpenStream()
727 size_t totalSize = sizeof(SkSFNTHeader) + sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
728 for (int tableIndex = 0; tableIndex < numTables; ++tableIndex) { in onOpenStream()
743 while (searchRange < numTables >> 1) { in onOpenStream()
748 uint16_t rangeShift = (numTables << 4) - searchRange; in onOpenStream()
753 header->numTables = SkEndian_SwapBE16(numTables); in onOpenStream()
761 dataPtr += sizeof(SkSFNTHeader::TableDirectoryEntry) * numTables; in onOpenStream()
[all …]
DSkFontHost_win.cpp2020 int numTables = SkEndian_SwapBE16(header.numTables); in onGetTableTags() local
2023 size_t size = numTables * sizeof(SkSFNTHeader::TableDirectoryEntry); in onGetTableTags()
2024 SkAutoSTMalloc<0x20, SkSFNTHeader::TableDirectoryEntry> dir(numTables); in onGetTableTags()
2029 for (int i = 0; i < numTables; ++i) { in onGetTableTags()
2033 return numTables; in onGetTableTags()
/third_party/skia/src/utils/mac/
DSkCTFont.cpp339 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in SkCTFontGetDataFontWeightMapping() local
340 for (int tableEntryIndex = 0; tableEntryIndex < numTables; ++tableEntryIndex) { in SkCTFontGetDataFontWeightMapping()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/
DLoadingTests.java53 assertEquals(streamFont.numTables(), byteFont.numTables()); in testLoadingComparison()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DCMapTable.java52 numTables(2), enumConstant
248 return this.data.readUShort(Offset.numTables.offset); in numCMaps()
570 return data.readUShort(Offset.numTables.offset); in numCMaps()
613 size += newData.writeUShort(CMapTable.Offset.numTables.offset, this.cmapBuilders.size()); in subSerialize()
/third_party/skia/src/core/
DSkMaskGamma.h143 void getGammaTableDimensions(int* tableWidth, int* numTables) const { in getGammaTableDimensions() argument
145 *numTables = (1 << MAX_LUM_BITS); in getGammaTableDimensions()
/third_party/skia/tests/
DTypefaceTest.cpp43 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test() local
44 for (int tableEntryIndex = 0; tableEntryIndex < numTables; ++tableEntryIndex) { in TypefaceStyle_test()
/third_party/icu/icu4c/source/samples/layout/
Dsfnt.h41 le_uint16 numTables; member
/third_party/skia/third_party/externals/icu/source/samples/layout/
Dsfnt.h41 le_uint16 numTables; member

12