Lines Matching refs:include_state
3028 def CheckIncludeLine(filename, clean_lines, linenum, include_state, error): argument
3058 if include in include_state:
3061 (include, filename, include_state[include]))
3063 include_state[include] = linenum
3076 error_message = include_state.CheckNextIncludeOrder(
3082 if not include_state.IsInAlphabeticalOrder(include):
3153 def CheckLanguage(filename, clean_lines, linenum, file_extension, include_state, argument
3176 CheckIncludeLine(filename, clean_lines, linenum, include_state, error)
3638 def UpdateIncludeState(filename, include_state, io=codecs): argument
3663 include_state.setdefault(include, '%s:%d' % (filename, linenum))
3667 def CheckForIncludeWhatYouUse(filename, clean_lines, include_state, error, argument
3717 include_state = include_state.copy()
3736 header_keys = include_state.keys()
3740 if same_module and UpdateIncludeState(fullpath, include_state, io):
3754 if required_header_unstripped.strip('<>"') not in include_state:
3786 include_state, function_state, nesting_state, error, argument
3814 CheckLanguage(filename, clean_lines, line, file_extension, include_state,
3842 include_state = _IncludeState()
3857 include_state, function_state, nesting_state, error,
3861 CheckForIncludeWhatYouUse(filename, clean_lines, include_state, error)