/dports/games/crafty/crafty-25.2_1/ |
H A D | ponder.c | 23 int Ponder(int wtm) { in Ponder() argument 105 Iterate(wtm, puzzle, 0); in Ponder() 133 if (wtm) in Ponder() 135 wtm, ponder_move)); in Ponder() 138 wtm, ponder_move)); in Ponder() 156 MakeMove(tree, 0, wtm, *mv); in Ponder() 157 illegal = Check(wtm); in Ponder() 158 UnmakeMove(tree, 0, wtm, *mv); in Ponder() 172 MakeMove(tree, 0, wtm, ponder_move); in Ponder() 181 if (!wtm) in Ponder() [all …]
|
H A D | quiesce.c | 80 value = DrawScore(wtm); in Quiesce() 101 value = Evaluate(tree, ply, wtm, alpha, beta); in Quiesce() 175 TotalPieces(Flip(wtm), occupied) in Quiesce() 177 SEE(tree, wtm, tree->curmv[ply]) < 0) in Quiesce() 184 MakeMove(tree, ply, wtm, tree->curmv[ply]); in Quiesce() 188 else if (!Check(wtm)) { in Quiesce() 189 if (Check(Flip(wtm))) { in Quiesce() 195 UnmakeMove(tree, ply, wtm, tree->curmv[ply]); in Quiesce() 239 if (!Check(wtm)) { in Quiesce() 319 value = DrawScore(wtm); in QuiesceEvasions() [all …]
|
H A D | utility.c | 832 if (!wtm) in DisplayPath() 840 wtm = Flip(wtm); in DisplayPath() 841 if (wtm) in DisplayPath() 857 wtm = Flip(wtm); in DisplayPath() 907 if (wtm) in DisplayFail() 962 if (wtm) in DisplayPV() 974 wtm = Flip(wtm); in DisplayPV() 1035 wtm = Flip(wtm); in DisplayPV() 1223 if (!wtm) in FormatPV() 1231 wtm = Flip(wtm); in FormatPV() [all …]
|
H A D | root.c | 18 void RootMoveList(int wtm) { in RootMoveList() argument 102 if (!Check(wtm)) in RootMoveList() 203 wtm), DisplayPath(tree, wtm, &root_moves[mvp].path)); in RootMoveList() 237 int RootMoveEGTB(int wtm) { in RootMoveEGTB() argument 297 if (MaterialSTM(wtm) > 0) in RootMoveEGTB() 299 else if (MaterialSTM(wtm) < 0) in RootMoveEGTB() 315 MakeMove(tree, 1, wtm, cmove); in RootMoveEGTB() 317 UnmakeMove(tree, 1, wtm, cmove); in RootMoveEGTB() 332 MakeMove(tree, 1, wtm, cmove); in RootMoveEGTB() 370 if (Check(wtm)) in RootMoveEGTB() [all …]
|
H A D | search.c | 76 value = DrawScore(wtm); in Search() 208 if (MaterialSTM(wtm) > 0) in Search() 210 else if (MaterialSTM(wtm) < 0) in Search() 263 TotalPieces(wtm, occupied)) { in Search() 439 : NextRootMove(current, tree, wtm); in SearchMoveList() 454 if (in_check || !Check(wtm)) in SearchMoveList() 478 if (Check(Flip(wtm))) { in SearchMoveList() 480 if (SEEO(tree, wtm, in SearchMoveList() 839 tree->wtm = wtm; in SearchMoveList() 890 value = (Check(wtm)) ? -(MATE - ply) : DrawScore(wtm); in SearchMoveList() [all …]
|
H A D | annotate.c | 188 wtm = 1; in Annotate() 276 if (wtm) in Annotate() 284 if (wtm) in Annotate() 378 if (wtm) { in Annotate() 458 twtm = wtm; in Annotate() 467 wtm)); in Annotate() 490 wtm = Flip(wtm); in Annotate() 491 if (wtm) in Annotate() 637 if (wtm) in AnnotatePositionHTML() 753 if (wtm) in AnnotatePositionTeX() [all …]
|
H A D | output.c | 42 if (wtm) { in OutputMove() 106 if (InputMove(tree, ply, wtm, 1, 0, text_move)) in OutputMove() 132 if (InputMove(tree, ply, wtm, 1, 0, text_move)) in OutputMove() 146 if (InputMove(tree, ply, wtm, 1, 0, text_move)) in OutputMove() 150 if (InputMove(tree, ply, wtm, 1, 0, text_move)) in OutputMove() 172 if (InputMove(tree, ply, wtm, 1, 0, text_move)) in OutputMove() 185 if (InputMove(tree, ply, wtm, 1, 0, text_move)) in OutputMove() 189 if (InputMove(tree, ply, wtm, 1, 0, text_move)) in OutputMove() 213 MakeMove(tree, MAXPLY, wtm, move); in OutputMove() 214 if (Check(Flip(wtm))) { in OutputMove() [all …]
|
H A D | see.c | 23 int SEE(TREE * RESTRICT tree, int wtm, int move) { in SEE() argument 51 wtm = Flip(wtm); in SEE() 77 if ((temp = Pieces(wtm, piece) & attacks)) in SEE() 90 wtm = Flip(wtm); in SEE() 117 int SEEO(TREE * RESTRICT tree, int wtm, int move) { in SEEO() argument 145 wtm = Flip(wtm); in SEEO() 148 if ((temp = Pieces(wtm, piece) & attacks)) in SEEO() 158 wtm = Flip(wtm); in SEEO() 176 if ((temp = Pieces(wtm, piece) & attacks)) in SEEO() 189 wtm = Flip(wtm); in SEEO()
|
H A D | input.c | 96 if (wtm) { in InputMove() 111 if (wtm) { in InputMove() 301 MakeMove(tree, MAXPLY, wtm, *mv); in InputMove() 302 if (Check(wtm) || (give_check && !Check(Flip(wtm)))) { in InputMove() 303 UnmakeMove(tree, MAXPLY, wtm, *mv); in InputMove() 306 UnmakeMove(tree, MAXPLY, wtm, *mv); in InputMove() 386 if (wtm) { in InputMoveICS() 400 if (wtm) { in InputMoveICS() 474 MakeMove(tree, MAXPLY, wtm, *mv); in InputMoveICS() 475 if (Check(wtm)) { in InputMoveICS() [all …]
|
H A D | book.c | 43 int Book(TREE * RESTRICT tree, int wtm) { in Book() argument 182 EvaluateCastling(tree, 1, wtm); in Book() 205 EvaluateCastling(tree, 2, wtm); in Book() 667 value = Iterate(wtm, booking, 1); in Book() 694 RootMoveList(wtm); in Book() 708 Iterate(wtm, booking, 1); in Book() 852 MakeMove(tree, 2, wtm, book_moves[im]); in BookPonderMove() 1111 wtm = 1; in Bookup() 1172 wtm = Flip(wtm); in Bookup() 1173 if (wtm) in Bookup() [all …]
|
H A D | iterate.c | 44 int Iterate(int wtm, int search_type, int root_list_done) { in Iterate() argument 80 root_wtm = wtm; in Iterate() 111 root_wtm = wtm; in Iterate() 131 RootMoveList(wtm); in Iterate() 132 if (booking || (!Book(tree, wtm) && !RootMoveEGTB(wtm))) in Iterate() 159 if (Check(wtm)) in Iterate() 162 value = DrawScore(wtm); in Iterate() 264 twtm = wtm; in Iterate() 344 value = Search(tree, 1, iteration, wtm, alpha, beta, Check(wtm), 0); in Iterate() 500 wtm)); in Iterate() [all …]
|
H A D | edit.c | 31 int athome = 1, i, piece, readstat, square, tfile, trank, wtm = 1, error = in Edit() local 49 if (wtm) in Edit() 62 wtm = 1; in Edit() 64 wtm = 0; in Edit() 69 wtm = Flip(wtm); in Edit() 82 if (wtm) in Edit() 94 if (wtm) in Edit() 154 wtm = 1; in Edit()
|
/dports/devel/boost-docs/boost_1_72_0/libs/locale/src/win32/ |
H A D | api.hpp | 275 SYSTEMTIME wtm=SYSTEMTIME(); in wcsftime_l() local 276 wtm.wYear = tm->tm_year + 1900; in wcsftime_l() 277 wtm.wMonth = tm->tm_mon+1; in wcsftime_l() 278 wtm.wDayOfWeek = tm->tm_wday; in wcsftime_l() 279 wtm.wDay = tm->tm_mday; in wcsftime_l() 280 wtm.wHour = tm->tm_hour; in wcsftime_l() 281 wtm.wMinute = tm->tm_min; in wcsftime_l() 282 wtm.wSecond = tm->tm_sec; in wcsftime_l() 293 return wcs_format_date_l(0,&wtm,l) + L" " + wcs_format_time_l(0,&wtm,l); in wcsftime_l() 336 return wcs_format_date_l(0,&wtm,l); in wcsftime_l() [all …]
|
/dports/devel/boost-python-libs/boost_1_72_0/libs/locale/src/win32/ |
H A D | api.hpp | 275 SYSTEMTIME wtm=SYSTEMTIME(); in wcsftime_l() local 276 wtm.wYear = tm->tm_year + 1900; in wcsftime_l() 277 wtm.wMonth = tm->tm_mon+1; in wcsftime_l() 278 wtm.wDayOfWeek = tm->tm_wday; in wcsftime_l() 279 wtm.wDay = tm->tm_mday; in wcsftime_l() 280 wtm.wHour = tm->tm_hour; in wcsftime_l() 281 wtm.wMinute = tm->tm_min; in wcsftime_l() 282 wtm.wSecond = tm->tm_sec; in wcsftime_l() 293 return wcs_format_date_l(0,&wtm,l) + L" " + wcs_format_time_l(0,&wtm,l); in wcsftime_l() 336 return wcs_format_date_l(0,&wtm,l); in wcsftime_l() [all …]
|
/dports/devel/boost-libs/boost_1_72_0/libs/locale/src/win32/ |
H A D | api.hpp | 275 SYSTEMTIME wtm=SYSTEMTIME(); in wcsftime_l() local 276 wtm.wYear = tm->tm_year + 1900; in wcsftime_l() 277 wtm.wMonth = tm->tm_mon+1; in wcsftime_l() 278 wtm.wDayOfWeek = tm->tm_wday; in wcsftime_l() 279 wtm.wDay = tm->tm_mday; in wcsftime_l() 280 wtm.wHour = tm->tm_hour; in wcsftime_l() 281 wtm.wMinute = tm->tm_min; in wcsftime_l() 282 wtm.wSecond = tm->tm_sec; in wcsftime_l() 293 return wcs_format_date_l(0,&wtm,l) + L" " + wcs_format_time_l(0,&wtm,l); in wcsftime_l() 336 return wcs_format_date_l(0,&wtm,l); in wcsftime_l() [all …]
|
/dports/databases/xtrabackup/boost_1_59_0/libs/locale/src/win32/ |
H A D | api.hpp | 275 SYSTEMTIME wtm=SYSTEMTIME(); in wcsftime_l() local 276 wtm.wYear = tm->tm_year + 1900; in wcsftime_l() 277 wtm.wMonth = tm->tm_mon+1; in wcsftime_l() 278 wtm.wDayOfWeek = tm->tm_wday; in wcsftime_l() 279 wtm.wDay = tm->tm_mday; in wcsftime_l() 280 wtm.wHour = tm->tm_hour; in wcsftime_l() 281 wtm.wMinute = tm->tm_min; in wcsftime_l() 282 wtm.wSecond = tm->tm_sec; in wcsftime_l() 293 return wcs_format_date_l(0,&wtm,l) + L" " + wcs_format_time_l(0,&wtm,l); in wcsftime_l() 336 return wcs_format_date_l(0,&wtm,l); in wcsftime_l() [all …]
|
/dports/databases/percona57-pam-for-mysql/boost_1_59_0/libs/locale/src/win32/ |
H A D | api.hpp | 275 SYSTEMTIME wtm=SYSTEMTIME(); in wcsftime_l() local 276 wtm.wYear = tm->tm_year + 1900; in wcsftime_l() 277 wtm.wMonth = tm->tm_mon+1; in wcsftime_l() 278 wtm.wDayOfWeek = tm->tm_wday; in wcsftime_l() 279 wtm.wDay = tm->tm_mday; in wcsftime_l() 280 wtm.wHour = tm->tm_hour; in wcsftime_l() 281 wtm.wMinute = tm->tm_min; in wcsftime_l() 282 wtm.wSecond = tm->tm_sec; in wcsftime_l() 293 return wcs_format_date_l(0,&wtm,l) + L" " + wcs_format_time_l(0,&wtm,l); in wcsftime_l() 336 return wcs_format_date_l(0,&wtm,l); in wcsftime_l() [all …]
|
/dports/math/stanmath/math-4.2.0/lib/boost_1.75.0/libs/locale/src/win32/ |
H A D | api.hpp | 275 SYSTEMTIME wtm=SYSTEMTIME(); in wcsftime_l() local 276 wtm.wYear = tm->tm_year + 1900; in wcsftime_l() 277 wtm.wMonth = tm->tm_mon+1; in wcsftime_l() 278 wtm.wDayOfWeek = tm->tm_wday; in wcsftime_l() 279 wtm.wDay = tm->tm_mday; in wcsftime_l() 280 wtm.wHour = tm->tm_hour; in wcsftime_l() 281 wtm.wMinute = tm->tm_min; in wcsftime_l() 282 wtm.wSecond = tm->tm_sec; in wcsftime_l() 293 return wcs_format_date_l(0,&wtm,l) + L" " + wcs_format_time_l(0,&wtm,l); in wcsftime_l() 336 return wcs_format_date_l(0,&wtm,l); in wcsftime_l() [all …]
|
/dports/databases/percona57-server/boost_1_59_0/libs/locale/src/win32/ |
H A D | api.hpp | 275 SYSTEMTIME wtm=SYSTEMTIME(); in wcsftime_l() local 276 wtm.wYear = tm->tm_year + 1900; in wcsftime_l() 277 wtm.wMonth = tm->tm_mon+1; in wcsftime_l() 278 wtm.wDayOfWeek = tm->tm_wday; in wcsftime_l() 279 wtm.wDay = tm->tm_mday; in wcsftime_l() 280 wtm.wHour = tm->tm_hour; in wcsftime_l() 281 wtm.wMinute = tm->tm_min; in wcsftime_l() 282 wtm.wSecond = tm->tm_sec; in wcsftime_l() 293 return wcs_format_date_l(0,&wtm,l) + L" " + wcs_format_time_l(0,&wtm,l); in wcsftime_l() 336 return wcs_format_date_l(0,&wtm,l); in wcsftime_l() [all …]
|
/dports/databases/percona57-client/boost_1_59_0/libs/locale/src/win32/ |
H A D | api.hpp | 275 SYSTEMTIME wtm=SYSTEMTIME(); in wcsftime_l() local 276 wtm.wYear = tm->tm_year + 1900; in wcsftime_l() 277 wtm.wMonth = tm->tm_mon+1; in wcsftime_l() 278 wtm.wDayOfWeek = tm->tm_wday; in wcsftime_l() 279 wtm.wDay = tm->tm_mday; in wcsftime_l() 280 wtm.wHour = tm->tm_hour; in wcsftime_l() 281 wtm.wMinute = tm->tm_min; in wcsftime_l() 282 wtm.wSecond = tm->tm_sec; in wcsftime_l() 293 return wcs_format_date_l(0,&wtm,l) + L" " + wcs_format_time_l(0,&wtm,l); in wcsftime_l() 336 return wcs_format_date_l(0,&wtm,l); in wcsftime_l() [all …]
|
/dports/databases/mysqlwsrep57-server/boost_1_59_0/libs/locale/src/win32/ |
H A D | api.hpp | 275 SYSTEMTIME wtm=SYSTEMTIME(); in wcsftime_l() local 276 wtm.wYear = tm->tm_year + 1900; in wcsftime_l() 277 wtm.wMonth = tm->tm_mon+1; in wcsftime_l() 278 wtm.wDayOfWeek = tm->tm_wday; in wcsftime_l() 279 wtm.wDay = tm->tm_mday; in wcsftime_l() 280 wtm.wHour = tm->tm_hour; in wcsftime_l() 281 wtm.wMinute = tm->tm_min; in wcsftime_l() 282 wtm.wSecond = tm->tm_sec; in wcsftime_l() 293 return wcs_format_date_l(0,&wtm,l) + L" " + wcs_format_time_l(0,&wtm,l); in wcsftime_l() 336 return wcs_format_date_l(0,&wtm,l); in wcsftime_l() [all …]
|
/dports/devel/hyperscan/boost_1_75_0/libs/locale/src/win32/ |
H A D | api.hpp | 275 SYSTEMTIME wtm=SYSTEMTIME(); in wcsftime_l() local 276 wtm.wYear = tm->tm_year + 1900; in wcsftime_l() 277 wtm.wMonth = tm->tm_mon+1; in wcsftime_l() 278 wtm.wDayOfWeek = tm->tm_wday; in wcsftime_l() 279 wtm.wDay = tm->tm_mday; in wcsftime_l() 280 wtm.wHour = tm->tm_hour; in wcsftime_l() 281 wtm.wMinute = tm->tm_min; in wcsftime_l() 282 wtm.wSecond = tm->tm_sec; in wcsftime_l() 293 return wcs_format_date_l(0,&wtm,l) + L" " + wcs_format_time_l(0,&wtm,l); in wcsftime_l() 336 return wcs_format_date_l(0,&wtm,l); in wcsftime_l() [all …]
|
/dports/www/mod_perl2/mod_perl-2.0.11/Apache-Test/lib/Apache/ |
H A D | Test.pm | 64 my %wtm; 67 my $wtm=0; 77 $wtm=1; 105 $wtm{$caller}=[$wtm,$f,$l] unless exists $wtm{$caller}; 108 "($wtm{$caller}->[1]:$wtm{$caller}->[2]) without it ". 110 if $wtm{$caller}->[0]==0 and $wtm==1; 153 if (exists $wtm{$caller} and $wtm{$caller}->[0]==1) { # -withtestmore 188 if (exists $wtm{$caller} and $wtm{$caller}->[0]==1) { # -withtestmore 207 $wtm{$caller}=[0,$f,$l]; 290 if (exists $wtm{$caller} and $wtm{$caller}->[0]==1) { # -withtestmore [all …]
|
/dports/net/kamailio/kamailio-5.4.5/src/modules/db_oracle/ |
H A D | asynch.c | 51 static struct timeval wtm; variable 179 gettimeofday(&wtm, NULL); in begin_timelimit() 183 wtm.tv_sec += tv->tv_sec; in begin_timelimit() 184 wtm.tv_usec += tv->tv_usec; in begin_timelimit() 185 if (wtm.tv_usec >= 1000000) { in begin_timelimit() 186 wtm.tv_usec -= 1000000; in begin_timelimit() 187 ++wtm.tv_sec; in begin_timelimit() 223 return ( cur.tv_sec < wtm.tv_sec in wait_timelimit() 224 || (cur.tv_sec == wtm.tv_sec && cur.tv_usec < wtm.tv_usec)); in wait_timelimit()
|
/dports/games/phalanx/Phalanx-XXV/ |
H A D | endgame.c | 5 int onepawn( int wk, int wp, int bk, int wtm ) in onepawn() argument 65 if( wtm && ( wk-wp==1 || wk-wp==-1 ) ) in onepawn() 72 if( !wtm && ( wk-wp==1 || wk-wp==-1 ) ) in onepawn() 81 if( wtm ) /* stronger side to move */ in onepawn() 104 d = wtm + dist[bk+d1].max - dist[wk+d1].max; in onepawn() 107 d = wtm + dist[bk+d2].max - dist[wk+d2].max; in onepawn() 154 int wk, wp, bk, wtm; in pawns() local 156 if( Color==WHITE ) wtm=1; else wtm=0; in pawns() 160 result = onepawn(wk,wp,bk,wtm); in pawns() 164 wtm = !wtm; in pawns() [all …]
|