/external/freetype/src/base/ |
D | ftstroke.c | 314 FT_UInt num_points; member 331 FT_UInt new_max = border->num_points + new_points; in ft_stroke_border_grow() 361 FT_UInt count = border->num_points; in ft_stroke_border_close() 368 border->num_points = start; in ft_stroke_border_close() 373 border->num_points = --count; in ft_stroke_border_close() 435 border->points[border->num_points - 1] = *to; in ft_stroke_border_lineto() 440 if ( border->num_points > 0 && in ft_stroke_border_lineto() 441 FT_IS_SMALL( border->points[border->num_points - 1].x - to->x ) && in ft_stroke_border_lineto() 442 FT_IS_SMALL( border->points[border->num_points - 1].y - to->y ) ) in ft_stroke_border_lineto() 449 FT_Vector* vec = border->points + border->num_points; in ft_stroke_border_lineto() [all …]
|
D | ftgloadr.c | 369 FT_UInt num_points = (FT_UInt)source->base.outline.n_points; in FT_GlyphLoader_CopyPoints() local 373 error = FT_GlyphLoader_CheckPoints( target, num_points, num_contours ); in FT_GlyphLoader_CopyPoints() 381 num_points ); in FT_GlyphLoader_CopyPoints() 383 num_points ); in FT_GlyphLoader_CopyPoints() 391 num_points ); in FT_GlyphLoader_CopyPoints() 393 num_points ); in FT_GlyphLoader_CopyPoints() 396 out->n_points = (short)num_points; in FT_GlyphLoader_CopyPoints()
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftstroke.c | 304 FT_UInt num_points; member 321 FT_UInt new_max = border->num_points + new_points; in ft_stroke_border_grow() 351 FT_UInt count = border->num_points; in ft_stroke_border_close() 358 border->num_points = start; in ft_stroke_border_close() 363 border->num_points = --count; in ft_stroke_border_close() 425 border->points[border->num_points - 1] = *to; in ft_stroke_border_lineto() 430 if ( border->num_points > 0 && in ft_stroke_border_lineto() 431 FT_IS_SMALL( border->points[border->num_points - 1].x - to->x ) && in ft_stroke_border_lineto() 432 FT_IS_SMALL( border->points[border->num_points - 1].y - to->y ) ) in ft_stroke_border_lineto() 439 FT_Vector* vec = border->points + border->num_points; in ft_stroke_border_lineto() [all …]
|
D | ftgloadr.c | 368 FT_UInt num_points = source->base.outline.n_points; in FT_GlyphLoader_CopyPoints() local 372 error = FT_GlyphLoader_CheckPoints( target, num_points, num_contours ); in FT_GlyphLoader_CopyPoints() 380 num_points ); in FT_GlyphLoader_CopyPoints() 382 num_points ); in FT_GlyphLoader_CopyPoints() 390 num_points ); in FT_GlyphLoader_CopyPoints() 392 num_points ); in FT_GlyphLoader_CopyPoints() 395 out->n_points = (short)num_points; in FT_GlyphLoader_CopyPoints()
|
/external/ceres-solver/examples/ |
D | bundle_adjuster.cc | 142 const int num_points = bal_problem->num_points(); in SetOrdering() local 160 for (int i = 0; i < num_points; ++i) { in SetOrdering() 169 for (int i = 0; i < num_points; ++i) { in SetOrdering() 178 for (int i = 0; i < num_points; ++i) { in SetOrdering() 208 for (int i = 0; i < num_points; ++i) { in SetOrdering()
|
D | circle_fit.cc | 138 int num_points = 0; in main() local 144 num_points++; in main() 147 std::cout << "Got " << num_points << " points.\n"; in main()
|
D | bal_problem.h | 70 int num_points() const { return num_points_; } in num_points() function
|
/external/ceres-solver/internal/ceres/ |
D | visibility.cc | 84 int num_points = 0; in CreateSchurComplementGraph() local 87 num_points = max(num_points, (*visibility[i].rbegin()) + 1); in CreateSchurComplementGraph() 96 vector<set<int> > inverse_visibility(num_points); in CreateSchurComplementGraph()
|
/external/flac/libFLAC/ |
D | metadata_object.c | 167 object->length = object->data.seek_table.num_points * FLAC__STREAM_METADATA_SEEKPOINT_LENGTH; in seektable_calculate_length_() 170 static FLAC__StreamMetadata_SeekPoint *seekpoint_array_new_(unsigned num_points) in seekpoint_array_new_() argument 174 FLAC__ASSERT(num_points > 0); in seekpoint_array_new_() 176 …object_array = (FLAC__StreamMetadata_SeekPoint*)safe_malloc_mul_2op_(num_points, /*times*/sizeof(F… in seekpoint_array_new_() 180 for(i = 0; i < num_points; i++) { in seekpoint_array_new_() 552 to->data.seek_table.num_points = object->data.seek_table.num_points; in FLAC__metadata_object_clone() 553 …if(to->data.seek_table.num_points > SIZE_MAX / sizeof(FLAC__StreamMetadata_SeekPoint)) { /* overfl… in FLAC__metadata_object_clone() 557 …, (FLAC__byte*)object->data.seek_table.points, object->data.seek_table.num_points * sizeof(FLAC__S… in FLAC__metadata_object_clone() 740 if(block1->num_points != block2->num_points) in compare_block_data_seektable_() 744 for(i = 0; i < block1->num_points; i++) { in compare_block_data_seektable_() [all …]
|
D | format.c | 242 for(i = 0; i < seek_table->num_points; i++) { in FLAC__format_seektable_is_legal() 278 …qsort(seek_table->points, seek_table->num_points, sizeof(FLAC__StreamMetadata_SeekPoint), (int (*)… in FLAC__format_seektable_sort() 282 for(i = j = 0; i < seek_table->num_points; i++) { in FLAC__format_seektable_sort() 293 for(i = j; i < seek_table->num_points; i++) { in FLAC__format_seektable_sort()
|
/external/boringssl/src/crypto/ec/ |
D | p256-64.c | 1507 const unsigned num_points, const u8 *g_scalar, in batch_mul() argument 1526 for (i = (num_points ? 255 : 31); i >= 0; --i) { in batch_mul() 1566 if (num_points && (i % 5 == 0)) { in batch_mul() 1568 for (num = 0; num < num_points; ++num) { in batch_mul() 1732 size_t num_points = num; in ec_GFp_nistp256_points_mul() local 1779 num_points++; in ec_GFp_nistp256_points_mul() 1783 if (num_points > 0) { in ec_GFp_nistp256_points_mul() 1784 if (num_points >= 3) { in ec_GFp_nistp256_points_mul() 1789 secrets = OPENSSL_malloc(num_points * sizeof(felem_bytearray)); in ec_GFp_nistp256_points_mul() 1790 pre_comp = OPENSSL_malloc(num_points * 17 * 3 * sizeof(smallfelem)); in ec_GFp_nistp256_points_mul() [all …]
|
/external/pdfium/third_party/freetype/src/pshinter/ |
D | pshalgo.c | 1149 glyph->num_points = 0; in psh_glyph_done() 1189 FT_UInt count = glyph->num_points; in psh_glyph_load_points() 1227 for ( n = 0; n < glyph->num_points; n++ ) in psh_glyph_save_points() 1277 glyph->num_points = outline->n_points; in psh_glyph_init() 1327 for ( n = 0; n < glyph->num_points; n++, point++ ) in psh_glyph_init() 1465 for ( n = 0; n < glyph->num_points; n++ ) in psh_glyph_compute_extrema() 1690 if ( num_masks > 1 && glyph->num_points > 0 ) in psh_glyph_find_strong_points() 1693 first = mask->end_point > glyph->num_points in psh_glyph_find_strong_points() 1694 ? glyph->num_points in psh_glyph_find_strong_points() 1703 next = mask->end_point > glyph->num_points in psh_glyph_find_strong_points() [all …]
|
D | pshalgo.h | 196 FT_UInt num_points; member
|
/external/freetype/src/autofit/ |
D | afwarp.c | 174 FT_Int nn, num_points, num_segments; in af_warper_compute() local 203 num_points = hints->num_points; in af_warper_compute() 214 for ( nn = 1; nn < num_points; nn++ ) in af_warper_compute()
|
D | afhints.c | 306 AF_Point limit = points + hints->num_points; in af_glyph_hints_dump_points() 312 if ( hints->num_points ) in af_glyph_hints_dump_points() 677 hints->num_points = 0; in af_glyph_hints_done() 711 hints->num_points = 0; in af_glyph_hints_reload() 773 hints->num_points = outline->n_points; in af_glyph_hints_reload() 798 if ( hints->num_points == 0 ) in af_glyph_hints_reload() 803 AF_Point point_limit = points + hints->num_points; in af_glyph_hints_reload() 1100 AF_Point limit = point + hints->num_points; in af_glyph_hints_save() 1210 AF_Point point_limit = points + hints->num_points; in af_glyph_hints_align_strong_points() 1461 AF_Point point_limit = points + hints->num_points; in af_glyph_hints_align_weak_points() [all …]
|
/external/freetype/src/pshinter/ |
D | pshalgo.c | 1046 glyph->num_points = 0; in psh_glyph_done() 1086 FT_UInt count = glyph->num_points; in psh_glyph_load_points() 1124 for ( n = 0; n < glyph->num_points; n++ ) in psh_glyph_save_points() 1174 glyph->num_points = (FT_UInt)outline->n_points; in psh_glyph_init() 1224 for ( n = 0; n < glyph->num_points; n++, point++ ) in psh_glyph_init() 1362 for ( n = 0; n < glyph->num_points; n++ ) in psh_glyph_compute_extrema() 1587 if ( num_masks > 1 && glyph->num_points > 0 ) in psh_glyph_find_strong_points() 1590 first = mask->end_point > glyph->num_points in psh_glyph_find_strong_points() 1591 ? glyph->num_points in psh_glyph_find_strong_points() 1596 FT_UInt next = FT_MIN( mask->end_point, glyph->num_points ); in psh_glyph_find_strong_points() [all …]
|
D | pshalgo.h | 191 FT_UInt num_points; member
|
/external/pdfium/third_party/freetype/src/type1/ |
D | t1load.c | 214 axis->maximum = map->design_points[map->num_points - 1]; in T1_Get_Multi_Master() 239 for ( j = 1; j < axismap->num_points; ++j ) in mm_axis_unmap() 249 return INT_TO_FIXED( axismap->design_points[axismap->num_points - 1] ); in mm_axis_unmap() 439 for ( p = 0; p < (FT_UInt)map->num_points; p++ ) in T1_Set_MM_Design() 465 the_blend = blends[map->num_points - 1]; in T1_Set_MM_Design() 556 dmap->num_points = 0; in T1_Done_Blend() 771 FT_Int p, num_points; in parse_blend_design_map() local 779 T1_MAX_MM_MAP_POINTS, &num_points ); in parse_blend_design_map() 781 if ( num_points <= 0 || num_points > T1_MAX_MM_MAP_POINTS ) in parse_blend_design_map() 789 if ( FT_NEW_ARRAY( map->design_points, num_points * 2 ) ) in parse_blend_design_map() [all …]
|
/external/pdfium/third_party/freetype/src/psaux/ |
D | t1decode.c | 815 FT_UInt num_points, nn, mm; in t1_decoder_parse_charstrings() local 827 num_points = (FT_UInt)subr_no - 13 + ( subr_no == 18 ); in t1_decoder_parse_charstrings() 828 if ( arg_cnt != (FT_Int)( num_points * blend->num_designs ) ) in t1_decoder_parse_charstrings() 851 delta = top + num_points; in t1_decoder_parse_charstrings() 853 for ( nn = 0; nn < num_points; nn++ ) in t1_decoder_parse_charstrings() 864 known_othersubr_result_cnt = num_points; in t1_decoder_parse_charstrings()
|
/external/freetype/src/psaux/ |
D | t1decode.c | 816 FT_UInt num_points, nn, mm; in t1_decoder_parse_charstrings() local 828 num_points = (FT_UInt)subr_no - 13 + ( subr_no == 18 ); in t1_decoder_parse_charstrings() 829 if ( arg_cnt != (FT_Int)( num_points * blend->num_designs ) ) in t1_decoder_parse_charstrings() 852 delta = top + num_points; in t1_decoder_parse_charstrings() 854 for ( nn = 0; nn < num_points; nn++ ) in t1_decoder_parse_charstrings() 865 known_othersubr_result_cnt = (FT_Int)num_points; in t1_decoder_parse_charstrings()
|
/external/opencv/cvaux/src/ |
D | cv3dtracker.cpp | 80 const int num_points = etalon_size.width * etalon_size.height; in cv3dTrackerCalibrateCameras() local 127 CV_CALL(object_points = (CvPoint3D32f *)cvAlloc(num_points * sizeof(CvPoint3D32f))); in cv3dTrackerCalibrateCameras() 128 CV_CALL(points = (CvPoint2D32f *)cvAlloc(num_points * sizeof(CvPoint2D32f))); in cv3dTrackerCalibrateCameras() 170 int count = num_points; in cv3dTrackerCalibrateCameras()
|
/external/pdfium/third_party/freetype/src/truetype/ |
D | ttgload.c | 1024 FT_UInt num_points = gloader->base.outline.n_points; in TT_Process_Composite_Component() local 1039 for ( i = num_base_points; i < num_points; i++ ) in TT_Process_Composite_Component() 1059 l >= num_points ) in TT_Process_Composite_Component() 1150 translate_array( num_points - num_base_points, in TT_Process_Composite_Component() 1733 FT_UInt num_points = start_point; in load_truetype_glyph() local 1779 num_points = gloader->base.outline.n_points; in load_truetype_glyph() 1781 if ( num_points == num_base_points ) in load_truetype_glyph() 1807 num_points > start_point ) in load_truetype_glyph()
|
/external/opencv/cv/include/ |
D | cvcompat.h | 382 CV_INLINE void cvConvexHull( CvPoint* points, int num_points, in cvConvexHull() argument 386 CvMat points1 = cvMat( 1, num_points, CV_32SC2, points ); in cvConvexHull() 387 CvMat hull1 = cvMat( 1, num_points, CV_32SC1, hull ); in cvConvexHull() 398 #define cvConvexHullApprox( points, num_points, bound_rect, bandwidth, \ argument 400 cvConvexHull( points, num_points, bound_rect, orientation, hull, hullsize )
|
/external/freetype/include/freetype/ |
D | t1tables.h | 288 FT_Byte num_points; member
|
/external/pdfium/third_party/freetype/include/ |
D | t1tables.h | 288 FT_Byte num_points; member
|