Lines Matching refs:char
462 u_(?:char|short|int|long) | # bsd
510 qr{char\s+(?:un)?signed},
530 qr{(?:(?:un)?signed\s+)?char},
3588 if ($sline =~ /^\+\s+\S/ && #Not at char 1
3989 while ($line =~ m{\b($Declare)\s*(?!char\b|short\b|int\b|long\b)\s*($Ident)?\s*[=,;\[\)\(]}g) {
4148 # check for misordered declarations of char/short/int/long with signed/unsigned
4175 # check for static const char * arrays.
4176 if ($line =~ /\bstatic\s+const\s+char\s*\*\s*(\w+)\s*\[\s*\]\s*=\s*/) {
4178 "static const char * array should probably be static const char * const\n" .
4182 # check for initialized const char arrays that should be static const
4183 if ($line =~ /^\+\s*const\s+(char|unsigned\s+char|_*u8|(?:[us]_)?int8_t)\s+\w+\s*\[\s*(?:\w+\s*)?\]\s*=\s*"/) {
4191 # check for static char foo[] = "bar" declarations.
4192 if ($line =~ /\bstatic\s+char\s+(\w+)\s*\[\s*\]\s*=\s*"/) {
4194 "static char array declaration should probably be static const char\n" .
4210 # check for non-global char *foo[] = {"bar", ...} declarations.
4211 if ($line =~ /^.\s+(?:static\s+|const\s+)?char\s+\*\s*\w+\s*\[\s*\]\s*=\s*\{/) {
4213 "char * array declaration might be better as static const\n" .
4251 # (char*[ const])