Anything and everything. Scrap fabric, reworked garments, whatever was available. You should find a copy of the Yale University press book, The Pocket.
Have you read the book The Pocket: A Hidden History if Women's Lives 1660-1900 ?!
https://www.amazon.com/Pocket-Hidden-History-Womens-1660-1900/dp/0300253745/