Lines Matching refs:string
114 bool tomoyo_permstr(const char *string, const char *keyword) in tomoyo_permstr() argument
116 const char *cp = strstr(string, keyword); in tomoyo_permstr()
119 return cp == string || *(cp - 1) == '/'; in tomoyo_permstr()
435 static bool tomoyo_correct_word2(const char *string, size_t len) in tomoyo_correct_word2() argument
438 const char *const start = string; in tomoyo_correct_word2()
444 unsigned char c = *string++; in tomoyo_correct_word2()
449 c = *string++; in tomoyo_correct_word2()
456 d = *string++; in tomoyo_correct_word2()
457 e = *string++; in tomoyo_correct_word2()
484 if (string - 3 < start || *(string - 3) != '/') in tomoyo_correct_word2()
489 if (*string != '/') in tomoyo_correct_word2()
518 bool tomoyo_correct_word(const char *string) in tomoyo_correct_word() argument
520 return tomoyo_correct_word2(string, strlen(string)); in tomoyo_correct_word()