Lines Matching refs:cp
168 char *cp = strchr(arg_ptr, '='); in tomoyo_scan_bprm() local
170 if (cp) { in tomoyo_scan_bprm()
171 *cp = '\0'; in tomoyo_scan_bprm()
172 if (!tomoyo_envp(arg_ptr, cp + 1, in tomoyo_scan_bprm()
261 char *cp = start + strlen(start) - 1; in tomoyo_get_dqword() local
263 if (cp == start || *start++ != '"' || *cp != '"') in tomoyo_get_dqword()
265 *cp = '\0'; in tomoyo_get_dqword()
323 char *cp = left + strlen(left) - 1; in tomoyo_parse_envp() local
325 if (*cp-- != ']' || *cp != '"') in tomoyo_parse_envp()
327 *cp = '\0'; in tomoyo_parse_envp()
465 char *cp = strchr(pos, ' '); in tomoyo_get_transit_preference() local
467 if (cp) in tomoyo_get_transit_preference()
468 *cp = '\0'; in tomoyo_get_transit_preference()
472 if (cp) in tomoyo_get_transit_preference()
473 *cp = ' '; in tomoyo_get_transit_preference()
515 char *cp; in tomoyo_get_condition() local
531 cp = strchr(pos, ' '); in tomoyo_get_condition()
532 if (cp) { in tomoyo_get_condition()
533 *cp = '\0'; /* Will restore later. */ in tomoyo_get_condition()
534 pos = cp + 1; in tomoyo_get_condition()