style              43 src/libsir/include/sir/textstyle.h bool _sir_settextstyle(sir_level level, const sir_textstyle* style);
style              52 src/libsir/include/sir/textstyle.h bool _sir_formatstyle(sir_colormode mode, const sir_textstyle* style,
style              56 src/libsir/include/sir/textstyle.h bool _sir_validtextstyle(sir_colormode mode, const sir_textstyle* style);
style             413 src/libsir/include/sir/types.h     char style[SIR_MAXSTYLE];
style             429 src/libsir/include/sir/types.h     sir_textstyle style;    /**< The un-formatted representation. */
style             172 src/libsir/src/sir.c     sir_textstyle style = {
style             178 src/libsir/src/sir.c     return _sir_settextstyle(level, &style);
style             633 src/libsir/src/sirinternal.c         (void)_sir_strncpy(buf.style, SIR_MAXSTYLE, style_str,
style             786 src/libsir/src/sirinternal.c             (void)_sir_strncat(buf->output, SIR_MAXOUTPUT, buf->style, SIR_MAXSTYLE);
style              69 src/libsir/src/sirtextstyle.c bool _sir_settextstyle(sir_level level, const sir_textstyle* style) {
style              84 src/libsir/src/sirtextstyle.c         (void)memcpy(&data->map[_mid].style, style, sizeof(sir_textstyle));
style              85 src/libsir/src/sirtextstyle.c         updated = _sir_formatstyle(*data->color_mode, style, data->map[_mid].str);
style             124 src/libsir/src/sirtextstyle.c         (void)memcpy(&data->map[n].style, _sir_getdefstyle(data->map[n].level),
style             126 src/libsir/src/sirtextstyle.c         _sir_eqland(all_ok, _sir_formatstyle(*data->color_mode, &data->map[n].style,
style             134 src/libsir/src/sirtextstyle.c bool _sir_formatstyle(sir_colormode mode, const sir_textstyle* style,
style             136 src/libsir/src/sirtextstyle.c     if (!_sir_validtextstyle(mode, style))
style             145 src/libsir/src/sirtextstyle.c                 SIR_ESC, (uint8_t)style->attr, (uint8_t)_sir_mkansifgcolor(style->fg),
style             146 src/libsir/src/sirtextstyle.c                 (uint8_t)_sir_mkansibgcolor(style->bg));
style             151 src/libsir/src/sirtextstyle.c                 (uint8_t)style->attr, (uint8_t)_sir_getansifgcmd(style->fg),
style             152 src/libsir/src/sirtextstyle.c                 (uint8_t)style->fg, (uint8_t)_sir_getansibgcmd(style->bg),
style             153 src/libsir/src/sirtextstyle.c                 (uint8_t)style->bg);
style             159 src/libsir/src/sirtextstyle.c                 ";2;%"PRIu8";%"PRIu8";%"PRIu8"m", SIR_ESC, (uint8_t)style->attr,
style             160 src/libsir/src/sirtextstyle.c                 (uint8_t)_sir_getansifgcmd(style->fg), _sir_getredfromcolor(style->fg),
style             161 src/libsir/src/sirtextstyle.c                 _sir_getgreenfromcolor(style->fg), _sir_getbluefromcolor(style->fg),
style             162 src/libsir/src/sirtextstyle.c                 (uint8_t)_sir_getansibgcmd(style->bg), _sir_getredfromcolor(style->bg),
style             163 src/libsir/src/sirtextstyle.c                 _sir_getgreenfromcolor(style->bg), _sir_getbluefromcolor(style->bg));
style             171 src/libsir/src/sirtextstyle.c bool _sir_validtextstyle(sir_colormode mode, const sir_textstyle* style) {
style             172 src/libsir/src/sirtextstyle.c     if (!_sir_validptr(style) || !_sir_validcolormode(mode))
style             175 src/libsir/src/sirtextstyle.c     sir_textcolor fg = SIRCM_16 == mode ? _sir_mkansifgcolor(style->fg) : style->fg;
style             176 src/libsir/src/sirtextstyle.c     sir_textcolor bg = SIRCM_16 == mode ? _sir_mkansibgcolor(style->bg) : style->bg;
style             178 src/libsir/src/sirtextstyle.c     if (!_sir_validtextattr(style->attr) || !_sir_validtextcolor(mode, fg) ||
style             182 src/libsir/src/sirtextstyle.c     if (SIRTC_DEFAULT != style->fg && SIRTC_DEFAULT != style->bg &&
style             183 src/libsir/src/sirtextstyle.c         style->fg == style->bg) {
style             185 src/libsir/src/sirtextstyle.c                      " are identical; text would be invisible", style->fg,
style             186 src/libsir/src/sirtextstyle.c                      style->bg);
style             187 src/libsir/src/sirtextstyle.c         SIR_ASSERT(SIRTC_DEFAULT != style->fg && SIRTC_DEFAULT != style->bg &&
style             188 src/libsir/src/sirtextstyle.c                 style->fg == style->bg);
style             221 src/libsir/src/sirtextstyle.c bool _sir_settextstyle(sir_level level, const sir_textstyle* style) {
style             223 src/libsir/src/sirtextstyle.c     SIR_UNUSED(style);
style             243 src/libsir/src/sirtextstyle.c bool _sir_formatstyle(sir_colormode mode, const sir_textstyle* style,
style             246 src/libsir/src/sirtextstyle.c     SIR_UNUSED(style);
style             251 src/libsir/src/sirtextstyle.c bool _sir_validtextstyle(sir_colormode mode, const sir_textstyle* style) {
style             253 src/libsir/src/sirtextstyle.c     SIR_UNUSED(style);