Lines Matching defs:style
72 static void sesutil_print(int *style, const char *fmt, ...) __printflike(2,3);
340 sesutil_print(int *style, const char *fmt, ...)
344 if (*style == PRINT_STYLE_DASHED) {
347 *style = PRINT_STYLE_DASHED_2;
348 } else if (*style == PRINT_STYLE_CSV) {
350 *style = PRINT_STYLE_CSV_2;
353 if (*style == PRINT_STYLE_DASHED_2)
355 else if (*style == PRINT_STYLE_CSV_2)
360 if (*style == PRINT_STYLE_DASHED_2)
365 print_extra_status(int eletype, u_char *cstat, int style)
369 sesutil_print(&style, "{e:predicted_failure/true} Predicted Failure");
372 sesutil_print(&style, "{e:disabled/true} Disabled");
375 sesutil_print(&style, "{e:swapped/true} Swapped");
381 sesutil_print(&style, "LED={q:led/locate}");
384 sesutil_print(&style, "LED={q:led/fault}");
388 sesutil_print(&style, "Speed: {:speed/%d}{Uw:rpm}",
393 sesutil_print(&style, "Temperature: {:temperature/%d}{Uw:C}",
396 sesutil_print(&style, "Temperature: -{q:temperature/reserved}");
400 sesutil_print(&style, "Voltage: {:voltage/%.2f}{Uw:V}",
404 if (style) {