Lines Matching full:raw
175 static int raw_to_trans_context(const char *raw, char **transp) in raw_to_trans_context() argument
187 ret = send_request(fd, RAW_TO_TRANS_CONTEXT, raw, NULL); in raw_to_trans_context()
226 static int raw_context_to_color(const char *raw, char **colors) in raw_context_to_color() argument
236 ret = send_request(fd, RAW_CONTEXT_TO_COLOR, raw, NULL); in raw_context_to_color()
326 int selinux_raw_to_trans_context(const char * raw, in hidden_def()
329 if (!raw) { in hidden_def()
338 *transp = strdup(raw); in hidden_def()
342 if (prev_r2t_raw && strcmp(prev_r2t_raw, raw) == 0) { in hidden_def()
349 if (raw_to_trans_context(raw, transp)) in hidden_def()
350 *transp = strdup(raw); in hidden_def()
352 prev_r2t_raw = strdup(raw); in hidden_def()
368 int selinux_raw_context_to_color(const char * raw, char **transp) in hidden_def()
370 if (!raw) { in hidden_def()
378 if (prev_r2c_raw && strcmp(prev_r2c_raw, raw) == 0) { in hidden_def()
385 if (raw_context_to_color(raw, transp)) in hidden_def()
388 prev_r2c_raw = strdup(raw); in hidden_def()
420 int selinux_raw_to_trans_context(const char * raw,
423 if (!raw) {
427 *transp = strdup(raw);