And that's just the airlines, ATC units, airport authorities all have different interpretations. A cynic would say that's a good way of disputing how good/bad performance is...
Some companies measure all doors closed/ready to go to see if all internal processes have been successful. Again this is not standardised and can be a D-5 minutes, D-3 minutes etc..