Which preposition to use with cocksure

of Occurrences 7%

These are the boys who stopped the Germans up in Belleau Wood when the boches were headed for Paris and cocksure of getting there, blandly unaware that they were goose-stepping toward an American knock-out.

after Occurrences 1%

The latter were cocksure after their two successes at Gaza they could hold us up; the Germans believed that with an offensive against us they would hold us in check till the wet season arrived.

in Occurrences 1%

It seemed tragic and shocking to her that he should have to pass through adversity, that he could not remain for ever triumphant, brilliant, cocksure in all his grand schemes, and masculinely scathless.

Which preposition to use with  cocksure