Lines Matching refs:su
278 a2width(const char *p, struct roffsu *su) in a2width() argument
281 if ( ! a2roffsu(p, su, SCALE_MAX)) { in a2width()
282 su->unit = SCALE_BU; in a2width()
283 su->scale = html_strlen(p); in a2width()
337 a2offs(const char *p, struct roffsu *su) in a2offs() argument
343 SCALE_HS_INIT(su, 0); in a2offs()
345 SCALE_HS_INIT(su, INDENT); in a2offs()
347 SCALE_HS_INIT(su, INDENT * 2); in a2offs()
348 else if ( ! a2roffsu(p, su, SCALE_MAX)) in a2offs()
349 SCALE_HS_INIT(su, html_strlen(p)); in a2offs()
681 struct roffsu su; in mdoc_nm_pre() local
715 SCALE_HS_INIT(&su, (double)len); in mdoc_nm_pre()
717 bufcat_su(h, "width", &su); in mdoc_nm_pre()
863 struct roffsu su; in mdoc_it_pre() local
902 SCALE_VS_INIT(&su, ! bl->norm->Bl.comp); in mdoc_it_pre()
903 bufcat_su(h, "margin-top", &su); in mdoc_it_pre()
927 SCALE_VS_INIT(&su, ! bl->norm->Bl.comp); in mdoc_it_pre()
928 bufcat_su(h, "margin-top", &su); in mdoc_it_pre()
945 a2width(bl->norm->Bl.width, &su); in mdoc_it_pre()
946 bufcat_su(h, "margin-left", &su); in mdoc_it_pre()
951 SCALE_VS_INIT(&su, ! bl->norm->Bl.comp); in mdoc_it_pre()
952 bufcat_su(h, "margin-top", &su); in mdoc_it_pre()
978 struct roffsu su; in mdoc_bl_pre() local
1000 a2width(n->norm->Bl.cols[i], &su); in mdoc_bl_pre()
1002 bufcat_su(h, "width", &su); in mdoc_bl_pre()
1004 bufcat_su(h, "min-width", &su); in mdoc_bl_pre()
1012 SCALE_VS_INIT(&su, 0); in mdoc_bl_pre()
1014 bufcat_su(h, "margin-top", &su); in mdoc_bl_pre()
1015 bufcat_su(h, "margin-bottom", &su); in mdoc_bl_pre()
1026 a2offs(n->norm->Bl.offs, &su); in mdoc_bl_pre()
1027 bufcat_su(h, "margin-left", &su); in mdoc_bl_pre()
1124 struct roffsu su; in mdoc_d1_pre() local
1129 SCALE_VS_INIT(&su, 0); in mdoc_d1_pre()
1131 bufcat_su(h, "margin-top", &su); in mdoc_d1_pre()
1132 bufcat_su(h, "margin-bottom", &su); in mdoc_d1_pre()
1181 struct roffsu su; in mdoc_bd_pre() local
1201 SCALE_HS_INIT(&su, 0); in mdoc_bd_pre()
1203 a2offs(n->norm->Bd.offs, &su); in mdoc_bd_pre()
1206 bufcat_su(h, "margin-left", &su); in mdoc_bd_pre()
1614 struct roffsu su; in mdoc_sp_pre() local
1617 SCALE_VS_INIT(&su, 1); in mdoc_sp_pre()
1621 if ( ! a2roffsu(n->string, &su, SCALE_VS)) in mdoc_sp_pre()
1622 SCALE_VS_INIT(&su, atoi(n->string)); in mdoc_sp_pre()
1624 su.scale = 0; in mdoc_sp_pre()
1627 bufcat_su(h, "height", &su); in mdoc_sp_pre()
1884 struct roffsu su; in mdoc_bf_pre() local
1906 SCALE_HS_INIT(&su, 1); in mdoc_bf_pre()
1908 bufcat_su(h, "margin-left", &su); in mdoc_bf_pre()