/external/freetype/src/autofit/ |
D | afglobal.c | 184 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 …]
|
D | afglobal.h | 154 FT_UInt gindex, 163 FT_UInt gindex );
|
/external/freetype/src/sfnt/ |
D | ttcmap.c | 149 FT_UInt gindex = 0; in tt_cmap0_char_next() local 155 gindex = table[charcode]; in tt_cmap0_char_next() 156 if ( gindex != 0 ) in tt_cmap0_char_next() 164 return gindex; in tt_cmap0_char_next() 500 FT_UInt gindex = 0; in tt_cmap2_char_next() local 551 gindex = (FT_UInt)( (FT_Int)idx + delta ) & 0xFFFFU; in tt_cmap2_char_next() 552 if ( gindex != 0 ) in tt_cmap2_char_next() 578 return gindex; in tt_cmap2_char_next() 826 FT_UInt gindex = FT_NEXT_USHORT( p ); in tt_cmap4_next() local 829 if ( gindex ) in tt_cmap4_next() [all …]
|
D | ttmtx.c | 231 FT_UInt gindex, in tt_face_get_metrics() argument 269 if ( gindex < (FT_UInt)k ) in tt_face_get_metrics() 271 table_pos += 4 * gindex; in tt_face_get_metrics() 290 table_pos += 4 + 2 * ( gindex - k ); in tt_face_get_metrics() 318 var->vadvance_adjust( f, gindex, &a ); in tt_face_get_metrics() 320 var->tsb_adjust( f, gindex, &b ); in tt_face_get_metrics() 325 var->hadvance_adjust( f, gindex, &a ); in tt_face_get_metrics() 327 var->lsb_adjust( f, gindex, &b ); in tt_face_get_metrics()
|
/external/freetype/src/cache/ |
D | ftcsbits.c | 106 FT_UInt gindex, in ftc_snode_load() argument 118 if ( (FT_UInt)(gindex - gnode->gindex) >= snode->count ) in ftc_snode_load() 124 sbit = snode->sbits + ( gindex - gnode->gindex ); in ftc_snode_load() 129 error = clazz->family_load_glyph( family, gindex, manager, &face ); in ftc_snode_load() 217 FT_UInt gindex = gquery->gindex; in FTC_SNode_New() local 226 if ( total == 0 || gindex >= total ) in FTC_SNode_New() 237 start = gindex - ( gindex % FTC_SBIT_ITEMS_PER_NODE ); in FTC_SNode_New() 252 gindex, in FTC_SNode_New() 335 FT_UInt gindex = gquery->gindex; in ftc_snode_compare() local 342 (FT_UInt)( gindex - gnode->gindex ) < snode->count ); in ftc_snode_compare() [all …]
|
D | ftcbasic.c | 126 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() 286 FT_UInt gindex, in FTC_ImageCache_Lookup() argument 329 hash = FTC_BASIC_ATTR_HASH( &query.attrs ) + gindex; in FTC_ImageCache_Lookup() 335 hash, gindex, in FTC_ImageCache_Lookup() 341 hash, gindex, in FTC_ImageCache_Lookup() 367 FT_UInt gindex, in FTC_ImageCache_LookupScaler() argument 404 hash = FTC_BASIC_ATTR_HASH( &query.attrs ) + gindex; in FTC_ImageCache_LookupScaler() [all …]
|
D | ftcglyph.c | 32 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()
|
D | ftcglyph.h | 152 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, \
|
D | ftccmap.c | 240 FT_UInt gindex = 0; in FTC_CMapCache_Lookup() local 285 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup() 287 if ( gindex == FTC_CMAP_UNKNOWN ) in FTC_CMapCache_Lookup() 292 gindex = 0; in FTC_CMapCache_Lookup() 311 gindex = FT_Get_Char_Index( face, char_code ); in FTC_CMapCache_Lookup() 319 = (FT_UShort)gindex; in FTC_CMapCache_Lookup() 323 return gindex; in FTC_CMapCache_Lookup()
|
D | ftcimage.c | 72 FT_UInt gindex = gquery->gindex; in FTC_INode_New() local 77 FTC_GNode_Init( gnode, gindex, family ); in FTC_INode_New() 80 error = clazz->family_load_glyph( family, gindex, cache, in FTC_INode_New()
|
D | ftcimage.h | 55 #define FTC_INODE_GINDEX( x ) FTC_GNODE(x)->gindex 60 FT_UInt gindex,
|
D | ftcsbits.h | 42 #define FTC_SNODE_GINDEX( x ) FTC_GNODE( x )->gindex 51 FT_UInt gindex,
|
/external/freetype/include/freetype/internal/services/ |
D | svmetric.h | 40 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/u-boot/fs/ext4/ |
D | ext4_journal.c | 26 int gindex; variable 41 gindex = 0; in ext4fs_init_journal() 63 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_init_journal() 64 if (!journal_ptr[gindex]->buf) in ext4fs_init_journal() 68 memcpy(journal_ptr[gindex]->buf, temp, fs->blksz); in ext4fs_init_journal() 69 journal_ptr[gindex++]->blknr = 0; in ext4fs_init_journal() 72 journal_ptr[gindex]->buf = zalloc(fs->blksz); in ext4fs_init_journal() 73 if (!journal_ptr[gindex]->buf) in ext4fs_init_journal() 75 memcpy(journal_ptr[gindex]->buf, fs->sb, SUPERBLOCK_SIZE); in ext4fs_init_journal() 76 journal_ptr[gindex++]->blknr = 1; in ext4fs_init_journal() [all …]
|
/external/freetype/src/truetype/ |
D | ttpload.c | 198 FT_UInt gindex, in tt_face_get_location() argument 208 if ( gindex < face->num_locations ) in tt_face_get_location() 212 p = face->glyph_locations + gindex * 4; in tt_face_get_location() 223 p = face->glyph_locations + gindex * 2; in tt_face_get_location() 244 pos1, gindex, face->glyf_len )); in tt_face_get_location() 252 if ( gindex == face->num_locations - 2 ) in tt_face_get_location() 258 pos2 - pos1, gindex, face->glyf_len - pos1 )); in tt_face_get_location() 267 pos2, gindex + 1, face->glyf_len )); in tt_face_get_location() 631 FT_UInt gindex ) in tt_face_get_device_metrics() argument 642 gindex += 2; in tt_face_get_device_metrics() [all …]
|
D | ttpload.h | 36 FT_UInt gindex, 68 FT_UInt gindex );
|
/external/freetype/src/pfr/ |
D | pfrdrivr.c | 67 FT_UInt gindex, in pfr_get_advance() argument 76 if ( !gindex ) in pfr_get_advance() 79 gindex--; in pfr_get_advance() 86 if ( gindex < phys->num_chars ) in pfr_get_advance() 88 *anadvance = phys->chars[gindex].advance; in pfr_get_advance()
|
D | pfrobjs.c | 313 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/ |
D | rmsprop_test.py | 84 gindex = gindexs[i] 86 rms_t[gindex] = rms[gindex] * rho + (1 - rho) * gvalue * gvalue 88 mg_t[gindex] = mg_t[gindex] * rho + (1 - rho) * gvalue 89 denom_t = rms_t[gindex] - mg_t[gindex] * mg_t[gindex] 91 denom_t = rms_t[gindex] 93 mom_t[gindex] = momentum * mom[gindex] + lr * gvalue / np.sqrt(denom_t + 95 var_t[gindex] = var[gindex] - mom_t[gindex] 97 mom_t[gindex] = mom[gindex] 98 var_t[gindex] = var[gindex] - lr * gvalue / (np.sqrt(denom_t) + epsilon)
|
/external/tensorflow/tensorflow/contrib/optimizer_v2/ |
D | rmsprop_test.py | 77 gindex = gindexs[i] 79 rms_t[gindex] = rms[gindex] * decay + (1 - decay) * gvalue * gvalue 80 denom_t = rms_t[gindex] 82 mg_t[gindex] = mg_t[gindex] * decay + (1 - decay) * gvalue 83 denom_t -= mg_t[gindex] * mg_t[gindex] 84 mom_t[gindex] = momentum * mom[gindex] + lr * gvalue / np.sqrt(denom_t) 85 var_t[gindex] = var[gindex] - mom_t[gindex]
|
/external/tensorflow/tensorflow/python/training/ |
D | rmsprop_test.py | 81 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/freetype/src/base/ |
D | ftadvanc.c | 76 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()
|
D | ftpfr.c | 129 FT_UInt gindex, in FT_Get_PFR_Advance() argument 144 error = service->get_advance( face, gindex, aadvance ); in FT_Get_PFR_Advance()
|
/external/freetype/include/freetype/ |
D | ftcache.h | 794 FT_UInt gindex, 857 FT_UInt gindex, 1028 FT_UInt gindex, 1090 FT_UInt gindex,
|
/external/libjpeg-turbo/ |
D | rdbmp.c | 198 register int gindex = rgb_green[cinfo->in_color_space]; in get_8bit_row() local 209 outptr[gindex] = colormap[1][t]; in get_8bit_row() 220 outptr[gindex] = colormap[1][t]; in get_8bit_row() 268 register int gindex = rgb_green[cinfo->in_color_space]; in get_24bit_row() local 276 outptr[gindex] = *inptr++; in get_24bit_row() 284 outptr[gindex] = *inptr++; in get_24bit_row() 334 register int gindex = rgb_green[cinfo->in_color_space]; in get_32bit_row() local 342 outptr[gindex] = *inptr++; in get_32bit_row() 350 outptr[gindex] = *inptr++; in get_32bit_row()
|