Home
last modified time | relevance | path

Searched refs:seg1 (Results 1 – 10 of 10) sorted by relevance

/external/freetype/src/autofit/
Dafcjk.c754 AF_Segment seg1, seg2; in af_cjk_hints_link_segments() local
766 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_cjk_hints_link_segments()
768 if ( seg1->dir != major_dir ) in af_cjk_hints_link_segments()
772 if ( seg2 != seg1 && seg1->dir + seg2->dir == 0 ) in af_cjk_hints_link_segments()
774 FT_Pos dist = seg2->pos - seg1->pos; in af_cjk_hints_link_segments()
781 FT_Pos min = seg1->min_coord; in af_cjk_hints_link_segments()
782 FT_Pos max = seg1->max_coord; in af_cjk_hints_link_segments()
795 if ( dist * 8 < seg1->score * 9 && in af_cjk_hints_link_segments()
796 ( dist * 8 < seg1->score * 7 || seg1->len < len ) ) in af_cjk_hints_link_segments()
798 seg1->score = dist; in af_cjk_hints_link_segments()
[all …]
Daflatin2.c972 AF_Segment seg1, seg2; in af_latin2_hints_link_segments() local
982 for ( seg1 = segments; seg1 < segment_mid; seg1++ ) in af_latin2_hints_link_segments()
984 if ( seg1->dir != axis->major_dir ) in af_latin2_hints_link_segments()
990 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_latin2_hints_link_segments()
992 if ( seg1->dir != axis->major_dir ) in af_latin2_hints_link_segments()
996 if ( seg1->dir + seg2->dir == 0 && seg2->pos > seg1->pos ) in af_latin2_hints_link_segments()
999 FT_Pos pos1 = seg1->pos; in af_latin2_hints_link_segments()
1008 FT_Pos min = seg1->min_coord; in af_latin2_hints_link_segments()
1009 FT_Pos max = seg1->max_coord; in af_latin2_hints_link_segments()
1023 if ( score < seg1->score ) in af_latin2_hints_link_segments()
[all …]
Dafhints.h468 #define AF_SEGMENT_DIST( seg1, seg2 ) ( ( (seg1)->pos > (seg2)->pos ) \ argument
469 ? (seg1)->pos - (seg2)->pos \
470 : (seg2)->pos - (seg1)->pos )
Daflatin.c1384 AF_Segment seg1, seg2; in af_latin_hints_link_segments() local
1406 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_latin_hints_link_segments()
1408 if ( seg1->dir != axis->major_dir ) in af_latin_hints_link_segments()
1415 FT_Pos pos1 = seg1->pos; in af_latin_hints_link_segments()
1419 if ( seg1->dir + seg2->dir == 0 && pos2 > pos1 ) in af_latin_hints_link_segments()
1422 FT_Pos min = seg1->min_coord; in af_latin_hints_link_segments()
1423 FT_Pos max = seg1->max_coord; in af_latin_hints_link_segments()
1477 if ( score < seg1->score ) in af_latin_hints_link_segments()
1479 seg1->score = score; in af_latin_hints_link_segments()
1480 seg1->link = seg2; in af_latin_hints_link_segments()
[all …]
/external/valgrind/exp-sgcheck/
Dpc_common.c141 Seg* seg1; member
191 void h_record_arith_error( Seg* seg1, Seg* seg2, HChar* opname ) in h_record_arith_error() argument
196 xe.XE.Arith.seg1 = seg1; in h_record_arith_error()
469 Seg* seg1 = xe->XE.Arith.seg1; in pc_pp_Error() local
473 tl_assert(BOTTOM != seg1); in pc_pp_Error()
482 if (seg1 != seg2) { in pc_pp_Error()
483 if (NONPTR == seg1) { in pc_pp_Error()
485 } else if (UNKNOWN == seg1) { in pc_pp_Error()
490 Seg__addr(seg1), Seg__size(seg1) ); in pc_pp_Error()
491 VG_(pp_ExeContext)(Seg__where(seg1)); in pc_pp_Error()
[all …]
Dpc_common.h45 void h_record_arith_error( Seg* seg1, Seg* seg2, HChar* opname );
/external/skia/tests/
DPathOpsAngleTest.cpp456 SkOpSegment* seg1 = contour.first(); in DEF_TEST() local
457seg1->debugAddAngle(dataArray[index2 + 0].fTStart, dataArray[index2 + 0].fTEnd, &allocator); in DEF_TEST()
458 SkOpSegment* seg2 = seg1->next(); in DEF_TEST()
462 SkOpAngle& angle1 = *seg1->debugLastAngle(); in DEF_TEST()
DPathOpsAngleIdeas.cpp426 SkOpSegment* seg1 = contour.first(); in testQuadAngles() local
427 seg1->debugAddAngle(0, 1, allocator); in testQuadAngles()
428 SkOpSegment* seg2 = seg1->next(); in testQuadAngles()
430 int realOverlap = PathOpsAngleTester::ConvexHullOverlaps(*seg1->debugLastAngle(), in testQuadAngles()
549 PathOpsAngleTester::EndsIntersect(*seg1->debugLastAngle(), in testQuadAngles()
/external/wpa_supplicant_8/src/ap/
Ddfs.c22 static int dfs_get_used_n_chans(struct hostapd_iface *iface, int *seg1) in dfs_get_used_n_chans() argument
26 *seg1 = 0; in dfs_get_used_n_chans()
43 *seg1 = 4; in dfs_get_used_n_chans()
/external/google-breakpad/src/common/mac/
Dmacho_reader_unittest.cc1294 LoadedSection seg1, seg2, seg3; in TEST_F() local
1297 seg1.Append(128, '@'); in TEST_F()
1298 seg1.address() = 0xa7f61ef6; in TEST_F()
1299 cmd1.Header("head", seg1, 0x88bf1cc7, 0x889a26a4, 0xe9b80d87); in TEST_F()
1322 file.Header(&load_commands).Place(&seg1).Place(&seg2).Place(&seg3); in TEST_F()