Lines Matching defs:children

108 	LIST children;		/* List of Suff we have a transformation from */
126 int children; /* Count of existing children (so we don't free
129 LIST cp; /* Debug; children list */
484 /* In case the transform already exists, nuke old commands and children.
492 if (!Lst_IsEmpty(&gn->children)) {
493 Lst_Destroy(&gn->children, NOFREE);
494 Lst_Init(&gn->children);
528 Lst_Init(&s->children);
586 if (Lst_IsEmpty(&gn->commands) && Lst_IsEmpty(&gn->children))
591 SuffInsert(&s2->children, s);
664 s2->children = 0;
665 targ->children++;
680 * Add all the children of targ as Src structures to the given list
696 Lst_ForEach(&targ->suff->children, SuffAddSrc, &ls);
722 if (s->children == 0) {
732 --s->parent->children;
735 printf("free: [l=%x] p=%x %d\n", l, s, s->children);
744 printf("keep: [l=%x] p=%x %d: ", l, s, s->children);
815 * See if any of the children of the target in the Src structure is
834 for (ln = Lst_First(&t->children); ln != NULL; ln = Lst_Adv(ln)) {
869 ret->children = 0;
870 targ->children++;
912 if (Lst_AddNew(&tGn->children, sGn)) {
926 if (Lst_AddNew(&tGn->children, gn)) {
951 ln = Lst_Last(&tGn->children);
1021 if (Lst_AddNew(&gn->children, mem))
1085 targ->children = 0;
1173 * children, then look for any overriding transformations they imply.
1189 targ->children = 0;
1197 if (Lst_IsEmpty(&gn->commands) && Lst_IsEmpty(&gn->children))
1248 * or [XXX] it has neither children or commands). */
1250 (Lst_IsEmpty(&gn->children) &&
1308 if (!Lst_IsEmpty(&gn->children)) {
1334 * the commands of the final transformation rule. Also, the children
1398 * implied children.
1491 if (!Lst_IsEmpty(&s->children)) {
1493 Lst_Every(&s->children, SuffPrintName);