Lines Matching +defs:c +defs:cpp
1 /* $Id: tbl_term.c,v 1.79 2022/08/28 10:58:31 schwarze Exp $ */
3 * Copyright (c) 2011-2022 Ingo Schwarze <schwarze@openbsd.org>
4 * Copyright (c) 2009, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
167 const struct tbl_cell *cp, *cpn, *cpp, *cps;
344 cpp = sp->prev == NULL ? NULL :
375 if (cpp != NULL) {
376 if (uvert < cpp->vert &&
379 !IS_HORIZ(cpp)) ||
381 cpp->next != NULL &&
383 !IS_HORIZ(cpp->next))))
384 uvert = cpp->vert;
385 cpp = cpp->next;
573 const struct tbl_cell *cpp; /* Layout cell above this line. */
584 cpp = spp == NULL ? NULL : spp->layout->first;
622 lw = cpp == NULL || cpn == NULL ||
637 if (cpp != NULL) {
639 uw = cpp->vert;
643 cpp = cpp->next;
664 if (cpp != NULL && cpp->pos == TBL_CELL_SPAN)
671 rw = cpp == NULL || cpn == NULL ||
777 tbl_fill_char(struct termp *tp, char c, size_t len)
781 cp[0] = c;
787 tbl_fill_border(struct termp *tp, int c, size_t len)
791 if ((c = borders_locale[c]) > 127) {
792 (void)snprintf(buf, sizeof(buf), "\\[u%04x]", c);
795 tbl_fill_char(tp, c, len);
799 tbl_direct_border(struct termp *tp, int c, size_t len)
803 c = borders_locale[c];
804 sz = (*tp->width)(tp, c);
806 (*tp->letter)(tp, c);