Lines Matching refs:include_state
3018 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))
3657 def CheckForIncludeWhatYouUse(filename, clean_lines, include_state, error, argument
3707 include_state = include_state.copy()
3726 header_keys = include_state.keys()
3730 if same_module and UpdateIncludeState(fullpath, include_state, io):
3744 if required_header_unstripped.strip('<>"') not in include_state:
3776 include_state, function_state, nesting_state, error, argument
3804 CheckLanguage(filename, clean_lines, line, file_extension, include_state,
3832 include_state = _IncludeState()
3847 include_state, function_state, nesting_state, error,
3851 CheckForIncludeWhatYouUse(filename, clean_lines, include_state, error)