Home
last modified time | relevance | path

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

/external/freetype/src/autofit/
Dafcjk.c855 AF_Segment seg1, seg2; in af_cjk_hints_link_segments() local
867 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_cjk_hints_link_segments()
869 if ( seg1->dir != major_dir ) 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()
882 FT_Pos min = seg1->min_coord; in af_cjk_hints_link_segments()
883 FT_Pos max = seg1->max_coord; in af_cjk_hints_link_segments()
896 if ( dist * 8 < seg1->score * 9 && in af_cjk_hints_link_segments()
897 ( dist * 8 < seg1->score * 7 || seg1->len < len ) ) in af_cjk_hints_link_segments()
899 seg1->score = dist; in af_cjk_hints_link_segments()
[all …]
Daflatin2.c996 AF_Segment seg1, seg2; in af_latin2_hints_link_segments() local
1006 for ( seg1 = segments; seg1 < segment_mid; seg1++ ) in af_latin2_hints_link_segments()
1008 if ( seg1->dir != axis->major_dir ) in af_latin2_hints_link_segments()
1014 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_latin2_hints_link_segments()
1016 if ( seg1->dir != axis->major_dir ) in af_latin2_hints_link_segments()
1020 if ( seg1->dir + seg2->dir == 0 && seg2->pos > seg1->pos ) in af_latin2_hints_link_segments()
1023 FT_Pos pos1 = seg1->pos; in af_latin2_hints_link_segments()
1032 FT_Pos min = seg1->min_coord; in af_latin2_hints_link_segments()
1033 FT_Pos max = seg1->max_coord; in af_latin2_hints_link_segments()
1047 if ( score < seg1->score ) 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
1961 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_latin_hints_link_segments()
1963 if ( seg1->dir != axis->major_dir ) in af_latin_hints_link_segments()
1970 FT_Pos pos1 = seg1->pos; in af_latin_hints_link_segments()
1974 if ( seg1->dir + seg2->dir == 0 && pos2 > pos1 ) in af_latin_hints_link_segments()
1977 FT_Pos min = seg1->min_coord; in af_latin_hints_link_segments()
1978 FT_Pos max = seg1->max_coord; in af_latin_hints_link_segments()
2032 if ( score < seg1->score ) in af_latin_hints_link_segments()
2034 seg1->score = score; in af_latin_hints_link_segments()
2035 seg1->link = seg2; in af_latin_hints_link_segments()
[all …]
/external/skqp/tests/
DPathOpsAngleTest.cpp462 SkOpSegment* seg1 = contour.first(); in DEF_TEST() local
463 seg1->debugAddAngle(dataArray[index2 + 0].fTStart, dataArray[index2 + 0].fTEnd); in DEF_TEST()
464 SkOpSegment* seg2 = seg1->next(); in DEF_TEST()
468 SkOpAngle& angle1 = *seg1->debugLastAngle(); in DEF_TEST()
DPathOpsAngleIdeas.cpp430 SkOpSegment* seg1 = contour.first(); in testQuadAngles() local
431 seg1->debugAddAngle(0, 1); in testQuadAngles()
432 SkOpSegment* seg2 = seg1->next(); in testQuadAngles()
434 int realOverlap = PathOpsAngleTester::ConvexHullOverlaps(*seg1->debugLastAngle(), in testQuadAngles()
553 PathOpsAngleTester::EndsIntersect(*seg1->debugLastAngle(), in testQuadAngles()
/external/skia/tests/
DPathOpsAngleTest.cpp462 SkOpSegment* seg1 = contour.first(); in DEF_TEST() local
463 seg1->debugAddAngle(dataArray[index2 + 0].fTStart, dataArray[index2 + 0].fTEnd); in DEF_TEST()
464 SkOpSegment* seg2 = seg1->next(); in DEF_TEST()
468 SkOpAngle& angle1 = *seg1->debugLastAngle(); in DEF_TEST()
DPathOpsAngleIdeas.cpp430 SkOpSegment* seg1 = contour.first(); in testQuadAngles() local
431 seg1->debugAddAngle(0, 1); in testQuadAngles()
432 SkOpSegment* seg2 = seg1->next(); in testQuadAngles()
434 int realOverlap = PathOpsAngleTester::ConvexHullOverlaps(*seg1->debugLastAngle(), in testQuadAngles()
553 PathOpsAngleTester::EndsIntersect(*seg1->debugLastAngle(), in testQuadAngles()
/external/wpa_supplicant_8/wpa_supplicant/
Drrm.c695 u8 seg0, seg1; in wpas_get_op_chan_phy() local
718 seg1 = vht_oper->vht_op_info_chan_center_freq_seg1_idx; in wpas_get_op_chan_phy()
719 if (seg1 && abs(seg1 - seg0) == 8) in wpas_get_op_chan_phy()
721 else if (seg1) in wpas_get_op_chan_phy()
Dwpa_supplicant.c2150 int chwidth, seg0, seg1; in ibss_mesh_setup_freq() local
2358 seg1 = 0; in ibss_mesh_setup_freq()
2382 seg1 = vht80[k] + 6; in ibss_mesh_setup_freq()
2411 chwidth, seg0, seg1, vht_caps) != 0) in ibss_mesh_setup_freq()
/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()
/external/skqp/src/pathops/
DSkOpCoincidence.h257 bool addOverlap(const SkOpSegment* seg1, const SkOpSegment* seg1o,
DSkOpCoincidence.cpp893 bool SkOpCoincidence::addOverlap(const SkOpSegment* seg1, const SkOpSegment* seg1o, in addOverlap() argument
896 const SkOpPtT* s1 = overS->find(seg1); in addOverlap()
897 const SkOpPtT* e1 = overE->find(seg1); in addOverlap()
/external/skia/src/pathops/
DSkOpCoincidence.h257 bool addOverlap(const SkOpSegment* seg1, const SkOpSegment* seg1o,
DSkOpCoincidence.cpp893 bool SkOpCoincidence::addOverlap(const SkOpSegment* seg1, const SkOpSegment* seg1o, in addOverlap() argument
896 const SkOpPtT* s1 = overS->find(seg1); in addOverlap()
897 const SkOpPtT* e1 = overE->find(seg1); in addOverlap()
/external/python/cpython2/Lib/test/
Dtest_socket.py790 seg1 = self.cli_conn.recv(len(MSG) - 3)
792 msg = seg1 + seg2
808 seg1, addr = self.cli_conn.recvfrom(len(MSG)-3)
810 msg = seg1 + seg2
/external/python/cpython3/Lib/test/
Dtest_socket.py2123 seg1 = self.cli_conn.recv(len(MSG) - 3)
2125 msg = seg1 + seg2
2141 seg1, addr = self.cli_conn.recvfrom(len(MSG)-3)
2143 msg = seg1 + seg2
2846 seg1, ancdata, flags, addr = self.doRecvmsg(self.serv_sock,
2857 msg = seg1 + seg2