Home
last modified time | relevance | path

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

12

/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()
214 FT_UInt32 char_code ) in t1_cmap_custom_char_index() argument
[all …]
/external/pdfium/third_party/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()
214 FT_UInt32 char_code ) in t1_cmap_custom_char_index() argument
[all …]
/external/pdfium/third_party/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()
402 FT_UInt32 char_code ) in tt_cmap2_get_subheader() argument
407 if ( char_code < 0x10000UL ) in tt_cmap2_get_subheader()
409 FT_UInt char_lo = (FT_UInt)( char_code & 0xFF ); in tt_cmap2_get_subheader()
410 FT_UInt char_hi = (FT_UInt)( char_code >> 8 ); in tt_cmap2_get_subheader()
454 FT_UInt32 char_code ) in tt_cmap2_char_index() argument
461 subheader = tt_cmap2_get_subheader( table, char_code ); in tt_cmap2_char_index()
465 FT_UInt idx = (FT_UInt)(char_code & 0xFF); in tt_cmap2_char_index()
1405 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
267 query.char_code = char_code; in FTC_CMapCache_Lookup()
269 hash = FTC_CMAP_HASH( face_id, (FT_UInt)cmap_index, char_code ); in FTC_CMapCache_Lookup()
280 FT_ASSERT( (FT_UInt)( char_code - FTC_CMAP_NODE( node )->first ) < in FTC_CMapCache_Lookup()
284 if ( (FT_UInt)( char_code - FTC_CMAP_NODE( node )->first >= in FTC_CMapCache_Lookup()
288 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
314 gindex = FT_Get_Char_Index( face, char_code ); in FTC_CMapCache_Lookup()
[all …]
/external/freetype/src/sfnt/
Dttcmap.c125 FT_UInt32 char_code ) in tt_cmap0_char_index() argument
130 return char_code < 256 ? table[6 + char_code] : 0; in tt_cmap0_char_index()
395 FT_UInt32 char_code ) in tt_cmap2_get_subheader() argument
400 if ( char_code < 0x10000UL ) in tt_cmap2_get_subheader()
402 FT_UInt char_lo = (FT_UInt)( char_code & 0xFF ); in tt_cmap2_get_subheader()
403 FT_UInt char_hi = (FT_UInt)( char_code >> 8 ); in tt_cmap2_get_subheader()
446 FT_UInt32 char_code ) in tt_cmap2_char_index() argument
453 subheader = tt_cmap2_get_subheader( table, char_code ); in tt_cmap2_char_index()
457 FT_UInt idx = (FT_UInt)(char_code & 0xFF); in tt_cmap2_char_index()
1351 FT_UInt32 char_code ) in tt_cmap4_char_index() argument
[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()
181 FT_UInt32 char_code ) in cff_cmap_unicode_char_index() argument
188 return psnames->unicodes_char_index( unicodes, char_code ); in cff_cmap_unicode_char_index()
/external/pdfium/third_party/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()
181 FT_UInt32 char_code ) in cff_cmap_unicode_char_index() argument
188 return psnames->unicodes_char_index( unicodes, char_code ); in cff_cmap_unicode_char_index()
/external/pdfium/third_party/freetype/src/psnames/
Dpsmodule.c448 FT_UInt32 char_code = *unicode + 1; in ps_unicodes_char_next() local
464 if ( map->unicode == char_code ) in ps_unicodes_char_next()
472 if ( base_glyph == char_code ) in ps_unicodes_char_next()
475 if ( base_glyph < char_code ) in ps_unicodes_char_next()
485 char_code = 0; in ps_unicodes_char_next()
491 char_code = BASE_GLYPH( map->unicode ); in ps_unicodes_char_next()
496 *unicode = char_code; in ps_unicodes_char_next()
/external/freetype/src/psnames/
Dpsmodule.c448 FT_UInt32 char_code = *unicode + 1; in ps_unicodes_char_next() local
464 if ( map->unicode == char_code ) in ps_unicodes_char_next()
472 if ( base_glyph == char_code ) in ps_unicodes_char_next()
475 if ( base_glyph < char_code ) in ps_unicodes_char_next()
485 char_code = 0; in ps_unicodes_char_next()
491 char_code = BASE_GLYPH( map->unicode ); in ps_unicodes_char_next()
496 *unicode = char_code; in ps_unicodes_char_next()
/external/v8/src/
Dunicode.h122 static inline uint16_t LeadSurrogate(uint32_t char_code) { in LeadSurrogate() argument
123 return 0xd800 + (((char_code - 0x10000) >> 10) & 0x3ff); in LeadSurrogate()
125 static inline uint16_t TrailSurrogate(uint32_t char_code) { in TrailSurrogate() argument
126 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()
/external/freetype/include/internal/
Dftobjs.h161 FT_UInt32 char_code );
170 FT_UInt32 char_code,
175 FT_UInt32 char_code,
185 FT_UInt32 char_code );
/external/pdfium/third_party/freetype/include/freetype/internal/
Dftobjs.h161 FT_UInt32 char_code );
170 FT_UInt32 char_code,
175 FT_UInt32 char_code,
185 FT_UInt32 char_code );
/external/freetype/include/
Dftcache.h623 FT_UInt32 char_code );
Dfreetype.h2514 FT_ULong char_code,
3302 FT_ULong char_code,
/external/pdfium/third_party/freetype/include/freetype/
Dftcache.h623 FT_UInt32 char_code );
Dfreetype.h2619 FT_ULong char_code,
3433 FT_ULong char_code,
/external/v8/src/crankshaft/x64/
Dlithium-codegen-x64.cc4477 Register char_code = ToRegister(instr->char_code()); in DoStringCharFromCode() local
4479 DCHECK(!char_code.is(result)); in DoStringCharFromCode()
4481 __ cmpl(char_code, Immediate(String::kMaxOneByteCharCode)); in DoStringCharFromCode()
4483 __ movsxlq(char_code, char_code); in DoStringCharFromCode()
4486 char_code, times_pointer_size, in DoStringCharFromCode()
4495 Register char_code = ToRegister(instr->char_code()); in DoDeferredStringCharFromCode() local
4504 __ Integer32ToSmi(char_code, char_code); in DoDeferredStringCharFromCode()
4505 __ Push(char_code); in DoDeferredStringCharFromCode()
/external/freetype/src/pfr/
Dpfrload.c896 cur->char_code = ( flags & PFR_PHY_2BYTE_CHARCODE ) in pfr_phy_font_load()
/external/v8/src/crankshaft/arm/
Dlithium-codegen-arm.cc4371 Register char_code = ToRegister(instr->char_code()); in DoStringCharFromCode() local
4373 DCHECK(!char_code.is(result)); in DoStringCharFromCode()
4375 __ cmp(char_code, Operand(String::kMaxOneByteCharCode)); in DoStringCharFromCode()
4378 __ add(result, result, Operand(char_code, LSL, kPointerSizeLog2)); in DoStringCharFromCode()
4388 Register char_code = ToRegister(instr->char_code()); in DoDeferredStringCharFromCode() local
4397 __ SmiTag(char_code); in DoDeferredStringCharFromCode()
4398 __ push(char_code); in DoDeferredStringCharFromCode()
/external/v8/src/crankshaft/ia32/
Dlithium-codegen-ia32.cc4265 Register char_code = ToRegister(instr->char_code()); in DoStringCharFromCode() local
4267 DCHECK(!char_code.is(result)); in DoStringCharFromCode()
4269 __ cmp(char_code, String::kMaxOneByteCharCode); in DoStringCharFromCode()
4273 char_code, times_pointer_size, in DoStringCharFromCode()
4282 Register char_code = ToRegister(instr->char_code()); in DoDeferredStringCharFromCode() local
4291 __ SmiTag(char_code); in DoDeferredStringCharFromCode()
4292 __ push(char_code); in DoDeferredStringCharFromCode()
/external/v8/src/crankshaft/mips/
Dlithium-codegen-mips.cc4348 Register char_code = ToRegister(instr->char_code()); in DoStringCharFromCode() local
4351 DCHECK(!char_code.is(result)); in DoStringCharFromCode()
4354 char_code, Operand(String::kMaxOneByteCharCode)); in DoStringCharFromCode()
4356 __ sll(scratch, char_code, kPointerSizeLog2); in DoStringCharFromCode()
4366 Register char_code = ToRegister(instr->char_code()); in DoDeferredStringCharFromCode() local
4375 __ SmiTag(char_code); in DoDeferredStringCharFromCode()
4376 __ push(char_code); in DoDeferredStringCharFromCode()
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.cc4671 Register char_code = ToRegister(instr->char_code()); in DoStringCharFromCode() local
4673 DCHECK(!char_code.is(result)); in DoStringCharFromCode()
4675 __ cmp(char_code, String::kMaxOneByteCharCode); in DoStringCharFromCode()
4679 char_code, times_pointer_size, in DoStringCharFromCode()
4688 Register char_code = ToRegister(instr->char_code()); in DoDeferredStringCharFromCode() local
4697 __ SmiTag(char_code); in DoDeferredStringCharFromCode()
4698 __ push(char_code); in DoDeferredStringCharFromCode()
/external/v8/src/crankshaft/mips64/
Dlithium-codegen-mips64.cc4582 Register char_code = ToRegister(instr->char_code()); in DoStringCharFromCode() local
4585 DCHECK(!char_code.is(result)); in DoStringCharFromCode()
4588 char_code, Operand(String::kMaxOneByteCharCode)); in DoStringCharFromCode()
4590 __ dsll(scratch, char_code, kPointerSizeLog2); in DoStringCharFromCode()
4600 Register char_code = ToRegister(instr->char_code()); in DoDeferredStringCharFromCode() local
4609 __ SmiTag(char_code); in DoDeferredStringCharFromCode()
4610 __ push(char_code); in DoDeferredStringCharFromCode()
/external/v8/src/crankshaft/ppc/
Dlithium-codegen-ppc.cc4637 Register char_code = ToRegister(instr->char_code()); in DoShiftI() local
4639 DCHECK(!char_code.is(result)); in DoShiftI()
4641 __ cmpli(char_code, Operand(String::kMaxOneByteCharCode)); in DoShiftI()
4644 __ ShiftLeftImm(r0, char_code, Operand(kPointerSizeLog2)); in DoShiftI()
4655 Register char_code = ToRegister(instr->char_code()); in DoShiftI() local
4664 __ SmiTag(char_code); in DoShiftI()
4665 __ push(char_code); in DoShiftI()

12