Home
last modified time | relevance | path

Searched refs:seg2 (Results 1 – 19 of 19) sorted by relevance

/external/freetype/src/autofit/
Dafcjk.c754 AF_Segment seg1, seg2; in af_cjk_hints_link_segments() local
771 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) 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()
786 if ( min < seg2->min_coord ) in af_cjk_hints_link_segments()
787 min = seg2->min_coord; in af_cjk_hints_link_segments()
789 if ( max > seg2->max_coord ) in af_cjk_hints_link_segments()
790 max = seg2->max_coord; in af_cjk_hints_link_segments()
800 seg1->link = seg2; in af_cjk_hints_link_segments()
803 if ( dist * 8 < seg2->score * 9 && in af_cjk_hints_link_segments()
[all …]
Daflatin2.c972 AF_Segment seg1, seg2; in af_latin2_hints_link_segments() local
987 for ( seg2 = segment_mid; seg2 < segment_limit; seg2++ ) in af_latin2_hints_link_segments()
995 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_latin2_hints_link_segments()
996 if ( seg1->dir + seg2->dir == 0 && seg2->pos > seg1->pos ) in af_latin2_hints_link_segments()
1000 FT_Pos pos2 = seg2->pos; in af_latin2_hints_link_segments()
1013 if ( min < seg2->min_coord ) in af_latin2_hints_link_segments()
1014 min = seg2->min_coord; in af_latin2_hints_link_segments()
1016 if ( max > seg2->max_coord ) in af_latin2_hints_link_segments()
1017 max = seg2->max_coord; in af_latin2_hints_link_segments()
1026 seg1->link = seg2; 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
1413 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_latin_hints_link_segments()
1416 FT_Pos pos2 = seg2->pos; in af_latin_hints_link_segments()
1419 if ( seg1->dir + seg2->dir == 0 && pos2 > pos1 ) in af_latin_hints_link_segments()
1427 if ( min < seg2->min_coord ) in af_latin_hints_link_segments()
1428 min = seg2->min_coord; in af_latin_hints_link_segments()
1430 if ( max > seg2->max_coord ) in af_latin_hints_link_segments()
1431 max = seg2->max_coord; in af_latin_hints_link_segments()
1480 seg1->link = seg2; in af_latin_hints_link_segments()
1483 if ( score < seg2->score ) in af_latin_hints_link_segments()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/
Dafcjk.c770 AF_Segment seg1, seg2; in af_cjk_hints_link_segments() local
787 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_cjk_hints_link_segments()
788 if ( seg2 != seg1 && seg1->dir + seg2->dir == 0 ) in af_cjk_hints_link_segments()
790 FT_Pos dist = seg2->pos - seg1->pos; in af_cjk_hints_link_segments()
802 if ( min < seg2->min_coord ) in af_cjk_hints_link_segments()
803 min = seg2->min_coord; in af_cjk_hints_link_segments()
805 if ( max > seg2->max_coord ) in af_cjk_hints_link_segments()
806 max = seg2->max_coord; in af_cjk_hints_link_segments()
816 seg1->link = seg2; in af_cjk_hints_link_segments()
819 if ( dist * 8 < seg2->score * 9 && in af_cjk_hints_link_segments()
[all …]
Daflatin2.c988 AF_Segment seg1, seg2; in af_latin2_hints_link_segments() local
1003 for ( seg2 = segment_mid; seg2 < segment_limit; seg2++ ) in af_latin2_hints_link_segments()
1011 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_latin2_hints_link_segments()
1012 if ( seg1->dir + seg2->dir == 0 && seg2->pos > seg1->pos ) in af_latin2_hints_link_segments()
1016 FT_Pos pos2 = seg2->pos; in af_latin2_hints_link_segments()
1029 if ( min < seg2->min_coord ) in af_latin2_hints_link_segments()
1030 min = seg2->min_coord; in af_latin2_hints_link_segments()
1032 if ( max > seg2->max_coord ) in af_latin2_hints_link_segments()
1033 max = seg2->max_coord; in af_latin2_hints_link_segments()
1042 seg1->link = seg2; 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.c1485 AF_Segment seg1, seg2; in af_latin_hints_link_segments() local
1514 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_latin_hints_link_segments()
1517 FT_Pos pos2 = seg2->pos; in af_latin_hints_link_segments()
1520 if ( seg1->dir + seg2->dir == 0 && pos2 > pos1 ) in af_latin_hints_link_segments()
1528 if ( min < seg2->min_coord ) in af_latin_hints_link_segments()
1529 min = seg2->min_coord; in af_latin_hints_link_segments()
1531 if ( max > seg2->max_coord ) in af_latin_hints_link_segments()
1532 max = seg2->max_coord; in af_latin_hints_link_segments()
1581 seg1->link = seg2; in af_latin_hints_link_segments()
1584 if ( score < seg2->score ) in af_latin_hints_link_segments()
[all …]
/external/valgrind/exp-sgcheck/
Dpc_common.c142 Seg* seg2; member
191 void h_record_arith_error( Seg* seg1, Seg* seg2, HChar* opname ) in h_record_arith_error() argument
197 xe.XE.Arith.seg2 = seg2; in h_record_arith_error()
470 Seg* seg2 = xe->XE.Arith.seg2; in pc_pp_Error() local
474 tl_assert(BOTTOM != seg2 && UNKNOWN != seg2); in pc_pp_Error()
482 if (seg1 != seg2) { in pc_pp_Error()
497 if (NONPTR == seg2) { in pc_pp_Error()
502 which, Seg__addr(seg2), Seg__size(seg2) ); in pc_pp_Error()
503 VG_(pp_ExeContext)(Seg__where(seg2)); in pc_pp_Error()
512 if (seg1 != seg2) { in pc_pp_Error()
[all …]
Dpc_common.h45 void h_record_arith_error( Seg* seg1, Seg* seg2, HChar* opname );
/external/skia/tests/
DPathOpsAngleTest.cpp458 SkOpSegment* seg2 = seg1->next(); in DEF_TEST() local
459seg2->debugAddAngle(dataArray[index2 + 1].fTStart, dataArray[index2 + 1].fTEnd, &allocator); in DEF_TEST()
460 SkOpSegment* seg3 = seg2->next(); in DEF_TEST()
463 SkOpAngle& angle2 = *seg2->debugLastAngle(); in DEF_TEST()
DPathOpsAngleIdeas.cpp428 SkOpSegment* seg2 = seg1->next(); in testQuadAngles() local
429 seg2->debugAddAngle(0, 1, allocator); in testQuadAngles()
431 *seg2->debugLastAngle()); in testQuadAngles()
550 *seg2->debugLastAngle()); in testQuadAngles()
/external/skia/src/pathops/
DSkOpCoincidence.h106 void addOverlap(SkOpSegment* seg1, SkOpSegment* seg1o, SkOpSegment* seg2, SkOpSegment* seg2o,
DSkOpCoincidence.cpp323 void SkOpCoincidence::addOverlap(SkOpSegment* seg1, SkOpSegment* seg1o, SkOpSegment* seg2, in addOverlap() argument
334 SkOpPtT* s2 = overS->find(seg2); in addOverlap()
335 SkOpPtT* e2 = overE->find(seg2); in addOverlap()
/external/opencv3/modules/calib3d/src/
Dcirclesgrid.cpp1459 bool CirclesGridFinder::areSegmentsIntersecting(Segment seg1, Segment seg2) in areSegmentsIntersecting() argument
1461 …bool doesStraddle1 = (getDirection(seg2.s, seg2.e, seg1.s) * getDirection(seg2.s, seg2.e, seg1.e))… in areSegmentsIntersecting()
1462 …bool doesStraddle2 = (getDirection(seg1.s, seg1.e, seg2.s) * getDirection(seg1.s, seg1.e, seg2.e))… in areSegmentsIntersecting()
Dcirclesgrid.hpp197 static bool areSegmentsIntersecting(Segment seg1, Segment seg2);
/external/google-breakpad/src/common/mac/
Dmacho_reader_unittest.cc1294 LoadedSection seg1, seg2, seg3; in TEST_F() local
1306 seg2.Append(42, '*'); in TEST_F()
1307 seg2.address() = 0xc70fc909; in TEST_F()
1308 cmd2.Header("thorax", seg2, 0xde7327f4, 0xfdaf771d, 0x65e74b30); in TEST_F()
1322 file.Header(&load_commands).Place(&seg1).Place(&seg2).Place(&seg3); in TEST_F()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-solaris.c1972 const NSegment *seg, *seg2; in PRE() local
2030 seg2 = VG_(am_find_nsegment)(old_brk_limit - 1); in PRE()
2033 vg_assert(seg2); in PRE()
2034 vg_assert(seg == seg2); in PRE()
2063 seg2 = VG_(am_find_nsegment)(old_brk_local - 1); in PRE()
2065 vg_assert(seg2); in PRE()
2066 vg_assert(seg == seg2); in PRE()
2098 seg2 = VG_(am_find_nsegment)(new_brk_local - 1); in PRE()
2100 vg_assert(seg2); in PRE()
2101 vg_assert(seg == seg2); in PRE()
[all …]
Dsyswrap-generic.c1285 NSegment const * seg2; in do_brk() local
1287 seg2 = VG_(am_find_nsegment)( VG_(brk_limit) - 1 ); in do_brk()
1288 vg_assert(seg2); in do_brk()
1290 if (seg == seg2 && seg->hasW) in do_brk()