Lines Matching refs:off
180 …perational_state_to_color(const char *name, const char *state, const char **on, const char **off) { in operational_state_to_color() argument
185 if (off) in operational_state_to_color()
186 *off = ansi_normal(); in operational_state_to_color()
190 if (off) in operational_state_to_color()
191 *off = ansi_normal(); in operational_state_to_color()
195 if (off) in operational_state_to_color()
196 *off = ""; in operational_state_to_color()
200 static void setup_state_to_color(const char *state, const char **on, const char **off) { in setup_state_to_color() argument
204 if (off) in setup_state_to_color()
205 *off = ansi_normal(); in setup_state_to_color()
209 if (off) in setup_state_to_color()
210 *off = ansi_normal(); in setup_state_to_color()
214 if (off) in setup_state_to_color()
215 *off = ansi_normal(); in setup_state_to_color()
219 if (off) in setup_state_to_color()
220 *off = ""; in setup_state_to_color()
224 static void online_state_to_color(const char *state, const char **on, const char **off) { in online_state_to_color() argument
228 if (off) in online_state_to_color()
229 *off = ansi_normal(); in online_state_to_color()
233 if (off) in online_state_to_color()
234 *off = ansi_normal(); in online_state_to_color()
238 if (off) in online_state_to_color()
239 *off = ""; in online_state_to_color()