Which preposition to use with jackknife

from Occurrences 1%

Then he emptied his trousers' pockets upon the cloth, and Patsy gravely separated the keys and jackknife from the coins and proceeded to count the money.

in Occurrences 1%

He found him hunched like a half-open jackknife in a cane rocker, with his legs crossed and one long, lean foot dangling loosely before him; he was reading "The Essays of Elia," and the melancholy of his face gave Billy the erroneous impression that the book was extremely sad, and caused him to dislike it without ever looking inside the dingy blue covers.

Which preposition to use with  jackknife