Lines Matching refs:nchild
432 if (mdoc->last->nchild < val) in check_count()
437 if (mdoc->last->nchild > val) in check_count()
442 if (val == mdoc->last->nchild) in check_count()
453 p, val, mdoc->last->nchild); in check_count()
1548 if (mdoc->last->norm->Bl.ncols && mdoc->last->nchild) { in post_bl_head()
1570 np->args->argv[j].sz = (size_t)mdoc->last->nchild; in post_bl_head()
1572 ((size_t)mdoc->last->nchild * sizeof(char *)); in post_bl_head()
1585 mdoc->last->nchild = 0; in post_bl_head()
1596 struct mdoc_node *nchild, *nnext; /* of the Bl body */ in post_bl() local
1610 nchild = nbody->child; in post_bl()
1611 while (NULL != nchild) { in post_bl()
1612 if (MDOC_It == nchild->tok || MDOC_Sm == nchild->tok) { in post_bl()
1613 nchild = nchild->next; in post_bl()
1617 mdoc_nmsg(mdoc, nchild, MANDOCERR_CHILD); in post_bl()
1627 nnext = nchild->next; in post_bl()
1633 assert(NULL == nchild->prev); in post_bl()
1634 if (0 == --nbody->nchild) { in post_bl()
1647 nchild->parent = nparent; in post_bl()
1648 nchild->prev = nprev; in post_bl()
1649 nchild->next = nblock; in post_bl()
1651 nblock->prev = nchild; in post_bl()
1652 nparent->nchild++; in post_bl()
1654 nparent->child = nchild; in post_bl()
1656 nprev->next = nchild; in post_bl()
1658 nchild = nnext; in post_bl()