Thanks. I know we should use THE when referring to something we have mentioned previously. However, when I google for the following, I found
"all three boys" ---> 155,000 hits
"all the three boys" ---> 160,000 hits
"all three girls" ---> 311,000 hits
"all the three girls" ---> 350,000 hits
"all three men" ---> 310,000 hits
"all the three men" ---> 1,500,000 hits
Of course Google can't tell us the context, but just a rough idea. "all three boys", "all three girls" etc. seem to be quite common. Note that when we talk about "all three", it is quite obvious that the "three" must have been mentioned before.
This is quoted from BBC
[link]All three men had previously taken part in some of the mass on-and-off hunger strikes undertaken by detainees since last August, ...
Moreover, sometimes we just say "all three" without the noun, e.g.
[link]He said medical teams had tried to revive the men, but
all three were pronounced dead.
In the second sentence, we surely can't say "all the three" without the word men.
So, is "all three boys", "all three girls", "all six companies" etc. grammatical?