Home
last modified time | relevance | path

Searched refs:charmap (Results 1 – 25 of 49) sorted by relevance

12

/third_party/skia/third_party/externals/freetype/src/type1/
Dt1objs.c518 FT_CharMapRec charmap; in T1_Face_Init() local
523 charmap.face = root; in T1_Face_Init()
526 charmap.platform_id = TT_PLATFORM_MICROSOFT; in T1_Face_Init()
527 charmap.encoding_id = TT_MS_ID_UNICODE_CS; in T1_Face_Init()
528 charmap.encoding = FT_ENCODING_UNICODE; in T1_Face_Init()
530 error = FT_CMap_New( cmap_classes->unicode, NULL, &charmap, NULL ); in T1_Face_Init()
538 charmap.platform_id = TT_PLATFORM_ADOBE; in T1_Face_Init()
544 charmap.encoding = FT_ENCODING_ADOBE_STANDARD; in T1_Face_Init()
545 charmap.encoding_id = TT_ADOBE_ID_STANDARD; in T1_Face_Init()
550 charmap.encoding = FT_ENCODING_ADOBE_EXPERT; in T1_Face_Init()
[all …]
Dt1afm.c120 FT_CharMap charmap; in T1_Read_PFM() local
180 oldcharmap = t1_face->charmap; in T1_Read_PFM()
181 charmap = NULL; in T1_Read_PFM()
185 charmap = t1_face->charmaps[n]; in T1_Read_PFM()
187 if ( charmap->platform_id == 7 ) in T1_Read_PFM()
189 error = FT_Set_Charmap( t1_face, charmap ); in T1_Read_PFM()
/third_party/skia/third_party/externals/freetype/src/type42/
Dt42objs.c342 FT_CharMapRec charmap; in T42_Face_Init() local
347 charmap.face = root; in T42_Face_Init()
350 charmap.platform_id = TT_PLATFORM_MICROSOFT; in T42_Face_Init()
351 charmap.encoding_id = TT_MS_ID_UNICODE_CS; in T42_Face_Init()
352 charmap.encoding = FT_ENCODING_UNICODE; in T42_Face_Init()
354 error = FT_CMap_New( cmap_classes->unicode, NULL, &charmap, NULL ); in T42_Face_Init()
362 charmap.platform_id = TT_PLATFORM_ADOBE; in T42_Face_Init()
368 charmap.encoding = FT_ENCODING_ADOBE_STANDARD; in T42_Face_Init()
369 charmap.encoding_id = TT_ADOBE_ID_STANDARD; in T42_Face_Init()
374 charmap.encoding = FT_ENCODING_ADOBE_EXPERT; in T42_Face_Init()
[all …]
/third_party/ffmpeg/libavcodec/
Da64multienc.c261 static void a64_compress_colram(unsigned char *buf, int *charmap, uint8_t *colram) in a64_compress_colram() argument
268 temp = colram[charmap[a + 0x000]] << 0; in a64_compress_colram()
269 temp |= colram[charmap[a + 0x100]] << 1; in a64_compress_colram()
270 temp |= colram[charmap[a + 0x200]] << 2; in a64_compress_colram()
271 if (a < 0xe8) temp |= colram[charmap[a + 0x300]] << 3; in a64_compress_colram()
289 int *charmap = c->mc_charmap; in a64multi_encode_frame() local
343 best_cb, CHARSET_CHARS, 50, charmap, &c->randctx, 0); in a64multi_encode_frame()
360 buf[y * b_width + x] = charmap[y * b_width + x]; in a64multi_encode_frame()
369 a64_compress_colram(buf, charmap, colram); in a64multi_encode_frame()
376 charmap += 1000; in a64multi_encode_frame()
/third_party/skia/third_party/externals/freetype/src/bdf/
Dbdfdrivr.c675 FT_CharMapRec charmap; in BDF_Face_Init() local
678 charmap.face = FT_FACE( face ); in BDF_Face_Init()
679 charmap.encoding = FT_ENCODING_NONE; in BDF_Face_Init()
681 charmap.platform_id = TT_PLATFORM_APPLE_UNICODE; in BDF_Face_Init()
682 charmap.encoding_id = TT_APPLE_ID_DEFAULT; in BDF_Face_Init()
686 charmap.encoding = FT_ENCODING_UNICODE; in BDF_Face_Init()
687 charmap.platform_id = TT_PLATFORM_MICROSOFT; in BDF_Face_Init()
688 charmap.encoding_id = TT_MS_ID_UNICODE_CS; in BDF_Face_Init()
691 error = FT_CMap_New( &bdf_cmap_class, NULL, &charmap, NULL ); in BDF_Face_Init()
701 FT_CharMapRec charmap; in BDF_Face_Init() local
[all …]
/third_party/python/Lib/
Dsre_compile.py280 charmap = bytearray(256)
288 charmap[lo] = 1
291 charmap[k] = 1
295 charmap[av] = 1
301 charmap[i] = 1
304 charmap[k] = 1
307 charmap[i] = 1
312 charmap[i] = 1
318 if len(charmap) == 256:
320 charmap += b'\0' * 0xff00
[all …]
/third_party/skia/third_party/externals/freetype/src/base/
Dftobjs.c1154 if ( face->charmap ) in FT_Load_Char()
1341 face->charmap = cur[0]; in find_unicode_charmap()
1355 face->charmap = cur[0]; in find_unicode_charmap()
3622 face->charmap = cur[0]; in FT_Select_Charmap()
3635 FT_CharMap charmap ) in FT_Set_Charmap() argument
3645 if ( !cur || !charmap ) in FT_Set_Charmap()
3652 if ( cur[0] == charmap && in FT_Set_Charmap()
3653 FT_Get_CMap_Format ( charmap ) != 14 ) in FT_Set_Charmap()
3655 face->charmap = cur[0]; in FT_Set_Charmap()
3667 FT_Get_Charmap_Index( FT_CharMap charmap ) in FT_Get_Charmap_Index() argument
[all …]
/third_party/FreeBSD/contrib/tcp_wrappers/
Dstrcasecmp.c34 static u_char charmap[] = { variable
71 register u_char *cm = charmap, in strcasecmp()
83 register u_char *cm = charmap, in strncasecmp()
/third_party/skia/third_party/externals/freetype/src/pcf/
Dpcfdrivr.c380 FT_CharMapRec charmap; in PCF_Face_Init() local
383 charmap.face = FT_FACE( face ); in PCF_Face_Init()
384 charmap.encoding = FT_ENCODING_NONE; in PCF_Face_Init()
386 charmap.platform_id = TT_PLATFORM_APPLE_UNICODE; in PCF_Face_Init()
387 charmap.encoding_id = TT_APPLE_ID_DEFAULT; in PCF_Face_Init()
391 charmap.encoding = FT_ENCODING_UNICODE; in PCF_Face_Init()
392 charmap.platform_id = TT_PLATFORM_MICROSOFT; in PCF_Face_Init()
393 charmap.encoding_id = TT_MS_ID_UNICODE_CS; in PCF_Face_Init()
396 error = FT_CMap_New( &pcf_cmap_class, NULL, &charmap, NULL ); in PCF_Face_Init()
DREADME36 The driver always exports `ft_encoding_none' as face->charmap.encoding.
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dftobjs.h151 FT_CharMapRec charmap; member
160 #define FT_CMAP_PLATFORM_ID( x ) FT_CMAP( x )->charmap.platform_id
161 #define FT_CMAP_ENCODING_ID( x ) FT_CMAP( x )->charmap.encoding_id
162 #define FT_CMAP_ENCODING( x ) FT_CMAP( x )->charmap.encoding
163 #define FT_CMAP_FACE( x ) FT_CMAP( x )->charmap.face
264 FT_CharMap charmap,
/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrobjs.c262 FT_CharMapRec charmap; in pfr_face_init() local
265 charmap.face = pfrface; in pfr_face_init()
266 charmap.platform_id = TT_PLATFORM_MICROSOFT; in pfr_face_init()
267 charmap.encoding_id = TT_MS_ID_UNICODE_CS; in pfr_face_init()
268 charmap.encoding = FT_ENCODING_UNICODE; in pfr_face_init()
270 error = FT_CMap_New( &pfr_cmap_class_rec, NULL, &charmap, NULL ); in pfr_face_init()
/third_party/python/Lib/test/
Dtest_codeccallbacks.py198 charmap = dict((ord(c), bytes(2*c.upper(), 'ascii')) for c in "abcdefgh")
201 self.assertEqual(codecs.charmap_encode(sin, "strict", charmap)[0], sout)
204 self.assertRaises(UnicodeError, codecs.charmap_encode, sin, "strict", charmap)
206 charmap[ord("?")] = b"XYZ"
209 self.assertEqual(codecs.charmap_encode(sin, "replace", charmap)[0], sout)
211 charmap[ord("?")] = "XYZ" # wrong type in mapping
212 self.assertRaises(TypeError, codecs.charmap_encode, sin, "replace", charmap)
957 charmap = {
966 text.translate(charmap)
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafindic.c35 FT_CharMap oldmap = face->charmap; in af_indic_metrics_init()
41 face->charmap = NULL; in af_indic_metrics_init()
/third_party/skia/third_party/externals/freetype/src/winfonts/
Dwinfnt.c850 FT_CharMapRec charmap; in FNT_Face_Init() local
853 charmap.encoding = FT_ENCODING_NONE; in FNT_Face_Init()
855 charmap.platform_id = TT_PLATFORM_APPLE_UNICODE; in FNT_Face_Init()
856 charmap.encoding_id = TT_APPLE_ID_DEFAULT; in FNT_Face_Init()
857 charmap.face = root; in FNT_Face_Init()
861 charmap.encoding = FT_ENCODING_APPLE_ROMAN; in FNT_Face_Init()
862 charmap.platform_id = TT_PLATFORM_MACINTOSH; in FNT_Face_Init()
868 &charmap, in FNT_Face_Init()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcmap.c758 TT_Face face = (TT_Face)cmap->cmap.cmap.charmap.face; in tt_cmap4_set_range()
791 TT_Face face = (TT_Face)cmap->cmap.cmap.charmap.face; in tt_cmap4_next()
1100 TT_Face face = (TT_Face)cmap->cmap.charmap.face; in tt_cmap4_char_map_linear()
1235 TT_Face face = (TT_Face)cmap->cmap.charmap.face; in tt_cmap4_char_map_binary()
1939 FT_Face face = cmap->cmap.charmap.face; in tt_cmap8_char_next()
2336 FT_Face face = cmap->cmap.cmap.charmap.face; in tt_cmap12_next()
2454 FT_Face face = cmap->cmap.charmap.face; in tt_cmap12_char_map_binary()
2684 FT_Face face = cmap->cmap.cmap.charmap.face; in tt_cmap13_next()
2780 FT_Face face = cmap->cmap.charmap.face; in tt_cmap13_char_map_binary()
3806 FT_CharMapRec charmap; in tt_face_build_cmaps() local
[all …]
Dsfobjs.c1152 FT_CharMap charmap = root->charmaps[m]; in sfnt_load_face() local
1155 charmap->encoding = sfnt_find_encoding( charmap->platform_id, in sfnt_load_face()
1156 charmap->encoding_id ); in sfnt_load_face()
1160 if ( charmap->encoding == FT_ENCODING_UNICODE || in sfnt_load_face()
1161 charmap->encoding == FT_ENCODING_MS_SYMBOL ) /* PUA */ in sfnt_load_face()
Dttcmap.h117 tt_get_cmap_info( FT_CharMap charmap,
/third_party/skia/third_party/externals/freetype/include/freetype/
Dtttables.h825 FT_Get_CMap_Language_ID( FT_CharMap charmap );
845 FT_Get_CMap_Format( FT_CharMap charmap );
Dfreetype.h1102 FT_CharMap charmap; member
3787 FT_CharMap charmap );
3808 FT_Get_Charmap_Index( FT_CharMap charmap );
/third_party/skia/third_party/externals/freetype/include/freetype/internal/services/
Dsvttcmap.h66 (*TT_CMap_Info_GetFunc)( FT_CharMap charmap,
/third_party/python/Tools/unicode/
Dgenwincodecs.bat1 @rem Recreate some python charmap codecs from the Windows function
/third_party/libfuse/lib/modules/
Diconv.c642 char *charmap; in iconv_help() local
645 charmap = strdup(nl_langinfo(CODESET)); in iconv_help()
654 charmap); in iconv_help()
655 free(charmap); in iconv_help()
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffdrivr.c653 cff_get_cmap_info( FT_CharMap charmap, in cff_get_cmap_info() argument
656 FT_CMap cmap = FT_CMAP( charmap ); in cff_get_cmap_info()
674 error = service->get_cmap_info( charmap, cmap_info ); in cff_get_cmap_info()
/third_party/skia/third_party/externals/freetype/src/cache/
Dftccmap.c303 old = face->charmap; in FTC_CMapCache_Lookup()

12