Home
last modified time | relevance | path

Searched refs:x_to (Results 1 – 25 of 153) sorted by relevance

1234567

/dports/games/julius/julius-1.7.0/src/core/
H A Dcalc.c53 direction_type calc_general_direction(int x_from, int y_from, int x_to, int y_to) in calc_general_direction() argument
55 if (x_from < x_to) { in calc_general_direction()
63 } else if (x_from == x_to) { in calc_general_direction()
69 } else if (x_from > x_to) { in calc_general_direction()
83 int dx = x_from > x_to ? x_from - x_to : x_to - x_from; in calc_missile_shooter_direction()
93 if (x_from == x_to) { in calc_missile_shooter_direction()
99 } else if (x_from > x_to) { in calc_missile_shooter_direction()
142 int calc_missile_direction(int x_from, int y_from, int x_to, int y_to) in calc_missile_direction() argument
144 int dx = x_from > x_to ? x_from - x_to : x_to - x_from; in calc_missile_direction()
154 if (x_from == x_to) { in calc_missile_direction()
[all …]
H A Dcalc.h50 direction_type calc_general_direction(int x_from, int y_from, int x_to, int y_to);
60 direction_type calc_missile_shooter_direction(int x_from, int y_from, int x_to, int y_to);
70 int calc_missile_direction(int x_from, int y_from, int x_to, int y_to);
/dports/games/augustus/augustus-3.1.0/src/core/
H A Dcalc.c39 direction_type calc_general_direction(int x_from, int y_from, int x_to, int y_to) in calc_general_direction() argument
41 if (x_from < x_to) { in calc_general_direction()
49 } else if (x_from == x_to) { in calc_general_direction()
55 } else if (x_from > x_to) { in calc_general_direction()
69 int dx = x_from > x_to ? x_from - x_to : x_to - x_from; in calc_missile_shooter_direction()
79 if (x_from == x_to) { in calc_missile_shooter_direction()
85 } else if (x_from > x_to) { in calc_missile_shooter_direction()
128 int calc_missile_direction(int x_from, int y_from, int x_to, int y_to) in calc_missile_direction() argument
130 int dx = x_from > x_to ? x_from - x_to : x_to - x_from; in calc_missile_direction()
140 if (x_from == x_to) { in calc_missile_direction()
[all …]
H A Dcalc.h51 direction_type calc_general_direction(int x_from, int y_from, int x_to, int y_to);
61 direction_type calc_missile_shooter_direction(int x_from, int y_from, int x_to, int y_to);
71 int calc_missile_direction(int x_from, int y_from, int x_to, int y_to);
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/ops/
H A Dclifford_gate.py55 x_to: Optional[Tuple[Pauli, bool]],
117 return SingleQubitCliffordGate.from_double_map(x_to=x_to, z_to=z_to)
123 x_to: Optional[Tuple[Pauli, bool]] = None,
139 rotation_map = _validate_map_input(1, pauli_map_to, x_to=x_to, y_to=y_to, z_to=z_to)
174 rotation_map = _validate_map_input(2, pauli_map_to, x_to=x_to, y_to=y_to, z_to=z_to)
232 if x_to is None or z_to is None:
257 x_to = self._rotation_map[pauli_gates.X]
270 z = 1.0 if x_to.flip else 0.0
274 x = 0.5 if x_to.flip else -0.5
283 x = 0.5 if x_to.flip else -0.5
[all …]
/dports/games/gnurobots/gnurobots-1.2.0/src/
H A Dgrobot.c367 gint x_to, y_to; in g_robot_move() local
424 robot->x = x_to; in g_robot_move()
511 gint x_to, y_to; in g_robot_feel() local
546 x_to = robot->x + dx; in g_robot_feel()
575 gint x_to, y_to; in g_robot_look() local
610 x_to = robot->x + dx; in g_robot_look()
621 x_to += dx; in g_robot_look()
637 gint x_to, y_to; in g_robot_grab() local
666 x_to = robot->x + dx; in g_robot_grab()
719 gint x_to, y_to; in g_robot_zap() local
[all …]
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dclifford_gate.py49 x_to: Optional[PauliTransform] = None,
59 x_to = rotation_map[pauli_gates.X]
71 clifford_tableau.rs = (x_to.flip, z_to.flip)
84 x_to: Optional[Tuple[Pauli, bool]],
156 _to_clifford_tableau(x_to=PauliTransform(*x_to), z_to=PauliTransform(*z_to))
179 rotation_map = _validate_map_input(1, pauli_map_to, x_to=x_to, y_to=y_to, z_to=z_to)
214 rotation_map = _validate_map_input(2, pauli_map_to, x_to=x_to, y_to=y_to, z_to=z_to)
271 if x_to is None or z_to is None:
274 _to_clifford_tableau(x_to=x_to, z_to=z_to)
281 to = x_to
[all …]
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-core/cirq/ops/
H A Dclifford_gate.py49 x_to: Optional[PauliTransform] = None,
59 x_to = rotation_map[pauli_gates.X]
71 clifford_tableau.rs = (x_to.flip, z_to.flip)
84 x_to: Optional[Tuple[Pauli, bool]],
156 _to_clifford_tableau(x_to=PauliTransform(*x_to), z_to=PauliTransform(*z_to))
179 rotation_map = _validate_map_input(1, pauli_map_to, x_to=x_to, y_to=y_to, z_to=z_to)
214 rotation_map = _validate_map_input(2, pauli_map_to, x_to=x_to, y_to=y_to, z_to=z_to)
271 if x_to is None or z_to is None:
274 _to_clifford_tableau(x_to=x_to, z_to=z_to)
281 to = x_to
[all …]
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dclifford_gate.py49 x_to: Optional[PauliTransform] = None,
59 x_to = rotation_map[pauli_gates.X]
71 clifford_tableau.rs = (x_to.flip, z_to.flip)
84 x_to: Optional[Tuple[Pauli, bool]],
156 _to_clifford_tableau(x_to=PauliTransform(*x_to), z_to=PauliTransform(*z_to))
179 rotation_map = _validate_map_input(1, pauli_map_to, x_to=x_to, y_to=y_to, z_to=z_to)
214 rotation_map = _validate_map_input(2, pauli_map_to, x_to=x_to, y_to=y_to, z_to=z_to)
271 if x_to is None or z_to is None:
274 _to_clifford_tableau(x_to=x_to, z_to=z_to)
281 to = x_to
[all …]
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/ops/
H A Dclifford_gate.py49 x_to: Optional[PauliTransform] = None,
59 x_to = rotation_map[pauli_gates.X]
71 clifford_tableau.rs = (x_to.flip, z_to.flip)
84 x_to: Optional[Tuple[Pauli, bool]],
156 _to_clifford_tableau(x_to=PauliTransform(*x_to), z_to=PauliTransform(*z_to))
179 rotation_map = _validate_map_input(1, pauli_map_to, x_to=x_to, y_to=y_to, z_to=z_to)
214 rotation_map = _validate_map_input(2, pauli_map_to, x_to=x_to, y_to=y_to, z_to=z_to)
271 if x_to is None or z_to is None:
274 _to_clifford_tableau(x_to=x_to, z_to=z_to)
281 to = x_to
[all …]
/dports/databases/phpmyadmin/phpMyAdmin-4.9.7-all-languages/libraries/classes/Plugins/Schema/Eps/
H A DEps.php151 * @param integer $x_to The x_to attribute defines the end
162 $x_to = 0, argument
168 $this->stringCommands .= $x_to . ' ' . $y_to . " lineto \n";
182 * @param integer $x_to The x_to attribute defines the end
190 public function rect($x_from, $y_from, $x_to, $y_to, $lineWidth) argument
196 $this->stringCommands .= $x_to . " 0 rlineto \n";
/dports/databases/phpmyadmin5/phpMyAdmin-5.1.2-all-languages/libraries/classes/Plugins/Schema/Eps/
H A DEps.php155 * @param int $x_to The x_to attribute defines the end
166 $x_to = 0, argument
172 $this->stringCommands .= $x_to . ' ' . $y_to . " lineto \n";
186 * @param int $x_to The x_to attribute defines the end
194 public function rect($x_from, $y_from, $x_to, $y_to, $lineWidth) argument
200 $this->stringCommands .= $x_to . " 0 rlineto \n";
/dports/games/blinkensisters/blinkensisters/lostpixels/game/addons/mz_testlevel/LEVELS/
H A D_wormhole.inc.bsl10 -- Wormhole:new(x_pos, y_pos, x_to, y_to, "64" or "32");
18 function Wormhole:new(x, y, x_to, y_to, size)
22 obj.x_to = x_to;
38 bs.player.x(Wormhole[obj.internal].x_to);
/dports/games/blinkensisters/blinkensisters/lostpixels/game/software/BASEDATA/LEVELS/
H A D_wormhole.inc.bsl10 -- Wormhole:new(x_pos, y_pos, x_to, y_to, "64" or "32");
18 function Wormhole:new(x, y, x_to, y_to, size)
22 obj.x_to = x_to;
38 bs.player.x(Wormhole[obj.internal].x_to);
/dports/games/gnurobots/gnurobots-1.2.0/include/
H A Dui-arena.h73 gint x_to, gint y_to, glong energy, glong score, glong shields);
75 gint x_to, gint y_to, glong energy, glong score, glong shields);
77 gint x_to, gint y_to, glong energy, glong score, glong shields);
79 gint x_to, gint y_to, glong energy, glong score, glong shields);
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/viz/service/display/
H A Doverlay_candidate.cc63 Axis x_to = VectorToAxis(x_axis); in GetOverlayTransform() local
66 if (x_to == AXIS_POS_X && y_to == AXIS_POS_Y) in GetOverlayTransform()
68 else if (x_to == AXIS_NEG_X && y_to == AXIS_POS_Y) in GetOverlayTransform()
70 else if (x_to == AXIS_POS_X && y_to == AXIS_NEG_Y) in GetOverlayTransform()
72 else if (x_to == AXIS_NEG_Y && y_to == AXIS_POS_X) in GetOverlayTransform()
74 else if (x_to == AXIS_NEG_X && y_to == AXIS_NEG_Y) in GetOverlayTransform()
76 else if (x_to == AXIS_POS_Y && y_to == AXIS_NEG_X) in GetOverlayTransform()
/dports/editors/lazarus/lazarus/components/aggpas/src/
H A Dagg_path_storage_integer.pas76 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual; abstract;
77 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual; abstract;
98 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual;
99 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual;
129 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual;
130 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual;
343 v.Construct (int16(x_to ) ,int16(y_to ) ,cmd_curve3 );
360 v.Construct (int16(x_to ) ,int16(y_to ) ,cmd_curve4 );
569 v.Construct (x_to ,y_to ,cmd_curve3 );
586 v.Construct (x_to ,y_to ,cmd_curve4 );
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/
H A Dagg_path_storage_integer.pas76 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual; abstract;
77 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual; abstract;
98 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual;
99 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual;
129 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual;
130 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual;
343 v.Construct (int16(x_to ) ,int16(y_to ) ,cmd_curve3 );
360 v.Construct (int16(x_to ) ,int16(y_to ) ,cmd_curve4 );
569 v.Construct (x_to ,y_to ,cmd_curve3 );
586 v.Construct (x_to ,y_to ,cmd_curve4 );
/dports/editors/lazarus-qt5/lazarus/components/aggpas/src/
H A Dagg_path_storage_integer.pas76 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual; abstract;
77 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual; abstract;
98 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual;
99 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual;
129 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual;
130 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual;
343 v.Construct (int16(x_to ) ,int16(y_to ) ,cmd_curve3 );
360 v.Construct (int16(x_to ) ,int16(y_to ) ,cmd_curve4 );
569 v.Construct (x_to ,y_to ,cmd_curve3 );
586 v.Construct (x_to ,y_to ,cmd_curve4 );
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/components/aggpas/src/
H A Dagg_path_storage_integer.pas76 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual; abstract;
77 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual; abstract;
98 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual;
99 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual;
129 procedure curve3 (x_ctrl ,y_ctrl ,x_to ,y_to : int32 ); virtual;
130 procedure curve4 (x_ctrl1 ,y_ctrl1 ,x_ctrl2 ,y_ctrl2 ,x_to ,y_to : int32 ); virtual;
343 v.Construct (int16(x_to ) ,int16(y_to ) ,cmd_curve3 );
360 v.Construct (int16(x_to ) ,int16(y_to ) ,cmd_curve4 );
569 v.Construct (x_to ,y_to ,cmd_curve3 );
586 v.Construct (x_to ,y_to ,cmd_curve4 );
/dports/graphics/scantailor/scantailor-advanced-1.0.16/imageproc/
H A DPolygonRasterizer.cpp129 static void fillBinarySegment(int x_from, int x_to, uint32_t* line, uint32_t pattern);
399 const double x_to = edges[i + 1].x(); in oddEvenLineBinary() local
400 fillBinarySegment(qRound(x_from), qRound(x_to), line, pattern); in oddEvenLineBinary()
425 const double x_to = edges[i + 1].x(); in windingLineBinary() local
426 fillBinarySegment(qRound(x_from), qRound(x_to), line, pattern); in windingLineBinary()
448 const int x_to, in fillBinarySegment() argument
451 if (x_from == x_to) { in fillBinarySegment()
457 const uint32_t last_word_mask = full_mask << (31 - ((x_to - 1) & 31)); in fillBinarySegment()
459 const int last_word_idx = (x_to - 1) >> 5; // x_to is exclusive in fillBinarySegment()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/com/sun/media/sound/
H A DModelStandardIndexedDirector.java133 int x_to = trantables[0][keyTo + 1]; in buildindex() local
136 if (x_to == -1) in buildindex()
137 x_to = counters[0]; in buildindex()
142 for (int x = x_from; x < x_to; x++) { in buildindex()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/share/classes/com/sun/media/sound/
H A DModelStandardIndexedDirector.java133 int x_to = trantables[0][keyTo + 1]; in buildindex() local
136 if (x_to == -1) in buildindex()
137 x_to = counters[0]; in buildindex()
142 for (int x = x_from; x < x_to; x++) { in buildindex()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/share/classes/com/sun/media/sound/
H A DModelStandardIndexedDirector.java133 int x_to = trantables[0][keyTo + 1]; in buildindex() local
136 if (x_to == -1) in buildindex()
137 x_to = counters[0]; in buildindex()
142 for (int x = x_from; x < x_to; x++) { in buildindex()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/com/sun/media/sound/
H A DModelStandardIndexedDirector.java132 int x_to = trantables[0][keyTo + 1]; in buildindex() local
135 if (x_to == -1) in buildindex()
136 x_to = counters[0]; in buildindex()
141 for (int x = x_from; x < x_to; x++) { in buildindex()

1234567