Lines Matching refs:pieceFromByte
2488 pieceT pieceFromByte [256] = {EMPTY}; in ReadFromLongStr() local
2489 pieceFromByte [(int) 'K'] = WK; pieceFromByte [(int) 'k'] = BK; in ReadFromLongStr()
2490 pieceFromByte [(int) 'Q'] = WQ; pieceFromByte [(int) 'q'] = BQ; in ReadFromLongStr()
2491 pieceFromByte [(int) 'R'] = WR; pieceFromByte [(int) 'r'] = BR; in ReadFromLongStr()
2492 pieceFromByte [(int) 'B'] = WB; pieceFromByte [(int) 'b'] = BB; in ReadFromLongStr()
2493 pieceFromByte [(int) 'N'] = WN; pieceFromByte [(int) 'n'] = BN; in ReadFromLongStr()
2494 pieceFromByte [(int) 'P'] = WP; pieceFromByte [(int) 'p'] = BP; in ReadFromLongStr()
2499 pieceT p = pieceFromByte [(byte) str[sq]]; in ReadFromLongStr()
2645 static pieceT pieceFromByte [256]; in ReadFromFEN() local
2662 for (int i=0; i < 256; i++) { pieceFromByte[i] = EMPTY; } in ReadFromFEN()
2663 pieceFromByte [(int) 'K'] = WK; pieceFromByte [(int) 'k'] = BK; in ReadFromFEN()
2664 pieceFromByte [(int) 'Q'] = WQ; pieceFromByte [(int) 'q'] = BQ; in ReadFromFEN()
2665 pieceFromByte [(int) 'R'] = WR; pieceFromByte [(int) 'r'] = BR; in ReadFromFEN()
2666 pieceFromByte [(int) 'B'] = WB; pieceFromByte [(int) 'b'] = BB; in ReadFromFEN()
2667 pieceFromByte [(int) 'N'] = WN; pieceFromByte [(int) 'n'] = BN; in ReadFromFEN()
2668 pieceFromByte [(int) 'P'] = WP; pieceFromByte [(int) 'p'] = BP; in ReadFromFEN()
2688 pieceT p = pieceFromByte [(byte) *s]; in ReadFromFEN()