Home
last modified time | relevance | path

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

/external/google-styleguide/cpplint/
Dcpplint_unittest.py4939 def TriggerLines(self, error_level): argument
4948 return cpplint._FunctionState._NORMAL_TRIGGER * 2**error_level
4950 def TestLines(self, error_level): argument
4959 return cpplint._FunctionState._TEST_TRIGGER * 2**error_level
4961 def TestFunctionLengthCheckDefinition(self, lines, error_level): argument
4975 % (lines, trigger_level, error_level)))
4987 def TestFunctionLengthCheckAtErrorLevel(self, error_level): argument
4993 self.TestFunctionLengthCheckDefinition(self.TriggerLines(error_level),
4994 error_level)
4996 def TestFunctionLengthCheckBelowErrorLevel(self, error_level): argument
[all …]
Dcpplint.py1071 error_level = int(math.log(self.lines_in_function / base_trigger, 2))
1073 if error_level > 5:
1074 error_level = 5
1075 error(filename, linenum, 'readability/fn_size', error_level,
1933 error_level = 0
1935 error_level = 5
1939 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/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()
/external/v8/src/
Dmessages.cc136 int error_level = api_message_obj->ErrorLevel(); in ReportMessageNoExceptions() local
154 if (!(message_levels & error_level)) { in ReportMessageNoExceptions()
Dobjects-inl.h2517 SMI_ACCESSORS(JSMessageObject, error_level, kErrorLevelOffset) in ACCESSORS()
Dobjects.h3613 inline int error_level() const;
Dapi.cc2868 return self->error_level(); in ErrorLevel()