Home
last modified time | relevance | path

Searched refs:cmap (Results 1 – 25 of 46) sorted by relevance

12

/external/freetype/src/psaux/
Dt1cmap.c35 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 …]
Dt1cmap.h42 FT_CMapRec cmap; member
72 FT_CMapRec cmap; member
/external/freetype/src/sfnt/
Dttcmap.c55 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()
426 tt_cmap2_char_index( TT_CMap cmap, in tt_cmap2_char_index() argument
429 FT_Byte* table = cmap->data; in tt_cmap2_char_index()
[all …]
Dsfdriver.c546 void* cmap, in tt_face_load_charmap_stub() argument
550 FT_UNUSED( cmap ); in tt_face_load_charmap_stub()
559 void* cmap ) in tt_face_free_charmap_stub() argument
562 FT_UNUSED( cmap ); in tt_face_free_charmap_stub()
/external/skia/src/images/
DSkImageDecoder_libgif.cpp108 const ColorMapObject* cmap = gif->Image.ColorMap; in find_colormap() local
109 if (NULL == cmap) { in find_colormap()
110 cmap = gif->SColorMap; in find_colormap()
113 if (NULL == cmap) { in find_colormap()
118 if (cmap && ((unsigned)cmap->ColorCount > 256 || in find_colormap()
119 cmap->ColorCount != (1 << cmap->BitsPerPixel))) { in find_colormap()
120 cmap = NULL; in find_colormap()
122 return cmap; in find_colormap()
219 const ColorMapObject* cmap = find_colormap(gif); in onDecode() local
220 if (NULL == cmap) { in onDecode()
[all …]
DSkMovie_gif.cpp112 static void copyLine(uint32_t* dst, const unsigned char* src, const ColorMapObject* cmap, in copyLine() argument
117 const GifColorType& col = cmap->Colors[*src]; in copyLine()
124 const ColorMapObject* cmap, int transparent, int copyWidth, in copyInterlaceGroup() argument
132 copyLine(dst, src, cmap, transparent, copyWidth); in copyInterlaceGroup()
140 static void blitInterlace(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap, in blitInterlace() argument
159 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 0); in blitInterlace()
162 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 8, 4); in blitInterlace()
165 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 4, 2); in blitInterlace()
167 copyInterlaceGroup(bm, src, cmap, transparent, copyWidth, copyHeight, frame->ImageDesc, 2, 1); in blitInterlace()
170 static void blitNormal(SkBitmap* bm, const SavedImage* frame, const ColorMapObject* cmap, in blitNormal() argument
[all …]
/external/icu4c/test/letest/
Dcmaps.cpp53 CMAPMapper *CMAPMapper::createUnicodeMapper(const CMAPTable *cmap) in createUnicodeMapper() argument
56 le_uint16 nSubtables = SWAPW(cmap->numberSubtables); in createUnicodeMapper()
61 const CMAPEncodingSubtableHeader *esh = &cmap->encodingSubtableHeaders[i]; in createUnicodeMapper()
79 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset10); in createUnicodeMapper()
81 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1); in createUnicodeMapper()
88 return new CMAPFormat4Mapper(cmap, (const CMAPFormat4Encoding *) subtable); in createUnicodeMapper()
94 return new CMAPGroupMapper(cmap, encoding->groups, SWAPL(encoding->nGroups)); in createUnicodeMapper()
104 CMAPFormat4Mapper::CMAPFormat4Mapper(const CMAPTable *cmap, const CMAPFormat4Encoding *header) in CMAPFormat4Mapper() argument
105 : CMAPMapper(cmap) in CMAPFormat4Mapper()
164 CMAPGroupMapper::CMAPGroupMapper(const CMAPTable *cmap, const CMAPGroup *groups, le_uint32 nGroups) in CMAPGroupMapper() argument
[all …]
Dcmaps.h23 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/icu4c/samples/layout/
Dcmaps.cpp59 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 …]
Dcmaps.h27 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()
DGnomeFontInstance.cpp102 const CMAPTable *cmap = (const CMAPTable *) readFontTable(cmapTag); in initMapper() local
104 if (cmap == NULL) { in initMapper()
108 fMapper = CMAPMapper::createUnicodeMapper(cmap); in initMapper()
/external/freetype/src/cff/
Dcffcmap.c34 cff_cmap_encoding_init( CFF_CMapStd cmap ) in cff_cmap_encoding_init() argument
36 TT_Face face = (TT_Face)FT_CMAP_FACE( cmap ); in cff_cmap_encoding_init()
41 cmap->gids = encoding->codes; in cff_cmap_encoding_init()
48 cff_cmap_encoding_done( CFF_CMapStd cmap ) in cff_cmap_encoding_done() argument
50 cmap->gids = NULL; in cff_cmap_encoding_done()
55 cff_cmap_encoding_char_index( CFF_CMapStd cmap, in cff_cmap_encoding_char_index() argument
62 result = cmap->gids[char_code]; in cff_cmap_encoding_char_index()
69 cff_cmap_encoding_char_next( CFF_CMapStd cmap, in cff_cmap_encoding_char_next() argument
88 result = cmap->gids[code]; in cff_cmap_encoding_char_next()
Dcffdrivr.c406 FT_CMap cmap = FT_CMAP( charmap ); in cff_get_cmap_info() local
408 FT_Face face = FT_CMAP_FACE( cmap ); in cff_get_cmap_info()
415 if ( cmap->clazz != &FT_CFF_CMAP_ENCODING_CLASS_REC_GET && in cff_get_cmap_info()
416 cmap->clazz != &FT_CFF_CMAP_UNICODE_CLASS_REC_GET ) in cff_get_cmap_info()
Dcffcmap.h40 FT_CMapRec cmap; member
/external/qemu/android/
Dcharmap.c664 android_charmap_reverse_map_unicode(const AKeyCharmap* cmap, in android_charmap_reverse_map_unicode() argument
675 for (n = 0; n < cmap->num_entries; n++) { in android_charmap_reverse_map_unicode()
676 if (cmap->entries[n].base == unicode) { in android_charmap_reverse_map_unicode()
677 android_keycodes_add_key_event(keycodes, cmap->entries[n].code, down); in android_charmap_reverse_map_unicode()
683 for (n = 0; n < cmap->num_entries; n++) { in android_charmap_reverse_map_unicode()
684 if (cmap->entries[n].caps == unicode) { in android_charmap_reverse_map_unicode()
688 android_keycodes_add_key_event(keycodes, cmap->entries[n].code, down); in android_charmap_reverse_map_unicode()
697 for (n = 0; n < cmap->num_entries; n++) { in android_charmap_reverse_map_unicode()
698 if (cmap->entries[n].fn == unicode) { in android_charmap_reverse_map_unicode()
702 android_keycodes_add_key_event(keycodes, cmap->entries[n].code, down); in android_charmap_reverse_map_unicode()
[all …]
Dcharmap.h88 android_charmap_reverse_map_unicode(const AKeyCharmap* cmap,
/external/skia/src/pdf/
DSkPDFFont.cpp344 static void append_tounicode_header(SkDynamicMemoryWStream* cmap) { in append_tounicode_header() argument
351 cmap->writeText(kHeader); in append_tounicode_header()
363 cmap->writeText(kSysInfo); in append_tounicode_header()
377 cmap->writeText(kTypeInfo); in append_tounicode_header()
380 static void append_cmap_footer(SkDynamicMemoryWStream* cmap) { in append_cmap_footer() argument
386 cmap->writeText(kFooter); in append_cmap_footer()
401 SkDynamicMemoryWStream* cmap) { in append_bfchar_section() argument
406 cmap->writeDecAsText(count); in append_bfchar_section()
407 cmap->writeText(" beginbfchar\n"); in append_bfchar_section()
409 cmap->writeText("<"); in append_bfchar_section()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/fbcon/
DSDL_fbvideo.c1513 struct fb_cmap cmap; in FB_SavePaletteTo() local
1515 cmap.start = 0; in FB_SavePaletteTo()
1516 cmap.len = palette_len; in FB_SavePaletteTo()
1517 cmap.red = &area[0*palette_len]; in FB_SavePaletteTo()
1518 cmap.green = &area[1*palette_len]; in FB_SavePaletteTo()
1519 cmap.blue = &area[2*palette_len]; in FB_SavePaletteTo()
1520 cmap.transp = NULL; in FB_SavePaletteTo()
1521 ioctl(console_fd, FBIOGETCMAP, &cmap); in FB_SavePaletteTo()
1526 struct fb_cmap cmap; in FB_RestorePaletteFrom() local
1528 cmap.start = 0; in FB_RestorePaletteFrom()
[all …]
/external/freetype/src/cache/
Dftccmap.c413 FT_CharMap old, cmap = NULL; in FTC_CMapCache_Lookup() local
417 cmap = face->charmaps[cmap_index]; in FTC_CMapCache_Lookup()
419 if ( old != cmap && !no_cmap_change ) in FTC_CMapCache_Lookup()
420 FT_Set_Charmap( face, cmap ); in FTC_CMapCache_Lookup()
424 if ( old != cmap && !no_cmap_change ) in FTC_CMapCache_Lookup()
/external/freetype/include/freetype/internal/
Dftobjs.h150 (*FT_CMap_InitFunc)( FT_CMap cmap,
154 (*FT_CMap_DoneFunc)( FT_CMap cmap );
157 (*FT_CMap_CharIndexFunc)( FT_CMap cmap,
161 (*FT_CMap_CharNextFunc)( FT_CMap cmap,
165 (*FT_CMap_CharVarIndexFunc)( FT_CMap cmap,
171 (*FT_CMap_CharVarIsDefaultFunc)( FT_CMap cmap,
176 (*FT_CMap_VariantListFunc)( FT_CMap cmap,
180 (*FT_CMap_CharVariantListFunc)( FT_CMap cmap,
185 (*FT_CMap_VariantCharListFunc)( FT_CMap cmap,
258 FT_CMap_Done( FT_CMap cmap );
/external/kernel-headers/original/linux/
Dfb.h372 struct fb_cmap cmap; /* color map info */ member
509 struct fb_cmap_user cmap; /* color map info */ member
657 int (*fb_setcmap)(struct fb_cmap *cmap, struct fb_info *info);
854 struct fb_cmap cmap; /* Current cmap */ member
1138 extern int fb_alloc_cmap(struct fb_cmap *cmap, int len, int transp);
1139 extern int fb_alloc_cmap_gfp(struct fb_cmap *cmap, int len, int transp, gfp_t flags);
1140 extern void fb_dealloc_cmap(struct fb_cmap *cmap);
1143 extern int fb_set_cmap(struct fb_cmap *cmap, struct fb_info *fb_info);
1144 extern int fb_set_user_cmap(struct fb_cmap_user *cmap, struct fb_info *fb_info);
/external/freetype/src/base/
Dftobjs.c847 ft_cmap_done_internal( FT_CMap cmap );
862 FT_CMap cmap = FT_CMAP( face->charmaps[n] ); in destroy_charmaps() local
865 ft_cmap_done_internal( cmap ); in destroy_charmaps()
3175 ft_cmap_done_internal( FT_CMap cmap ) in ft_cmap_done_internal() argument
3177 FT_CMap_Class clazz = cmap->clazz; in ft_cmap_done_internal()
3178 FT_Face face = cmap->charmap.face; in ft_cmap_done_internal()
3183 clazz->done( cmap ); in ft_cmap_done_internal()
3185 FT_FREE( cmap ); in ft_cmap_done_internal()
3190 FT_CMap_Done( FT_CMap cmap ) in FT_CMap_Done() argument
3192 if ( cmap ) in FT_CMap_Done()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/XME/
Dxme.c98 CARD32 cmap; member
368 Bool XiGMiscFullScreen(Display *dpy, int screen, XID window, XID cmap) in XiGMiscFullScreen() argument
382 req->cmap = cmap; in XiGMiscFullScreen()
/external/mesa3d/docs/
DMESA_pixmap_colormap.spec53 Pixmap pixmap, Colormap cmap );
70 Pixmap pixmap, Colormap cmap );
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontCacheChromiumWin.cpp314 icu::UnicodeSet* cmap = new icu::UnicodeSet; in fontContainsCharacter() local
317 cmap->add(start, start + glyphset->ranges[i].cGlyphs - 1); in fontContainsCharacter()
320 cmap->freeze(); in fontContainsCharacter()
323 fontCmapCache->set(family, cmap); in fontContainsCharacter()
324 return cmap->contains(character); in fontContainsCharacter()

12