Home
last modified time | relevance | path

Searched refs:move_funcs (Results 1 – 9 of 9) sorted by relevance

/dports/games/freecell-solver/freecell-solver-6.2.0/
H A Dmove_funcs_order.c20 moves_order->groups[moves_order->num].move_funcs = SMALLOC( in fc_solve_apply_moves_order()
21 moves_order->groups[moves_order->num].move_funcs, MOVES_GROW_BY); in fc_solve_apply_moves_order()
59 moves_order->groups[moves_order->num].move_funcs = in fc_solve_apply_moves_order()
60 SMALLOC(moves_order->groups[moves_order->num].move_funcs, in fc_solve_apply_moves_order()
161 moves_order->groups[moves_order->num].move_funcs = in fc_solve_apply_moves_order()
162 SMALLOC(moves_order->groups[moves_order->num].move_funcs, in fc_solve_apply_moves_order()
175 moves_order->groups[moves_order->num - 1].move_funcs = SREALLOC( in fc_solve_apply_moves_order()
176 moves_order->groups[moves_order->num - 1].move_funcs, in fc_solve_apply_moves_order()
181 .move_funcs[moves_order->groups[moves_order->num - 1].num++] in fc_solve_apply_moves_order()
198 free(moves_order->groups[moves_order->num].move_funcs); in fc_solve_apply_moves_order()
[all …]
H A Dinstance_for_lib.h32 if (arr->by_depth_units[unit_idx].move_funcs.groups) in fcs_free_moves_list()
35 arr->by_depth_units[unit_idx].move_funcs.groups; in fcs_free_moves_list()
36 const_AUTO(num, arr->by_depth_units[unit_idx].move_funcs.num); in fcs_free_moves_list()
38 for (typeof(arr->by_depth_units[unit_idx].move_funcs.num) i = 0; in fcs_free_moves_list()
41 free(groups[i].move_funcs); in fcs_free_moves_list()
H A Dinstance.h216 fcs_move_func *move_funcs; member
358 fcs_moves_order move_funcs; member
788 ret.groups[i].move_funcs = memdup(ret.groups[i].move_funcs, in moves_order_dup()
789 sizeof(ret.groups[i].move_funcs[0]) * in moves_order_dup()
837 free(groups[group_idx].move_funcs); in moves_order__free()
H A Dpreset.c158 moves_order->groups[group_idx].move_funcs; in apply_moves()
H A Dlib.c351 fcs_move_func *move_funcs = in init_instance() local
352 SMALLOC(move_funcs, sizeof(total_move_funcs_bitmask) * 8); in init_instance()
359 move_funcs[num_move_funcs++].idx = bit_idx; in init_instance()
362 const_AUTO(old_move_funcs, move_funcs); in init_instance()
363 move_funcs = SREALLOC(move_funcs, in init_instance()
365 if (unlikely(!move_funcs)) in init_instance()
377 .move_funcs = move_funcs, in init_instance()
1203 .move_funcs[the_soft_dfs_info->move_func_idx] in dfs_run_moves()
1647 const_AUTO(moves_list_of_lists, &(unit->move_funcs)); in init_dfs()
1659 tests_order_groups[group_idx].move_funcs, in init_dfs()
[all …]
H A Dinstance.c99 const fcs_move_func *test_ptr = group_ptr->move_funcs; in accumulate_tests_by_ptr()
H A Dscans.c300 .move_funcs, in fc_solve_soft_thread_init_befs_or_bfs()
/dports/games/freecell-solver/freecell-solver-6.2.0/t/lib/FC_Solve/
H A DMoveFuncs.pm10 my @move_funcs = (
120 while ( my ( $i, $move_func_struct ) = each @move_funcs )
164 sub move_funcs subroutine
166 return \@move_funcs;
/dports/games/freecell-solver/freecell-solver-6.2.0/scripts/
H A Dgen-move-funcs.pl8 my $move_funcs = FC_Solve::MoveFuncs::move_funcs();
23 #define FCS_MOVE_FUNCS_NUM @{[0+@$move_funcs]}
43 ( map { " " . func_name( $_->{'function'} ) } @$move_funcs ) );