a) it spends all (maximum AP) and is applied from the maximum, meaning the more AP you have, the less beneficial it is, but it's ideal at low values.
b) it spends all current AP and costs a minimum of 1. It should be used at the end of the battle.
c) it is applied once per battle, spends all AP, the cost does not matter and can be 0.