all vs both

all

pron
  • Everything. 

  • The only thing(s). 

  • Used after who, what, where, how and similar words, either without changing their meaning, or indicating that one expects that they cover more than one element, e.g. that "who all attended" is more than one person. (Some dialects only allow this to follow some words and not others.) 

  • Everyone. 

det
  • Every individual or anything of the given class, with no exceptions (the noun or noun phrase denoting the class must be plural or uncountable). 

  • Throughout the whole of (a stated period of time; generally used with units of a day or longer). 

  • Only; alone; nothing but. 

noun
  • Everything that one is capable of. 

  • The totality of one's possessions. 

adv
  • A quotative particle, compare like. 

  • So much. 

  • Apiece; each. 

  • Wholly; entirely; completely; totally. 

adj
  • All gone; dead. 

both

pron
  • Each of the two, or of the two kinds. 

det
  • Each of the two; one and the other; referring to two individuals or items. 

conj
  • Including both of (used with and). 

How often have the words all and both occurred in a corpus of books? (source: Google Ngram Viewer )