Home
last modified time | relevance | path

Searched refs:include_state (Results 1 – 5 of 5) sorted by relevance

/external/libvpx/libvpx/tools/
Dcpplint.py3569 def CheckIncludeLine(filename, clean_lines, linenum, include_state, error): argument
3599 if include in include_state:
3602 (include, filename, include_state[include]))
3604 include_state[include] = linenum
3617 error_message = include_state.CheckNextIncludeOrder(
3623 canonical_include = include_state.CanonicalizeAlphabeticalOrder(include)
3624 if not include_state.IsInAlphabeticalOrder(
3628 include_state.SetLastHeader(canonical_include)
3724 include_state, nesting_state, error): argument
3748 CheckIncludeLine(filename, clean_lines, linenum, include_state, error)
[all …]
/external/libaom/libaom/tools/
Dcpplint.py3569 def CheckIncludeLine(filename, clean_lines, linenum, include_state, error): argument
3599 if include in include_state:
3602 (include, filename, include_state[include]))
3604 include_state[include] = linenum
3617 error_message = include_state.CheckNextIncludeOrder(
3623 canonical_include = include_state.CanonicalizeAlphabeticalOrder(include)
3624 if not include_state.IsInAlphabeticalOrder(
3628 include_state.SetLastHeader(canonical_include)
3724 include_state, nesting_state, error): argument
3748 CheckIncludeLine(filename, clean_lines, linenum, include_state, error)
[all …]
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py3018 def CheckIncludeLine(filename, clean_lines, linenum, include_state, error): argument
3048 if include in include_state:
3051 (include, filename, include_state[include]))
3053 include_state[include] = linenum
3066 error_message = include_state.CheckNextIncludeOrder(
3072 if not include_state.IsInAlphabeticalOrder(include):
3143 def CheckLanguage(filename, clean_lines, linenum, file_extension, include_state, argument
3166 CheckIncludeLine(filename, clean_lines, linenum, include_state, error)
3628 def UpdateIncludeState(filename, include_state, io=codecs): argument
3653 include_state.setdefault(include, '%s:%d' % (filename, linenum))
[all …]
/external/google-styleguide/cpplint/
Dcpplint.py1977 def CheckHeaderFileIncluded(filename, include_state, error): argument
1990 for section_list in include_state.include_list:
4510 def CheckIncludeLine(filename, clean_lines, linenum, include_state, error): argument
4546 duplicate_line = include_state.FindHeader(include)
4556 include_state.include_list[-1].append((include, linenum))
4569 error_message = include_state.CheckNextIncludeOrder(
4575 canonical_include = include_state.CanonicalizeAlphabeticalOrder(include)
4576 if not include_state.IsInAlphabeticalOrder(
4580 include_state.SetLastHeader(canonical_include)
4670 include_state, nesting_state, error): argument
[all …]
Dcpplint_unittest.py127 include_state = cpplint._IncludeState()
131 include_state, function_state,
159 include_state = cpplint._IncludeState()
166 cpplint.CheckLanguage(file_name, lines, i, ext, include_state,
199 include_state = cpplint._IncludeState()
205 cpplint.CheckLanguage(filename, lines, i, '.h', include_state,
212 cpplint.CheckForIncludeWhatYouUse(filename, lines, include_state,
4687 self.include_state = cpplint._IncludeState()
4691 self.assertEqual('', self.include_state.CheckNextIncludeOrder(
4694 self.include_state.CheckNextIncludeOrder(
[all …]