Home
last modified time | relevance | path

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

12

/third_party/freetype/src/autofit/
Dafcjk.c848 AF_Segment seg1, seg2; in af_cjk_hints_link_segments() local
860 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_cjk_hints_link_segments()
862 if ( seg1->dir != major_dir ) in af_cjk_hints_link_segments()
866 if ( seg2 != seg1 && seg1->dir + seg2->dir == 0 ) in af_cjk_hints_link_segments()
868 FT_Pos dist = seg2->pos - seg1->pos; in af_cjk_hints_link_segments()
875 FT_Pos min = seg1->min_coord; in af_cjk_hints_link_segments()
876 FT_Pos max = seg1->max_coord; in af_cjk_hints_link_segments()
889 if ( dist * 8 < seg1->score * 9 && in af_cjk_hints_link_segments()
890 ( dist * 8 < seg1->score * 7 || seg1->len < len ) ) in af_cjk_hints_link_segments()
892 seg1->score = dist; in af_cjk_hints_link_segments()
[all …]
Dafhints.h462 #define AF_SEGMENT_DIST( seg1, seg2 ) ( ( (seg1)->pos > (seg2)->pos ) \ argument
463 ? (seg1)->pos - (seg2)->pos \
464 : (seg2)->pos - (seg1)->pos )
Daflatin.c1994 AF_Segment seg1, seg2; in af_latin_hints_link_segments() local
2016 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_latin_hints_link_segments()
2018 if ( seg1->dir != axis->major_dir ) in af_latin_hints_link_segments()
2025 FT_Pos pos1 = seg1->pos; in af_latin_hints_link_segments()
2029 if ( seg1->dir + seg2->dir == 0 && pos2 > pos1 ) in af_latin_hints_link_segments()
2032 FT_Pos min = seg1->min_coord; in af_latin_hints_link_segments()
2033 FT_Pos max = seg1->max_coord; in af_latin_hints_link_segments()
2087 if ( score < seg1->score ) in af_latin_hints_link_segments()
2089 seg1->score = score; in af_latin_hints_link_segments()
2090 seg1->link = seg2; in af_latin_hints_link_segments()
[all …]
/third_party/flutter/skia/third_party/externals/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.c997 AF_Segment seg1, seg2; in af_latin2_hints_link_segments() local
1007 for ( seg1 = segments; seg1 < segment_mid; seg1++ ) in af_latin2_hints_link_segments()
1009 if ( seg1->dir != axis->major_dir ) in af_latin2_hints_link_segments()
1015 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_latin2_hints_link_segments()
1017 if ( seg1->dir != axis->major_dir ) in af_latin2_hints_link_segments()
1021 if ( seg1->dir + seg2->dir == 0 && seg2->pos > seg1->pos ) in af_latin2_hints_link_segments()
1024 FT_Pos pos1 = seg1->pos; in af_latin2_hints_link_segments()
1033 FT_Pos min = seg1->min_coord; in af_latin2_hints_link_segments()
1034 FT_Pos max = seg1->max_coord; in af_latin2_hints_link_segments()
1048 if ( score < seg1->score ) in af_latin2_hints_link_segments()
[all …]
Dafhints.h477 #define AF_SEGMENT_DIST( seg1, seg2 ) ( ( (seg1)->pos > (seg2)->pos ) \ argument
478 ? (seg1)->pos - (seg2)->pos \
479 : (seg2)->pos - (seg1)->pos )
Daflatin.c1975 AF_Segment seg1, seg2; in af_latin_hints_link_segments() local
1997 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_latin_hints_link_segments()
1999 if ( seg1->dir != axis->major_dir ) in af_latin_hints_link_segments()
2006 FT_Pos pos1 = seg1->pos; in af_latin_hints_link_segments()
2010 if ( seg1->dir + seg2->dir == 0 && pos2 > pos1 ) in af_latin_hints_link_segments()
2013 FT_Pos min = seg1->min_coord; in af_latin_hints_link_segments()
2014 FT_Pos max = seg1->max_coord; in af_latin_hints_link_segments()
2068 if ( score < seg1->score ) in af_latin_hints_link_segments()
2070 seg1->score = score; in af_latin_hints_link_segments()
2071 seg1->link = seg2; in af_latin_hints_link_segments()
[all …]
/third_party/skia/third_party/externals/freetype/src/autofit/
Dafcjk.c848 AF_Segment seg1, seg2; in af_cjk_hints_link_segments() local
860 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_cjk_hints_link_segments()
862 if ( seg1->dir != major_dir ) in af_cjk_hints_link_segments()
866 if ( seg2 != seg1 && seg1->dir + seg2->dir == 0 ) in af_cjk_hints_link_segments()
868 FT_Pos dist = seg2->pos - seg1->pos; in af_cjk_hints_link_segments()
875 FT_Pos min = seg1->min_coord; in af_cjk_hints_link_segments()
876 FT_Pos max = seg1->max_coord; in af_cjk_hints_link_segments()
889 if ( dist * 8 < seg1->score * 9 && in af_cjk_hints_link_segments()
890 ( dist * 8 < seg1->score * 7 || seg1->len < len ) ) in af_cjk_hints_link_segments()
892 seg1->score = dist; in af_cjk_hints_link_segments()
[all …]
Dafhints.h462 #define AF_SEGMENT_DIST( seg1, seg2 ) ( ( (seg1)->pos > (seg2)->pos ) \ argument
463 ? (seg1)->pos - (seg2)->pos \
464 : (seg2)->pos - (seg1)->pos )
Daflatin.c1994 AF_Segment seg1, seg2; in af_latin_hints_link_segments() local
2016 for ( seg1 = segments; seg1 < segment_limit; seg1++ ) in af_latin_hints_link_segments()
2018 if ( seg1->dir != axis->major_dir ) in af_latin_hints_link_segments()
2025 FT_Pos pos1 = seg1->pos; in af_latin_hints_link_segments()
2029 if ( seg1->dir + seg2->dir == 0 && pos2 > pos1 ) in af_latin_hints_link_segments()
2032 FT_Pos min = seg1->min_coord; in af_latin_hints_link_segments()
2033 FT_Pos max = seg1->max_coord; in af_latin_hints_link_segments()
2087 if ( score < seg1->score ) in af_latin_hints_link_segments()
2089 seg1->score = score; in af_latin_hints_link_segments()
2090 seg1->link = seg2; in af_latin_hints_link_segments()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dieee802_11_he.c215 u8 seg1 = hostapd_get_oper_centr_freq_seg1_idx(hapd->iconf); in hostapd_eid_he_operation() local
229 if (seg1) in hostapd_eid_he_operation()
240 seg1 = seg0; in hostapd_eid_he_operation()
248 *pos++ = seg1; in hostapd_eid_he_operation()
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()
/third_party/skia/tests/
DPathOpsAngleTest.cpp459 SkOpSegment* seg1 = contour.first(); in DEF_TEST() local
460 seg1->debugAddAngle(dataArray[index2 + 0].fTStart, dataArray[index2 + 0].fTEnd); in DEF_TEST()
461 SkOpSegment* seg2 = seg1->next(); in DEF_TEST()
465 SkOpAngle& angle1 = *seg1->debugLastAngle(); in DEF_TEST()
DPathOpsAngleIdeas.cpp427 SkOpSegment* seg1 = contour.first(); in testQuadAngles() local
428 seg1->debugAddAngle(0, 1); in testQuadAngles()
429 SkOpSegment* seg2 = seg1->next(); in testQuadAngles()
431 int realOverlap = PathOpsAngleTester::ConvexHullOverlaps(*seg1->debugLastAngle(), in testQuadAngles()
550 PathOpsAngleTester::EndsIntersect(*seg1->debugLastAngle(), in testQuadAngles()
/third_party/flutter/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Drrm.c714 u8 seg0, seg1; in wpas_get_op_chan_phy() local
737 seg1 = vht_oper->vht_op_info_chan_center_freq_seg1_idx; in wpas_get_op_chan_phy()
738 if (seg1 && abs(seg1 - seg0) == 8) in wpas_get_op_chan_phy()
740 else if (seg1) in wpas_get_op_chan_phy()
Dscan.c2618 u8 seg1 = ie[4]; in wpas_get_est_tpt() local
2624 (seg1 > 0 && abs(seg1 - seg0) == 16))) in wpas_get_est_tpt()
2627 ((seg1 > 0 && abs(seg1 - seg0) == 8) || in wpas_get_est_tpt()
2628 (seg1 > 0 && abs(seg1 - seg0) == 16))) in wpas_get_est_tpt()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dhlsdemux_m3u8.c1417 GstM3U8MediaFile *seg1, *seg2, *seg3; in GST_START_TEST() local
1446 seg1 = g_list_nth_data (files, 0); in GST_START_TEST()
1451 fail_unless (seg1->init_file == seg2->init_file); in GST_START_TEST()
1452 assert_equals_int (seg1->init_file->ref_count, 2); in GST_START_TEST()
1457 init1 = seg1->init_file; in GST_START_TEST()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/libcoap/examples/
Detsi_testcases.sh354 testaddress=coap://$SERVERTUP/seg1/seg2/seg3
/third_party/skia/src/pathops/
DSkOpCoincidence.h257 bool addOverlap(const SkOpSegment* seg1, const SkOpSegment* seg1o,
/third_party/flutter/skia/src/pathops/
DSkOpCoincidence.h257 bool addOverlap(const SkOpSegment* seg1, const SkOpSegment* seg1o,
/third_party/elfio/elfio/
Delfio.hpp675 static bool is_subsequence_of( const segment* seg1, in is_subsequence_of() argument
679 const std::vector<Elf_Half>& sections1 = seg1->get_sections(); in is_subsequence_of()

12