Lines Matching refs:child

287 	mdoc->last = mdoc->last->child;
291 mdoc->last = mdoc->last->child;
318 if (n->child != NULL)
319 n->child->flags &= ~MDOC_DELIMC;
692 nch = np->child;
726 if ( ! strcmp(np->child->string, "Em"))
728 else if ( ! strcmp(np->child->string, "Li"))
730 else if ( ! strcmp(np->child->string, "Sy"))
734 np->child->line, np->child->pos,
735 "Bf %s", np->child->string);
745 n = mdoc->last->child;
764 if (n->child != NULL)
768 n->child->string);
778 n = mdoc->last->child;
804 if (n->child == NULL) {
809 if (n->child != n->last) {
811 n->child->next->line, n->child->next->pos,
812 "Fo ... %s", n->child->next->string);
813 while (n->child != n->last)
826 for (n = mdoc->last->child; n != NULL; n = n->next) {
873 if (n->child == NULL)
890 if (n->child == NULL)
902 while (n->body->child != NULL)
904 n->body->child);
936 if (mdoc->last->child != NULL)
966 if (n->child == NULL) {
974 * If we have a child, look it up in the standard keys. If a
975 * key exist, use that instead of the child; if it doesn't,
979 n = n->child;
1000 nch = np->child;
1049 if (nit->head->child == NULL)
1059 if (nit->body == NULL || nit->body->child == NULL)
1066 if (nit->head->child != NULL)
1069 "It %s", nit->head->child->string);
1074 assert(nit->head->child == NULL);
1077 for (nch = nit->child; nch != NULL; nch = nch->next)
1114 for (ni = n->body->child; ni != NULL; ni = ni->next) {
1188 for (nn = n->body->child; nn != NULL; nn = nn->next) {
1193 nn = nn->head->child;
1246 if ((nch = nh->child) == NULL)
1252 nch = nh->child;
1263 if (nh->child == NULL)
1275 * child nodes, all of which must be TEXT, as arguments for the
1281 for (nch = nh->child; nch != NULL; nch = nch->next)
1289 for (nch = nh->child; nch != NULL; nch = nnext) {
1295 nh->child = NULL;
1321 nchild = nbody->child;
1351 * Unlink this child.
1355 nbody->child = nnext;
1362 * Relink this child.
1371 nparent->child = nchild;
1386 if (n->type == ROFFT_BLOCK && n->body->child == NULL) {
1398 nch = mdoc->last->child;
1452 n = mdoc->first->child;
1471 nch = n->child;
1496 if (np->child == NULL) {
1509 for (nch = np->child->next; nch != NULL; nch = next) {
1510 /* Determine order number of this child. */
1524 * Remove this child from the chain. This somewhat
1540 * to be ordered before this child.
1556 * Set this child back into its correct place
1563 np->child->prev = nch;
1564 nch->next = np->child;
1565 np->child = nch;
1585 for (nch = mdoc->last->child; nch != NULL; nch = nch->next) {
1646 for (n = mdoc->last->child; n != NULL; n = n->next) {
1684 n = mdoc->last->child;
1688 n->child == NULL ||
1689 n->child->next == NULL)
1694 name = n->child->string;
1695 sec = n->child->next->string;
1744 for (n = n->child; n != NULL; n = n->next)
1745 if ((n->tok == MDOC_An && n->child != NULL) || child_an(n))
1869 if ((np = mdoc->last->child) != NULL)
1932 if (np->child != NULL && np->child->next != NULL)
1934 np->child->next->line, np->child->next->pos,
1935 "sp ... %s", np->child->next->string);
1936 } else if (np->child != NULL)
1939 mdoc_macronames[np->tok], np->child->string);
1978 if (n->child == NULL || n->child->string[0] == '\0') {
2030 nn = n->child;
2105 if ((n = mdoc->last->child) != NULL && (n = n->next) != NULL)
2177 if (n->child != NULL)