The phrase "hadst all to oneself" implies exclusive possession or control over something. Synonyms for this phrase could include phrases such as "had complete ownership," "enjoyed sole access," or "owned entirely." Other similar phrases might include "had full possession," "had exclusive use," or "had complete autonomy." In essence, these phrases all convey the idea of having complete control or ownership over something, without the presence or interference of others. These synonyms could be useful in a variety of contexts, such as discussing personal space or professional resources, or describing a feeling of independence or self-sufficiency.