Right after he rescued her from the bear, Jaime verified with Brienne that no one had raped her. This was his reply:
Which is pure nonsense, of course. Jaime doesn’t think a woman’s life is worth any less if she’s suffered a completed rape, or if she’s spread her legs for half his father’s army. But that was his idea of a cute joke after their little adventure in the bear pit. If he hadn’t just saved her life, Brienne might have back-handed him in the face.