/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/ |
D | t1cmap.c | 35 t1_cmap_std_init( T1_CMapStd cmap, in t1_cmap_std_init() argument 38 T1_Face face = (T1_Face)FT_CMAP_FACE( cmap ); in t1_cmap_std_init() 42 cmap->num_glyphs = face->type1.num_glyphs; in t1_cmap_std_init() 43 cmap->glyph_names = (const char* const*)face->type1.glyph_names; in t1_cmap_std_init() 44 cmap->sid_to_string = psnames->adobe_std_strings; in t1_cmap_std_init() 45 cmap->code_to_sid = is_expert ? psnames->adobe_expert_encoding in t1_cmap_std_init() 48 FT_ASSERT( cmap->code_to_sid != NULL ); in t1_cmap_std_init() 53 t1_cmap_std_done( T1_CMapStd cmap ) in t1_cmap_std_done() argument 55 cmap->num_glyphs = 0; in t1_cmap_std_done() 56 cmap->glyph_names = NULL; in t1_cmap_std_done() [all …]
|
/external/freetype/src/psaux/ |
D | t1cmap.c | 35 t1_cmap_std_init( T1_CMapStd cmap, in t1_cmap_std_init() argument 38 T1_Face face = (T1_Face)FT_CMAP_FACE( cmap ); in t1_cmap_std_init() 42 cmap->num_glyphs = face->type1.num_glyphs; in t1_cmap_std_init() 43 cmap->glyph_names = (const char* const*)face->type1.glyph_names; in t1_cmap_std_init() 44 cmap->sid_to_string = psnames->adobe_std_strings; in t1_cmap_std_init() 45 cmap->code_to_sid = is_expert ? psnames->adobe_expert_encoding in t1_cmap_std_init() 48 FT_ASSERT( cmap->code_to_sid != NULL ); in t1_cmap_std_init() 53 t1_cmap_std_done( T1_CMapStd cmap ) in t1_cmap_std_done() argument 55 cmap->num_glyphs = 0; in t1_cmap_std_done() 56 cmap->glyph_names = NULL; in t1_cmap_std_done() [all …]
|
/external/chromium_org/third_party/freetype/src/psaux/ |
D | t1cmap.c | 35 t1_cmap_std_init( T1_CMapStd cmap, in t1_cmap_std_init() argument 38 T1_Face face = (T1_Face)FT_CMAP_FACE( cmap ); in t1_cmap_std_init() 42 cmap->num_glyphs = face->type1.num_glyphs; in t1_cmap_std_init() 43 cmap->glyph_names = (const char* const*)face->type1.glyph_names; in t1_cmap_std_init() 44 cmap->sid_to_string = psnames->adobe_std_strings; in t1_cmap_std_init() 45 cmap->code_to_sid = is_expert ? psnames->adobe_expert_encoding in t1_cmap_std_init() 48 FT_ASSERT( cmap->code_to_sid != NULL ); in t1_cmap_std_init() 53 t1_cmap_std_done( T1_CMapStd cmap ) in t1_cmap_std_done() argument 55 cmap->num_glyphs = 0; in t1_cmap_std_done() 56 cmap->glyph_names = NULL; in t1_cmap_std_done() [all …]
|
/external/chromium_org/third_party/freetype/src/sfnt/ |
D | ttcmap.c | 55 tt_cmap_init( TT_CMap cmap, in tt_cmap_init() argument 58 cmap->data = table; in tt_cmap_init() 118 tt_cmap0_char_index( TT_CMap cmap, in tt_cmap0_char_index() argument 121 FT_Byte* table = cmap->data; in tt_cmap0_char_index() 129 tt_cmap0_char_next( TT_CMap cmap, in tt_cmap0_char_next() argument 132 FT_Byte* table = cmap->data; in tt_cmap0_char_next() 155 tt_cmap0_get_info( TT_CMap cmap, in tt_cmap0_get_info() argument 158 FT_Byte* p = cmap->data + 4; in tt_cmap0_get_info() 430 tt_cmap2_char_index( TT_CMap cmap, in tt_cmap2_char_index() argument 433 FT_Byte* table = cmap->data; in tt_cmap2_char_index() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/ |
D | ttcmap.c | 55 tt_cmap_init( TT_CMap cmap, in tt_cmap_init() argument 58 cmap->data = table; in tt_cmap_init() 118 tt_cmap0_char_index( TT_CMap cmap, in tt_cmap0_char_index() argument 121 FT_Byte* table = cmap->data; in tt_cmap0_char_index() 129 tt_cmap0_char_next( TT_CMap cmap, in tt_cmap0_char_next() argument 132 FT_Byte* table = cmap->data; in tt_cmap0_char_next() 155 tt_cmap0_get_info( TT_CMap cmap, in tt_cmap0_get_info() argument 158 FT_Byte* p = cmap->data + 4; in tt_cmap0_get_info() 430 tt_cmap2_char_index( TT_CMap cmap, in tt_cmap2_char_index() argument 433 FT_Byte* table = cmap->data; in tt_cmap2_char_index() [all …]
|
/external/freetype/src/sfnt/ |
D | ttcmap.c | 55 tt_cmap_init( TT_CMap cmap, in tt_cmap_init() argument 58 cmap->data = table; in tt_cmap_init() 124 tt_cmap0_char_index( TT_CMap cmap, in tt_cmap0_char_index() argument 127 FT_Byte* table = cmap->data; in tt_cmap0_char_index() 135 tt_cmap0_char_next( TT_CMap cmap, in tt_cmap0_char_next() argument 138 FT_Byte* table = cmap->data; in tt_cmap0_char_next() 161 tt_cmap0_get_info( TT_CMap cmap, in tt_cmap0_get_info() argument 164 FT_Byte* p = cmap->data + 4; in tt_cmap0_get_info() 445 tt_cmap2_char_index( TT_CMap cmap, in tt_cmap2_char_index() argument 448 FT_Byte* table = cmap->data; in tt_cmap2_char_index() [all …]
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
D | cmap_editing_test.cc | 43 (CMapTable::Builder*)font_builder->GetTableBuilder(Tag::cmap); in TEST() 59 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in TEST() 61 CMapTable::CMapPtr cmap; in TEST() local 62 cmap.Attach(cmap_table->GetCMap(CMapTable::WINDOWS_BMP)); in TEST() 63 ASSERT_EQ(CMapTable::WINDOWS_BMP, cmap->cmap_id()); in TEST() 76 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in TEST() 80 (CMapTable::Builder*)font_builder->NewTableBuilder(Tag::cmap); in TEST() 84 CMapTable::CMapPtr cmap; in TEST() local 85 cmap.Attach(cmap_iter.Next()); in TEST() 86 if (!cmap) in TEST() [all …]
|
/external/sfntly/cpp/src/test/ |
D | cmap_editing_test.cc | 43 (CMapTable::Builder*)font_builder->GetTableBuilder(Tag::cmap); in TEST() 59 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in TEST() 61 CMapTable::CMapPtr cmap; in TEST() local 62 cmap.Attach(cmap_table->GetCMap(CMapTable::WINDOWS_BMP)); in TEST() 63 ASSERT_EQ(CMapTable::WINDOWS_BMP, cmap->cmap_id()); in TEST() 76 CMapTablePtr cmap_table = down_cast<CMapTable*>(font->GetTable(Tag::cmap)); in TEST() 80 (CMapTable::Builder*)font_builder->NewTableBuilder(Tag::cmap); in TEST() 84 CMapTable::CMapPtr cmap; in TEST() local 85 cmap.Attach(cmap_iter.Next()); in TEST() 86 if (!cmap) in TEST() [all …]
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
D | hb-ot-font.cc | 46 const OT::CmapSubtable *cmap; member 78 …ot_font->cmap_blob = OT::Sanitizer<OT::cmap>::sanitize (font->face->reference_table (HB_OT_TAG_cma… in _hb_ot_font_create() 79 const OT::cmap *cmap = OT::Sanitizer<OT::cmap>::lock_instance (ot_font->cmap_blob); in _hb_ot_font_create() local 84 if (!subtable) subtable = cmap->find_subtable (3, 10); in _hb_ot_font_create() 85 if (!subtable) subtable = cmap->find_subtable (0, 6); in _hb_ot_font_create() 86 if (!subtable) subtable = cmap->find_subtable (0, 4); in _hb_ot_font_create() 88 if (!subtable) subtable = cmap->find_subtable (3, 1); in _hb_ot_font_create() 89 if (!subtable) subtable = cmap->find_subtable (0, 3); in _hb_ot_font_create() 90 if (!subtable) subtable = cmap->find_subtable (0, 2); in _hb_ot_font_create() 91 if (!subtable) subtable = cmap->find_subtable (0, 1); in _hb_ot_font_create() [all …]
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | _c_m_a_p.py | 51 table.cmap = tables[seenOffsets[offset]].cmap 66 offset = seen[id(table.cmap)] 72 offset = seen[id(table.cmap)] = done[chunk] = totalOffset + len(tableData) 137 codes = sorted(self.cmap.items()) 188 self.cmap = cmap = {} 192 list(map(operator.setitem, [cmap]*lenArray, charCodes, names)) 199 charCodeList = sorted(self.cmap.items()) 213 self.cmap = {} 214 cmap = self.cmap 221 cmap[safeEval(attrs["code"])] = attrs["name"] [all …]
|
/external/chromium_org/third_party/icu/source/samples/layout/ |
D | cmaps.cpp | 59 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap) in createUnicodeMapper() argument 62 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); in createUnicodeMapper() 67 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; in createUnicodeMapper() 85 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset10); in createUnicodeMapper() 87 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1); in createUnicodeMapper() 94 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper() 100 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); in createUnicodeMapper() 110 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header) in CMAPFormat4Mapper() argument 111 : CMAPMapper(cmap) in CMAPFormat4Mapper() 170 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) in CMAPGroupMapper() argument [all …]
|
D | cmaps.h | 27 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap); 30 CMAPMapper(const CMAPTable *cmap); 41 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header); 62 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups); 77 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap) in CMAPMapper() argument 78 : fcmap(cmap) in CMAPMapper()
|
/external/icu/icu4c/source/samples/layout/ |
D | cmaps.cpp | 59 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap) in createUnicodeMapper() argument 62 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); in createUnicodeMapper() 67 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; in createUnicodeMapper() 85 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset10); in createUnicodeMapper() 87 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1); in createUnicodeMapper() 94 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper() 100 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); in createUnicodeMapper() 110 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header) in CMAPFormat4Mapper() argument 111 : CMAPMapper(cmap) in CMAPFormat4Mapper() 170 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) in CMAPGroupMapper() argument [all …]
|
D | cmaps.h | 27 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap); 30 CMAPMapper(const CMAPTable *cmap); 41 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header); 62 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups); 77 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap) in CMAPMapper() argument 78 : fcmap(cmap) in CMAPMapper()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-font.cc | 46 const OT::CmapSubtable *cmap; member 78 …ot_font->cmap_blob = OT::Sanitizer<OT::cmap>::sanitize (font->face->reference_table (HB_OT_TAG_cma… in _hb_ot_font_create() 79 const OT::cmap *cmap = OT::Sanitizer<OT::cmap>::lock_instance (ot_font->cmap_blob); in _hb_ot_font_create() local 84 if (!subtable) subtable = cmap->find_subtable (0, 6); in _hb_ot_font_create() 85 if (!subtable) subtable = cmap->find_subtable (0, 4); in _hb_ot_font_create() 86 if (!subtable) subtable = cmap->find_subtable (3, 10); in _hb_ot_font_create() 88 if (!subtable) subtable = cmap->find_subtable (0, 3); in _hb_ot_font_create() 89 if (!subtable) subtable = cmap->find_subtable (3, 1); in _hb_ot_font_create() 94 if (!subtable_uvs) subtable_uvs = cmap->find_subtable (0, 5); in _hb_ot_font_create() 98 ot_font->cmap = subtable; in _hb_ot_font_create() [all …]
|
/external/freetype/src/cff/ |
D | cffcmap.c | 36 cff_cmap_encoding_init( CFF_CMapStd cmap ) in cff_cmap_encoding_init() argument 38 TT_Face face = (TT_Face)FT_CMAP_FACE( cmap ); in cff_cmap_encoding_init() 43 cmap->gids = encoding->codes; in cff_cmap_encoding_init() 50 cff_cmap_encoding_done( CFF_CMapStd cmap ) in cff_cmap_encoding_done() argument 52 cmap->gids = NULL; in cff_cmap_encoding_done() 57 cff_cmap_encoding_char_index( CFF_CMapStd cmap, in cff_cmap_encoding_char_index() argument 64 result = cmap->gids[char_code]; in cff_cmap_encoding_char_index() 71 cff_cmap_encoding_char_next( CFF_CMapStd cmap, in cff_cmap_encoding_char_next() argument 90 result = cmap->gids[code]; in cff_cmap_encoding_char_next()
|
/external/chromium_org/third_party/freetype/src/cff/ |
D | cffcmap.c | 36 cff_cmap_encoding_init( CFF_CMapStd cmap ) in cff_cmap_encoding_init() argument 38 TT_Face face = (TT_Face)FT_CMAP_FACE( cmap ); in cff_cmap_encoding_init() 43 cmap->gids = encoding->codes; in cff_cmap_encoding_init() 50 cff_cmap_encoding_done( CFF_CMapStd cmap ) in cff_cmap_encoding_done() argument 52 cmap->gids = NULL; in cff_cmap_encoding_done() 57 cff_cmap_encoding_char_index( CFF_CMapStd cmap, in cff_cmap_encoding_char_index() argument 64 result = cmap->gids[char_code]; in cff_cmap_encoding_char_index() 71 cff_cmap_encoding_char_next( CFF_CMapStd cmap, in cff_cmap_encoding_char_next() argument 90 result = cmap->gids[code]; in cff_cmap_encoding_char_next()
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
D | cffcmap.c | 36 cff_cmap_encoding_init( CFF_CMapStd cmap ) in cff_cmap_encoding_init() argument 38 TT_Face face = (TT_Face)FT_CMAP_FACE( cmap ); in cff_cmap_encoding_init() 43 cmap->gids = encoding->codes; in cff_cmap_encoding_init() 50 cff_cmap_encoding_done( CFF_CMapStd cmap ) in cff_cmap_encoding_done() argument 52 cmap->gids = NULL; in cff_cmap_encoding_done() 57 cff_cmap_encoding_char_index( CFF_CMapStd cmap, in cff_cmap_encoding_char_index() argument 64 result = cmap->gids[char_code]; in cff_cmap_encoding_char_index() 71 cff_cmap_encoding_char_next( CFF_CMapStd cmap, in cff_cmap_encoding_char_next() argument 90 result = cmap->gids[code]; in cff_cmap_encoding_char_next()
|
/external/chromium_org/third_party/icu/source/test/perf/leperf/ |
D | cmaps.h | 23 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap); 26 CMAPMapper(const CMAPTable *cmap); 37 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header); 58 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups); 73 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap) in CMAPMapper() argument 74 : fcmap(cmap) in CMAPMapper()
|
/external/chromium_org/third_party/icu/source/test/letest/ |
D | cmaps.h | 23 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap); 26 CMAPMapper(const CMAPTable *cmap); 37 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header); 58 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups); 73 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap) in CMAPMapper() argument 74 : fcmap(cmap) in CMAPMapper()
|
/external/icu/icu4c/source/test/perf/leperf/ |
D | cmaps.h | 23 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap); 26 CMAPMapper(const CMAPTable *cmap); 37 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header); 58 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups); 73 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap) in CMAPMapper() argument 74 : fcmap(cmap) in CMAPMapper()
|
D | cmaps.cpp | 54 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap) in createUnicodeMapper() argument 57 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); in createUnicodeMapper() 66 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; in createUnicodeMapper() 92 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; in createUnicodeMapper() 122 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset); in createUnicodeMapper() 134 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper() 140 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); in createUnicodeMapper() 151 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header) in CMAPFormat4Mapper() argument 152 : CMAPMapper(cmap) in CMAPFormat4Mapper() 211 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) in CMAPGroupMapper() argument [all …]
|
/external/icu/icu4c/source/test/letest/ |
D | cmaps.h | 23 static CMAPMapper *createUnicodeMapper(const CMAPTable *cmap); 26 CMAPMapper(const CMAPTable *cmap); 37 CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header); 58 CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups); 73 inline CMAPMapper::CMAPMapper(const CMAPTable *cmap) in CMAPMapper() argument 74 : fcmap(cmap) in CMAPMapper()
|
D | cmaps.cpp | 54 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap) in createUnicodeMapper() argument 57 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); in createUnicodeMapper() 66 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; in createUnicodeMapper() 92 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; in createUnicodeMapper() 122 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + foundOffset); in createUnicodeMapper() 134 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper() 140 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); in createUnicodeMapper() 151 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header) in CMAPFormat4Mapper() argument 152 : CMAPMapper(cmap) in CMAPFormat4Mapper() 211 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) in CMAPGroupMapper() argument [all …]
|
/external/qemu/distrib/sdl-1.2.15/test/ |
D | testpalette.c | 133 SDL_Color cmap[256]; in main() local 192 memset(cmap, 0, sizeof(cmap)); in main() 193 SDL_SetPalette(screen, SDL_PHYSPAL, cmap, 0, 256); in main() 210 memcpy(cmap, screen->format->palette->colors, 256 * sizeof(SDL_Color)); in main() 290 cmap[boatcols + ((i + frames) & 63)] = wavemap[i]; in main() 312 memcpy(cmap, screen->format->palette->colors, in main() 315 cmap[i].r = cmap[i].r * fade_level / fade_max; in main() 316 cmap[i].g = cmap[i].g * fade_level / fade_max; in main() 317 cmap[i].b = cmap[i].b * fade_level / fade_max; in main() 326 cmap[red].r = (int)(255 * sin(redphase * M_PI / 63)); in main() [all …]
|