/dports/games/openxcom/OpenXcom-1.0/src/Interface/ |
H A D | ArrowButton.cpp | 110 square.x++; in draw() 145 for (; square.w > 1; square.w -= 2) in draw() 168 for (; square.w > 1; square.w -= 2) in draw() 183 for (; square.w > 1; square.w -= 2) in draw() 197 for (; square.w > 1; square.w -= 2) in draw() 212 for (; square.w > 1; square.w -= 2) in draw() 226 for (; square.w > 1; square.w -= 2) in draw() 241 for (; square.h < 5; square.h += 2) in draw() 256 for (; square.h < 5; square.h += 2) in draw() 272 for (; square.h < 5; square.h += 2) in draw() [all …]
|
/dports/cad/openscad-devel/openscad-63a7c77740030c63d646eb0684ba6947eecb0db7/tests/regression/dumptest-examples/ |
H A D | module_recursion-expected.csg | 4 square(size = [5, 100], center = false); 11 square(size = [4, 68.6525], center = false); 18 square(size = [3.2, 52.8574], center = false); 25 square(size = [2.56, 39.7612], center = false); 32 square(size = [2.048, 24.235], center = false); 39 square(size = [1.6384, 18.3318], center = false); 2064 square(size = [2.56, 41.4153], center = false); 4105 square(size = [3.2, 54.6338], center = false); 8194 square(size = [4, 64.891], center = false); 8201 square(size = [3.2, 46.6478], center = false); [all …]
|
/dports/cad/openscad/openscad-41f58fe57c03457a3a8b4dc541ef5654ec3e8c78/tests/regression/dumptest-examples/ |
H A D | module_recursion-expected.csg | 4 square(size = [5, 100], center = false); 11 square(size = [4, 68.6525], center = false); 18 square(size = [3.2, 52.8574], center = false); 25 square(size = [2.56, 39.7612], center = false); 32 square(size = [2.048, 24.235], center = false); 39 square(size = [1.6384, 18.3318], center = false); 2064 square(size = [2.56, 41.4153], center = false); 4105 square(size = [3.2, 54.6338], center = false); 8194 square(size = [4, 64.891], center = false); 8201 square(size = [3.2, 46.6478], center = false); [all …]
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_07_render/ |
H A D | test_705_shape.py | 8 def square(): function 12 def test_init(square): argument 15 assert len(square) == 4 18 assert square[0].x == 0 19 assert square[0].y == 0 23 e = list(square) 26 square.append((3, 3)) 36 def test_scale(square): argument 48 def test_rotate(square): argument 49 square.rotate(90) [all …]
|
/dports/cad/py-ezdxf/ezdxf-0.16.3/tests/test_06_math/ |
H A D | test_613_point_in_poygon.py | 8 square = Vec2.list([(0, 0), (1, 0), (1, 1), (0, 1)]) 9 assert is_point_in_polygon_2d(Vec2(.5, .5), square) == 1 13 square = Vec2.list([(0, 0), (1, 0), (1, 1), (0, 1)]) 21 square = Vec2.list([(0, 0), (1, 0), (1, 1), (0, 1)]) 29 square = Vec2.list([(0, 0), (1, 0), (1, 1), (0, 1)]) 30 assert is_point_in_polygon_2d(Vec2(0, 0), square) == 0 31 assert is_point_in_polygon_2d(Vec2(0, 1), square) == 0 32 assert is_point_in_polygon_2d(Vec2(1, 1), square) == 0 33 assert is_point_in_polygon_2d(Vec2(0, 1), square) == 0 37 square = Vec2.list([(0, 0), (1, 1), (0, 2), (-1, 1)]) [all …]
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/libigl/igl/ |
H A D | dihedral_angles.cpp | 50 (L.col(2).array().square() + L.col(5).array().square())).square()); in dihedral_angles_intrinsic() 53 (L.col(3).array().square() + L.col(0).array().square())).square()); in dihedral_angles_intrinsic() 56 (L.col(4).array().square() + L.col(1).array().square())).square()); in dihedral_angles_intrinsic() 59 (L.col(5).array().square() + L.col(2).array().square())).square()); in dihedral_angles_intrinsic() 62 (L.col(0).array().square() + L.col(3).array().square())).square()); in dihedral_angles_intrinsic() 65 (L.col(1).array().square() + L.col(4).array().square())).square()); in dihedral_angles_intrinsic() 68 A.col(1).array().square() - A.col(2).array().square()).array() / in dihedral_angles_intrinsic() 71 A.col(2).array().square() - A.col(0).array().square()).array() / in dihedral_angles_intrinsic() 74 A.col(0).array().square() - A.col(1).array().square()).array() / in dihedral_angles_intrinsic() 77 A.col(3).array().square() - A.col(0).array().square()).array() / in dihedral_angles_intrinsic() [all …]
|
/dports/net/cjdns/cjdns-cjdns-v21.1/node_build/dependencies/cnacl/crypto_scalarmult/curve25519/costigan-schwabe/cbe/ |
H A D | invert.c | 23 /* 2 */ square(z2,in); in invert() 24 /* 4 */ square(t1,z2); in invert() 25 /* 8 */ square(t0,t1); in invert() 28 /* 22 */ square(t0,z11); in invert() 32 /* 2^7 - 2^2 */ square(t1,t0); in invert() 40 /* 2^20 - 2^10 */ for (i = 2;i < 10;i += 2) { square(t0,t1); square(t1,t0); } in invert() 45 /* 2^40 - 2^20 */ for (i = 2;i < 20;i += 2) { square(t0,t1); square(t1,t0); } in invert() 50 /* 2^50 - 2^10 */ for (i = 2;i < 10;i += 2) { square(t1,t0); square(t0,t1); } in invert() 55 /* 2^100 - 2^50 */ for (i = 2;i < 50;i += 2) { square(t0,t1); square(t1,t0); } in invert() 60 /* 2^200 - 2^100 */ for (i = 2;i < 100;i += 2) { square(t1,t0); square(t0,t1); } in invert() [all …]
|
/dports/astro/merkaartor/merkaartor-0.19.0/Icons/ |
H A D | AllIcons.qrc | 114 <file>map-icons/square.small/food.png</file> 116 <file>map-icons/square.small/health.png</file> 118 <file>map-icons/square.small/misc.png</file> 119 <file>map-icons/square.small/money.png</file> 121 <file>map-icons/square.small/people.png</file> 122 <file>map-icons/square.small/places.png</file> 123 <file>map-icons/square.small/public.png</file> 129 <file>map-icons/square.small/sports.png</file> 131 <file>map-icons/square.small/unknown.png</file> 132 <file>map-icons/square.small/vehicle.png</file> [all …]
|
/dports/net/cjdns/cjdns-cjdns-v21.1/node_build/dependencies/cnacl/crypto_scalarmult/curve25519/athlon/ |
H A D | smult.c | 20 /* 2 */ square(z2,z); in crypto_scalarmult_curve25519_athlon_recip() 21 /* 4 */ square(t1,z2); in crypto_scalarmult_curve25519_athlon_recip() 22 /* 8 */ square(t0,t1); in crypto_scalarmult_curve25519_athlon_recip() 25 /* 22 */ square(t0,z11); in crypto_scalarmult_curve25519_athlon_recip() 29 /* 2^7 - 2^2 */ square(t1,t0); in crypto_scalarmult_curve25519_athlon_recip() 37 /* 2^20 - 2^10 */ for (i = 2;i < 10;i += 2) { square(t0,t1); square(t1,t0); } in crypto_scalarmult_curve25519_athlon_recip() 42 /* 2^40 - 2^20 */ for (i = 2;i < 20;i += 2) { square(t0,t1); square(t1,t0); } in crypto_scalarmult_curve25519_athlon_recip() 47 /* 2^50 - 2^10 */ for (i = 2;i < 10;i += 2) { square(t1,t0); square(t0,t1); } in crypto_scalarmult_curve25519_athlon_recip() 52 /* 2^100 - 2^50 */ for (i = 2;i < 50;i += 2) { square(t0,t1); square(t1,t0); } in crypto_scalarmult_curve25519_athlon_recip() 57 /* 2^200 - 2^100 */ for (i = 2;i < 100;i += 2) { square(t1,t0); square(t0,t1); } in crypto_scalarmult_curve25519_athlon_recip() [all …]
|
/dports/graphics/wings/libigl-2.1.0/include/igl/ |
H A D | dihedral_angles.cpp | 53 (L.col(2).array().square() + L.col(5).array().square())).square()); in dihedral_angles_intrinsic() 56 (L.col(3).array().square() + L.col(0).array().square())).square()); in dihedral_angles_intrinsic() 59 (L.col(4).array().square() + L.col(1).array().square())).square()); in dihedral_angles_intrinsic() 62 (L.col(5).array().square() + L.col(2).array().square())).square()); in dihedral_angles_intrinsic() 65 (L.col(0).array().square() + L.col(3).array().square())).square()); in dihedral_angles_intrinsic() 68 (L.col(1).array().square() + L.col(4).array().square())).square()); in dihedral_angles_intrinsic() 71 A.col(1).array().square() - A.col(2).array().square()).array() / in dihedral_angles_intrinsic() 74 A.col(2).array().square() - A.col(0).array().square()).array() / in dihedral_angles_intrinsic() 77 A.col(0).array().square() - A.col(1).array().square()).array() / in dihedral_angles_intrinsic() 80 A.col(3).array().square() - A.col(0).array().square()).array() / in dihedral_angles_intrinsic() [all …]
|
/dports/games/sjeng/Sjeng-Free-11.2/ |
H A D | attacks.c | 196 if ((i+13) == square || (i+11) == square) return TRUE; 199 if ((i - 25) == square || (i-23) == square || (i-14) == square 200 || (i-10) == square || (i+10) == square || (i+14) == square 201 || (i+23) == square || (i+25) == square) return TRUE; 204 dir = abs(i - square); 233 dir = abs(i - square); 271 if ((i-13) == square || (i-11) == square) return TRUE; 274 if ((i - 25) == square || (i-23) == square || (i-14) == square 275 || (i-10) == square || (i+10) == square || (i+14) == square 276 || (i+23) == square || (i+25) == square) return TRUE; [all …]
|
/dports/games/dreamchess/dreamchess-0.3.0/dreamer/src/ |
H A D | eval.c | 52 for (square = 0; square < 64; square++) in eval_king_tropism() 59 for (square = 0; square < 64; square++) { in eval_king_tropism() 71 for (square = 0; square < 64; square++) in eval_king_tropism() 78 for (square = 0; square < 64; square++) { in eval_king_tropism() 99 for (square = 0; square < 64; square++) in eval_rook_bonus() 122 for (square = 63; square >= 0; square--) in eval_rook_bonus() 163 for (square = SQUARE_A1; square <= SQUARE_H1; square++) { in eval_development() 211 for (square = SQUARE_A8; square <= SQUARE_H8; square++) { in eval_development() 264 for (square = 0; square < 64; square++) { in eval_bad_bishops() 341 for (square = 8; square <= 55; square++) { in analyze_pawn_structure() [all …]
|
/dports/games/brainparty/brainparty/ |
H A D | perfectpaths.cpp | 96 if (square == EndPos || square == StartPos) { in Render() 100 …if (square != StartPos) TheGame->DrawImage(HiNumbers[square->Difficulty], square->XPos, square->YP… in Render() 102 TheGame->DrawImage(LoNumbers[square->Difficulty], square->XPos, square->YPos); in Render() 154 if (square == StartPos || square == EndPos) continue; in OnMouseUp() 318 square->X = i; in LevelUp() 319 square->Y = j; in LevelUp() 370 FloodFill(square); in CalculateBestMove() 390 if (square->X > 0) { in FloodFill() 398 if (square->X < 6) { in FloodFill() 406 if (square->Y > 0) { in FloodFill() [all …]
|
/dports/games/polyglot/polyglot-1.4.70b/ |
H A D | square.c | 44 bool square_is_ok(int square) { in square_is_ok() argument 46 if (square < 0 || square >= SquareNb) return FALSE; in square_is_ok() 69 int square_file(int square) { in square_file() argument 75 file = (square - 4) & 7; in square_file() 83 int square_rank(int square) { in square_rank() argument 89 rank = (square >> 4) - 2; in square_rank() 114 ASSERT(square>=0&&square<64); in square_from_64() 125 return SquareTo64[square]; in square_to_64() 146 ASSERT(square_rank(square)>=2&&square_rank(square)<=5); in square_ep_dual() 148 return square ^ 16; in square_ep_dual() [all …]
|
/dports/games/gnuchess/gnuchess-6.2.9/src/adapter/ |
H A D | square.cpp | 66 bool square_is_ok(int square) { in square_is_ok() argument 68 if (square < 0 || square >= SquareNb) return false; in square_is_ok() 91 int square_file(int square) { in square_file() argument 97 file = (square - 4) & 7; in square_file() 105 int square_rank(int square) { in square_rank() argument 111 rank = (square >> 4) - 2; in square_rank() 136 ASSERT(square>=0&&square<64); in square_from_64() 147 return SquareTo64[square]; in square_to_64() 168 ASSERT(square_rank(square)>=2&&square_rank(square)<=5); in square_ep_dual() 170 return square ^ 16; in square_ep_dual() [all …]
|
/dports/games/scid/scid/src/polyglot/ |
H A D | square.cpp | 44 bool square_is_ok(int square) { in square_is_ok() argument 46 if (square < 0 || square >= SquareNb) return false; in square_is_ok() 69 int square_file(int square) { in square_file() argument 75 file = (square - 4) & 7; in square_file() 83 int square_rank(int square) { in square_rank() argument 89 rank = (square >> 4) - 2; in square_rank() 114 ASSERT(square>=0&&square<64); in square_from_64() 125 return SquareTo64[square]; in square_to_64() 146 ASSERT(square_rank(square)>=2&&square_rank(square)<=5); in square_ep_dual() 148 return square ^ 16; in square_ep_dual() [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Mesh_3/ |
H A D | polylines_to_protect.h | 673 std::swap(square[0][1], square[0][0]); 674 std::swap(square[1][1], square[1][0]); 737 std::swap(square[0][1], square[1][0]); 741 std::swap(square[0][0], square[1][1]); 745 std::swap(square[0][0], square[1][0]); 746 std::swap(square[0][1], square[1][1]); 815 std::swap(square[0][1], square[1][0]); 820 std::swap(square[0][1], square[1][1]); 821 std::swap(square[0][0], square[1][0]); 826 std::swap(square[0][0], square[1][1]); [all …]
|
/dports/math/clingo/clingo-5.5.1/app/clingo/tests/lua/ |
H A D | sokoban_back.lp | 65 :- push(X,Y,u,-k), square(X,Y), not square(X,Y-1). 66 :- push(X,Y,d,-k), square(X,Y), not square(X,Y+1). 67 :- push(X,Y,r,-k), square(X,Y), not square(X-1,Y). 68 :- push(X,Y,l,-k), square(X,Y), not square(X+1,Y). 106 square(1, 1). 107 square(2, 1). 108 square(3, 1). 110 square(4, 1). 111 square(1, 2). 112 square(3, 2). [all …]
|
/dports/cad/openscad-devel/openscad-63a7c77740030c63d646eb0684ba6947eecb0db7/tests/regression/dumptest/ |
H A D | linear_extrude-scale-zero-tests-expected.csg | 6 square(size = [2, 2], center = true); 7 square(size = [1, 1], center = true); 14 square(size = [1, 1], center = true); 17 square(size = [1, 1], center = true); 24 square(size = [1, 1], center = false); 27 square(size = [1, 1], center = false); 34 square(size = [2, 2], center = true); 36 square(size = [1, 1], center = true); 48 square(size = [2, 2], center = true); 49 square(size = [1, 1], center = true); [all …]
|
H A D | resize-2d-tests-expected.csg | 6 square(size = [5, 5], center = false); 8 square(size = [1, 1], center = false); 21 square(size = [5, 5], center = false); 23 square(size = [1, 1], center = false); 26 square(size = [1, 1], center = false); 36 square(size = [5, 5], center = false); 38 square(size = [5, 1], center = false); 49 square(size = [5, 5], center = false); 51 square(size = [1, 1], center = false); 64 square(size = [5, 5], center = false); [all …]
|
/dports/cad/openscad/openscad-41f58fe57c03457a3a8b4dc541ef5654ec3e8c78/tests/regression/dumptest/ |
H A D | linear_extrude-scale-zero-tests-expected.csg | 6 square(size = [2, 2], center = true); 7 square(size = [1, 1], center = true); 14 square(size = [1, 1], center = true); 17 square(size = [1, 1], center = true); 24 square(size = [1, 1], center = false); 27 square(size = [1, 1], center = false); 34 square(size = [2, 2], center = true); 36 square(size = [1, 1], center = true); 48 square(size = [2, 2], center = true); 49 square(size = [1, 1], center = true); [all …]
|
H A D | resize-2d-tests-expected.csg | 6 square(size = [5, 5], center = false); 8 square(size = [1, 1], center = false); 21 square(size = [5, 5], center = false); 23 square(size = [1, 1], center = false); 26 square(size = [1, 1], center = false); 36 square(size = [5, 5], center = false); 38 square(size = [5, 1], center = false); 49 square(size = [5, 5], center = false); 51 square(size = [1, 1], center = false); 64 square(size = [5, 5], center = false); [all …]
|
/dports/games/frogatto/frogatto-1.3.1/modules/cube_trains/data/objects/ |
H A D | additional_maps.ffl | 6 …square-shadow-5',[2,0,0],0,'normal'],['ct-square-shadow-5',[2,1,0],0,'normal'],['ct-square-shadow-… 148 …square-shadow-5',[2,0,0],0,'normal'],['ct-square-shadow-5',[2,2,0],0,'normal'],['ct-square-shadow-… 311 …square-shadow-5',[1,-2,-2],0,'normal'],['ct-square-shadow-5',[1,-2,-1],0,'normal'],['ct-square-sha… 318 …square-shadow-5',[-4,1,-1],0,'normal'],['ct-square-shadow-5',[-2,-1,-1],0,'normal'],['ct-square-sh… 325 …square-shadow-5',[-1,-2,-1],0,'normal'],['ct-square-shadow-5',[-1,-2,0],0,'normal'],['ct-square-sh… 332 …square-shadow-5',[-2,-2,0],0,'normal'],['ct-square-shadow-5',[-2,-2,1],0,'normal'],['ct-square-sha… 339 …square-shadow-5',[-1,-1,0],0,'normal'],['ct-block-5',[1,1,0],0,'normal'],['ct-square-shadow-5',[1,… 346 …square-shadow-5',[5,2,-1],0,'normal'],['ct-block-5',[4,2,-2],0,'normal'],['ct-square-shadow-5',[4,… 353 …square-shadow-5',[0,1,-1],0,'normal'],['ct-block-5',[0,2,-2],0,'normal'],['ct-square-shadow-5',[0,…
|
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/ |
H A D | Chess.php | 1481 $nw = ($square{0} != 'a') && ($square{1} != '8'); 1482 $ne = ($square{0} != 'h') && ($square{1} != '8'); 1483 $sw = ($square{0} != 'a') && ($square{1} != '1'); 1484 $se = ($square{0} != 'h') && ($square{1} != '1'); 1649 if (ord($square{0}) > ord('b') && $square{1} < 8) { 1653 if (ord($square{0}) > ord('a') && $square{1} < 7) { 1657 if (ord($square{0}) < ord('h') && $square{1} < 7) { 1661 if (ord($square{0}) < ord('g') && $square{1} < 8) { 1665 if (ord($square{0}) < ord('g') && $square{1} > 1) { 1747 $squares[] = $square{0} . ($square{1} - 1); [all …]
|
/dports/games/gnushogi/gnushogi-1.4.2/gnushogi/ |
H A D | attacks.c | 77 u = pdir[square]; in SqAttacked() 120 while (u != square); in SqAttacked() 131 u = pdir[square]; in SqAttacked() 145 while (u != square); in SqAttacked() 159 u = ppos[square]; in SqAttacked() 182 while (u != square); in SqAttacked() 193 u = ppos[square]; in SqAttacked() 220 while (u != square); in SqAttacked() 231 u = ppos[square]; in SqAttacked() 251 u = square; in SqAttacked() [all …]
|