/external/freetype/src/truetype/ |
D | ttpload.c | 62 tt_face_load_loca( TT_Face face, in tt_face_load_loca() argument 71 error = face->goto_table( face, TTAG_glyf, stream, &face->glyf_len ); in tt_face_load_loca() 77 face->glyf_len = 0; in tt_face_load_loca() 78 face->glyf_offset = 0; in tt_face_load_loca() 85 if ( face->root.internal->incremental_interface ) in tt_face_load_loca() 86 face->glyf_offset = 0; in tt_face_load_loca() 89 face->glyf_offset = FT_STREAM_POS(); in tt_face_load_loca() 93 error = face->goto_table( face, TTAG_loca, stream, &table_len ); in tt_face_load_loca() 100 if ( face->header.Index_To_Loc_Format != 0 ) in tt_face_load_loca() 109 face->num_locations = table_len >> shift; in tt_face_load_loca() [all …]
|
D | ttobjs.c | 239 tt_get_sfnt_checksum( TT_Face face, in tt_get_sfnt_checksum() argument 243 if ( face->dir_tables[i].CheckSum ) in tt_get_sfnt_checksum() 244 return face->dir_tables[i].CheckSum; in tt_get_sfnt_checksum() 247 if ( !face->goto_table ) in tt_get_sfnt_checksum() 250 if ( face->goto_table( face, in tt_get_sfnt_checksum() 251 face->dir_tables[i].Tag, in tt_get_sfnt_checksum() 252 face->root.stream, in tt_get_sfnt_checksum() 256 return (FT_ULong)tt_synth_sfnt_checksum( face->root.stream, in tt_get_sfnt_checksum() 257 face->dir_tables[i].Length ); in tt_get_sfnt_checksum() 270 tt_check_trickyness_sfnt_ids( TT_Face face ) in tt_check_trickyness_sfnt_ids() argument [all …]
|
D | ttgxvar.c | 309 ft_var_load_avar( TT_Face face ) in ft_var_load_avar() argument 311 FT_Stream stream = FT_FACE_STREAM( face ); in ft_var_load_avar() 313 GX_Blend blend = face->blend; in ft_var_load_avar() 327 error = face->goto_table( face, TTAG_avar, stream, &table_len ); in ft_var_load_avar() 409 ft_var_load_item_variation_store( TT_Face face, in ft_var_load_item_variation_store() argument 413 FT_Stream stream = FT_FACE_STREAM( face ); in ft_var_load_item_variation_store() 422 GX_Blend blend = face->blend; in ft_var_load_item_variation_store() 615 ft_var_load_delta_set_index_mapping( TT_Face face, in ft_var_load_delta_set_index_mapping() argument 620 FT_Stream stream = FT_FACE_STREAM( face ); in ft_var_load_delta_set_index_mapping() 729 ft_var_load_hvvar( TT_Face face, in ft_var_load_hvvar() argument [all …]
|
/external/pdfium/core/fxge/ |
D | fx_freetype.h | 64 #define FXFT_Open_Face(library, args, index, face) \ argument 66 static_cast<FT_Face*>(face)) 67 #define FXFT_Done_Face(face) FT_Done_Face(static_cast<FT_Face>(face)) argument 75 #define FXFT_New_Memory_Face(library, base, size, index, face) \ argument 77 static_cast<FT_Face*>(face)) 78 #define FXFT_New_Face(library, filename, index, face) \ argument 80 static_cast<FT_Face*>(face)) 81 #define FXFT_Select_Charmap(face, encoding) \ argument 82 FT_Select_Charmap(static_cast<FT_Face>(face), \ 84 #define FXFT_Set_Charmap(face, charmap) \ argument [all …]
|
/external/freetype/src/base/ |
D | ftmm.c | 39 ft_face_get_mm_service( FT_Face face, in ft_face_get_mm_service() argument 47 if ( !face ) in ft_face_get_mm_service() 52 if ( FT_HAS_MULTIPLE_MASTERS( face ) ) in ft_face_get_mm_service() 54 FT_FACE_LOOKUP_SERVICE( face, in ft_face_get_mm_service() 67 ft_face_get_mvar_service( FT_Face face, in ft_face_get_mvar_service() argument 75 if ( !face ) in ft_face_get_mvar_service() 80 if ( FT_HAS_MULTIPLE_MASTERS( face ) ) in ft_face_get_mvar_service() 82 FT_FACE_LOOKUP_SERVICE( face, in ft_face_get_mvar_service() 97 FT_Get_Multi_Master( FT_Face face, in FT_Get_Multi_Master() argument 109 error = ft_face_get_mm_service( face, &service ); in FT_Get_Multi_Master() [all …]
|
D | ftobjs.c | 288 FT_Driver driver = slot->face->driver; in ft_glyphslot_init() 318 FT_Memory memory = FT_FACE_MEMORY( slot->face ); in ft_glyphslot_free_bitmap() 481 FT_Memory memory = FT_FACE_MEMORY( slot->face ); in ft_glyphslot_alloc_bitmap() 530 FT_Driver driver = slot->face->driver; in ft_glyphslot_done() 559 FT_New_GlyphSlot( FT_Face face, in FT_New_GlyphSlot() argument 569 if ( !face ) in FT_New_GlyphSlot() 572 if ( !face->driver ) in FT_New_GlyphSlot() 575 driver = face->driver; in FT_New_GlyphSlot() 582 slot->face = face; in FT_New_GlyphSlot() 592 slot->next = face->glyph; in FT_New_GlyphSlot() [all …]
|
D | ftpfr.c | 27 ft_pfr_check( FT_Face face ) in ft_pfr_check() argument 32 if ( face ) in ft_pfr_check() 33 FT_FACE_LOOKUP_SERVICE( face, service, PFR_METRICS ); in ft_pfr_check() 42 FT_Get_PFR_Metrics( FT_Face face, in FT_Get_PFR_Metrics() argument 52 if ( !face ) in FT_Get_PFR_Metrics() 55 service = ft_pfr_check( face ); in FT_Get_PFR_Metrics() 58 error = service->get_metrics( face, in FT_Get_PFR_Metrics() 71 *aoutline_resolution = face->units_per_EM; in FT_Get_PFR_Metrics() 74 *ametrics_resolution = face->units_per_EM; in FT_Get_PFR_Metrics() 77 if ( face->size ) in FT_Get_PFR_Metrics() [all …]
|
D | ftadvanc.c | 27 _ft_face_scale_advances( FT_Face face, in _ft_face_scale_advances() argument 39 if ( !face->size ) in _ft_face_scale_advances() 43 scale = face->size->metrics.y_scale; in _ft_face_scale_advances() 45 scale = face->size->metrics.x_scale; in _ft_face_scale_advances() 67 #define LOAD_ADVANCE_FAST_CHECK( face, flags ) \ argument 75 FT_Get_Advance( FT_Face face, in FT_Get_Advance() argument 83 if ( !face ) in FT_Get_Advance() 89 if ( gindex >= (FT_UInt)face->num_glyphs ) in FT_Get_Advance() 92 func = face->driver->clazz->get_advances; in FT_Get_Advance() 93 if ( func && LOAD_ADVANCE_FAST_CHECK( face, flags ) ) in FT_Get_Advance() [all …]
|
/external/freetype/src/sfnt/ |
D | sfobjs.c | 132 tt_face_get_name( TT_Face face, in tt_face_get_name() argument 136 FT_Memory memory = face->root.memory; in tt_face_get_name() 155 rec = face->name_table.names; in tt_face_get_name() 156 for ( n = 0; n < face->num_names; n++, rec++ ) in tt_face_get_name() 229 rec = face->name_table.names + found_win; in tt_face_get_name() 253 rec = face->name_table.names + found_apple; in tt_face_get_name() 258 rec = face->name_table.names + found_unicode; in tt_face_get_name() 266 FT_Stream stream = face->name_table.stream; in tt_face_get_name() 398 TT_Face face ) in woff_open_font() argument 441 FT_ASSERT( stream == face->root.stream ); in woff_open_font() [all …]
|
D | sfdriver.c | 76 get_sfnt_table( TT_Face face, in get_sfnt_table() argument 85 table = &face->header; in get_sfnt_table() 89 table = &face->horizontal; in get_sfnt_table() 93 table = face->vertical_info ? &face->vertical : NULL; in get_sfnt_table() 97 table = ( face->os2.version == 0xFFFFU ) ? NULL : &face->os2; in get_sfnt_table() 101 table = &face->postscript; in get_sfnt_table() 105 table = &face->max_profile; in get_sfnt_table() 109 table = face->pclt.Version ? &face->pclt : NULL; in get_sfnt_table() 121 sfnt_table_info( TT_Face face, in sfnt_table_info() argument 131 *length = face->num_tables; in sfnt_table_info() [all …]
|
D | ttsbit.c | 50 tt_face_load_sbit( TT_Face face, in tt_face_load_sbit() argument 58 face->sbit_table = NULL; in tt_face_load_sbit() 59 face->sbit_table_size = 0; in tt_face_load_sbit() 60 face->sbit_table_type = TT_SBIT_TABLE_TYPE_NONE; in tt_face_load_sbit() 61 face->sbit_num_strikes = 0; in tt_face_load_sbit() 63 error = face->goto_table( face, TTAG_CBLC, stream, &table_size ); in tt_face_load_sbit() 65 face->sbit_table_type = TT_SBIT_TABLE_TYPE_CBLC; in tt_face_load_sbit() 68 error = face->goto_table( face, TTAG_EBLC, stream, &table_size ); in tt_face_load_sbit() 70 error = face->goto_table( face, TTAG_bloc, stream, &table_size ); in tt_face_load_sbit() 72 face->sbit_table_type = TT_SBIT_TABLE_TYPE_EBLC; in tt_face_load_sbit() [all …]
|
D | ttmtx.c | 70 tt_face_load_hmtx( TT_Face face, in tt_face_load_hmtx() argument 83 ptable_offset = &face->vert_metrics_offset; in tt_face_load_hmtx() 84 ptable_size = &face->vert_metrics_size; in tt_face_load_hmtx() 89 ptable_offset = &face->horz_metrics_offset; in tt_face_load_hmtx() 90 ptable_size = &face->horz_metrics_size; in tt_face_load_hmtx() 93 error = face->goto_table( face, tag, stream, &table_size ); in tt_face_load_hmtx() 124 tt_face_load_hhea( TT_Face face, in tt_face_load_hhea() argument 160 void *v = &face->vertical; in tt_face_load_hhea() 163 error = face->goto_table( face, TTAG_vhea, stream, 0 ); in tt_face_load_hhea() 171 error = face->goto_table( face, TTAG_hhea, stream, 0 ); in tt_face_load_hhea() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-face.cc | 81 hb_face_t *face; in hb_face_create_for_tables() local 83 if (!reference_table_func || !(face = hb_object_create<hb_face_t> ())) { in hb_face_create_for_tables() 89 face->reference_table_func = reference_table_func; in hb_face_create_for_tables() 90 face->user_data = user_data; in hb_face_create_for_tables() 91 face->destroy = destroy; in hb_face_create_for_tables() 93 face->upem = 0; in hb_face_create_for_tables() 94 face->num_glyphs = (unsigned int) -1; in hb_face_create_for_tables() 96 return face; in hb_face_create_for_tables() 130 _hb_face_for_data_reference_table (hb_face_t *face HB_UNUSED, hb_tag_t tag, void *user_data) in _hb_face_for_data_reference_table() 162 hb_face_t *face; in hb_face_create() local [all …]
|
D | hb-ot-layout.cc | 47 _hb_ot_layout_create (hb_face_t *face) in _hb_ot_layout_create() argument 53 layout->gdef_blob = OT::Sanitizer<OT::GDEF>::sanitize (face->reference_table (HB_OT_TAG_GDEF)); in _hb_ot_layout_create() 56 layout->gsub_blob = OT::Sanitizer<OT::GSUB>::sanitize (face->reference_table (HB_OT_TAG_GSUB)); in _hb_ot_layout_create() 59 layout->gpos_blob = OT::Sanitizer<OT::GPOS>::sanitize (face->reference_table (HB_OT_TAG_GPOS)); in _hb_ot_layout_create() 62 layout->math.init (face); in _hb_ot_layout_create() 63 layout->fvar.init (face); in _hb_ot_layout_create() 64 layout->avar.init (face); in _hb_ot_layout_create() 217 _get_gdef (hb_face_t *face) in _get_gdef() argument 219 if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return OT::Null(OT::GDEF); in _get_gdef() 220 return *hb_ot_layout_from_face (face)->gdef; in _get_gdef() [all …]
|
D | hb-ot-var.cc | 40 _get_fvar (hb_face_t *face) in _get_fvar() argument 42 if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return OT::Null(OT::fvar); in _get_fvar() 43 hb_ot_layout_t * layout = hb_ot_layout_from_face (face); in _get_fvar() 47 _get_avar (hb_face_t *face) in _get_avar() argument 49 if (unlikely (!hb_ot_shaper_face_data_ensure (face))) return OT::Null(OT::avar); in _get_avar() 50 hb_ot_layout_t * layout = hb_ot_layout_from_face (face); in _get_avar() 66 hb_ot_var_has_data (hb_face_t *face) in hb_ot_var_has_data() argument 68 return &_get_fvar (face) != &OT::Null(OT::fvar); in hb_ot_var_has_data() 77 hb_ot_var_get_axis_count (hb_face_t *face) in hb_ot_var_get_axis_count() argument 79 const OT::fvar &fvar = _get_fvar (face); in hb_ot_var_get_axis_count() [all …]
|
D | hb-ot-layout.h | 52 hb_ot_layout_has_glyph_classes (hb_face_t *face); 63 hb_ot_layout_get_glyph_class (hb_face_t *face, 67 hb_ot_layout_get_glyphs_in_class (hb_face_t *face, 75 hb_ot_layout_get_attach_points (hb_face_t *face, 101 hb_ot_layout_table_get_script_tags (hb_face_t *face, 108 hb_ot_layout_table_find_script (hb_face_t *face, 115 hb_ot_layout_table_choose_script (hb_face_t *face, 122 hb_ot_layout_table_get_feature_tags (hb_face_t *face, 129 hb_ot_layout_script_get_language_tags (hb_face_t *face, 137 hb_ot_layout_script_find_language (hb_face_t *face, [all …]
|
/external/freetype/src/type42/ |
D | t42objs.c | 32 T42_Open_Face( T42_Face face ) in T42_Open_Face() argument 36 T1_Font type1 = &face->type1; in T42_Open_Face() 37 FT_Memory memory = face->root.memory; in T42_Open_Face() 40 PSAux_Service psaux = (PSAux_Service)face->psaux; in T42_Open_Face() 43 t42_loader_init( &loader, face ); in T42_Open_Face() 47 if ( FT_ALLOC( face->ttf_data, 12 ) ) in T42_Open_Face() 54 face->ttf_size = 12; in T42_Open_Face() 57 face->root.stream, in T42_Open_Face() 63 error = t42_parse_dict( face, &loader, in T42_Open_Face() 170 T42_Face face = (T42_Face)t42face; in T42_Face_Init() local [all …]
|
/external/freetype/include/freetype/ |
D | freetype.h | 842 FT_Face face; member 1269 #define FT_HAS_HORIZONTAL( face ) \ argument 1270 ( (face)->face_flags & FT_FACE_FLAG_HORIZONTAL ) 1283 #define FT_HAS_VERTICAL( face ) \ argument 1284 ( (face)->face_flags & FT_FACE_FLAG_VERTICAL ) 1297 #define FT_HAS_KERNING( face ) \ argument 1298 ( (face)->face_flags & FT_FACE_FLAG_KERNING ) 1312 #define FT_IS_SCALABLE( face ) \ argument 1313 ( (face)->face_flags & FT_FACE_FLAG_SCALABLE ) 1331 #define FT_IS_SFNT( face ) \ argument [all …]
|
/external/swiftshader/src/D3D9/ |
D | Direct3DCubeTexture9.cpp | 33 for(unsigned int face = 0; face < 6; face++) in Direct3DCubeTexture9() local 42 …surfaceLevel[face][level] = new Direct3DSurface9(device, this, width, height, format, pool, D3DMUL… in Direct3DCubeTexture9() 43 surfaceLevel[face][level]->bind(); in Direct3DCubeTexture9() 47 surfaceLevel[face][level] = 0; in Direct3DCubeTexture9() 58 for(unsigned int face = 0; face < 6; face++) in ~Direct3DCubeTexture9() local 62 if(surfaceLevel[face][level]) in ~Direct3DCubeTexture9() 64 surfaceLevel[face][level]->unbind(); in ~Direct3DCubeTexture9() 65 surfaceLevel[face][level] = 0; in ~Direct3DCubeTexture9() 192 for(unsigned int face = 0; face < 6; face++) in GenerateMipSubLevels() local 194 if(!surfaceLevel[face][0]->hasDirtyContents()) in GenerateMipSubLevels() [all …]
|
/external/swiftshader/src/D3D8/ |
D | Direct3DCubeTexture8.cpp | 32 for(unsigned int face = 0; face < 6; face++) in Direct3DCubeTexture8() local 41 …surfaceLevel[face][level] = new Direct3DSurface8(device, this, width, height, format, pool, D3DMUL… in Direct3DCubeTexture8() 42 surfaceLevel[face][level]->bind(); in Direct3DCubeTexture8() 46 surfaceLevel[face][level] = 0; in Direct3DCubeTexture8() 57 for(unsigned int face = 0; face < 6; face++) in ~Direct3DCubeTexture8() local 61 if(surfaceLevel[face][level]) in ~Direct3DCubeTexture8() 63 surfaceLevel[face][level]->unbind(); in ~Direct3DCubeTexture8() 64 surfaceLevel[face][level] = 0; in ~Direct3DCubeTexture8() 181 long Direct3DCubeTexture8::AddDirtyRect(D3DCUBEMAP_FACES face, const RECT *dirtyRect) in AddDirtyRect() argument 190 …long Direct3DCubeTexture8::GetCubeMapSurface(D3DCUBEMAP_FACES face, unsigned int level , IDirect3D… in GetCubeMapSurface() argument [all …]
|
/external/freetype/src/type1/ |
D | t1objs.c | 59 T1_Face face = (T1_Face)size->root.face; in T1_Size_Get_Globals_Funcs() local 60 PSHinter_Service pshinter = (PSHinter_Service)face->pshinter; in T1_Size_Get_Globals_Funcs() 64 module = FT_Get_Module( size->root.face->driver->root.library, in T1_Size_Get_Globals_Funcs() 103 T1_Face face = (T1_Face)size->root.face; in T1_Size_Init() local 106 error = funcs->create( size->root.face->memory, in T1_Size_Init() 107 &face->type1.private_dict, &globals ); in T1_Size_Init() 124 FT_Request_Metrics( size->root.face, req ); in T1_Size_Request() 152 T1_Face face; in T1_GlyphSlot_Init() local 156 face = (T1_Face)slot->face; in T1_GlyphSlot_Init() 157 pshinter = (PSHinter_Service)face->pshinter; in T1_GlyphSlot_Init() [all …]
|
/external/freetype/src/cff/ |
D | cffdrivr.c | 114 TT_Face face = (TT_Face)ttface; in cff_get_kerning() local 115 SFNT_Service sfnt = (SFNT_Service)face->sfnt; in cff_get_kerning() 122 kerning->x = sfnt->get_kerning( face, left_glyph, right_glyph ); in cff_get_kerning() 181 if ( cffsize->face != cffslot->face ) in cff_glyph_load() 196 cff_get_advances( FT_Face face, in cff_get_advances() argument 204 FT_GlyphSlot slot = face->glyph; in cff_get_advances() 207 if ( FT_IS_SFNT( face ) ) in cff_get_advances() 213 TT_Face ttface = (TT_Face)face; in cff_get_advances() 221 if ( ( FT_IS_NAMED_INSTANCE( face ) || FT_IS_VARIATION( face ) ) && in cff_get_advances() 255 if ( ( FT_IS_NAMED_INSTANCE( face ) || FT_IS_VARIATION( face ) ) && in cff_get_advances() [all …]
|
/external/mesa3d/src/mesa/main/ |
D | stencil.c | 191 const GLint face = ctx->Stencil.ActiveFace; in _mesa_StencilFunc() local 201 if (face != 0) { in _mesa_StencilFunc() 202 if (ctx->Stencil.Function[face] == func && in _mesa_StencilFunc() 203 ctx->Stencil.ValueMask[face] == mask && in _mesa_StencilFunc() 204 ctx->Stencil.Ref[face] == ref) in _mesa_StencilFunc() 207 ctx->Stencil.Function[face] = func; in _mesa_StencilFunc() 208 ctx->Stencil.Ref[face] = ref; in _mesa_StencilFunc() 209 ctx->Stencil.ValueMask[face] = mask; in _mesa_StencilFunc() 256 const GLint face = ctx->Stencil.ActiveFace; in _mesa_StencilMask() local 261 if (face != 0) { in _mesa_StencilMask() [all …]
|
/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_resource_texture.h | 180 unsigned face, unsigned level) in check_face_level() argument 183 assert(face < 6); in check_face_level() 186 assert(face < tex->b.b.depth0); in check_face_level() 189 assert(face < tex->b.b.array_size); in check_face_level() 201 unsigned face,unsigned level) in svga_define_texture_level() argument 203 check_face_level(tex, face, level); in svga_define_texture_level() 204 tex->defined[face] |= 1 << level; in svga_define_texture_level() 211 unsigned face, unsigned level) in svga_is_texture_level_defined() argument 213 check_face_level(tex, face, level); in svga_is_texture_level_defined() 214 return (tex->defined[face] & (1 << level)) != 0; in svga_is_texture_level_defined() [all …]
|
/external/freetype/src/pcf/ |
D | pcfdrivr.c | 80 PCF_Face face = (PCF_Face)FT_CMAP_FACE( pcfcmap ); in pcf_cmap_init() local 85 cmap->num_encodings = face->nencodings; in pcf_cmap_init() 86 cmap->encodings = face->encodings; in pcf_cmap_init() 210 PCF_Face face = (PCF_Face)pcfface; in PCF_Face_Done() local 214 if ( !face ) in PCF_Face_Done() 217 memory = FT_FACE_MEMORY( face ); in PCF_Face_Done() 219 FT_FREE( face->encodings ); in PCF_Face_Done() 220 FT_FREE( face->metrics ); in PCF_Face_Done() 223 if ( face->properties ) in PCF_Face_Done() 228 for ( i = 0; i < face->nprops; i++ ) in PCF_Face_Done() [all …]
|