Home
last modified time | relevance | path

Searched refs:gindex (Results 1 – 25 of 51) sorted by relevance

123

/external/freetype/src/autofit/
Dafglobal.c189 FT_UInt gindex; in af_face_globals_compute_style_coverage() local
192 gindex = FT_Get_Char_Index( face, charcode ); in af_face_globals_compute_style_coverage()
194 if ( gindex != 0 && in af_face_globals_compute_style_coverage()
195 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
196 ( gstyles[gindex] & AF_STYLE_MASK ) == AF_STYLE_UNASSIGNED ) in af_face_globals_compute_style_coverage()
197 gstyles[gindex] = (FT_UShort)ss; in af_face_globals_compute_style_coverage()
201 charcode = FT_Get_Next_Char( face, charcode, &gindex ); in af_face_globals_compute_style_coverage()
203 if ( gindex == 0 || charcode > range->last ) in af_face_globals_compute_style_coverage()
206 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
207 ( gstyles[gindex] & AF_STYLE_MASK ) == AF_STYLE_UNASSIGNED ) in af_face_globals_compute_style_coverage()
[all …]
Dafglobal.h154 FT_UInt gindex,
163 FT_UInt gindex );
/external/freetype/src/sfnt/
Dttcmap.c148 FT_UInt gindex = 0; in tt_cmap0_char_next() local
154 gindex = table[charcode]; in tt_cmap0_char_next()
155 if ( gindex != 0 ) in tt_cmap0_char_next()
163 return gindex; in tt_cmap0_char_next()
498 FT_UInt gindex = 0; in tt_cmap2_char_next() local
538 gindex = (FT_UInt)( (FT_Int)idx + delta ) & 0xFFFFU; in tt_cmap2_char_next()
539 if ( gindex != 0 ) in tt_cmap2_char_next()
556 return gindex; in tt_cmap2_char_next()
804 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_cmap4_next() local
807 if ( gindex ) in tt_cmap4_next()
[all …]
Dttmtx.c220 FT_UInt gindex, in tt_face_get_metrics() argument
258 if ( gindex < (FT_UInt)k ) in tt_face_get_metrics()
260 table_pos += 4 * gindex; in tt_face_get_metrics()
279 table_pos += 4 + 2 * ( gindex - k ); in tt_face_get_metrics()
307 var->vadvance_adjust( f, gindex, &a ); in tt_face_get_metrics()
309 var->tsb_adjust( f, gindex, &b ); in tt_face_get_metrics()
314 var->hadvance_adjust( f, gindex, &a ); in tt_face_get_metrics()
316 var->lsb_adjust( f, gindex, &b ); in tt_face_get_metrics()
/external/freetype/src/cache/
Dftcsbits.c104 FT_UInt gindex, in ftc_snode_load() argument
116 if ( (FT_UInt)(gindex - gnode->gindex) >= snode->count ) in ftc_snode_load()
122 sbit = snode->sbits + ( gindex - gnode->gindex ); in ftc_snode_load()
127 error = clazz->family_load_glyph( family, gindex, manager, &face ); in ftc_snode_load()
215 FT_UInt gindex = gquery->gindex; in FTC_SNode_New() local
224 if ( total == 0 || gindex >= total ) in FTC_SNode_New()
235 start = gindex - ( gindex % FTC_SBIT_ITEMS_PER_NODE ); in FTC_SNode_New()
250 gindex, in FTC_SNode_New()
333 FT_UInt gindex = gquery->gindex; in ftc_snode_compare() local
340 (FT_UInt)( gindex - gnode->gindex ) < snode->count ); in ftc_snode_compare()
[all …]
Dftcbasic.c126 FT_UInt gindex, in ftc_basic_family_load_bitmap() argument
143 gindex, in ftc_basic_family_load_bitmap()
155 FT_UInt gindex, in ftc_basic_family_load_glyph() argument
175 gindex, in ftc_basic_family_load_glyph()
283 FT_UInt gindex, in FTC_ImageCache_Lookup() argument
318 hash = FTC_BASIC_ATTR_HASH( &query.attrs ) + gindex; in FTC_ImageCache_Lookup()
324 hash, gindex, in FTC_ImageCache_Lookup()
330 hash, gindex, in FTC_ImageCache_Lookup()
356 FT_UInt gindex, in FTC_ImageCache_LookupScaler() argument
386 hash = FTC_BASIC_ATTR_HASH( &query.attrs ) + gindex; in FTC_ImageCache_LookupScaler()
[all …]
Dftcglyph.h152 FT_UInt gindex; member
162 FT_UInt gindex; member
180 FT_UInt gindex, /* glyph index for node */
264 FT_UInt gindex,
281 gindex, query, node, error ) \ argument
289 _gquery->gindex = (gindex); \
312 gindex, query, node, error ) \ argument
315 error = FTC_GCache_Lookup( FTC_GCACHE( cache ), hash, gindex, \
Dftcglyph.c32 FT_UInt gindex, in FTC_GNode_Init() argument
36 gnode->gindex = gindex; in FTC_GNode_Init()
59 gnode->gindex = 0; in FTC_GNode_Done()
79 gnode->gindex == gquery->gindex ); in ftc_gnode_compare()
189 FT_UInt gindex, in FTC_GCache_Lookup() argument
196 query->gindex = gindex; in FTC_GCache_Lookup()
Dftccmap.c240 FT_UInt gindex = 0; in FTC_CMapCache_Lookup() local
288 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
290 if ( gindex == FTC_CMAP_UNKNOWN ) in FTC_CMapCache_Lookup()
295 gindex = 0; in FTC_CMapCache_Lookup()
314 gindex = FT_Get_Char_Index( face, char_code ); in FTC_CMapCache_Lookup()
322 = (FT_UShort)gindex; in FTC_CMapCache_Lookup()
326 return gindex; in FTC_CMapCache_Lookup()
Dftcsbits.h42 #define FTC_SNODE_GINDEX( x ) FTC_GNODE( x )->gindex
51 FT_UInt gindex,
/external/pdfium/third_party/freetype/src/sfnt/
Dttcmap.c148 FT_UInt gindex = 0; in tt_cmap0_char_next() local
154 gindex = table[charcode]; in tt_cmap0_char_next()
155 if ( gindex != 0 ) in tt_cmap0_char_next()
163 return gindex; in tt_cmap0_char_next()
496 FT_UInt gindex = 0; in tt_cmap2_char_next() local
536 gindex = (FT_UInt)( (FT_Int)idx + delta ) & 0xFFFFU; in tt_cmap2_char_next()
537 if ( gindex != 0 ) in tt_cmap2_char_next()
554 return gindex; in tt_cmap2_char_next()
793 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_cmap4_next() local
796 if ( gindex != 0 ) in tt_cmap4_next()
[all …]
Dttmtx.c207 FT_UInt gindex, in tt_face_get_metrics() argument
240 if ( gindex < (FT_UInt)k ) in tt_face_get_metrics()
242 table_pos += 4 * gindex; in tt_face_get_metrics()
261 table_pos += 4 + 2 * ( gindex - k ); in tt_face_get_metrics()
/external/freetype/include/freetype/internal/services/
Dsvmetric.h40 FT_UInt gindex,
45 FT_UInt gindex,
50 FT_UInt gindex,
57 FT_UInt gindex,
62 FT_UInt gindex,
67 FT_UInt gindex,
72 FT_UInt gindex,
/external/freetype/src/truetype/
Dttpload.c196 FT_UInt gindex, in tt_face_get_location() argument
206 if ( gindex < face->num_locations ) in tt_face_get_location()
210 p = face->glyph_locations + gindex * 4; in tt_face_get_location()
221 p = face->glyph_locations + gindex * 2; in tt_face_get_location()
242 pos1, gindex, face->glyf_len )); in tt_face_get_location()
250 if ( gindex == face->num_locations - 1 ) in tt_face_get_location()
256 pos2, gindex + 1, face->glyf_len )); in tt_face_get_location()
265 pos2, gindex + 1, face->glyf_len )); in tt_face_get_location()
621 FT_UInt gindex ) in tt_face_get_device_metrics() argument
632 gindex += 2; in tt_face_get_device_metrics()
[all …]
Dttpload.h36 FT_UInt gindex,
68 FT_UInt gindex );
/external/pdfium/third_party/freetype/src/truetype/
Dttpload.c182 FT_UInt gindex, in tt_face_get_location() argument
192 if ( gindex < face->num_locations ) in tt_face_get_location()
196 p = face->glyph_locations + gindex * 4; in tt_face_get_location()
207 p = face->glyph_locations + gindex * 2; in tt_face_get_location()
227 pos1, gindex, face->glyf_len )); in tt_face_get_location()
237 pos2, gindex + 1, face->glyf_len )); in tt_face_get_location()
588 FT_UInt gindex ) in tt_face_get_device_metrics() argument
599 gindex += 2; in tt_face_get_device_metrics()
600 if ( gindex < record_size ) in tt_face_get_device_metrics()
601 result = record + nn * record_size + gindex; in tt_face_get_device_metrics()
Dttpload.h36 FT_UInt gindex,
68 FT_UInt gindex );
/external/pdfium/third_party/freetype/src/base/
Dftpatent.c151 FT_UInt gindex; in _tt_face_check_patents() local
170 for ( gindex = 0; gindex < (FT_UInt)face->num_glyphs; gindex++ ) in _tt_face_check_patents()
176 offset = service->get_location( face, gindex, &size ); in _tt_face_check_patents()
Dftadvanc.c73 FT_UInt gindex, in FT_Get_Advance() argument
86 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_Get_Advance()
95 error = func( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
103 return FT_Get_Advances( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
Dftpfr.c129 FT_UInt gindex, in FT_Get_PFR_Advance() argument
144 error = service->get_advance( face, gindex, aadvance ); in FT_Get_PFR_Advance()
/external/freetype/src/base/
Dftadvanc.c76 FT_UInt gindex, in FT_Get_Advance() argument
89 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_Get_Advance()
98 error = func( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
106 return FT_Get_Advances( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
Dftpfr.c129 FT_UInt gindex, in FT_Get_PFR_Advance() argument
144 error = service->get_advance( face, gindex, aadvance ); in FT_Get_PFR_Advance()
/external/pdfium/third_party/freetype/include/freetype/
Dftcache.h778 FT_UInt gindex,
835 FT_UInt gindex,
989 FT_UInt gindex,
1045 FT_UInt gindex,
/external/freetype/include/freetype/
Dftcache.h778 FT_UInt gindex,
835 FT_UInt gindex,
989 FT_UInt gindex,
1045 FT_UInt gindex,
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterName.java341 int gindex = (result + endGroup) >> 1; in getGroup() local
342 if (msb < getGroupMSB(gindex)) { in getGroup()
343 endGroup = gindex; in getGroup()
346 result = gindex; in getGroup()
396 public int getGroupMSB(int gindex) in getGroupMSB() argument
398 if (gindex >= m_groupcount_) { in getGroupMSB()
401 return m_groupinfo_[gindex * m_groupsize_]; in getGroupMSB()

123