/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() 43 s = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)) / (-s2_x * s1_y + s1_x * s2_y); in get_line_intersection() 44 t = (s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)) / (-s2_x * s1_y + s1_x * s2_y); in get_line_intersection() 50 *i_x = p0_x + (t * s1_x); in get_line_intersection()
|
H A D | guihelpers.h | 20 bool get_line_intersection(float p0_x, float p0_y, float p1_x, float p1_y, float p2_x, float p2_y,
|
/dports/cad/verilator/verilator-4.216/test_regress/t/ |
H A D | t_alw_split_cond.v | 27 input [1:0] p0_x, port 38 rx = sel == 2'b10 ? p1_x : p0_x; 47 rx = p0_x;
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-58.c | 42 char *p0_x = CHOOSE_DECL_2 (0, x); in memset_decl_2() local 44 memset (p0_x, 0, 0); in memset_decl_2() 45 memset (p0_x, 0, 1); in memset_decl_2() 46 memset (p0_x, 0, 2); in memset_decl_2() 47 memset (p0_x, 0, 9); in memset_decl_2()
|
H A D | Wstringop-overflow-59.c | 40 char *p0_x = CHOOSE_MALLOC_2 (0, x); in memset_malloc_2() local 42 memset (p0_x, 0, 0); in memset_malloc_2() 43 memset (p0_x, 0, 1); in memset_malloc_2() 44 memset (p0_x, 0, 2); in memset_malloc_2() 45 memset (p0_x, 0, 12345); in memset_malloc_2()
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-59.c | 40 char *p0_x = CHOOSE_MALLOC_2 (0, x); in memset_malloc_2() local 42 memset (p0_x, 0, 0); in memset_malloc_2() 43 memset (p0_x, 0, 1); in memset_malloc_2() 44 memset (p0_x, 0, 2); in memset_malloc_2() 45 memset (p0_x, 0, 12345); in memset_malloc_2()
|
H A D | Wstringop-overflow-58.c | 42 char *p0_x = CHOOSE_DECL_2 (0, x); in memset_decl_2() local 44 memset (p0_x, 0, 0); in memset_decl_2() 45 memset (p0_x, 0, 1); in memset_decl_2() 46 memset (p0_x, 0, 2); in memset_decl_2() 47 memset (p0_x, 0, 9); in memset_decl_2()
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-58.c | 42 char *p0_x = CHOOSE_DECL_2 (0, x); in memset_decl_2() local 44 memset (p0_x, 0, 0); in memset_decl_2() 45 memset (p0_x, 0, 1); in memset_decl_2() 46 memset (p0_x, 0, 2); in memset_decl_2() 47 memset (p0_x, 0, 9); in memset_decl_2()
|
H A D | Wstringop-overflow-59.c | 40 char *p0_x = CHOOSE_MALLOC_2 (0, x); in memset_malloc_2() local 42 memset (p0_x, 0, 0); in memset_malloc_2() 43 memset (p0_x, 0, 1); in memset_malloc_2() 44 memset (p0_x, 0, 2); in memset_malloc_2() 45 memset (p0_x, 0, 12345); in memset_malloc_2()
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/ |
H A D | Wstringop-overflow-59.c | 40 char *p0_x = CHOOSE_MALLOC_2 (0, x); in memset_malloc_2() local 42 memset (p0_x, 0, 0); in memset_malloc_2() 43 memset (p0_x, 0, 1); in memset_malloc_2() 44 memset (p0_x, 0, 2); in memset_malloc_2() 45 memset (p0_x, 0, 12345); in memset_malloc_2()
|
H A D | Wstringop-overflow-58.c | 42 char *p0_x = CHOOSE_DECL_2 (0, x); in memset_decl_2() local 44 memset (p0_x, 0, 0); in memset_decl_2() 45 memset (p0_x, 0, 1); in memset_decl_2() 46 memset (p0_x, 0, 2); in memset_decl_2() 47 memset (p0_x, 0, 9); in memset_decl_2()
|
/dports/math/ann/ann_1.1.2/ann2fig/ |
H A D | ann2fig.cpp | 282 int p0_x = (int) TRANS_X(r.lo); // transform endpoints in writeBox() local 287 << p0_x << " " << p0_y << " " // write vertices in writeBox() 290 << p0_x << " " << p1_y << " " in writeBox() 291 << p0_x << " " << p0_y << "\n"; in writeBox() 299 int p0_x = (int) TRANS_X(p0); // transform endpoints in writeLine() local 304 << p0_x << " " << p0_y << " " // write vertices in writeLine()
|
/dports/cad/meshlab/meshlab-Meshlab-2020.05/src/plugins_unsupported/external/ann_1.1.1/ann2fig/ |
H A D | ann2fig.cpp | 280 int p0_x = (int) TRANS_X(r.lo); // transform endpoints in writeBox() local 285 << p0_x << " " << p0_y << " " // write vertices in writeBox() 288 << p0_x << " " << p1_y << " " in writeBox() 289 << p0_x << " " << p0_y << "\n"; in writeBox() 297 int p0_x = (int) TRANS_X(p0); // transform endpoints in writeLine() local 302 << p0_x << " " << p0_y << " " // write vertices 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 | 282 int p0_x = (int) TRANS_X(r.lo); // transform endpoints in writeBox() local 287 << p0_x << " " << p0_y << " " // write vertices in writeBox() 290 << p0_x << " " << p1_y << " " in writeBox() 291 << p0_x << " " << p0_y << "\n"; in writeBox() 299 int p0_x = (int) TRANS_X(p0); // transform endpoints in writeLine() local 304 << p0_x << " " << p0_y << " " // write vertices in writeLine()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/approxnn/ann2fig/ |
H A D | ann2fig.cpp | 282 int p0_x = (int) TRANS_X(r.lo); // transform endpoints in writeBox() local 287 << p0_x << " " << p0_y << " " // write vertices in writeBox() 290 << p0_x << " " << p1_y << " " in writeBox() 291 << p0_x << " " << p0_y << "\n"; in writeBox() 299 int p0_x = (int) TRANS_X(p0); // transform endpoints in writeLine() local 304 << p0_x << " " << p0_y << " " // write vertices in writeLine()
|
/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 | 164 s.p0_x = x00 - topleft_x_frac; in convert_coords_to_ispparams() 175 assert(s.p0_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() 193 printf("p0_x: %d\n", s.p0_x); in convert_coords_to_ispparams() 202 printf("p0_x_nofrac[0]: %d\n", s.p0_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 | 164 s.p0_x = x00 - topleft_x_frac; in convert_coords_to_ispparams() 175 assert(s.p0_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() 193 printf("p0_x: %d\n", s.p0_x); in convert_coords_to_ispparams() 202 printf("p0_x_nofrac[0]: %d\n", s.p0_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 | 164 s.p0_x = x00 - topleft_x_frac; in convert_coords_to_ispparams() 175 assert(s.p0_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() 193 printf("p0_x: %d\n", s.p0_x); in convert_coords_to_ispparams() 202 printf("p0_x_nofrac[0]: %d\n", s.p0_x >> DVS_COORD_FRAC_BITS); in convert_coords_to_ispparams()
|
/dports/databases/postgis31/postgis-3.1.4/deps/wagyu/include/mapbox/geometry/wagyu/ |
H A D | intersect_util.hpp | 50 T2 p0_x = static_cast<T2>(e1.bot.x); in get_edge_intersection() local 59 s1_x = p1_x - p0_x; in get_edge_intersection() 64 T2 s = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 65 T2 t = (s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 68 pt.x = p0_x + (t * s1_x); in get_edge_intersection()
|
/dports/databases/postgis30/postgis-3.0.4/deps/wagyu/include/mapbox/geometry/wagyu/ |
H A D | intersect_util.hpp | 50 T2 p0_x = static_cast<T2>(e1.bot.x); in get_edge_intersection() local 59 s1_x = p1_x - p0_x; in get_edge_intersection() 64 T2 s = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 65 T2 t = (s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 68 pt.x = p0_x + (t * s1_x); in get_edge_intersection()
|
/dports/databases/postgis32/postgis-3.2.0/deps/wagyu/include/mapbox/geometry/wagyu/ |
H A D | intersect_util.hpp | 50 T2 p0_x = static_cast<T2>(e1.bot.x); in get_edge_intersection() local 59 s1_x = p1_x - p0_x; in get_edge_intersection() 64 T2 s = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 65 T2 t = (s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)) / (-s2_x * s1_y + s1_x * s2_y); in get_edge_intersection() 68 pt.x = p0_x + (t * s1_x); in get_edge_intersection()
|
/dports/math/igraph/igraph-0.9.5/src/layout/ |
H A D | davidson_harel.c | 36 igraph_bool_t igraph_i_layout_segments_intersect(float p0_x, float p0_y, in igraph_i_layout_segments_intersect() argument 40 float s1_x = p1_x - p0_x; in igraph_i_layout_segments_intersect() 46 s1 = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)); in igraph_i_layout_segments_intersect() 51 t1 = ( s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)); in igraph_i_layout_segments_intersect()
|
/dports/math/R-cran-igraph/igraph/src/ |
H A D | layout_dh.c | 34 igraph_bool_t igraph_i_segments_intersect(float p0_x, float p0_y, in igraph_i_segments_intersect() argument 38 float s1_x = p1_x - p0_x; in igraph_i_segments_intersect() 44 s1 = (-s1_y * (p0_x - p2_x) + s1_x * (p0_y - p2_y)); in igraph_i_segments_intersect() 49 t1 = ( s2_x * (p0_y - p2_y) - s2_y * (p0_x - p2_x)); in igraph_i_segments_intersect()
|
/dports/textproc/p5-PDF-API3/PDF-API3-3.001/lib/PDF/API3/Compat/API2/ |
H A D | Content.pm | 838 my $p0_x = $a * $cos_alpha; 846 return($p0_x,$p0_y,$p1_x,$p1_y,$p2_x,$p2_y,$p3_x,$p3_y); 862 my ($p0_x,$p0_y,$p1_x,$p1_y,$p2_x,$p2_y,$p3_x,$p3_y); 864 $p0_x= $x + shift @points; 867 $self->move($p0_x,$p0_y) if($move); 924 my ($p0_x,$p0_y,$p1_x,$p1_y,$p2_x,$p2_y,$p3_x,$p3_y); 957 $p0_x=shift @points; 959 $x=$x1-$p0_x; 993 my ($p0_x,$p0_y)=arctocurve($a,$b,$alfa,$beta); 995 $self->line($p0_x+$x,$p0_y+$y);
|
/dports/textproc/p5-PDF-API2/PDF-API2-2.042/lib/PDF/API2/ |
H A D | Content.pm | 914 my $p0_x = $a * $cos_alpha; 923 return ($p0_x, $p0_y, $p1_x, $p1_y, $p2_x, $p2_y, $p3_x, $p3_y); 930 my ($p0_x, $p0_y, $p1_x, $p1_y, $p2_x, $p2_y, $p3_x, $p3_y); 932 $p0_x = $x + shift(@points); 936 $self->move($p0_x, $p0_y) if $move; 971 my ($p0_x, $p0_y, $p1_x, $p1_y, $p2_x, $p2_y, $p3_x, $p3_y); 1003 $p0_x = shift(@points); 1005 $x = $x1 - $p0_x; 1168 my ($p0_x, $p0_y) = arctocurve($a, $b, $alpha, $beta); 1170 $self->line($p0_x + $x, $p0_y + $y);
|