Home
last modified time | relevance | path

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

12

/external/freetype/src/pfr/
Dpfrcmap.c48 if ( cmap->chars[n - 1].char_code >= cmap->chars[n].char_code ) in pfr_cmap_init()
71 FT_UInt32 char_code ) in pfr_cmap_char_index() argument
86 if ( gchar->char_code == char_code ) in pfr_cmap_char_index()
89 if ( gchar->char_code < char_code ) in pfr_cmap_char_index()
103 FT_UInt32 char_code = *pchar_code + 1; in pfr_cmap_char_next() local
119 if ( gchar->char_code == char_code ) in pfr_cmap_char_next()
128 char_code++; in pfr_cmap_char_next()
132 if ( gchar->char_code < char_code ) in pfr_cmap_char_next()
139 char_code = 0; in pfr_cmap_char_next()
148 char_code = gchar->char_code; in pfr_cmap_char_next()
[all …]
Dpfrtypes.h120 FT_UInt char_code; member
157 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.c496 code1 = phy_font->chars[glyph1].char_code; in pfr_face_get_kerning()
497 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()
/external/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 …]
/external/freetype/src/sfnt/
Dttcmap.c133 FT_UInt32 char_code ) in tt_cmap0_char_index() argument
138 return char_code < 256 ? table[6 + char_code] : 0; in tt_cmap0_char_index()
405 FT_UInt32 char_code ) in tt_cmap2_get_subheader() argument
410 if ( char_code < 0x10000UL ) in tt_cmap2_get_subheader()
412 FT_UInt char_lo = (FT_UInt)( char_code & 0xFF ); in tt_cmap2_get_subheader()
413 FT_UInt char_hi = (FT_UInt)( char_code >> 8 ); in tt_cmap2_get_subheader()
458 FT_UInt32 char_code ) in tt_cmap2_char_index() argument
465 subheader = tt_cmap2_get_subheader( table, char_code ); in tt_cmap2_char_index()
469 FT_UInt idx = (FT_UInt)(char_code & 0xFF); in tt_cmap2_char_index()
1484 FT_UInt32 char_code ) in tt_cmap4_char_index() argument
[all …]
/external/freetype/src/cache/
Dftccmap.c61 FT_UInt32 char_code; member
124 node->first = (query->char_code / FTC_CMAP_INDICES_MAX) * in ftc_cmap_node_new()
165 FT_UInt32 offset = (FT_UInt32)( query->char_code - node->first ); in ftc_cmap_node_compare()
234 FT_UInt32 char_code ) in FTC_CMapCache_Lookup() argument
264 query.char_code = char_code; in FTC_CMapCache_Lookup()
266 hash = FTC_CMAP_HASH( face_id, (FT_UInt)cmap_index, char_code ); in FTC_CMapCache_Lookup()
277 FT_ASSERT( (FT_UInt)( char_code - FTC_CMAP_NODE( node )->first ) < in FTC_CMapCache_Lookup()
281 if ( (FT_UInt)( char_code - FTC_CMAP_NODE( node )->first >= in FTC_CMapCache_Lookup()
285 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
311 gindex = FT_Get_Char_Index( face, char_code ); in FTC_CMapCache_Lookup()
[all …]
/external/freetype/src/cff/
Dcffcmap.c61 FT_UInt32 char_code ) in cff_cmap_encoding_char_index() argument
66 if ( char_code < 256 ) in cff_cmap_encoding_char_index()
67 result = cmap->gids[char_code]; in cff_cmap_encoding_char_index()
78 FT_UInt32 char_code = *pchar_code; in cff_cmap_encoding_char_next() local
83 if ( char_code < 255 ) in cff_cmap_encoding_char_next()
85 FT_UInt code = (FT_UInt)(char_code + 1); in cff_cmap_encoding_char_next()
187 FT_UInt32 char_code ) in cff_cmap_unicode_char_index() argument
194 return psnames->unicodes_char_index( unicodes, char_code ); in cff_cmap_unicode_char_index()
/external/freetype/src/psnames/
Dpsmodule.c465 FT_UInt32 char_code = *unicode + 1; in ps_unicodes_char_next() local
481 if ( map->unicode == char_code ) in ps_unicodes_char_next()
489 if ( base_glyph == char_code ) in ps_unicodes_char_next()
492 if ( base_glyph < char_code ) in ps_unicodes_char_next()
502 char_code = 0; in ps_unicodes_char_next()
508 char_code = BASE_GLYPH( map->unicode ); in ps_unicodes_char_next()
513 *unicode = char_code; in ps_unicodes_char_next()
/external/v8/src/
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.h142 SubjectChar char_code) { in CharOccurrence() argument
144 return bad_char_occurrence[static_cast<int>(char_code)]; in CharOccurrence()
147 if (exceedsOneByte(char_code)) { in CharOccurrence()
150 return bad_char_occurrence[static_cast<unsigned int>(char_code)]; in CharOccurrence()
153 int equiv_class = char_code % kUC16AlphabetSize; in CharOccurrence()
Dcode-stub-assembler.cc6191 TNode<Int32T> char_code = StringCharCodeAt(string, from); in SubString() local
6192 var_result = StringFromSingleCharCode(char_code); in SubString()
/external/freetype/src/winfonts/
Dwinfnt.c631 FT_UInt32 char_code ) in fnt_cmap_char_index() argument
636 char_code -= cmap->first; in fnt_cmap_char_index()
637 if ( char_code < cmap->count ) in fnt_cmap_char_index()
640 gindex = (FT_UInt)( char_code + 1 ); in fnt_cmap_char_index()
651 FT_UInt32 char_code = *pchar_code + 1; in fnt_cmap_char_next() local
654 if ( char_code <= cmap->first ) in fnt_cmap_char_next()
661 char_code -= cmap->first; in fnt_cmap_char_next()
662 if ( char_code < cmap->count ) in fnt_cmap_char_next()
664 result = cmap->first + char_code; in fnt_cmap_char_next()
665 gindex = (FT_UInt)( char_code + 1 ); in fnt_cmap_char_next()
/external/freetype/include/freetype/internal/
Dftobjs.h177 FT_UInt32 char_code );
186 FT_UInt32 char_code,
191 FT_UInt32 char_code,
201 FT_UInt32 char_code );
/external/pdfium/xfa/fgas/layout/
Dcfx_rtfbreak.cpp125 if (!m_pFont->GetCharWidth(pCurChar->char_code(), iCharWidth)) in AppendChar_Combination()
158 switch (pCurChar->char_code()) { in AppendChar_Control()
170 if (pCurChar->char_code() == m_wParagraphBreakChar) in AppendChar_Control()
195 !m_pFont->GetCharWidth(pLastChar->char_code(), iCharWidth)) { in AppendChar_Arabic()
210 !m_pFont->GetCharWidth(pCurChar->char_code(), iCharWidth)) { in AppendChar_Arabic()
227 wchar_t wForm = pCurChar->char_code(); in AppendChar_Others()
Dcfx_breakpiece.cpp41 ret += static_cast<wchar_t>((*m_pChars)[i].char_code()); in GetString()
Dcfx_txtbreak.cpp51 wchar_t wch = pCurChar->char_code(); in AppendChar_Combination()
64 wchar_t wLast = pLastChar->char_code(); in AppendChar_Combination()
70 if (pLastChar->char_code() == 0x0651) { in AppendChar_Combination()
98 wchar_t wch = pCurChar->char_code(); in AppendChar_Control()
180 wchar_t wch = pCurChar->char_code(); in AppendChar_Others()
/external/v8/src/builtins/
Dbuiltins-string-gen.cc1856 TNode<Int32T> char_code = in StringToArray() local
1859 Node* code_index = ChangeUint32ToWord(char_code); in StringToArray()
2324 Node* const char_code, Label* const if_not_whitespace) { in GotoIfNotWhiteSpaceOrLineTerminator() argument
2328 GotoIf(Word32Equal(char_code, Int32Constant(0x0020)), &out); in GotoIfNotWhiteSpaceOrLineTerminator()
2331 GotoIf(Uint32LessThan(char_code, Int32Constant(0x0009)), if_not_whitespace); in GotoIfNotWhiteSpaceOrLineTerminator()
2336 GotoIf(Uint32LessThanOrEqual(char_code, Int32Constant(0x000D)), &out); in GotoIfNotWhiteSpaceOrLineTerminator()
2339 GotoIf(Uint32LessThan(char_code, Int32Constant(0x00A0)), if_not_whitespace); in GotoIfNotWhiteSpaceOrLineTerminator()
2342 GotoIf(Word32Equal(char_code, Int32Constant(0x00A0)), &out); in GotoIfNotWhiteSpaceOrLineTerminator()
2345 GotoIf(Word32Equal(char_code, Int32Constant(0x1680)), &out); in GotoIfNotWhiteSpaceOrLineTerminator()
2348 GotoIf(Uint32LessThan(char_code, Int32Constant(0x2000)), if_not_whitespace); in GotoIfNotWhiteSpaceOrLineTerminator()
[all …]
Dbuiltins-string-gen.h132 void GotoIfNotWhiteSpaceOrLineTerminator(Node* const char_code,
/external/pdfium/core/fxcrt/
Dcfx_char.h28 uint16_t char_code() const { return m_wCharCode; } in char_code() function
Dfx_arabic.cpp156 *wChar = static_cast<wchar_t>(pTC->char_code()); in ParseChar()
/external/freetype/include/freetype/
Dftcache.h640 FT_UInt32 char_code );
Dfreetype.h2964 FT_ULong char_code,
3957 FT_ULong char_code,
/external/freetype/src/base/
Dftobjs.c1051 FT_ULong char_code, in FT_Load_Char() argument
1060 glyph_index = (FT_UInt)char_code; in FT_Load_Char()
1062 glyph_index = FT_Get_Char_Index( face, char_code ); in FT_Load_Char()

12