/dports/x11-toolkits/qt5-declarative/kde-qtdeclarative-5.15.2p41/tools/qmleasing/ |
H A D | segmentproperties.cpp | 46 connect(m_ui_pane_c1.p1_x, SIGNAL(valueChanged(double)), this, SLOT(c1Updated())); in SegmentProperties() 56 connect(m_ui_pane_c2.p1_x, SIGNAL(valueChanged(double)), this, SLOT(c2Updated())); in SegmentProperties() 66 connect(m_ui_pane_p.p1_x, SIGNAL(valueChanged(double)), this, SLOT(pUpdated())); in SegmentProperties() 74 QPointF c1(m_ui_pane_c1.p1_x->value(), m_ui_pane_c1.p1_y->value()); in c1Updated() 82 QPointF c2(m_ui_pane_c2.p1_x->value(), m_ui_pane_c2.p1_y->value()); in c2Updated() 90 QPointF p(m_ui_pane_p.p1_x->value(), m_ui_pane_p.p1_y->value()); in pUpdated() 105 m_ui_pane_c1.p1_x->setValue(m_points.at(0).x()); in invalidate() 108 m_ui_pane_c2.p1_x->setValue(m_points.at(1).x()); in invalidate() 111 m_ui_pane_p.p1_x->setValue(m_points.at(2).x()); in invalidate()
|
/dports/x11-toolkits/qt5-declarative-test/kde-qtdeclarative-5.15.2p41/tools/qmleasing/ |
H A D | segmentproperties.cpp | 46 connect(m_ui_pane_c1.p1_x, SIGNAL(valueChanged(double)), this, SLOT(c1Updated())); in SegmentProperties() 56 connect(m_ui_pane_c2.p1_x, SIGNAL(valueChanged(double)), this, SLOT(c2Updated())); in SegmentProperties() 66 connect(m_ui_pane_p.p1_x, SIGNAL(valueChanged(double)), this, SLOT(pUpdated())); in SegmentProperties() 74 QPointF c1(m_ui_pane_c1.p1_x->value(), m_ui_pane_c1.p1_y->value()); in c1Updated() 82 QPointF c2(m_ui_pane_c2.p1_x->value(), m_ui_pane_c2.p1_y->value()); in c2Updated() 90 QPointF p(m_ui_pane_p.p1_x->value(), m_ui_pane_p.p1_y->value()); in pUpdated() 105 m_ui_pane_c1.p1_x->setValue(m_points.at(0).x()); in invalidate() 108 m_ui_pane_c2.p1_x->setValue(m_points.at(1).x()); in invalidate() 111 m_ui_pane_p.p1_x->setValue(m_points.at(2).x()); in invalidate()
|
/dports/science/frontistr/FrontISTR-c66bdc397de319ca59a0565b3f3b1a3b33f0c50c/hecmw1/src/couple/ |
H A D | hecmw_couple_judge.c | 30 static void calc_gravity_tri(double p1_x, double p1_y, double p1_z, double p2_x, in calc_gravity_tri() argument 34 *g_x = (p1_x + p2_x + p3_x) * FRAC_1_3; in calc_gravity_tri() 39 static void calc_gravity_quad(double p1_x, double p1_y, double p1_z, in calc_gravity_quad() argument 44 *g_x = (p1_x + p2_x + p3_x + p4_x) * FRAC_1_4; in calc_gravity_quad() 49 static void calc_normal_vector_tri(double p1_x, double p1_y, double p1_z, in calc_normal_vector_tri() argument 56 v1_x = p2_x - p1_x; in calc_normal_vector_tri() 60 v2_x = p3_x - p1_x; in calc_normal_vector_tri() 69 static void calc_normal_vector_quad(double p1_x, double p1_y, double p1_z, in calc_normal_vector_quad() argument 77 calc_normal_vector_tri(p1_x, p1_y, p1_z, p2_x, p2_y, p2_z, p4_x, p4_y, p4_z, in calc_normal_vector_quad() 95 static int calc_dot_product_tri(double p1_x, double p1_y, double p1_z, in calc_dot_product_tri() argument [all …]
|
/dports/devel/libgpkg/luciad-libgpkg-c56e3708453e/gpkg/ |
H A D | geomio.c | 67 int p1Eqp2 = (p1_x == p2_x && p1_y == p2_y) ? 1 : 0; in find_center_circularArc() 72 center[0] = p1_x; in find_center_circularArc() 76 center[0] = (p1_x + p3_x) / 2.0; in find_center_circularArc() 79 center[0] = (p1_x + p2_x) / 2.0; in find_center_circularArc() 83 double center1X = (p1_x + p2_x) / 2.0; in find_center_circularArc() 88 double delta1X = p2_x - p1_x; in find_center_circularArc() 254 double p1_x, p1_y, p2_x, p2_y, p3_x, p3_y; in geom_envelope_fill_arc() local 265 p1_x = coords[offset]; in geom_envelope_fill_arc() 273 p1_x = coords[offset]; in geom_envelope_fill_arc() 284 p1_x = coords[offset]; in geom_envelope_fill_arc() [all …]
|
/dports/multimedia/mjpegtools/mjpegtools-2.1.0/y4mutils/ |
H A D | y4mhist.c | 188 int p1_x, p1_y, p2_x, p2_y; in makepoint() local 199 lineColor(screen, vector_x + p1_x, vector_y - p1_y, in makepoint() 203 lineColor(screen, vector_x + p1_x, vector_y - p1_y, in makepoint() 210 lineColor(screen, vector_x + p1_x, vector_y - p1_y, in makepoint() 214 lineColor(screen, vector_x + p1_x, vector_y - p1_y, in makepoint() 221 lineColor(screen, vector_x + p1_x, vector_y - p1_y, in makepoint() 225 lineColor(screen, vector_x + p1_x, vector_y - p1_y, in makepoint() 232 lineColor(screen, vector_x + p1_x, vector_y - p1_y, in makepoint() 236 lineColor(screen, vector_x + p1_x, vector_y - p1_y, in makepoint() 245 int i, p1_x, p1_y, p2_x, p2_y; in make_vectorscope_layout() local [all …]
|
/dports/math/reduce/Reduce-svn5758-src/packages/cde/examples/ |
H A D | dn2d_sb1.red | 41 df(g,p1)*p2_xy*psi + df(g,p1,p2)*p2_x*p2_y*psi + df(g,p1,2)*p1_x*p2_y*psi; 44 + df(f,p1)*p1_x*td(psi,x) - 51 (df(f,p1)*p1_x+2*df(f,p2)*p2_x)*td(psi,x) 52 - df(f,p2,2)*p2_x*p2_x*psi - df(f,p1,p2)*p1_x*p2_x*psi 55 for all psi let aa2(2,2,psi) = 2*df(f,p2)*p1_x*td(psi,y) 56 + df(f,p2)*p1_xy*psi + df(f,p1,p2)*p1_x*p1_y*psi 57 + df(f,p2,2)*p1_x*p2_y*psi;
|
/dports/math/reduce/Reduce-svn5758-src/packages/cde/examples_book/ |
H A D | dn2d_sb1.red | 41 df(g,p1)*p2_xy*psi + df(g,p1,p2)*p2_x*p2_y*psi + df(g,p1,2)*p1_x*p2_y*psi; 44 + df(f,p1)*p1_x*td(psi,x) - 51 (df(f,p1)*p1_x+2*df(f,p2)*p2_x)*td(psi,x) 52 - df(f,p2,2)*p2_x*p2_x*psi - df(f,p1,p2)*p1_x*p2_x*psi 55 for all psi let aa2(2,2,psi) = 2*df(f,p2)*p1_x*td(psi,y) 56 + df(f,p2)*p1_xy*psi + df(f,p1,p2)*p1_x*p1_y*psi 57 + df(f,p2,2)*p1_x*p2_y*psi;
|
/dports/cad/verilator/verilator-4.216/test_regress/t/ |
H A D | t_alw_split_cond.v | 29 input [1:0] p1_x, port 38 rx = sel == 2'b10 ? p1_x : p0_x; 43 rx = p1_x;
|
/dports/x11/foot/foot/ |
H A D | box-drawing.c | 2224 p1_x = p2_x = 0; p3_x = width; in draw_wedge_triangle() 2229 p1_x = p2_x = 0; p3_x = width; in draw_wedge_triangle() 2244 p1_x = p2_x = 0; p3_x = width; in draw_wedge_triangle() 2398 p1_x = 0; p1_y = thirds1; in draw_wedge_triangle() 2404 p1_x = 0; p1_y = thirds0; in draw_wedge_triangle() 2410 p1_x = 0; p1_y = thirds0; in draw_wedge_triangle() 2416 p1_x = 0; p1_y = thirds0; in draw_wedge_triangle() 2423 p1_x = 0; p1_y = 0; in draw_wedge_triangle() 2430 p1_x = 0; p1_y = 0; in draw_wedge_triangle() 2437 p1_x = width; p1_y = 0; in draw_wedge_triangle() [all …]
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/vidhrdw/ |
H A D | starcrus.c | 16 static int p1_x = 0; variable 51 WRITE_HANDLER( starcrus_p1_x_w ) { p1_x = data^0xff; } in WRITE_HANDLER() 300 org_x = p1_x; in starcrus_collision_check_p1p2() 311 p1_x-org_x,p1_y-org_y, in starcrus_collision_check_p1p2() 394 p1_x-org_x,p1_y-org_y, in starcrus_collision_check_s1p1p2() 480 p1_x-org_x,p1_y-org_y, in starcrus_collision_check_s2p1p2() 552 p1_x,p1_y, in starcrus_vh_screenrefresh()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/ |
H A D | starcrus_vidhrdw.c | 16 static int p1_x = 0; variable 51 WRITE_HANDLER( starcrus_p1_x_w ) { p1_x = data^0xff; } in WRITE_HANDLER() 278 org_x = p1_x; in starcrus_collision_check_p1p2() 289 p1_x-org_x,p1_y-org_y, in starcrus_collision_check_p1p2() 372 p1_x-org_x,p1_y-org_y, in starcrus_collision_check_s1p1p2() 458 p1_x-org_x,p1_y-org_y, in starcrus_collision_check_s2p1p2() 530 p1_x,p1_y, in VIDEO_UPDATE()
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/ |
H A D | starcrus_vidhrdw.c | 16 static int p1_x = 0; variable 51 WRITE_HANDLER( starcrus_p1_x_w ) { p1_x = data^0xff; } in WRITE_HANDLER() 278 org_x = p1_x; in starcrus_collision_check_p1p2() 289 p1_x-org_x,p1_y-org_y, in starcrus_collision_check_p1p2() 372 p1_x-org_x,p1_y-org_y, in starcrus_collision_check_s1p1p2() 458 p1_x-org_x,p1_y-org_y, in starcrus_collision_check_s2p1p2() 530 p1_x,p1_y, in VIDEO_UPDATE()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ |
H A D | ia_css_dvs.host.c | 165 s.p1_x = x01 - topleft_x_frac; in convert_coords_to_ispparams() 176 assert(s.p1_x < (s.in_block_width << DVS_COORD_FRAC_BITS)); in convert_coords_to_ispparams() 185 assert(s.p0_x < s.p1_x); in convert_coords_to_ispparams() 195 printf("p1_x: %d\n", s.p1_x); in convert_coords_to_ispparams() 204 printf("p1_x_nofrac[2]: %d\n", s.p1_x >> DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams()
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ |
H A D | ia_css_dvs.host.c | 165 s.p1_x = x01 - topleft_x_frac; in convert_coords_to_ispparams() 176 assert(s.p1_x < (s.in_block_width << DVS_COORD_FRAC_BITS)); in convert_coords_to_ispparams() 185 assert(s.p0_x < s.p1_x); in convert_coords_to_ispparams() 195 printf("p1_x: %d\n", s.p1_x); in convert_coords_to_ispparams() 204 printf("p1_x_nofrac[2]: %d\n", s.p1_x >> DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/staging/media/atomisp/pci/isp/kernels/dvs/dvs_1.0/ |
H A D | ia_css_dvs.host.c | 165 s.p1_x = x01 - topleft_x_frac; in convert_coords_to_ispparams() 176 assert(s.p1_x < (s.in_block_width << DVS_COORD_FRAC_BITS)); in convert_coords_to_ispparams() 185 assert(s.p0_x < s.p1_x); in convert_coords_to_ispparams() 195 printf("p1_x: %d\n", s.p1_x); in convert_coords_to_ispparams() 204 printf("p1_x_nofrac[2]: %d\n", s.p1_x >> DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams()
|
/dports/math/ann/ann_1.1.2/ann2fig/ |
H A D | ann2fig.cpp | 284 int p1_x = (int) TRANS_X(r.hi); in writeBox() local 288 << p1_x << " " << p0_y << " " in writeBox() 289 << p1_x << " " << p1_y << " " in writeBox() 301 int p1_x = (int) TRANS_X(p1); in writeLine() local 305 << p1_x << " " << p1_y << "\n"; in writeLine()
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/external/ann_1.1.1/ann2fig/ |
H A D | ann2fig.cpp | 282 int p1_x = (int) TRANS_X(r.hi); in writeBox() local 286 << p1_x << " " << p0_y << " " in writeBox() 287 << p1_x << " " << p1_y << " " in writeBox() 299 int p1_x = (int) TRANS_X(p1); in writeLine() local 303 << p1_x << " " << p1_y << "\n"; in writeLine()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/queso/src/contrib/ANN/ann2fig/ |
H A D | ann2fig.cpp | 284 int p1_x = (int) TRANS_X(r.hi); in writeBox() local 288 << p1_x << " " << p0_y << " " in writeBox() 289 << p1_x << " " << p1_y << " " in writeBox() 301 int p1_x = (int) TRANS_X(p1); in writeLine() local 305 << p1_x << " " << p1_y << "\n"; in writeLine()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/approxnn/ann2fig/ |
H A D | ann2fig.cpp | 284 int p1_x = (int) TRANS_X(r.hi); in writeBox() local 288 << p1_x << " " << p0_y << " " in writeBox() 289 << p1_x << " " << p1_y << " " in writeBox() 301 int p1_x = (int) TRANS_X(p1); in writeLine() local 305 << p1_x << " " << p1_y << "\n"; in writeLine()
|
/dports/graphics/rawtherapee/rawtherapee-5.8/rtengine/ |
H A D | diagonalcurves.cc | 300 double p1_x, double p1_y, in catmull_rom_spline() argument 310 double t1 = catmull_rom_tj(t0, p0_x, p0_y, p1_x, p1_y); in catmull_rom_spline() 311 double t2 = catmull_rom_tj(t1, p1_x, p1_y, p2_x, p2_y); in catmull_rom_spline() 316 res_x.push_back(p1_x); in catmull_rom_spline() 322 double t = p1_x + space * i; in catmull_rom_spline() 335 double A1_x = c * p0_x + d * p1_x; in catmull_rom_spline() 340 double A2_x = c * p1_x + d * p2_x; in catmull_rom_spline()
|
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/src/common/gui/ |
H A D | guihelpers.cpp | 32 bool get_line_intersection(float p0_x, float p0_y, float p1_x, float p1_y, float p2_x, float p2_y, in get_line_intersection() argument 38 s1_x = p1_x - p0_x; in get_line_intersection()
|
/dports/graphics/art/ART-1.9.3/rtengine/ |
H A D | diagonalcurves.cc | 301 double p1_x, double p1_y, in catmull_rom_spline() argument 311 double t1 = catmull_rom_tj(t0, p0_x, p0_y, p1_x, p1_y); in catmull_rom_spline() 312 double t2 = catmull_rom_tj(t1, p1_x, p1_y, p2_x, p2_y); in catmull_rom_spline() 322 res_x.push_back(p1_x); in catmull_rom_spline() 328 t = p1_x + space * i; in catmull_rom_spline() 341 A1_x = c * p0_x + d * p1_x; in catmull_rom_spline() 346 A2_x = c * p1_x + d * p2_x; in catmull_rom_spline()
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/ |
H A D | item_geofunc.cc | 1247 double e1_x, e1_y, e2_x, e2_y, p1_x, p1_y, p2_x, p2_y; in add_edge_buffer() local 1284 if ((!empty_gap2 && trn.add_point(&dummy, x2 + p1_x, y2 + p1_y)) || in add_edge_buffer() 1285 trn.add_point(&dummy, x1 + p1_x, y1 + p1_y)) in add_edge_buffer() 1291 if (trn.add_point(&dummy, x1 - p1_x, y1 - p1_y) || in add_edge_buffer() 1292 (!empty_gap1 && trn.add_point(&dummy, x2 - p1_x, y2 - p1_y))) in add_edge_buffer() 1302 double e1_x, e1_y, p1_x, p1_y; in add_last_edge_buffer() local 1310 if (trn.add_point(&dummy, x1 + p1_x, y1 + p1_y) || in add_last_edge_buffer() 1311 trn.add_point(&dummy, x1 - p1_x, y1 - p1_y) || in add_last_edge_buffer() 1312 trn.add_point(&dummy, x2 - p1_x, y2 - p1_y) || in add_last_edge_buffer() 1313 fill_half_circle(&trn, &dummy, x2, y2, -p1_x, -p1_y) || in add_last_edge_buffer() [all …]
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/ |
H A D | item_geofunc.cc | 1247 double e1_x, e1_y, e2_x, e2_y, p1_x, p1_y, p2_x, p2_y; in add_edge_buffer() local 1284 if ((!empty_gap2 && trn.add_point(&dummy, x2 + p1_x, y2 + p1_y)) || in add_edge_buffer() 1285 trn.add_point(&dummy, x1 + p1_x, y1 + p1_y)) in add_edge_buffer() 1291 if (trn.add_point(&dummy, x1 - p1_x, y1 - p1_y) || in add_edge_buffer() 1292 (!empty_gap1 && trn.add_point(&dummy, x2 - p1_x, y2 - p1_y))) in add_edge_buffer() 1302 double e1_x, e1_y, p1_x, p1_y; in add_last_edge_buffer() local 1310 if (trn.add_point(&dummy, x1 + p1_x, y1 + p1_y) || in add_last_edge_buffer() 1311 trn.add_point(&dummy, x1 - p1_x, y1 - p1_y) || in add_last_edge_buffer() 1312 trn.add_point(&dummy, x2 - p1_x, y2 - p1_y) || in add_last_edge_buffer() 1313 fill_half_circle(&trn, &dummy, x2, y2, -p1_x, -p1_y) || in add_last_edge_buffer() [all …]
|
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/ |
H A D | item_geofunc.cc | 1247 double e1_x, e1_y, e2_x, e2_y, p1_x, p1_y, p2_x, p2_y; in add_edge_buffer() local 1284 if ((!empty_gap2 && trn.add_point(&dummy, x2 + p1_x, y2 + p1_y)) || in add_edge_buffer() 1285 trn.add_point(&dummy, x1 + p1_x, y1 + p1_y)) in add_edge_buffer() 1291 if (trn.add_point(&dummy, x1 - p1_x, y1 - p1_y) || in add_edge_buffer() 1292 (!empty_gap1 && trn.add_point(&dummy, x2 - p1_x, y2 - p1_y))) in add_edge_buffer() 1302 double e1_x, e1_y, p1_x, p1_y; in add_last_edge_buffer() local 1310 if (trn.add_point(&dummy, x1 + p1_x, y1 + p1_y) || in add_last_edge_buffer() 1311 trn.add_point(&dummy, x1 - p1_x, y1 - p1_y) || in add_last_edge_buffer() 1312 trn.add_point(&dummy, x2 - p1_x, y2 - p1_y) || in add_last_edge_buffer() 1313 fill_half_circle(&trn, &dummy, x2, y2, -p1_x, -p1_y) || in add_last_edge_buffer() [all …]
|