1. The intense practice of prolonged sleep deprivation until the point of insanity; practiced by students preparing for any significant exam or due date; typically utilizes any means necessary to stay awake (e.g. caffeine, vitamin-B complex supplements 5hr energy solution, adderall, or even crack cocaine);
"I'm about to crap my pants... I have to take this final in an hour, and I don't remember shit from the all-nighters I pulled this week."
An all-nighter is NOT simply staying up until the sun rises, then sleeping.
The term is popular with college students who spend the night before an exam studying (or 'cramming'), trying to learn a lot of material in a short period of time. The term is frequently used in the phrase 'pull an all-nighter'.
2) I pulled an all-nighter to study for my math exam.
"Totally---I was able to buy the book for the class yesterday and I pulled an "all nighter."