Home
last modified time | relevance | path

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

123

/external/freetype/src/autofit/
Dafglobal.c184 FT_UInt gindex; in af_face_globals_compute_style_coverage() local
187 gindex = FT_Get_Char_Index( face, charcode ); in af_face_globals_compute_style_coverage()
189 if ( gindex != 0 && in af_face_globals_compute_style_coverage()
190 gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
191 ( gstyles[gindex] & AF_STYLE_MASK ) == AF_STYLE_UNASSIGNED ) in af_face_globals_compute_style_coverage()
192 gstyles[gindex] = (FT_UShort)ss; in af_face_globals_compute_style_coverage()
196 charcode = FT_Get_Next_Char( face, charcode, &gindex ); in af_face_globals_compute_style_coverage()
198 if ( gindex == 0 || charcode > range->last ) in af_face_globals_compute_style_coverage()
201 if ( gindex < (FT_ULong)globals->glyph_count && in af_face_globals_compute_style_coverage()
202 ( 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()
499 FT_UInt gindex = 0; in tt_cmap2_char_next() local
550 gindex = (FT_UInt)( (FT_Int)idx + delta ) & 0xFFFFU; in tt_cmap2_char_next()
551 if ( gindex != 0 ) in tt_cmap2_char_next()
577 return gindex; in tt_cmap2_char_next()
825 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_cmap4_next() local
828 if ( gindex ) in tt_cmap4_next()
[all …]
Dttmtx.c230 FT_UInt gindex, in tt_face_get_metrics() argument
268 if ( gindex < (FT_UInt)k ) in tt_face_get_metrics()
270 table_pos += 4 * gindex; in tt_face_get_metrics()
289 table_pos += 4 + 2 * ( gindex - k ); in tt_face_get_metrics()
319 var->vadvance_adjust( f, gindex, &a ); in tt_face_get_metrics()
321 var->tsb_adjust( f, gindex, &b ); in tt_face_get_metrics()
326 var->hadvance_adjust( f, gindex, &a ); in tt_face_get_metrics()
328 var->lsb_adjust( f, gindex, &b ); in tt_face_get_metrics()
/external/freetype/src/cache/
Dftcsbits.c105 FT_UInt gindex, in ftc_snode_load() argument
117 if ( (FT_UInt)(gindex - gnode->gindex) >= snode->count ) in ftc_snode_load()
123 sbit = snode->sbits + ( gindex - gnode->gindex ); in ftc_snode_load()
128 error = clazz->family_load_glyph( family, gindex, manager, &face ); in ftc_snode_load()
216 FT_UInt gindex = gquery->gindex; in FTC_SNode_New() local
225 if ( total == 0 || gindex >= total ) in FTC_SNode_New()
236 start = gindex - ( gindex % FTC_SBIT_ITEMS_PER_NODE ); in FTC_SNode_New()
251 gindex, in FTC_SNode_New()
334 FT_UInt gindex = gquery->gindex; in ftc_snode_compare() local
341 (FT_UInt)( gindex - gnode->gindex ) < snode->count ); in ftc_snode_compare()
[all …]
Dftcbasic.c127 FT_UInt gindex, in ftc_basic_family_load_bitmap() argument
144 gindex, in ftc_basic_family_load_bitmap()
156 FT_UInt gindex, in ftc_basic_family_load_glyph() argument
176 gindex, in ftc_basic_family_load_glyph()
287 FT_UInt gindex, in FTC_ImageCache_Lookup() argument
330 hash = FTC_BASIC_ATTR_HASH( &query.attrs ) + gindex; in FTC_ImageCache_Lookup()
336 hash, gindex, in FTC_ImageCache_Lookup()
342 hash, gindex, in FTC_ImageCache_Lookup()
368 FT_UInt gindex, in FTC_ImageCache_LookupScaler() argument
405 hash = FTC_BASIC_ATTR_HASH( &query.attrs ) + gindex; in FTC_ImageCache_LookupScaler()
[all …]
Dftcglyph.h151 FT_UInt gindex; member
161 FT_UInt gindex; member
179 FT_UInt gindex, /* glyph index for node */
263 FT_UInt gindex,
280 gindex, query, node, error ) \ argument
288 _gquery->gindex = (gindex); \
311 gindex, query, node, error ) \ argument
314 error = FTC_GCache_Lookup( FTC_GCACHE( cache ), hash, gindex, \
Dftcglyph.c31 FT_UInt gindex, in FTC_GNode_Init() argument
35 gnode->gindex = gindex; in FTC_GNode_Init()
58 gnode->gindex = 0; in FTC_GNode_Done()
78 gnode->gindex == gquery->gindex ); in ftc_gnode_compare()
188 FT_UInt gindex, in FTC_GCache_Lookup() argument
195 query->gindex = gindex; in FTC_GCache_Lookup()
Dftccmap.c239 FT_UInt gindex = 0; in FTC_CMapCache_Lookup() local
284 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
286 if ( gindex == FTC_CMAP_UNKNOWN ) in FTC_CMapCache_Lookup()
291 gindex = 0; in FTC_CMapCache_Lookup()
310 gindex = FT_Get_Char_Index( face, char_code ); in FTC_CMapCache_Lookup()
318 = (FT_UShort)gindex; in FTC_CMapCache_Lookup()
322 return gindex; in FTC_CMapCache_Lookup()
Dftcimage.c71 FT_UInt gindex = gquery->gindex; in FTC_INode_New() local
76 FTC_GNode_Init( gnode, gindex, family ); in FTC_INode_New()
79 error = clazz->family_load_glyph( family, gindex, cache, in FTC_INode_New()
Dftcimage.h54 #define FTC_INODE_GINDEX( x ) FTC_GNODE(x)->gindex
59 FT_UInt gindex,
Dftcsbits.h41 #define FTC_SNODE_GINDEX( x ) FTC_GNODE( x )->gindex
50 FT_UInt gindex,
/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.c197 FT_UInt gindex, in tt_face_get_location() argument
207 if ( gindex < face->num_locations ) in tt_face_get_location()
211 p = face->glyph_locations + gindex * 4; in tt_face_get_location()
222 p = face->glyph_locations + gindex * 2; in tt_face_get_location()
243 pos1, gindex, face->glyf_len )); in tt_face_get_location()
251 if ( gindex == face->num_locations - 2 ) in tt_face_get_location()
257 pos2 - pos1, gindex, face->glyf_len - pos1 )); in tt_face_get_location()
266 pos2, gindex + 1, face->glyf_len )); in tt_face_get_location()
630 FT_UInt gindex ) in tt_face_get_device_metrics() argument
641 gindex += 2; in tt_face_get_device_metrics()
[all …]
Dttpload.h35 FT_UInt gindex,
67 FT_UInt gindex );
/external/freetype/src/pfr/
Dpfrdrivr.c66 FT_UInt gindex, in pfr_get_advance() argument
75 if ( !gindex ) in pfr_get_advance()
78 gindex--; in pfr_get_advance()
85 if ( gindex < phys->num_chars ) in pfr_get_advance()
87 *anadvance = phys->chars[gindex].advance; in pfr_get_advance()
Dpfrobjs.c313 FT_UInt gindex, in pfr_slot_load() argument
325 FT_TRACE1(( "pfr_slot_load: glyph index %d\n", gindex )); in pfr_slot_load()
327 if ( gindex > 0 ) in pfr_slot_load()
328 gindex--; in pfr_slot_load()
330 if ( !face || gindex >= face->phy_font.num_chars ) in pfr_slot_load()
342 gindex, in pfr_slot_load()
354 gchar = face->phy_font.chars + gindex; in pfr_slot_load()
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Drmsprop_test.py87 gindex = gindexs[i]
89 rms_t[gindex] = rms[gindex] * rho + (1 - rho) * gvalue * gvalue
91 mg_t[gindex] = mg_t[gindex] * rho + (1 - rho) * gvalue
92 denom_t = rms_t[gindex] - mg_t[gindex] * mg_t[gindex]
94 denom_t = rms_t[gindex]
96 mom_t[gindex] = momentum * mom[gindex] + lr * gvalue / np.sqrt(denom_t +
98 var_t[gindex] = var[gindex] - mom_t[gindex]
100 mom_t[gindex] = mom[gindex]
101 var_t[gindex] = var[gindex] - lr * gvalue / (np.sqrt(denom_t) + epsilon)
/external/freetype/src/base/
Dftadvanc.c75 FT_UInt gindex, in FT_Get_Advance() argument
88 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_Get_Advance()
97 error = func( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
105 return FT_Get_Advances( face, gindex, 1, flags, padvance ); in FT_Get_Advance()
Dftpfr.c128 FT_UInt gindex, in FT_Get_PFR_Advance() argument
143 error = service->get_advance( face, gindex, aadvance ); in FT_Get_PFR_Advance()
/external/freetype/include/freetype/
Dftcache.h787 FT_UInt gindex,
847 FT_UInt gindex,
1014 FT_UInt gindex,
1075 FT_UInt gindex,
/external/tensorflow/tensorflow/python/training/
Drmsprop_test.py81 gindex = gindexs[i]
83 rms_t[gindex] = rms[gindex] * decay + (1 - decay) * gvalue * gvalue
84 denom_t = rms_t[gindex] + epsilon
86 mg_t[gindex] = mg_t[gindex] * decay + (1 - decay) * gvalue
87 denom_t -= mg_t[gindex] * mg_t[gindex]
88 mom_t[gindex] = momentum * mom[gindex] + lr * gvalue / np.sqrt(denom_t)
89 var_t[gindex] = var[gindex] - mom_t[gindex]
/external/libjpeg-turbo/
Drdbmp.c188 register int gindex = rgb_green[cinfo->in_color_space]; in get_8bit_row() local
199 outptr[gindex] = colormap[1][t]; in get_8bit_row()
210 outptr[gindex] = colormap[1][t]; in get_8bit_row()
257 register int gindex = rgb_green[cinfo->in_color_space]; in get_24bit_row() local
265 outptr[gindex] = *inptr++; in get_24bit_row()
273 outptr[gindex] = *inptr++; in get_24bit_row()
322 register int gindex = rgb_green[cinfo->in_color_space]; in get_32bit_row() local
330 outptr[gindex] = *inptr++; in get_32bit_row()
338 outptr[gindex] = *inptr++; in get_32bit_row()
Drdppm.c155 ptr[rindex] = ptr[gindex] = ptr[bindex] = read_op; \
173 register int gindex = rgb_green[cinfo->in_color_space]; in get_text_gray_rgb_row() local
229 ptr[gindex] = read_op; \
247 register int gindex = rgb_green[cinfo->in_color_space]; in get_text_rgb_row() local
337 register int gindex = rgb_green[cinfo->in_color_space]; in get_gray_rgb_row() local
405 register int gindex = rgb_green[cinfo->in_color_space]; in get_rgb_row() local
519 register int gindex = rgb_green[cinfo->in_color_space]; in get_word_rgb_row() local
539 ptr[gindex] = rescale[temp]; in get_word_rgb_row()
/external/python/cffi/c/
Drealize_c_type.c193 static PyObject *realize_global_int(builder_c_t *builder, int gindex) in realize_global_int() argument
199 const struct _cffi_global_s *g = &builder->ctx.globals[gindex]; in realize_global_int()
201 gc.gindex = gindex; in realize_global_int()
485 int gindex; in realize_c_type_or_func() local
516 gindex = search_in_globals(&builder->ctx, p, j); in realize_c_type_or_func()
517 assert(gindex >= 0); in realize_c_type_or_func()
518 assert(builder->ctx.globals[gindex].type_op == in realize_c_type_or_func()
521 tmp = realize_global_int(builder, gindex); in realize_c_type_or_func()

123