/external/freetype/src/type1/ |
D | t1load.c | 106 FT_UInt num_axis ) in t1_allocate_blend() argument 159 if ( num_axis > 0 ) in t1_allocate_blend() 161 if ( blend->num_axis != 0 && blend->num_axis != num_axis ) in t1_allocate_blend() 164 blend->num_axis = num_axis; in t1_allocate_blend() 169 num_axis = blend->num_axis; in t1_allocate_blend() 170 if ( num_designs && num_axis && blend->design_pos[0] == 0 ) in t1_allocate_blend() 175 if ( FT_NEW_ARRAY( blend->design_pos[0], num_designs * num_axis ) ) in t1_allocate_blend() 179 blend->design_pos[n] = blend->design_pos[0] + num_axis * n; in t1_allocate_blend() 204 master->num_axis = blend->num_axis; in T1_Get_Multi_Master() 207 for ( n = 0; n < blend->num_axis; n++ ) in T1_Get_Multi_Master() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | reduce.cc | 93 size_t num_axis = NumElements(op_context->axis); in ResizeOutputTensor() local 105 for (int axis_idx = 0; axis_idx < num_axis; ++axis_idx) { in ResizeOutputTensor() 120 int num_reduce_axis = num_axis; in ResizeOutputTensor() 121 for (int i = 0; i < num_axis; ++i) { in ResizeOutputTensor() 144 for (int axis_idx = 0; axis_idx < num_axis; ++axis_idx) { in ResizeOutputTensor() 274 int num_axis = static_cast<int>(NumElements(op_context.axis)); in EvalMean() local 290 op_params.axis_count = num_axis; in EvalMean() 291 ResolveAxis(GetTensorData<int>(op_context.axis), num_axis, &op_params); in EvalMean() 319 op_params.axis_count = num_axis; in EvalMean() 320 ResolveAxis(GetTensorData<int>(op_context.axis), num_axis, &op_params); in EvalMean() [all …]
|
/external/freetype/src/truetype/ |
D | ttgxvar.c | 370 if ( axisCount != (FT_Long)blend->mmvar->num_axis ) in ft_var_load_avar() 483 if ( itemStore->axisCount != (FT_Long)blend->mmvar->num_axis ) in ft_var_load_item_variation_store() 1490 if ( gvar_head.axisCount != (FT_UShort)blend->mmvar->num_axis ) in ft_var_load_gvar() 1632 for ( i = 0; i < blend->num_axis; i++ ) in ft_var_apply_tuple() 1748 if ( num_coords > mmvar->num_axis ) in ft_var_to_normalized() 1752 mmvar->num_axis, num_coords )); in ft_var_to_normalized() 1753 num_coords = mmvar->num_axis; in ft_var_to_normalized() 1794 for ( ; i < mmvar->num_axis; i++ ) in ft_var_to_normalized() 1803 for ( i = 0; i < mmvar->num_axis; i++, av++ ) in ft_var_to_normalized() 1844 if ( num_coords > blend->num_axis ) in ft_var_to_design() [all …]
|
D | ttgxvar.h | 303 FT_UInt num_axis; member
|
D | ttinterp.c | 7627 FT_UInt num_axes = exc->face->blend->num_axis; in Ins_GETVARIATION() 7928 exc->new_top = exc->args + exc->face->blend->num_axis; in TT_RunIns()
|
/external/freetype/include/freetype/ |
D | ftmm.h | 112 FT_UInt num_axis; member 259 FT_UInt num_axis; member
|
D | t1tables.h | 301 FT_UInt num_axis; member
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType.cpp | 346 if (static_cast<FT_UInt>(data.getAxisCount()) != variations->num_axis) { in ft_face_setup_axes() 348 rec->fFace->family_name, variations->num_axis, data.getAxisCount()); in ft_face_setup_axes() 1650 if (!coordinates || coordinateCount < SkToInt(variations->num_axis)) { in onGetVariationDesignPosition() 1651 return variations->num_axis; in onGetVariationDesignPosition() 1654 SkAutoSTMalloc<4, FT_Fixed> coords(variations->num_axis); in onGetVariationDesignPosition() 1657 !gFTLibrary->fGetVarDesignCoordinates(face, variations->num_axis, coords.get())) in onGetVariationDesignPosition() 1659 for (FT_UInt i = 0; i < variations->num_axis; ++i) { in onGetVariationDesignPosition() 1663 } else if (static_cast<FT_UInt>(fta.getAxesCount()) == variations->num_axis) { in onGetVariationDesignPosition() 1664 for (FT_UInt i = 0; i < variations->num_axis; ++i) { in onGetVariationDesignPosition() 1676 return variations->num_axis; in onGetVariationDesignPosition() [all …]
|
/external/skqp/src/ports/ |
D | SkFontHost_FreeType.cpp | 346 if (static_cast<FT_UInt>(data.getAxisCount()) != variations->num_axis) { in ft_face_setup_axes() 348 rec->fFace->family_name, variations->num_axis, data.getAxisCount()); in ft_face_setup_axes() 1650 if (!coordinates || coordinateCount < SkToInt(variations->num_axis)) { in onGetVariationDesignPosition() 1651 return variations->num_axis; in onGetVariationDesignPosition() 1654 SkAutoSTMalloc<4, FT_Fixed> coords(variations->num_axis); in onGetVariationDesignPosition() 1657 !gFTLibrary->fGetVarDesignCoordinates(face, variations->num_axis, coords.get())) in onGetVariationDesignPosition() 1659 for (FT_UInt i = 0; i < variations->num_axis; ++i) { in onGetVariationDesignPosition() 1663 } else if (static_cast<FT_UInt>(fta.getAxesCount()) == variations->num_axis) { in onGetVariationDesignPosition() 1664 for (FT_UInt i = 0; i < variations->num_axis; ++i) { in onGetVariationDesignPosition() 1676 return variations->num_axis; in onGetVariationDesignPosition() [all …]
|
/external/harfbuzz_ng/src/ |
D | hb-ft.cc | 700 FT_Fixed *ft_coords = (FT_Fixed *) calloc (mm_var->num_axis, sizeof (FT_Fixed)); in hb_ft_font_changed() 701 int *coords = (int *) calloc (mm_var->num_axis, sizeof (int)); in hb_ft_font_changed() 704 if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, ft_coords)) in hb_ft_font_changed() 708 for (unsigned int i = 0; i < mm_var->num_axis; ++i) in hb_ft_font_changed() 715 hb_font_set_var_coords_normalized (font, coords, mm_var->num_axis); in hb_ft_font_changed()
|
/external/freetype/src/base/ |
D | ftmm.c | 449 if ( axis_index >= master->num_axis ) in FT_Get_Var_Axis_Flags()
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | types.h | 346 const int* index, const int num_axis, in ReducedOutputOffset() argument 358 for (int axis_idx = 0; axis_idx < num_axis; ++axis_idx) { in ReducedOutputOffset()
|
/external/tensorflow/tensorflow/contrib/lite/kernels/internal/ |
D | types.h | 330 const int* index, const int num_axis, in ReducedOutputOffset() argument 342 for (int axis_idx = 0; axis_idx < num_axis; ++axis_idx) { in ReducedOutputOffset()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | reference_ops.h | 3436 const int num_axis, int* input_iter, in Reduce() argument 3448 input_iter, num_axis, axis); in Reduce() 3456 const int64_t num_axis, int* out_axis, in ResolveAxis() argument 3464 for (int64_t idx = 0; idx < num_axis; ++idx) { in ResolveAxis() 3488 const int num_axis, int* input_iter, in ReduceSumImpl() argument 3495 output_num_dims, axis, num_axis, input_iter, reducer, in ReduceSumImpl()
|
/external/freetype/ |
D | ChangeLog | 1813 `face->blend->num_axis' in case we have to initialize the
|