/third_party/cups-filters/fontembed/ |
D | sfnt_subset.c | 18 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 …]
|
D | sfnt.c | 172 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 …]
|
D | test_analyze.c | 111 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()
|
D | embed_sfnt.c | 599 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()
|
D | sfnt.h | 18 unsigned short numTables; member
|
D | sfnt_int.h | 90 int otf_write_sfnt(struct _OTF_WRITE *otw,unsigned int version,int numTables,OUTPUT_FN output,void …
|
/third_party/skia/src/sfnt/ |
D | SkOTUtils.cpp | 52 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()
|
D | SkSFNTHeader.h | 51 SK_SFNT_USHORT numTables; member
|
/third_party/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
|
/third_party/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
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/ |
D | Font.java | 71 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/utils/mac/ |
D | SkCTFont.cpp | 339 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/ |
D | LoadingTests.java | 53 assertEquals(streamFont.numTables(), byteFont.numTables()); in testLoadingComparison()
|
/third_party/skia/src/ports/ |
D | SkTypeface_mac_ct.cpp | 682 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 …]
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/ |
D | CMapTable.java | 52 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/ |
D | SkMaskGamma.h | 143 void getGammaTableDimensions(int* tableWidth, int* numTables) const { in getGammaTableDimensions() argument 145 *numTables = (1 << MAX_LUM_BITS); in getGammaTableDimensions()
|
/third_party/skia/tests/ |
D | TypefaceTest.cpp | 43 int numTables = SkEndian_SwapBE16(sfntHeader->numTables); in TypefaceStyle_test() local 44 for (int tableEntryIndex = 0; tableEntryIndex < numTables; ++tableEntryIndex) { in TypefaceStyle_test()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | sfnt.h | 41 le_uint16 numTables; member
|
/third_party/icu/icu4c/source/samples/layout/ |
D | sfnt.h | 41 le_uint16 numTables; member
|