as a determiner (followed by an uncountable or plural noun): They had given up all hope.All children deserve encouragement.
as a predeterminer (followed by a word such as ‘the’, ‘this’, or ‘his’): I want to hear all the details.We lost all our money.
as a pronoun: All was quiet in the street outside. (before a relative clause): I’ve done all that I can to help her. (followed by of): I want to invite all of you. (after the subject of a sentence): These buildings all belong to the college. (following the pronoun object of a sentence): Pauline said goodbye to them all. (after a modal or auxiliary verb or the verb ‘to be’): We can all relax.The tickets had all been sold.
as an adverb (before an adjective, adverb, preposition, or conjunction): Bernard was all alone in a strange city.They forgot all about everything else.