Home
last modified time | relevance | path

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

/external/freetype/src/autofit/
Dafcjk.c855 AF_Segment seg1, seg2; in af_cjk_hints_link_segments() local
872 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_cjk_hints_link_segments()
873 if ( seg2 != seg1 && seg1->dir + seg2->dir == 0 ) in af_cjk_hints_link_segments()
875 FT_Pos dist = seg2->pos - seg1->pos; in af_cjk_hints_link_segments()
887 if ( min < seg2->min_coord ) in af_cjk_hints_link_segments()
888 min = seg2->min_coord; in af_cjk_hints_link_segments()
890 if ( max > seg2->max_coord ) in af_cjk_hints_link_segments()
891 max = seg2->max_coord; in af_cjk_hints_link_segments()
901 seg1->link = seg2; in af_cjk_hints_link_segments()
904 if ( dist * 8 < seg2->score * 9 && in af_cjk_hints_link_segments()
[all …]
Daflatin2.c996 AF_Segment seg1, seg2; in af_latin2_hints_link_segments() local
1011 for ( seg2 = segment_mid; seg2 < segment_limit; seg2++ ) in af_latin2_hints_link_segments()
1019 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_latin2_hints_link_segments()
1020 if ( seg1->dir + seg2->dir == 0 && seg2->pos > seg1->pos ) in af_latin2_hints_link_segments()
1024 FT_Pos pos2 = seg2->pos; in af_latin2_hints_link_segments()
1037 if ( min < seg2->min_coord ) in af_latin2_hints_link_segments()
1038 min = seg2->min_coord; in af_latin2_hints_link_segments()
1040 if ( max > seg2->max_coord ) in af_latin2_hints_link_segments()
1041 max = seg2->max_coord; in af_latin2_hints_link_segments()
1050 seg1->link = seg2; in af_latin2_hints_link_segments()
[all …]
Dafhints.h471 #define AF_SEGMENT_DIST( seg1, seg2 ) ( ( (seg1)->pos > (seg2)->pos ) \ argument
472 ? (seg1)->pos - (seg2)->pos \
473 : (seg2)->pos - (seg1)->pos )
Daflatin.c1939 AF_Segment seg1, seg2; in af_latin_hints_link_segments() local
1968 for ( seg2 = segments; seg2 < segment_limit; seg2++ ) in af_latin_hints_link_segments()
1971 FT_Pos pos2 = seg2->pos; in af_latin_hints_link_segments()
1974 if ( seg1->dir + seg2->dir == 0 && pos2 > pos1 ) in af_latin_hints_link_segments()
1982 if ( min < seg2->min_coord ) in af_latin_hints_link_segments()
1983 min = seg2->min_coord; in af_latin_hints_link_segments()
1985 if ( max > seg2->max_coord ) in af_latin_hints_link_segments()
1986 max = seg2->max_coord; in af_latin_hints_link_segments()
2035 seg1->link = seg2; in af_latin_hints_link_segments()
2038 if ( score < seg2->score ) in af_latin_hints_link_segments()
[all …]
/external/skqp/tests/
DPathOpsAngleTest.cpp464 SkOpSegment* seg2 = seg1->next(); in DEF_TEST() local
465 seg2->debugAddAngle(dataArray[index2 + 1].fTStart, dataArray[index2 + 1].fTEnd); in DEF_TEST()
466 SkOpSegment* seg3 = seg2->next(); in DEF_TEST()
469 SkOpAngle& angle2 = *seg2->debugLastAngle(); in DEF_TEST()
DPathOpsAngleIdeas.cpp432 SkOpSegment* seg2 = seg1->next(); in testQuadAngles() local
433 seg2->debugAddAngle(0, 1); in testQuadAngles()
435 *seg2->debugLastAngle()); in testQuadAngles()
554 *seg2->debugLastAngle()); in testQuadAngles()
/external/skia/tests/
DPathOpsAngleTest.cpp464 SkOpSegment* seg2 = seg1->next(); in DEF_TEST() local
465 seg2->debugAddAngle(dataArray[index2 + 1].fTStart, dataArray[index2 + 1].fTEnd); in DEF_TEST()
466 SkOpSegment* seg3 = seg2->next(); in DEF_TEST()
469 SkOpAngle& angle2 = *seg2->debugLastAngle(); in DEF_TEST()
DPathOpsAngleIdeas.cpp432 SkOpSegment* seg2 = seg1->next(); in testQuadAngles() local
433 seg2->debugAddAngle(0, 1); in testQuadAngles()
435 *seg2->debugLastAngle()); in testQuadAngles()
554 *seg2->debugLastAngle()); in testQuadAngles()
/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/skqp/src/pathops/
DSkOpCoincidence.h258 const SkOpSegment* seg2, const SkOpSegment* seg2o,
DSkOpCoincidence.cpp894 const SkOpSegment* seg2, const SkOpSegment* seg2o, in addOverlap() argument
909 const SkOpPtT* s2 = overS->find(seg2); in addOverlap()
910 const SkOpPtT* e2 = overE->find(seg2); in addOverlap()
/external/skia/src/pathops/
DSkOpCoincidence.h258 const SkOpSegment* seg2, const SkOpSegment* seg2o,
DSkOpCoincidence.cpp894 const SkOpSegment* seg2, const SkOpSegment* seg2o, in addOverlap() argument
909 const SkOpPtT* s2 = overS->find(seg2); in addOverlap()
910 const SkOpPtT* e2 = overE->find(seg2); in addOverlap()
/external/python/cpython2/Lib/test/
Dtest_socket.py791 seg2 = self.cli_conn.recv(1024)
792 msg = seg1 + seg2
809 seg2, addr = self.cli_conn.recvfrom(1024)
810 msg = seg1 + seg2
/external/python/cpython3/Lib/test/
Dtest_socket.py2124 seg2 = self.cli_conn.recv(1024)
2125 msg = seg1 + seg2
2142 seg2, addr = self.cli_conn.recvfrom(1024)
2143 msg = seg1 + seg2
2852 seg2, ancdata, flags, addr = self.doRecvmsg(self.serv_sock, 1024)
2857 msg = seg1 + seg2