Lines Matching refs:rawp
202 static int trans_to_raw_context(const char *trans, char **rawp) in trans_to_raw_context() argument
208 *rawp = NULL; in trans_to_raw_context()
217 ret = receive_response(fd, TRANS_TO_RAW_CONTEXT, rawp, &ret_val); in trans_to_raw_context()
291 char ** rawp) in selinux_trans_to_raw_context() argument
294 *rawp = NULL; in selinux_trans_to_raw_context()
302 *rawp = strdup(trans); in selinux_trans_to_raw_context()
307 *rawp = strdup(prev_t2r_raw); in selinux_trans_to_raw_context()
313 if (trans_to_raw_context(trans, rawp)) in selinux_trans_to_raw_context()
314 *rawp = strdup(trans); in selinux_trans_to_raw_context()
315 if (*rawp) { in selinux_trans_to_raw_context()
319 prev_t2r_raw = strdup(*rawp); in selinux_trans_to_raw_context()
327 return *rawp ? 0 : -1; in selinux_trans_to_raw_context()
417 char ** rawp)
420 *rawp = NULL;
424 *rawp = strdup(trans);
426 return *rawp ? 0 : -1;