SQUARE_IS_OK 157 src/attack.cpp if (SQUARE_IS_OK(king)) { SQUARE_IS_OK 161 src/attack.cpp if (SQUARE_IS_OK(from)) { SQUARE_IS_OK 167 src/attack.cpp if (SQUARE_IS_OK(to) && DISTANCE(to,king) == 1) { SQUARE_IS_OK 175 src/attack.cpp for (to = from+inc; SQUARE_IS_OK(to); to += inc) { SQUARE_IS_OK 186 src/attack.cpp for (to = from+inc; SQUARE_IS_OK(to); to += inc) { SQUARE_IS_OK 197 src/attack.cpp for (to = from+inc; SQUARE_IS_OK(to); to += inc) { SQUARE_IS_OK 256 src/attack.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 298 src/attack.cpp ASSERT(SQUARE_IS_OK(from)); SQUARE_IS_OK 299 src/attack.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 325 src/attack.cpp ASSERT(SQUARE_IS_OK(square)); SQUARE_IS_OK 360 src/attack.cpp if (!SQUARE_IS_OK(sq)) return false; SQUARE_IS_OK 467 src/attack.cpp ASSERT(SQUARE_IS_OK(from)); SQUARE_IS_OK 468 src/attack.cpp ASSERT(SQUARE_IS_OK(king)); SQUARE_IS_OK 489 src/attack.cpp if (sq == to && SQUARE_IS_OK(to)) { SQUARE_IS_OK 504 src/attack.cpp if (SQUARE_IS_OK(to)) { SQUARE_IS_OK 49 src/board.cpp if (SQUARE_IS_OK(sq)) { SQUARE_IS_OK 98 src/board.cpp if (!SQUARE_IS_OK(sq)) return false; SQUARE_IS_OK 123 src/board.cpp if (!SQUARE_IS_OK(sq)) return false; SQUARE_IS_OK 160 src/board.cpp if (board->cap_sq != SquareNone && !SQUARE_IS_OK(board->cap_sq)) return false; SQUARE_IS_OK 1099 src/eval.cpp ASSERT(SQUARE_IS_OK(pawn)); SQUARE_IS_OK 1149 src/eval.cpp ASSERT(SQUARE_IS_OK(pawn)); SQUARE_IS_OK 1178 src/eval.cpp ASSERT(SQUARE_IS_OK(pawn)); SQUARE_IS_OK 1186 src/eval.cpp ASSERT(SQUARE_IS_OK(sq)); SQUARE_IS_OK 1204 src/eval.cpp ASSERT(SQUARE_IS_OK(pawn)); SQUARE_IS_OK 1205 src/eval.cpp ASSERT(SQUARE_IS_OK(king)); SQUARE_IS_OK 1224 src/eval.cpp ASSERT(SQUARE_IS_OK(pawn)); SQUARE_IS_OK 1225 src/eval.cpp ASSERT(SQUARE_IS_OK(king)); SQUARE_IS_OK 1321 src/eval.cpp ASSERT(SQUARE_IS_OK(wk)); SQUARE_IS_OK 1324 src/eval.cpp ASSERT(SQUARE_IS_OK(wp)); SQUARE_IS_OK 1328 src/eval.cpp ASSERT(SQUARE_IS_OK(bk)); SQUARE_IS_OK 1331 src/eval.cpp ASSERT(SQUARE_IS_OK(bq)); SQUARE_IS_OK 1418 src/eval.cpp ASSERT(SQUARE_IS_OK(wk)); SQUARE_IS_OK 1421 src/eval.cpp ASSERT(SQUARE_IS_OK(wp)); SQUARE_IS_OK 1425 src/eval.cpp ASSERT(SQUARE_IS_OK(bk)); SQUARE_IS_OK 1428 src/eval.cpp ASSERT(SQUARE_IS_OK(br)); SQUARE_IS_OK 1510 src/eval.cpp ASSERT(SQUARE_IS_OK(wk)); SQUARE_IS_OK 1513 src/eval.cpp ASSERT(SQUARE_IS_OK(wp)); SQUARE_IS_OK 1517 src/eval.cpp ASSERT(SQUARE_IS_OK(bk)); SQUARE_IS_OK 1520 src/eval.cpp ASSERT(SQUARE_IS_OK(bb)); SQUARE_IS_OK 1531 src/eval.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 1546 src/eval.cpp ASSERT(SQUARE_IS_OK(sq)); SQUARE_IS_OK 1574 src/eval.cpp ASSERT(SQUARE_IS_OK(wk)); SQUARE_IS_OK 1577 src/eval.cpp ASSERT(SQUARE_IS_OK(wp)); SQUARE_IS_OK 1581 src/eval.cpp ASSERT(SQUARE_IS_OK(bk)); SQUARE_IS_OK 1584 src/eval.cpp ASSERT(SQUARE_IS_OK(bn)); SQUARE_IS_OK 1598 src/eval.cpp ASSERT(SQUARE_IS_OK(sq)); SQUARE_IS_OK 1618 src/eval.cpp ASSERT(SQUARE_IS_OK(wk)); SQUARE_IS_OK 1621 src/eval.cpp ASSERT(SQUARE_IS_OK(wn)); SQUARE_IS_OK 1624 src/eval.cpp ASSERT(SQUARE_IS_OK(wp)); SQUARE_IS_OK 1628 src/eval.cpp ASSERT(SQUARE_IS_OK(bk)); SQUARE_IS_OK 1655 src/eval.cpp ASSERT(SQUARE_IS_OK(wk)); SQUARE_IS_OK 1658 src/eval.cpp ASSERT(SQUARE_IS_OK(wr)); SQUARE_IS_OK 1661 src/eval.cpp ASSERT(SQUARE_IS_OK(wp)); SQUARE_IS_OK 1665 src/eval.cpp ASSERT(SQUARE_IS_OK(bk)); SQUARE_IS_OK 1668 src/eval.cpp ASSERT(SQUARE_IS_OK(br)); SQUARE_IS_OK 1725 src/eval.cpp ASSERT(SQUARE_IS_OK(wk)); SQUARE_IS_OK 1728 src/eval.cpp ASSERT(SQUARE_IS_OK(wb)); SQUARE_IS_OK 1731 src/eval.cpp ASSERT(SQUARE_IS_OK(wp)); SQUARE_IS_OK 1735 src/eval.cpp ASSERT(SQUARE_IS_OK(bk)); SQUARE_IS_OK 1738 src/eval.cpp ASSERT(SQUARE_IS_OK(bb)); SQUARE_IS_OK 1753 src/eval.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 1768 src/eval.cpp ASSERT(SQUARE_IS_OK(sq)); SQUARE_IS_OK 1789 src/eval.cpp ASSERT(SQUARE_IS_OK(square)); SQUARE_IS_OK 1876 src/eval.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 133 src/hash.cpp ASSERT(SQUARE_IS_OK(square)); SQUARE_IS_OK 160 src/hash.cpp ASSERT(SQUARE_IS_OK(square)); SQUARE_IS_OK 405 src/move_do.cpp ASSERT(SQUARE_IS_OK(square)); SQUARE_IS_OK 536 src/move_do.cpp ASSERT(SQUARE_IS_OK(square)); SQUARE_IS_OK 670 src/move_do.cpp ASSERT(SQUARE_IS_OK(from)); SQUARE_IS_OK 671 src/move_do.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 130 src/move_evasion.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 152 src/move_evasion.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 199 src/move_evasion.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 268 src/move_evasion.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 720 src/move_gen.cpp ASSERT(SQUARE_IS_OK(from)); SQUARE_IS_OK 721 src/move_gen.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 54 src/move_legal.cpp ASSERT(SQUARE_IS_OK(from)); SQUARE_IS_OK 64 src/move_legal.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 138 src/move_legal.cpp ASSERT(SQUARE_IS_OK(from)); SQUARE_IS_OK 148 src/move_legal.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 192 src/recog.cpp ASSERT(SQUARE_IS_OK(wp)); SQUARE_IS_OK 193 src/recog.cpp ASSERT(SQUARE_IS_OK(wk)); SQUARE_IS_OK 194 src/recog.cpp ASSERT(SQUARE_IS_OK(bk)); SQUARE_IS_OK 277 src/recog.cpp ASSERT(SQUARE_IS_OK(wp)); SQUARE_IS_OK 278 src/recog.cpp ASSERT(SQUARE_IS_OK(wb)); SQUARE_IS_OK 279 src/recog.cpp ASSERT(SQUARE_IS_OK(bk)); SQUARE_IS_OK 161 src/see.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 207 src/see.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 258 src/see.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 305 src/see.cpp ASSERT(SQUARE_IS_OK(from)); SQUARE_IS_OK 306 src/see.cpp ASSERT(SQUARE_IS_OK(to)); SQUARE_IS_OK 342 src/see.cpp ASSERT(SQUARE_IS_OK(square)); SQUARE_IS_OK 50 src/square.cpp SquareIsPromote[sq] = SQUARE_IS_OK(sq) && (SQUARE_RANK(sq) == Rank1 || SQUARE_RANK(sq) == Rank8); SQUARE_IS_OK 94 src/square.cpp ASSERT(SQUARE_IS_OK(square));