Lines Matching refs:hiegrep
28 hiegrep(){
45 hiegrep 'static[^(]*\*[a-zA-Z_]*\[' 'pointer array is not const' $*
46 hiegrep '[[:space:]]$' 'trailing whitespace' $*
47 hiegrep "$(echo x | tr 'x' '\t')" 'tabs' $*
48 #hiegrep ':\+$' 'Empty lines' $*
49 hiegrep ';;' 'double ;' $*
51 hiegrep '//[-/<\* ]*$' 'empty comment' $*
52 hiegrep '/\*[-<\* ]*\*/' 'empty comment' $*
53 hiegrep '(static|inline|const) *\1[^_a-zA-Z]' 'duplicate word' $*
54 hiegrep 'INIT_VLC_USE_STATIC' 'forbidden ancient vlc type' $*
55 hiegrep '=[-+\*\&] ' 'looks like compound assignment' $*
57 hiegrep '; */\*\*[^<]' 'Misformatted doxygen comment' $*
58 hiegrep '//!|/\*!' 'inconsistent doxygen syntax' $*
62 hiegrep '\+= *1 *;' 'can be simplified to ++' $*
63 hiegrep '-= *1 *;' 'can be simplified to --' $*
64 hiegrep '((!|=)= *(0|NULL)[^0-9a-z]|[^0-9a-z](0|NULL) *(!|=)=)' 'x==0 / x!=0 can be simplified to !x / x' $*
68 hiegrep '# *ifdef * (HAVE|CONFIG)_' 'ifdefs that should be #if' $*
70 hiegrep '\b(awnser|cant|dont|wont|doesnt|usefull|successfull|occured|teh|alot|wether|skiped|skiping|heigth|informations|colums|loosy|loosing|ouput|seperate|preceed|upto|paket|posible|unkown|inpossible|dimention|acheive|funtions|overriden|outputing|seperation|initalize|compatibilty|bistream|knwon|unknwon|choosen|additonal|gurantee|availble|wich|begining|milisecond|missmatch|threshhold)\b' 'common typos' $*
72 hiegrep 'av_log\( *NULL' 'Missing context in av_log' $*
73 hiegrep '[^sn]printf' 'Please use av_log' $*
74 hiegrep '\bmalloc' 'Please use av_malloc' $*
75 hiegrep '\) *av_malloc' 'useless casts' $*
76 hiegrep ':\+ *'"$ERE_PRITYP"' *inline' 'non static inline or strangely ordered inline+static' $*
77 hiegrep "$ERE_FUNCS"' *\)' 'missing void' $*
78 hiegrep '(sprintf|strcat|strcpy)' 'Possible security issue, make sure this is safe or use snprintf/av_strl*' $*
79 hiegrep '/ *(2|4|8|16|32|64|128|256|512|1024|2048|4096|8192|16384|32768|65536)[^0-9]' 'divide by 2^x could use >> maybe' $*
80 hiegrep '#(el|)if *(0|1)' 'useless #if' $*
81 hiegrep 'if *\( *(0|1) *\)' 'useless if()' $*
82 hiegrep '& *[a-zA-Z0-9_]* *\[ *0 *\]' 'useless & [0]' $*
83 hiegrep '(\( *[0-9] *(&&|\|\|)|(&&|\|\|) *[0-9] *\))' 'overriding condition' $*
84 hiegrep '(:\+|,|;)( *|static|\*)*'"$ERE_PRITYP"' *\*( |\*)*(src|source|input|in[^a-z])' 'missing const?' $*
85 hiegrep '(:\+|,|;)( *|static|\*)*'"$ERE_PRITYP"' *(src|source|input|in)([0-9A-Z_][0-9A-Za-z_]*){1,} *\[' 'missing const (test2)?' $*
86 hiegrep ' *static *'"$ERE_FUNCS"'[^)]*\);' 'static prototype, maybe you should reorder your functions' $*
87 hiegrep '@file: *[a-zA-Z0-9_]' 'doxy filetag with filename can in the future cause problems when forgotten during a rename' $*
88 hiegrep '\bassert' 'Please use av_assert0, av_assert1 or av_assert2' $*
101 hiegrep ':\+[^}#]*else' 'missing } prior to else' $*
102 hiegrep '(if|while|for)\(' 'missing whitespace between keyword and ( (feel free to ignore)' $*
103 hiegrep '(else|do){' 'missing whitespace between keyword and { (feel free to ignore)' $*
104 hiegrep '}(else|while)' 'missing whitespace between } and keyword (feel free to ignore)' $*
107 hiegrep ':\+ *{ *$' '{ should be on the same line as the related previous statement' $*