Lines Matching refs:eqn_box
141 static enum eqn_rest eqn_box(struct eqn_node *, struct eqn_box *);
142 static struct eqn_box *eqn_box_alloc(struct eqn_node *,
143 struct eqn_box *);
144 static void eqn_box_free(struct eqn_box *);
154 static enum eqn_rest eqn_eqn(struct eqn_node *, struct eqn_box *);
155 static enum eqn_rest eqn_list(struct eqn_node *, struct eqn_box *);
156 static enum eqn_rest eqn_matrix(struct eqn_node *, struct eqn_box *);
357 struct eqn_box *root; in eqn_end()
363 ep->eqn.root = mandoc_calloc(1, sizeof(struct eqn_box)); in eqn_end()
380 eqn_eqn(struct eqn_node *ep, struct eqn_box *last) in eqn_eqn()
382 struct eqn_box *bp; in eqn_eqn()
388 while (EQN_OK == (c = eqn_box(ep, bp))) in eqn_eqn()
395 eqn_matrix(struct eqn_node *ep, struct eqn_box *last) in eqn_matrix()
397 struct eqn_box *bp; in eqn_matrix()
414 while (EQN_OK == (c = eqn_box(ep, bp))) in eqn_matrix()
444 eqn_list(struct eqn_node *ep, struct eqn_box *last) in eqn_list()
446 struct eqn_box *bp; in eqn_list()
488 eqn_box(struct eqn_node *ep, struct eqn_box *last) in eqn_box() function
496 struct eqn_box *bp; in eqn_box()
580 if (EQN_EOF == (c = eqn_box(ep, last))) { in eqn_box()
595 if (EQN_EOF == (c = eqn_box(ep, last))) { in eqn_box()
605 if (EQN_EOF == (c = eqn_box(ep, last))) { in eqn_box()
619 if (EQN_EOF == (c = eqn_box(ep, last))) { in eqn_box()
659 static struct eqn_box *
660 eqn_box_alloc(struct eqn_node *ep, struct eqn_box *parent) in eqn_box_alloc()
662 struct eqn_box *bp; in eqn_box_alloc()
664 bp = mandoc_calloc(1, sizeof(struct eqn_box)); in eqn_box_alloc()
678 eqn_box_free(struct eqn_box *bp) in eqn_box_free()