Home
last modified time | relevance | path

Searched refs:char_code (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/freetype/src/pfr/
Dpfrcmap.c47 if ( cmap->chars[n - 1].char_code >= cmap->chars[n].char_code ) in pfr_cmap_init()
70 FT_UInt32 char_code ) in pfr_cmap_char_index() argument
85 if ( gchar->char_code == char_code ) in pfr_cmap_char_index()
88 if ( gchar->char_code < char_code ) in pfr_cmap_char_index()
102 FT_UInt32 char_code = *pchar_code + 1; in pfr_cmap_char_next() local
118 if ( gchar->char_code == char_code ) in pfr_cmap_char_next()
127 char_code++; in pfr_cmap_char_next()
131 if ( gchar->char_code < char_code ) in pfr_cmap_char_next()
138 char_code = 0; in pfr_cmap_char_next()
147 char_code = gchar->char_code; in pfr_cmap_char_next()
[all …]
Dpfrtypes.h119 FT_UInt char_code; member
156 FT_UInt char_code; member
Dpfrsbit.c281 FT_UInt char_code, in pfr_lookup_bitmap_data() argument
367 if ( char_code < code ) in pfr_lookup_bitmap_data()
369 else if ( char_code > code ) in pfr_lookup_bitmap_data()
640 character->char_code, in pfr_slot_load_bitmap()
Dpfrobjs.c500 code1 = phy_font->chars[glyph1].char_code; in pfr_face_get_kerning()
501 code2 = phy_font->chars[glyph2].char_code; in pfr_face_get_kerning()
Dpfrload.c1004 cur->char_code = ( flags & PFR_PHY_2BYTE_CHARCODE ) in pfr_phy_font_load()
/third_party/skia/third_party/externals/freetype/src/psaux/
Dt1cmap.c64 FT_UInt32 char_code ) in t1_cmap_std_char_index() argument
69 if ( char_code < 256 ) in t1_cmap_std_char_index()
76 code = cmap->code_to_sid[char_code]; in t1_cmap_std_char_index()
103 FT_UInt32 char_code = *pchar_code + 1; in t1_cmap_std_char_next() local
106 while ( char_code < 256 ) in t1_cmap_std_char_next()
108 result = t1_cmap_std_char_index( cmap, char_code ); in t1_cmap_std_char_next()
112 char_code++; in t1_cmap_std_char_next()
114 char_code = 0; in t1_cmap_std_char_next()
117 *pchar_code = char_code; in t1_cmap_std_char_next()
222 FT_UInt32 char_code ) in t1_cmap_custom_char_index() argument
[all …]
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttcmap.c132 FT_UInt32 char_code ) in tt_cmap0_char_index() argument
137 return char_code < 256 ? table[6 + char_code] : 0; in tt_cmap0_char_index()
404 FT_UInt32 char_code ) in tt_cmap2_get_subheader() argument
409 if ( char_code < 0x10000UL ) in tt_cmap2_get_subheader()
411 FT_UInt char_lo = (FT_UInt)( char_code & 0xFF ); in tt_cmap2_get_subheader()
412 FT_UInt char_hi = (FT_UInt)( char_code >> 8 ); in tt_cmap2_get_subheader()
457 FT_UInt32 char_code ) in tt_cmap2_char_index() argument
464 subheader = tt_cmap2_get_subheader( table, char_code ); in tt_cmap2_char_index()
468 FT_UInt idx = (FT_UInt)(char_code & 0xFF); in tt_cmap2_char_index()
1493 FT_UInt32 char_code ) in tt_cmap4_char_index() argument
[all …]
/third_party/ffmpeg/libavcodec/
Dmlz.c50 static void set_new_entry_dict(MLZDict* dict, int string_code, int parent_code, int char_code) { in set_new_entry_dict() argument
53 dict[string_code].char_code = char_code; in set_new_entry_dict()
83 tmp_code = dict[current_code].char_code; in decode_string()
126 int string_code, last_string_code, char_code; in ff_mlz_decompression() local
129 char_code = -1; in ff_mlz_decompression()
139 char_code = -1; in ff_mlz_decompression()
156 …int ret = decode_string(mlz, &buff[output_chars], last_string_code, &char_code, size - output_char… in ff_mlz_decompression()
162 … ret = decode_string(mlz, &buff[output_chars], char_code, &char_code, size - output_chars); in ff_mlz_decompression()
168 set_new_entry_dict(dict, mlz->next_code, last_string_code, char_code); in ff_mlz_decompression()
175 … int ret = decode_string(mlz, &buff[output_chars], string_code, &char_code, size - output_chars); in ff_mlz_decompression()
[all …]
Dmlz.h41 int char_code; member
/third_party/skia/third_party/externals/freetype/src/cache/
Dftccmap.c60 FT_UInt32 char_code; member
123 node->first = (query->char_code / FTC_CMAP_INDICES_MAX) * in ftc_cmap_node_new()
164 FT_UInt32 offset = (FT_UInt32)( query->char_code - node->first ); in ftc_cmap_node_compare()
233 FT_UInt32 char_code ) in FTC_CMapCache_Lookup() argument
263 query.char_code = char_code; in FTC_CMapCache_Lookup()
265 hash = FTC_CMAP_HASH( face_id, (FT_UInt)cmap_index, char_code ); in FTC_CMapCache_Lookup()
276 FT_ASSERT( char_code - FTC_CMAP_NODE( node )->first < in FTC_CMapCache_Lookup()
280 if ( char_code - FTC_CMAP_NODE( node )->first >= FTC_CMAP_INDICES_MAX ) in FTC_CMapCache_Lookup()
283 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
309 gindex = FT_Get_Char_Index( face, char_code ); in FTC_CMapCache_Lookup()
[all …]
/third_party/skia/third_party/externals/freetype/src/cff/
Dcffcmap.c60 FT_UInt32 char_code ) in cff_cmap_encoding_char_index() argument
65 if ( char_code < 256 ) in cff_cmap_encoding_char_index()
66 result = cmap->gids[char_code]; in cff_cmap_encoding_char_index()
77 FT_UInt32 char_code = *pchar_code; in cff_cmap_encoding_char_next() local
82 if ( char_code < 255 ) in cff_cmap_encoding_char_next()
84 FT_UInt code = (FT_UInt)(char_code + 1); in cff_cmap_encoding_char_next()
189 FT_UInt32 char_code ) in cff_cmap_unicode_char_index() argument
196 return psnames->unicodes_char_index( unicodes, char_code ); in cff_cmap_unicode_char_index()
/third_party/skia/third_party/externals/freetype/src/psnames/
Dpsmodule.c462 FT_UInt32 char_code = *unicode + 1; in ps_unicodes_char_next() local
478 if ( map->unicode == char_code ) in ps_unicodes_char_next()
486 if ( base_glyph == char_code ) in ps_unicodes_char_next()
489 if ( base_glyph < char_code ) in ps_unicodes_char_next()
499 char_code = 0; in ps_unicodes_char_next()
505 char_code = BASE_GLYPH( map->unicode ); in ps_unicodes_char_next()
510 *unicode = char_code; in ps_unicodes_char_next()
/third_party/node/deps/v8/src/strings/
Dunicode.h125 static inline uint16_t LeadSurrogate(uint32_t char_code) { in LeadSurrogate() argument
126 return 0xd800 + (((char_code - 0x10000) >> 10) & 0x3ff); in LeadSurrogate()
128 static inline uint16_t TrailSurrogate(uint32_t char_code) { in TrailSurrogate() argument
129 return 0xdc00 + (char_code & 0x3ff); in TrailSurrogate()
Dstring-search.h135 SubjectChar char_code) { in CharOccurrence() argument
137 return bad_char_occurrence[static_cast<int>(char_code)]; in CharOccurrence()
140 if (exceedsOneByte(char_code)) { in CharOccurrence()
143 return bad_char_occurrence[static_cast<unsigned int>(char_code)]; in CharOccurrence()
147 int equiv_class = char_code % kUC16AlphabetSize; in CharOccurrence()
/third_party/skia/third_party/externals/freetype/src/winfonts/
Dwinfnt.c641 FT_UInt32 char_code ) in fnt_cmap_char_index() argument
646 char_code -= cmap->first; in fnt_cmap_char_index()
647 if ( char_code < cmap->count ) in fnt_cmap_char_index()
650 gindex = (FT_UInt)( char_code + 1 ); in fnt_cmap_char_index()
661 FT_UInt32 char_code = *pchar_code + 1; in fnt_cmap_char_next() local
664 if ( char_code <= cmap->first ) in fnt_cmap_char_next()
671 char_code -= cmap->first; in fnt_cmap_char_next()
672 if ( char_code < cmap->count ) in fnt_cmap_char_next()
674 result = cmap->first + char_code; in fnt_cmap_char_next()
675 gindex = (FT_UInt)( char_code + 1 ); in fnt_cmap_char_next()
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dftobjs.h176 FT_UInt32 char_code );
185 FT_UInt32 char_code,
190 FT_UInt32 char_code,
200 FT_UInt32 char_code );
/third_party/node/src/
Dstring_search.h155 Char char_code) { in CharOccurrence() argument
157 return bad_char_occurrence[static_cast<int>(char_code)]; in CharOccurrence()
160 int equiv_class = char_code % kUC16AlphabetSize; in CharOccurrence()
/third_party/skia/third_party/externals/freetype/include/freetype/
Dftcache.h636 FT_UInt32 char_code );
Dfreetype.h2887 FT_ULong char_code,
3936 FT_ULong char_code,
/third_party/node/deps/v8/src/builtins/
Dbuiltins-string-gen.cc1289 TNode<Int32T> char_code = in StringToArray() local
1292 TNode<UintPtrT> code_index = ChangeUint32ToWord(char_code); in StringToArray()
1739 TNode<Int32T> char_code = StringCharCodeAt(string, Unsigned(from)); in SubString() local
1740 var_result = StringFromSingleCharCode(char_code); in SubString()
/third_party/skia/third_party/externals/freetype/src/base/
Dftobjs.c1144 FT_ULong char_code, in FT_Load_Char() argument
1153 glyph_index = (FT_UInt)char_code; in FT_Load_Char()
1155 glyph_index = FT_Get_Char_Index( face, char_code ); in FT_Load_Char()
/third_party/skia/third_party/externals/freetype/docs/
DCHANGES5134 - Add a function like FT_Load_Character(face, char_code, load_flags)
/third_party/chromium/patch/
D0001-cve.patch8860 if ( char_code < 255 )
8862 - FT_UInt code = (FT_UInt)(char_code + 1);
8863 + FT_UInt code = (FT_UInt)( char_code + 1 );
22930 - FT_UInt idx = (FT_UInt)(char_code & 0xFF);
22931 + FT_UInt idx = (FT_UInt)( char_code & 0xFF );