Home
last modified time | relevance | path

Searched refs:_pair_limit (Results 1 – 8 of 8) sorted by relevance

/openbsd/lib/libcurses/base/
H A Dlib_colorset.c60 && (color_pair < SP->_pair_limit)) { in NCURSES_EXPORT()
H A Dlib_slkatr_set.c64 && color_pair < SP_PARM->_pair_limit) { in NCURSES_EXPORT()
H A Dlib_slkcolor.c56 && pair_arg < sp->_pair_limit) { in _nc_slk_color()
H A Dlib_color.c391 SP_PARM->_pair_limit = maxpairs; in NCURSES_SP_NAME()
398 SP_PARM->_pair_limit += (1 + (2 * maxcolors)); in NCURSES_SP_NAME()
400 SP_PARM->_pair_limit = limit_PAIRS(SP_PARM->_pair_limit); in NCURSES_SP_NAME()
528 if (have > sp->_pair_limit) in _nc_reserve_pairs()
529 have = sp->_pair_limit; in _nc_reserve_pairs()
H A Dnew_pair.c276 if (SP_PARM->_pairs_used + 1 < SP_PARM->_pair_limit) { in NCURSES_SP_NAME()
291 if (!found && (SP_PARM->_pair_alloc < SP_PARM->_pair_limit)) { in NCURSES_SP_NAME()
H A Dlib_bkgd.c155 if (!SP->_pair_limit) { in _nc_background()
/openbsd/lib/libcurses/
H A Dnew_pair.h114 ((sp != 0) && (pair >= 0) && (pair < sp->_pair_limit) && sp->_coloron)
H A Dcurses.priv.h1061 int _pair_limit; /* actual limit of color-pairs */ member