Does 529 distribution count as parental support in the support test for a dependent?

We use a 529 (I am the custodian, our child the beneficiary) to pay for part of our child's college qualified expenses.  The distribution is made out to our child and she receives both the 1099-T and 1099-Q.  Who counts the 529 distributions as support when determining if we can claim our child as a dependent.... the parent or the child?