Home
last modified time | relevance | path

Searched refs:color_str (Results 1 – 3 of 3) sorted by relevance

/external/selinux/policycoreutils/secon/
Dsecon.c538 static unsigned int disp__color_to_ansi(const char *color_str) in disp__color_to_ansi() argument
545 if (strncasecmp(&color_str[1], "7f", 2) >= 0) in disp__color_to_ansi()
548 if (strncasecmp(&color_str[3], "7f", 2) >= 0) in disp__color_to_ansi()
551 if (strncasecmp(&color_str[5], "7f", 2) >= 0) in disp__color_to_ansi()
627 char *color_str = NULL; in disp_con() local
654 if (selinux_raw_context_to_color(scon_raw, &color_str) < 0) in disp_con()
658 color.user_fg = strtok(color_str, " "); in disp_con()
745 if (color_str) in disp_con()
746 free(color_str); in disp_con()
/external/selinux/mcstrans/src/
Dmcscolor.c285 int raw_color(const security_context_t raw, char **color_str) { in raw_color() argument
295 if (!color_str || *color_str) { in raw_color()
338 *color_str = result; in raw_color()
/external/selinux/libselinux/include/selinux/
Dselinux.h639 char **color_str);