Home
last modified time | relevance | path

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

12

/external/freetype/src/autofit/
Dafglobal.c188 FT_UInt gindex; in af_face_globals_compute_style_coverage() local
191 gindex = FT_Get_Char_Index( face, charcode ); in af_face_globals_compute_style_coverage()
193 if ( gindex != 0 && in af_face_globals_compute_style_coverage()
194 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
195 gstyles[gindex] == AF_STYLE_UNASSIGNED ) in af_face_globals_compute_style_coverage()
196 gstyles[gindex] = (FT_Byte)ss; in af_face_globals_compute_style_coverage()
200 charcode = FT_Get_Next_Char( face, charcode, &gindex ); in af_face_globals_compute_style_coverage()
202 if ( gindex == 0 || charcode > range->last ) in af_face_globals_compute_style_coverage()
205 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
206 gstyles[gindex] == AF_STYLE_UNASSIGNED ) in af_face_globals_compute_style_coverage()
[all …]
Dafglobal.h131 FT_UInt gindex,
140 FT_UInt gindex );
/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/src/sfnt/
Dttcmap.c141 FT_UInt gindex = 0; in tt_cmap0_char_next() local
147 gindex = table[charcode]; in tt_cmap0_char_next()
148 if ( gindex != 0 ) in tt_cmap0_char_next()
156 return gindex; in tt_cmap0_char_next()
487 FT_UInt gindex = 0; in tt_cmap2_char_next() local
527 gindex = (FT_UInt)( (FT_Int)idx + delta ) & 0xFFFFU; in tt_cmap2_char_next()
528 if ( gindex != 0 ) in tt_cmap2_char_next()
545 return gindex; in tt_cmap2_char_next()
784 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_cmap4_next() local
787 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/src/truetype/
Dttpload.c174 FT_UInt gindex, in tt_face_get_location() argument
184 if ( gindex < face->num_locations ) in tt_face_get_location()
188 p = face->glyph_locations + gindex * 4; in tt_face_get_location()
199 p = face->glyph_locations + gindex * 2; in tt_face_get_location()
219 pos1, gindex, face->glyf_len )); in tt_face_get_location()
229 pos2, gindex + 1, face->glyf_len )); in tt_face_get_location()
580 FT_UInt gindex ) in tt_face_get_device_metrics() argument
591 gindex += 2; in tt_face_get_device_metrics()
592 if ( gindex < record_size ) in tt_face_get_device_metrics()
593 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/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/
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()
/external/freetype/include/
Dftcache.h778 FT_UInt gindex,
835 FT_UInt gindex,
989 FT_UInt gindex,
1045 FT_UInt gindex,
/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/icu/android_icu4j/src/main/java/android/icu/impl/
DUCharacterName.java339 int gindex = (result + endGroup) >> 1; in getGroup() local
340 if (msb < getGroupMSB(gindex)) { in getGroup()
341 endGroup = gindex; in getGroup()
344 result = gindex; in getGroup()
394 public int getGroupMSB(int gindex) in getGroupMSB() argument
396 if (gindex >= m_groupcount_) { in getGroupMSB()
399 return m_groupinfo_[gindex * m_groupsize_]; in getGroupMSB()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUCharacterName.java338 int gindex = (result + endGroup) >> 1; in getGroup() local
339 if (msb < getGroupMSB(gindex)) { in getGroup()
340 endGroup = gindex; in getGroup()
343 result = gindex; in getGroup()
393 public int getGroupMSB(int gindex) in getGroupMSB() argument
395 if (gindex >= m_groupcount_) { in getGroupMSB()
398 return m_groupinfo_[gindex * m_groupsize_]; in getGroupMSB()

12