I think this is largely an American English expression and probably a bit old fashioned but perhaps some American contributors can shed some light on it.
I would not expect to hear it used in British or Australian English and I think, as your dictionary definitions suggest, can be used in a variety of situations.