Lines Matching refs:c
192 char c = *(cp + 1); in tomoyo_parse_ulong() local
194 if (c == 'x' || c == 'X') { in tomoyo_parse_ulong()
197 } else if (c >= '0' && c <= '7') { in tomoyo_parse_ulong()
330 static inline bool tomoyo_alphabet_char(const char c) in tomoyo_alphabet_char() argument
332 return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z'); in tomoyo_alphabet_char()
356 static inline bool tomoyo_valid(const unsigned char c) in tomoyo_valid() argument
358 return c > ' ' && c < 127; in tomoyo_valid()
368 static inline bool tomoyo_invalid(const unsigned char c) in tomoyo_invalid() argument
370 return c && (c <= ' ' || c >= 127); in tomoyo_invalid()
444 unsigned char c = *string++; in tomoyo_correct_word2() local
446 if (c == '\\') { in tomoyo_correct_word2()
449 c = *string++; in tomoyo_correct_word2()
450 if (c >= '0' && c <= '3') { in tomoyo_correct_word2()
460 c = tomoyo_make_byte(c, d, e); in tomoyo_correct_word2()
461 if (c <= ' ' || c >= 127) in tomoyo_correct_word2()
465 switch (c) { in tomoyo_correct_word2()
476 switch (c) { in tomoyo_correct_word2()
497 } else if (in_repetition && c == '/') { in tomoyo_correct_word2()
499 } else if (c <= ' ' || c >= 127) { in tomoyo_correct_word2()
637 char c; in tomoyo_const_part_length() local
642 while ((c = *filename++) != '\0') { in tomoyo_const_part_length()
643 if (c != '\\') { in tomoyo_const_part_length()
647 c = *filename++; in tomoyo_const_part_length()
648 switch (c) { in tomoyo_const_part_length()
656 c = *filename++; in tomoyo_const_part_length()
657 if (c < '0' || c > '7') in tomoyo_const_part_length()
659 c = *filename++; in tomoyo_const_part_length()
660 if (c < '0' || c > '7') in tomoyo_const_part_length()
704 char c; in tomoyo_file_matches_pattern2() local
713 c = *filename; in tomoyo_file_matches_pattern2()
717 if (c == '/') { in tomoyo_file_matches_pattern2()
719 } else if (c == '\\') { in tomoyo_file_matches_pattern2()
729 if (c != '\\') in tomoyo_file_matches_pattern2()
735 if (!isdigit(c)) in tomoyo_file_matches_pattern2()
739 if (!isxdigit(c)) in tomoyo_file_matches_pattern2()
743 if (!tomoyo_alphabet_char(c)) in tomoyo_file_matches_pattern2()
750 if (c == '\\' && tomoyo_byte_range(filename + 1) in tomoyo_file_matches_pattern2()
764 c = filename[i]; in tomoyo_file_matches_pattern2()
765 if (c == '.' && *pattern == '@') in tomoyo_file_matches_pattern2()
767 if (c != '\\') in tomoyo_file_matches_pattern2()
779 c = *pattern; in tomoyo_file_matches_pattern2()
780 if (c == '$') { in tomoyo_file_matches_pattern2()
783 } else if (c == 'X') { in tomoyo_file_matches_pattern2()
786 } else if (c == 'A') { in tomoyo_file_matches_pattern2()