Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/freetype/src/autofit/
Dafglobal.c99 FT_UInt gindex; in af_face_globals_compute_script_coverage() local
102 gindex = FT_Get_Char_Index( face, charcode ); in af_face_globals_compute_script_coverage()
104 if ( gindex != 0 && in af_face_globals_compute_script_coverage()
105 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_script_coverage()
106 gscripts[gindex] == AF_SCRIPT_NONE ) in af_face_globals_compute_script_coverage()
107 gscripts[gindex] = (FT_Byte)ss; in af_face_globals_compute_script_coverage()
111 charcode = FT_Get_Next_Char( face, charcode, &gindex ); in af_face_globals_compute_script_coverage()
113 if ( gindex == 0 || charcode > range->last ) in af_face_globals_compute_script_coverage()
116 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_script_coverage()
117 gscripts[gindex] == AF_SCRIPT_NONE ) in af_face_globals_compute_script_coverage()
[all …]
/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 …]
/external/chromium_org/third_party/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.c127 FT_UInt gindex, in ftc_basic_family_load_bitmap() argument
142 error = FT_Load_Glyph( face, gindex, in ftc_basic_family_load_bitmap()
154 FT_UInt gindex, in ftc_basic_family_load_glyph() argument
173 error = FT_Load_Glyph( face, gindex, family->attrs.load_flags ); in ftc_basic_family_load_glyph()
280 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
387 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.c244 FT_UInt gindex = 0; in FTC_CMapCache_Lookup() local
289 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
291 if ( gindex == FTC_CMAP_UNKNOWN ) in FTC_CMapCache_Lookup()
296 gindex = 0; in FTC_CMapCache_Lookup()
321 gindex = FT_Get_Char_Index( face, char_code ); in FTC_CMapCache_Lookup()
329 = (FT_UShort)gindex; in FTC_CMapCache_Lookup()
333 return gindex; in FTC_CMapCache_Lookup()
/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.c127 FT_UInt gindex, in ftc_basic_family_load_bitmap() argument
142 error = FT_Load_Glyph( face, gindex, in ftc_basic_family_load_bitmap()
154 FT_UInt gindex, in ftc_basic_family_load_glyph() argument
173 error = FT_Load_Glyph( face, gindex, family->attrs.load_flags ); in ftc_basic_family_load_glyph()
280 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
387 hash = FTC_BASIC_ATTR_HASH( &query.attrs ) + gindex; in FTC_ImageCache_LookupScaler()
[all …]
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()
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, \
Dftccmap.c244 FT_UInt gindex = 0; in FTC_CMapCache_Lookup() local
289 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
291 if ( gindex == FTC_CMAP_UNKNOWN ) in FTC_CMapCache_Lookup()
296 gindex = 0; in FTC_CMapCache_Lookup()
321 gindex = FT_Get_Char_Index( face, char_code ); in FTC_CMapCache_Lookup()
329 = (FT_UShort)gindex; in FTC_CMapCache_Lookup()
333 return gindex; in FTC_CMapCache_Lookup()
/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 = ( 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 …]
/external/chromium_org/third_party/freetype/src/sfnt/
Dttcmap.c135 FT_UInt gindex = 0; in tt_cmap0_char_next() local
141 gindex = table[charcode]; in tt_cmap0_char_next()
142 if ( gindex != 0 ) in tt_cmap0_char_next()
150 return gindex; in tt_cmap0_char_next()
472 FT_UInt gindex = 0; in tt_cmap2_char_next() local
512 gindex = ( idx + delta ) & 0xFFFFU; in tt_cmap2_char_next()
513 if ( gindex != 0 ) in tt_cmap2_char_next()
530 return gindex; in tt_cmap2_char_next()
769 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_cmap4_next() local
772 if ( gindex != 0 ) in tt_cmap4_next()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
Dttcmap.c135 FT_UInt gindex = 0; in tt_cmap0_char_next() local
141 gindex = table[charcode]; in tt_cmap0_char_next()
142 if ( gindex != 0 ) in tt_cmap0_char_next()
150 return gindex; in tt_cmap0_char_next()
472 FT_UInt gindex = 0; in tt_cmap2_char_next() local
512 gindex = ( idx + delta ) & 0xFFFFU; in tt_cmap2_char_next()
513 if ( gindex != 0 ) in tt_cmap2_char_next()
530 return gindex; in tt_cmap2_char_next()
769 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_cmap4_next() local
772 if ( gindex != 0 ) in tt_cmap4_next()
[all …]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/
Dttpload.c175 FT_UInt gindex, in tt_face_get_location() argument
186 …if (gindex < face->num_locations)/* gindex < face->num_locations */ /* XYQ 2008-11-03 Some ill TT … in tt_face_get_location()
190 p = face->glyph_locations + gindex * 4; in tt_face_get_location()
201 p = face->glyph_locations + gindex * 2; in tt_face_get_location()
221 pos1, gindex, face->glyf_len )); in tt_face_get_location()
231 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()
/external/chromium_org/third_party/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()
578 FT_UInt gindex ) in tt_face_get_device_metrics() argument
589 gindex += 2; in tt_face_get_device_metrics()
590 if ( gindex < record_size ) in tt_face_get_device_metrics()
591 result = record + nn * record_size + gindex; in tt_face_get_device_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()
578 FT_UInt gindex ) in tt_face_get_device_metrics() argument
589 gindex += 2; in tt_face_get_device_metrics()
590 if ( gindex < record_size ) in tt_face_get_device_metrics()
591 result = record + nn * record_size + gindex; in tt_face_get_device_metrics()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dftpatent.c150 FT_UInt gindex; in _tt_face_check_patents() local
169 for ( gindex = 0; gindex < (FT_UInt)face->num_glyphs; gindex++ ) in _tt_face_check_patents()
175 offset = service->get_location( face, gindex, &size ); in _tt_face_check_patents()
Dftadvanc.c73 FT_UInt gindex, in FT_Get_Advance() argument
83 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_Get_Advance()
92 error = func( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
100 return FT_Get_Advances( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
/external/freetype/src/base/
Dftpatent.c150 FT_UInt gindex; in _tt_face_check_patents() local
169 for ( gindex = 0; gindex < (FT_UInt)face->num_glyphs; gindex++ ) in _tt_face_check_patents()
175 offset = service->get_location( face, gindex, &size ); in _tt_face_check_patents()
Dftadvanc.c73 FT_UInt gindex, in FT_Get_Advance() argument
83 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_Get_Advance()
92 error = func( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
100 return FT_Get_Advances( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
/external/chromium_org/third_party/freetype/src/base/
Dftpatent.c150 FT_UInt gindex; in _tt_face_check_patents() local
169 for ( gindex = 0; gindex < (FT_UInt)face->num_glyphs; gindex++ ) in _tt_face_check_patents()
175 offset = service->get_location( face, gindex, &size ); in _tt_face_check_patents()
Dftadvanc.c73 FT_UInt gindex, in FT_Get_Advance() argument
83 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_Get_Advance()
92 error = func( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
100 return FT_Get_Advances( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
/external/chromium_org/third_party/freetype/include/freetype/
Dftcache.h778 FT_UInt gindex,
835 FT_UInt gindex,
989 FT_UInt gindex,
1045 FT_UInt gindex,

1234