Lines Matching refs:string
131 bool tomoyo_permstr(const char *string, const char *keyword) in tomoyo_permstr() argument
133 const char *cp = strstr(string, keyword); in tomoyo_permstr()
135 return cp == string || *(cp - 1) == '/'; in tomoyo_permstr()
443 static bool tomoyo_correct_word2(const char *string, size_t len) in tomoyo_correct_word2() argument
445 const char *const start = string; in tomoyo_correct_word2()
453 c = *string++; in tomoyo_correct_word2()
457 c = *string++; in tomoyo_correct_word2()
473 if (string - 3 < start || *(string - 3) != '/') in tomoyo_correct_word2()
478 if (*string != '/') in tomoyo_correct_word2()
490 d = *string++; in tomoyo_correct_word2()
491 e = *string++; in tomoyo_correct_word2()
520 bool tomoyo_correct_word(const char *string) in tomoyo_correct_word() argument
522 return tomoyo_correct_word2(string, strlen(string)); in tomoyo_correct_word()