Lines Matching defs:ctree
6774 * @ctree: an element content tree
6785 xmlValidGetPotentialChildren(xmlElementContent *ctree,
6790 if ((ctree == NULL) || (names == NULL) || (len == NULL))
6794 switch (ctree->type) {
6802 if (xmlStrEqual(ctree->name, names[i])) return(*len);
6803 names[(*len)++] = ctree->name;
6806 xmlValidGetPotentialChildren(ctree->c1, names, len, max);
6807 xmlValidGetPotentialChildren(ctree->c2, names, len, max);
6810 xmlValidGetPotentialChildren(ctree->c1, names, len, max);
6811 xmlValidGetPotentialChildren(ctree->c2, names, len, max);