What is the meaning of [up the duff]

They hadn’t planned to get married, but Sophia found out she was up the duff (pregnant).