一晩中起きて

stay awake all night

→ 1晩
phrase Rare #28,980
stay awake all night 一晩中 means “all night,” and 起きて means “stay awake” or “be awake.” The phrase often continues with another verb or is followed by いる/いた to describe remaining awake.
JA: 試験の前日は一晩中起きて勉強していた。
EN: I stayed up all night studying the day before the exam.

昨日の夜はほとんど一晩中起きていた

I was awake almost all night last night.

母親は一晩中起きて息子を待った

The mother stayed up all night waiting for her son.

一晩中起きて料理をしているのよ

I've been up all night cooking.

— 道 (1954)

私はほぼ一晩中起きていた

I was awake almost all night.

自分たちが言ったこと一晩中起きて考えてたんだ

I stayed up all night thinking about what we had said.