/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/game/ |
H A D | Tool.cpp | 45 sim->ToolLine(position1.X, position1.Y, position2.X, position2.Y, toolID, brush, strength); in DrawLine() 48 sim->ToolBox(position1.X, position1.Y, position2.X, position2.Y, toolID, strength); in DrawRect() 62 sim->CreateLine(position1.X, position1.Y, position2.X, position2.Y, toolID, brush); in DrawLine() 65 sim->CreateBox(position1.X, position1.Y, position2.X, position2.Y, toolID); in DrawRect() 82 int wallX = position1.X/CELL; in DrawLine() 83 int wallY = position1.Y/CELL; in DrawLine() 90 sim->FloodWalls(position1.X, position1.Y, WL_FLOODHELPER, WL_FAN); in DrawLine() 106 sim->CreateWallBox(position1.X, position1.Y, position2.X, position2.Y, toolID); in DrawRect() 137 …itmap[(y*sizeX)+x] && (position1.X+(x-radiusX) >= 0 && position1.Y+(y-radiusY) >= 0 && position1.X… in DrawLine() 139 …sim->vx[(position1.Y+(y-radiusY))/CELL][(position1.X+(x-radiusX))/CELL] += (position2.X-position1.… in DrawLine() [all …]
|
H A D | Brush.cpp | 79 void Brush::RenderRect(Renderer * ren, ui::Point position1, ui::Point position2) in RenderRect() argument 82 width = position2.X-position1.X; in RenderRect() 83 height = position2.Y-position1.Y; in RenderRect() 86 position1.Y += height; in RenderRect() 91 position1.X += width; in RenderRect() 95 ren->xor_line(position1.X, position1.Y, position1.X+width, position1.Y); in RenderRect() 97 ren->xor_line(position1.X, position1.Y+height, position1.X+width, position1.Y+height); in RenderRect() 99 ren->xor_line(position1.X+width, position1.Y+1, position1.X+width, position1.Y+height-1); in RenderRect() 101 ren->xor_line(position1.X, position1.Y+1, position1.X, position1.Y+height-1); in RenderRect() 106 void Brush::RenderLine(Renderer * ren, ui::Point position1, ui::Point position2) in RenderLine() argument [all …]
|
H A D | Tool.h | 38 …virtual void DrawLine(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2, b… 39 virtual void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2); 59 …void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) override … in DrawRect() argument 77 …void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) override … in DrawRect() argument 99 void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) override; 111 void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) override; 124 …void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) override … in DrawRect() argument 135 void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) override; 149 …void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) override … in DrawRect() argument 160 void DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point position2) override; [all …]
|
H A D | DecorationTool.cpp | 70 void DecorationTool::DrawLine(Simulation * sim, Brush * brush, ui::Point position1, ui::Point posit… in DrawLine() argument 72 …sim->ApplyDecorationLine(position1.X, position1.Y, position2.X, position2.Y, Red, Green, Blue, Alp… in DrawLine() 75 void DecorationTool::DrawRect(Simulation * sim, Brush * brush, ui::Point position1, ui::Point posit… in DrawRect() argument 77 …sim->ApplyDecorationBox(position1.X, position1.Y, position2.X, position2.Y, Red, Green, Blue, Alph… in DrawRect()
|
/dports/graphics/ospray/ospray-2.8.0/ospray/lights/ |
H A D | CylinderLight.ispc | 16 vec3f position1; 49 const uniform vec3f &position1, 59 vec3f Z = position1 - position0; 67 O = position1; 96 const uniform vec3f &position1, 193 const uniform vec3f position1 = xfmPoint(xfm, self->position1); 247 self->position1, 271 const uniform vec3f position1 = xfmPoint(xfm, self->position1); 279 position1, 302 self->position1 = position1; [all …]
|
/dports/audio/kwave/kwave-21.12.3/plugins/pitch_shift/ |
H A D | PitchShiftFilter.cpp | 136 int position, position1; in input() local 147 position1 = position - 1; in input() 148 if (position1 < 0) in input() 149 position1 += MAXDELAY; in input() 152 m_dbuffer[position1] * error; in input() 162 position1 = position-1; in input() 163 if ( position1 < 0) in input() 164 position1 += MAXDELAY; in input() 167 m_dbuffer[position1] * error; in input()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/editing/ |
H A D | visible_units_line.cc | 359 return position1.IsNotNull() && in InSameLogicalLine() 360 LogicalStartOfLine(position1).GetPosition() == in InSameLogicalLine() 425 if (position1.IsNull() || position2.IsNull()) in InSameLineAlgorithm() 441 return InSameNGLineBox(position1, position2); in InSameLineAlgorithm() 448 StartOfLine(position1); in InSameLineAlgorithm() 469 bool InSameLine(const VisiblePosition& position1, in InSameLine() argument 471 DCHECK(position1.IsValid()) << position1; in InSameLine() 473 return InSameLine(position1.ToPositionWithAffinity(), in InSameLine() 477 bool InSameLine(const VisiblePositionInFlatTree& position1, in InSameLine() argument 479 DCHECK(position1.IsValid()) << position1; in InSameLine() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/editing/ |
H A D | visible_units_line.cc | 424 return position1.IsNotNull() && in InSameLogicalLine() 425 LogicalStartOfLine(position1).GetPosition() == in InSameLogicalLine() 477 if (position1.IsNull() || position2.IsNull()) in InSameLineAlgorithm() 490 if (!InSameNGLineBox(position1, position2)) in InSameLineAlgorithm() 501 StartOfLine(position1); in InSameLineAlgorithm() 522 bool InSameLine(const VisiblePosition& position1, in InSameLine() argument 524 DCHECK(position1.IsValid()) << position1; in InSameLine() 526 return InSameLine(position1.ToPositionWithAffinity(), in InSameLine() 530 bool InSameLine(const VisiblePositionInFlatTree& position1, in InSameLine() argument 532 DCHECK(position1.IsValid()) << position1; in InSameLine() [all …]
|
/dports/java/apache-commons-collections/commons-collections-3.2.2-src/src/java/org/apache/commons/collections/comparators/ |
H A D | FixedOrderComparator.java | 239 Integer position1 = (Integer) map.get(obj1); in compare() local 241 if (position1 == null || position2 == null) { in compare() 244 if (position1 == null) { in compare() 250 if (position1 == null) { in compare() 256 Object unknownObj = (position1 == null) ? obj1 : obj2; in compare() 262 return position1.compareTo(position2); in compare()
|
/dports/astro/routino/routino-3.3.3/src/ |
H A D | segmentsx.h | 190 int position1=segmentx-&segmentsx->cached[0]; in IndexSegmentX() local 192 return(segmentsx->incache[position1]); in IndexSegmentX() 206 int position1=segmentx-&segmentsx->cached[0]; in PutBackSegmentX() local 208 ReplaceCachedSegmentX(segmentsx->cache,segmentx,segmentsx->incache[position1],segmentsx->fd,0); in PutBackSegmentX() 222 int position1=segmentx-&segmentsx->cached[0]; in ReLookupSegmentX() local 224 …segmentsx->cached[position1]=*FetchCachedSegmentX(segmentsx->cache,segmentsx->incache[position1],s… in ReLookupSegmentX()
|
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/OpenCLC10/ |
H A D | SolvePositions.cl | 39 float4 position1 = g_vertexPositions[node1]; 44 float4 del = position1 - position0; 48 position1 = position1 + del*(k*inverseMass1); 51 g_vertexPositions[node1] = position1;
|
/dports/science/step/step-21.12.3/step/ |
H A D | springgraphics.cc | 57 static_cast<StepCore::Spring*>(_item)->position1())); in worldDataChanged() 100 StepCore::Vector2d r = spring()->position2() - spring()->position1(); in paint() 107 else p1c = spring()->position1(); in paint() 113 painter->drawLine(QPointF(0, 0), vectorToPoint(p1c - spring()->position1())); in paint() 114 painter->drawLine(vectorToPoint(r), vectorToPoint(p2c - spring()->position1())); in paint() 142 StepCore::Vector2d r = spring()->position2() - spring()->position1(); in viewScaleChanged() 163 else p1c = spring()->position1(); in viewScaleChanged() 169 _boundingRect |= QRectF(QPoint(0, 0), vectorToPoint(p1c - spring()->position1())).normalized(); in viewScaleChanged() 183 setPos(vectorToPoint(spring()->position1())); in worldDataChanged() 219 QVariant::fromValue( (spring()->position1() + pointToVector(diff)).eval() )); in mouseSetPos()
|
H A D | jointgraphics.cc | 185 static_cast<StepCore::Stick*>(_item)->position1())); in worldDataChanged() 196 (stick->position2() - stick->position1()).norm()); in mouseSetPos() 230 StepCore::Vector2d r = stick()->position2() - stick()->position1(); in paint() 237 else p1c = stick()->position1(); in paint() 243 painter->drawLine(QPointF(0, 0), vectorToPoint(p1c - stick()->position1())); in paint() 244 painter->drawLine(vectorToPoint(r), vectorToPoint(p2c - stick()->position1())); in paint() 276 StepCore::Vector2d r = stick()->position2() - stick()->position1(); in viewScaleChanged() 288 else p1c = stick()->position1(); in viewScaleChanged() 294 _boundingRect |= QRectF(QPoint(0, 0), vectorToPoint(p1c - stick()->position1())).normalized(); in viewScaleChanged() 307 setPos(vectorToPoint(stick()->position1())); in worldDataChanged() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/chromeos/night_light/ |
H A D | night_light_client_unittest.cc | 180 chromeos::Geoposition position1; in TEST_F() local 181 position1.latitude = 32.0; in TEST_F() 182 position1.longitude = 31.0; in TEST_F() 183 position1.status = chromeos::Geoposition::STATUS_OK; in TEST_F() 184 position1.accuracy = 10; in TEST_F() 185 position1.timestamp = base::Time::Now(); in TEST_F() 186 client_.set_position_to_send(position1); in TEST_F() 209 SimpleGeoposition simple_geoposition1{position1.latitude, in TEST_F() 210 position1.longitude}; in TEST_F()
|
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/OpenCLC/ |
H A D | SolvePositions.cl | 37 float3 position1 = g_vertexPositions[node1].xyz; 42 float3 del = position1 - position0; 46 position1 = position1 + del*(k*inverseMass1); 49 g_vertexPositions[node1] = (float4)(position1, 0.f);
|
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/bullet/src/BulletMultiThreaded/GpuSoftBodySolvers/DX11/HLSL/ |
H A D | SolvePositions.hlsl | 37 float3 position1 = g_vertexPositions[node1].xyz; 42 float3 del = position1 - position0; 46 position1 = position1 + del*(k*inverseMass1); 49 g_vertexPositions[node1] = float4(position1, 0.f);
|
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/thirdparty/org/lucasr/dspec/ |
H A D | DesignSpec.java | 484 final float position1; in drawSpacings() local 489 position1 = spacing.offset; in drawSpacings() 490 position2 = position1 + spacing.size; in drawSpacings() 494 position1 = width - spacing.offset + spacing.size; in drawSpacings() 499 position1 = height - spacing.offset + spacing.size; in drawSpacings() 504 position1 = (height / 2) + spacing.offset; in drawSpacings() 505 position2 = position1 + spacing.size; in drawSpacings() 509 position1 = (width / 2) + spacing.offset; in drawSpacings() 510 position2 = position1 + spacing.size; in drawSpacings() 521 canvas.drawRect(position1, 0, position2, height, mSpacingsPaint); in drawSpacings() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/thirdparty/org/lucasr/dspec/ |
H A D | DesignSpec.java | 484 final float position1; in drawSpacings() local 489 position1 = spacing.offset; in drawSpacings() 490 position2 = position1 + spacing.size; in drawSpacings() 494 position1 = width - spacing.offset + spacing.size; in drawSpacings() 499 position1 = height - spacing.offset + spacing.size; in drawSpacings() 504 position1 = (height / 2) + spacing.offset; in drawSpacings() 505 position2 = position1 + spacing.size; in drawSpacings() 509 position1 = (width / 2) + spacing.offset; in drawSpacings() 510 position2 = position1 + spacing.size; in drawSpacings() 521 canvas.drawRect(position1, 0, position2, height, mSpacingsPaint); in drawSpacings() [all …]
|
/dports/audio/spotifyd/spotifyd-0.3.0/cargo-crates/rspotify-0.8.0/examples/ |
H A D | user_playlist_remove_specific_occurrenes_of_tracks.rs | 44 let mut position1 = vec![]; in main() localVariable 45 position1.push(0); in main() 46 position1.push(3); in main() 51 map1.insert("position".to_string(), position1.into()); in main()
|
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/rspotify-0.10.0/examples/blocking/ |
H A D | user_playlist_remove_specific_occurrenes_of_tracks.rs | 44 let mut position1 = vec![]; 45 position1.push(0); 46 position1.push(3); 51 map1.insert("position".to_string(), position1.into());
|
/dports/audio/spotify-tui/spotify-tui-0.25.0/cargo-crates/rspotify-0.10.0/examples/ |
H A D | user_playlist_remove_specific_occurrenes_of_tracks.rs | 45 let mut position1 = vec![]; 46 position1.push(0); 47 position1.push(3); 52 map1.insert("position".to_string(), position1.into());
|
/dports/textproc/dom4j/dom4j-1.6.1/src/test/org/dom4j/ |
H A D | XPathBugTest.java | 111 Node position1 = test1.selectSingleNode(root); in testMikeSkells() local 116 System.out.println("Position1 Xpath = " + position1.getUniquePath()); in testMikeSkells() 120 + test2.matches(position1)); in testMikeSkells() 122 assertTrue("test1.matches(position1)", test1.matches(position1)); in testMikeSkells() 126 .matches(position1)); in testMikeSkells()
|
/dports/graphics/appleseed/appleseed-2.1.0-beta/src/appleseed.shaders/include/appleseed/maya/ |
H A D | as_maya_ramp_helpers.h | 40 float position1, in interpolate_color() argument 50 float delta = (value - position1) / (position2 - position1), weight; in interpolate_color() 88 float position1, in interpolate_value() argument 98 float delta = (value - position1) / (position2 - position1), weight; in interpolate_value()
|
/dports/science/step/step-21.12.3/stepcore/ |
H A D | spring.cc | 40 …position1, QT_TRANSLATE_NOOP("PropertyName", "position1"), QT_TRANSLATE_NOOP("Units", "m"), QT_TRA… 87 Vector2d position1 = this->position1(); in calcForce() local 89 Vector2d r = position2 - position1; in calcForce() 100 else if(_r1) _r1->applyForce(force, position1); in calcForce() 129 else if(_r1) _r1->rigidBodyErrors()->applyForceVariance(force, position1, in calcForce() 178 Vector2d Spring::position1() const in position1() function in StepCore::Spring 218 Vector2d r = spring()->position2() - spring()->position1(); in lengthVariance() 259 Vector2d r = position2() - position1(); in force() 269 Vector2d r = s->position2() - s->position1(); in forceVariance()
|
/dports/devel/kf5-ktexteditor/ktexteditor-5.89.0/src/vimode/ |
H A D | commandrangeexpressionparser.cpp | 97 int position1 = calculatePosition(position_string1); in parseRange() local 98 …int position2 = (position_string2.isEmpty()) ? position1 : calculatePosition(rangeMatch.captured(5… in parseRange() 104 position1 = (position1 == 0) ? 1 : position1; in parseRange() 109 destTransformedCommand = QStringLiteral("goto %1").arg(position1); in parseRange() 113 return KTextEditor::Range(KTextEditor::Range(position1 - 1, 0, position2 - 1, 0)); in parseRange()
|