Lines Matching refs:cp
116 const char *cp = strstr(string, keyword); in tomoyo_permstr() local
118 if (cp) in tomoyo_permstr()
119 return cp == string || *(cp - 1) == '/'; in tomoyo_permstr()
187 const char *cp = *str; in tomoyo_parse_ulong() local
191 if (*cp == '0') { in tomoyo_parse_ulong()
192 char c = *(cp + 1); in tomoyo_parse_ulong()
196 cp += 2; in tomoyo_parse_ulong()
199 cp++; in tomoyo_parse_ulong()
202 *result = simple_strtoul(cp, &ep, base); in tomoyo_parse_ulong()
203 if (cp == ep) in tomoyo_parse_ulong()
567 const unsigned char *cp = strchr(domainname, ' '); in tomoyo_correct_domain() local
569 if (!cp) in tomoyo_correct_domain()
571 if (!tomoyo_correct_path2(domainname, cp - domainname)) in tomoyo_correct_domain()
573 domainname = cp + 1; in tomoyo_correct_domain()
587 const unsigned char *cp; in tomoyo_domain_def() local
592 cp = strchr(buffer, ' '); in tomoyo_domain_def()
593 if (!cp) in tomoyo_domain_def()
596 len = cp - buffer; in tomoyo_domain_def()
969 const char *cp; in tomoyo_get_exe() local
978 cp = tomoyo_realpath_from_path(&exe_file->f_path); in tomoyo_get_exe()
980 return cp; in tomoyo_get_exe()