To cook : v. tr. « To cook "Is to do the Food.
To cook someone: to question him, to try to obtain a confession from him by all means.
Subject a suspect to close questioning.
Cooking an appointment for someone: boosting them.
We do not know what he is cooking: what he is preparing, plotting.
Spying on an inmate (jargon of prisons).
Make love.