Home
last modified time | relevance | path

Searched refs:error_level (Results 1 – 8 of 8) sorted by relevance

/external/google-styleguide/cpplint/
Dcpplint_unittest.py4948 def TriggerLines(self, error_level): argument
4957 return cpplint._FunctionState._NORMAL_TRIGGER * 2**error_level
4959 def TestLines(self, error_level): argument
4968 return cpplint._FunctionState._TEST_TRIGGER * 2**error_level
4970 def TestFunctionLengthCheckDefinition(self, lines, error_level): argument
4984 % (lines, trigger_level, error_level)))
4996 def TestFunctionLengthCheckAtErrorLevel(self, error_level): argument
5002 self.TestFunctionLengthCheckDefinition(self.TriggerLines(error_level),
5003 error_level)
5005 def TestFunctionLengthCheckBelowErrorLevel(self, error_level): argument
[all …]
Dcpplint.py1077 error_level = int(math.log(self.lines_in_function / base_trigger, 2))
1079 if error_level > 5:
1080 error_level = 5
1081 error(filename, linenum, 'readability/fn_size', error_level,
1939 error_level = 0
1941 error_level = 5
1945 error(filename, ifndef_linenum, 'build/header_guard', error_level,
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py715 error_level = int(math.log(self.lines_in_function / base_trigger, 2))
717 if error_level > 5:
718 error_level = 5
719 error(filename, linenum, 'readability/fn_size', error_level,
1184 error_level = 0
1186 error_level = 5
1190 error(filename, ifndef_linenum, 'build/header_guard', error_level,
1200 error_level = 0
1202 error_level = 5
1206 error(filename, endif_linenum, 'build/header_guard', error_level,
/external/libvpx/libvpx/tools/
Dcpplint.py840 error_level = int(math.log(self.lines_in_function / base_trigger, 2))
842 if error_level > 5:
843 error_level = 5
844 error(filename, linenum, 'readability/fn_size', error_level,
1447 error_level = 0
1449 error_level = 5
1453 error(filename, ifndef_linenum, 'build/header_guard', error_level,
1463 error_level = 0
1465 error_level = 5
1469 error(filename, endif_linenum, 'build/header_guard', error_level,
/external/libaom/libaom/tools/
Dcpplint.py840 error_level = int(math.log(self.lines_in_function / base_trigger, 2))
842 if error_level > 5:
843 error_level = 5
844 error(filename, linenum, 'readability/fn_size', error_level,
1447 error_level = 0
1449 error_level = 5
1453 error(filename, ifndef_linenum, 'build/header_guard', error_level,
1463 error_level = 0
1465 error_level = 5
1469 error(filename, endif_linenum, 'build/header_guard', error_level,
/external/libpng/contrib/libtests/
Dpngimage.c521 } error_level; typedef
681 display_log(struct display *dp, error_level level, const char *fmt, ...) in display_log()
688 if (level > (error_level)(dp->options & LEVEL_MASK)) in display_log()
/external/llvm-project/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py1077 error_level = int(math.log(self.lines_in_function / base_trigger, 2))
1079 if error_level > 5:
1080 error_level = 5
1081 error(filename, linenum, 'readability/fn_size', error_level,
1939 error_level = 0
1941 error_level = 5
1945 error(filename, ifndef_linenum, 'build/header_guard', error_level,
/external/libpng/contrib/tools/
Dpngcp.c132 } error_level; typedef
589 display_log(struct display *dp, error_level level, const char *fmt, ...) in display_log()
596 if (level > (error_level)(dp->options & LEVEL_MASK)) in display_log()