Home
last modified time | relevance | path

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

123

/external/freetype/src/type1/
Dt1objs.c515 FT_CharMapRec charmap; in T1_Face_Init() local
520 charmap.face = root; in T1_Face_Init()
523 charmap.platform_id = TT_PLATFORM_MICROSOFT; in T1_Face_Init()
524 charmap.encoding_id = TT_MS_ID_UNICODE_CS; in T1_Face_Init()
525 charmap.encoding = FT_ENCODING_UNICODE; in T1_Face_Init()
527 error = FT_CMap_New( cmap_classes->unicode, NULL, &charmap, NULL ); in T1_Face_Init()
534 charmap.platform_id = TT_PLATFORM_ADOBE; in T1_Face_Init()
540 charmap.encoding = FT_ENCODING_ADOBE_STANDARD; in T1_Face_Init()
541 charmap.encoding_id = TT_ADOBE_ID_STANDARD; in T1_Face_Init()
546 charmap.encoding = FT_ENCODING_ADOBE_EXPERT; in T1_Face_Init()
[all …]
Dt1afm.c121 FT_CharMap charmap; in T1_Read_PFM() local
181 oldcharmap = t1_face->charmap; in T1_Read_PFM()
182 charmap = NULL; in T1_Read_PFM()
186 charmap = t1_face->charmaps[n]; in T1_Read_PFM()
188 if ( charmap->platform_id == 7 ) in T1_Read_PFM()
190 error = FT_Set_Charmap( t1_face, charmap ); in T1_Read_PFM()
/external/python/cpython2/Lib/
Dsre_compile.py260 charmap = bytearray(256)
267 charmap[i] = 1
270 charmap[k] = 1
272 charmap[av] = 1
279 charmap[i] = 1
282 charmap[k] = 1
285 charmap[i] = 1
291 if len(charmap) == 256:
293 charmap += b'\0' * 0xff00
316 p = charmap.find(b'\1', q)
[all …]
/external/freetype/src/type42/
Dt42objs.c343 FT_CharMapRec charmap; in T42_Face_Init() local
348 charmap.face = root; in T42_Face_Init()
351 charmap.platform_id = TT_PLATFORM_MICROSOFT; in T42_Face_Init()
352 charmap.encoding_id = TT_MS_ID_UNICODE_CS; in T42_Face_Init()
353 charmap.encoding = FT_ENCODING_UNICODE; in T42_Face_Init()
355 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 …]
/external/freetype/src/bdf/
Dbdfdrivr.c665 FT_CharMapRec charmap; in BDF_Face_Init() local
668 charmap.face = FT_FACE( face ); in BDF_Face_Init()
669 charmap.encoding = FT_ENCODING_NONE; in BDF_Face_Init()
671 charmap.platform_id = TT_PLATFORM_APPLE_UNICODE; in BDF_Face_Init()
672 charmap.encoding_id = TT_APPLE_ID_DEFAULT; in BDF_Face_Init()
676 charmap.encoding = FT_ENCODING_UNICODE; in BDF_Face_Init()
677 charmap.platform_id = TT_PLATFORM_MICROSOFT; in BDF_Face_Init()
678 charmap.encoding_id = TT_MS_ID_UNICODE_CS; in BDF_Face_Init()
681 error = FT_CMap_New( &bdf_cmap_class, NULL, &charmap, NULL ); in BDF_Face_Init()
691 FT_CharMapRec charmap; in BDF_Face_Init() local
[all …]
Dbdfdrivr.h60 FT_CharMapRec charmap; /* a single charmap per face */ member
/external/python/cpython3/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 …]
/external/pdfium/core/fxge/
Dfx_freetype.h84 #define FXFT_Set_Charmap(face, charmap) \ argument
85 FT_Set_Charmap(static_cast<FT_Face>(face), static_cast<FT_CharMap>(charmap))
133 #define FXFT_Get_Charmap_Encoding(charmap) \ argument
134 static_cast<FT_CharMap>(charmap)->encoding
135 #define FXFT_Get_Face_Charmap(face) static_cast<FT_Face>(face)->charmap
136 #define FXFT_Get_Charmap_PlatformID(charmap) \ argument
137 static_cast<FT_CharMap>(charmap)->platform_id
138 #define FXFT_Get_Charmap_EncodingID(charmap) \ argument
139 static_cast<FT_CharMap>(charmap)->encoding_id
/external/tcpdump/
Dascii_strcasecmp.c23 static const unsigned char charmap[] = { variable
61 register const unsigned char *cm = charmap, in ascii_strcasecmp()
74 register const unsigned char *cm = charmap, in ascii_strncasecmp()
/external/freetype/src/base/
Dftobjs.c1061 if ( face->charmap ) in FT_Load_Char()
1248 face->charmap = cur[0]; in find_unicode_charmap()
1262 face->charmap = cur[0]; in find_unicode_charmap()
3501 face->charmap = cur[0]; in FT_Select_Charmap()
3514 FT_CharMap charmap ) in FT_Set_Charmap() argument
3524 if ( !cur || !charmap ) in FT_Set_Charmap()
3531 if ( cur[0] == charmap && in FT_Set_Charmap()
3532 FT_Get_CMap_Format ( charmap ) != 14 ) in FT_Set_Charmap()
3534 face->charmap = cur[0]; in FT_Set_Charmap()
3546 FT_Get_Charmap_Index( FT_CharMap charmap ) in FT_Get_Charmap_Index() argument
[all …]
/external/freetype/src/pcf/
Dpcfdrivr.c404 FT_CharMapRec charmap; in PCF_Face_Init() local
407 charmap.face = FT_FACE( face ); in PCF_Face_Init()
408 charmap.encoding = FT_ENCODING_NONE; in PCF_Face_Init()
410 charmap.platform_id = TT_PLATFORM_APPLE_UNICODE; in PCF_Face_Init()
411 charmap.encoding_id = TT_APPLE_ID_DEFAULT; in PCF_Face_Init()
415 charmap.encoding = FT_ENCODING_UNICODE; in PCF_Face_Init()
416 charmap.platform_id = TT_PLATFORM_MICROSOFT; in PCF_Face_Init()
417 charmap.encoding_id = TT_MS_ID_UNICODE_CS; in PCF_Face_Init()
420 error = FT_CMap_New( &pcf_cmap_class, NULL, &charmap, NULL ); in PCF_Face_Init()
/external/python/cpython2/Lib/test/
Dtest_codeccallbacks.py205 charmap = dict([ (ord(c), 2*c.upper()) for c in "abcdefgh"])
208 self.assertEqual(codecs.charmap_encode(sin, "strict", charmap)[0], sout)
211 self.assertRaises(UnicodeError, codecs.charmap_encode, sin, "strict", charmap)
213 charmap[ord("?")] = "XYZ"
216 self.assertEqual(codecs.charmap_encode(sin, "replace", charmap)[0], sout)
218 charmap[ord("?")] = u"XYZ"
219 self.assertRaises(TypeError, codecs.charmap_encode, sin, "replace", charmap)
221 charmap[ord("?")] = u"XYZ"
222 self.assertRaises(TypeError, codecs.charmap_encode, sin, "replace", charmap)
828 charmap = {
[all …]
/external/freetype/include/freetype/internal/
Dftobjs.h152 FT_CharMapRec charmap; member
161 #define FT_CMAP_PLATFORM_ID( x ) FT_CMAP( x )->charmap.platform_id
162 #define FT_CMAP_ENCODING_ID( x ) FT_CMAP( x )->charmap.encoding_id
163 #define FT_CMAP_ENCODING( x ) FT_CMAP( x )->charmap.encoding
164 #define FT_CMAP_FACE( x ) FT_CMAP( x )->charmap.face
265 FT_CharMap charmap,
/external/freetype/src/pfr/
Dpfrobjs.c258 FT_CharMapRec charmap; in pfr_face_init() local
261 charmap.face = pfrface; in pfr_face_init()
262 charmap.platform_id = TT_PLATFORM_MICROSOFT; in pfr_face_init()
263 charmap.encoding_id = TT_MS_ID_UNICODE_CS; in pfr_face_init()
264 charmap.encoding = FT_ENCODING_UNICODE; in pfr_face_init()
266 error = FT_CMap_New( &pfr_cmap_class_rec, NULL, &charmap, NULL ); in pfr_face_init()
/external/freetype/src/autofit/
Dafindic.c40 FT_CharMap oldmap = face->charmap; in af_indic_metrics_init()
46 face->charmap = NULL; in af_indic_metrics_init()
/external/python/cpython3/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)
996 charmap = {
1005 text.translate(charmap)
/external/freetype/src/winfonts/
Dwinfnt.c840 FT_CharMapRec charmap; in FNT_Face_Init() local
843 charmap.encoding = FT_ENCODING_NONE; in FNT_Face_Init()
845 charmap.platform_id = TT_PLATFORM_APPLE_UNICODE; in FNT_Face_Init()
846 charmap.encoding_id = TT_APPLE_ID_DEFAULT; in FNT_Face_Init()
847 charmap.face = root; in FNT_Face_Init()
851 charmap.encoding = FT_ENCODING_APPLE_ROMAN; in FNT_Face_Init()
852 charmap.platform_id = TT_PLATFORM_MACINTOSH; in FNT_Face_Init()
858 &charmap, in FNT_Face_Init()
/external/freetype/src/sfnt/
Dttcmap.c759 TT_Face face = (TT_Face)cmap->cmap.cmap.charmap.face; in tt_cmap4_set_range()
792 TT_Face face = (TT_Face)cmap->cmap.cmap.charmap.face; in tt_cmap4_next()
1091 TT_Face face = (TT_Face)cmap->cmap.charmap.face; in tt_cmap4_char_map_linear()
1226 TT_Face face = (TT_Face)cmap->cmap.charmap.face; in tt_cmap4_char_map_binary()
1930 FT_Face face = cmap->cmap.charmap.face; in tt_cmap8_char_next()
2327 FT_Face face = cmap->cmap.cmap.charmap.face; in tt_cmap12_next()
2448 FT_Face face = cmap->cmap.charmap.face; in tt_cmap12_char_map_binary()
2678 FT_Face face = cmap->cmap.cmap.charmap.face; in tt_cmap13_next()
2774 FT_Face face = cmap->cmap.charmap.face; in tt_cmap13_char_map_binary()
3792 FT_CharMapRec charmap; in tt_face_build_cmaps() local
[all …]
Dttcmap.h113 tt_get_cmap_info( FT_CharMap charmap,
Dsfobjs.c1506 FT_CharMap charmap = root->charmaps[m]; in sfnt_load_face() local
1509 charmap->encoding = sfnt_find_encoding( charmap->platform_id, in sfnt_load_face()
1510 charmap->encoding_id ); in sfnt_load_face()
1514 if ( charmap->encoding == FT_ENCODING_UNICODE || in sfnt_load_face()
1515 charmap->encoding == FT_ENCODING_MS_SYMBOL ) /* PUA */ in sfnt_load_face()
/external/freetype/include/freetype/
Dtttables.h873 FT_Get_CMap_Language_ID( FT_CharMap charmap );
893 FT_Get_CMap_Format( FT_CharMap charmap );
Dfreetype.h1134 FT_CharMap charmap; member
3805 FT_CharMap charmap );
3826 FT_Get_Charmap_Index( FT_CharMap charmap );
/external/freetype/include/freetype/internal/services/
Dsvttcmap.h67 (*TT_CMap_Info_GetFunc)( FT_CharMap charmap,
/external/python/cpython2/Tools/unicode/
Dgenwincodecs.bat1 @rem Recreate some python charmap codecs from the Windows function
/external/python/cpython3/Tools/unicode/
Dgenwincodecs.bat1 @rem Recreate some python charmap codecs from the Windows function

123