Home
last modified time | relevance | path

Searched refs:nesting_state (Results 1 – 6 of 6) sorted by relevance

/external/google-styleguide/cpplint/
Dcpplint_unittest.py129 nesting_state = cpplint.NestingState()
132 nesting_state, error_collector)
145 nesting_state = cpplint.NestingState()
147 nesting_state.Update('foo.h', lines, i, error_collector)
148 cpplint.CheckStyle('foo.h', lines, i, 'h', nesting_state,
151 nesting_state, error_collector)
152 nesting_state.CheckCompletedBlocks('foo.h', error_collector)
160 nesting_state = cpplint.NestingState()
167 nesting_state, error_collector)
200 nesting_state = cpplint.NestingState()
[all …]
Dcpplint.py2775 nesting_state, error): argument
2861 classinfo = nesting_state.InnermostClass()
3026 def CheckForNamespaceIndentation(filename, nesting_state, clean_lines, line, argument
3029 len(nesting_state.stack) > 1 and
3030 nesting_state.stack[-1].check_namespace_indentation and
3031 isinstance(nesting_state.previous_stack_top, _NamespaceInfo) and
3032 nesting_state.previous_stack_top == nesting_state.stack[-2])
3034 if ShouldCheckNamespaceIndentation(nesting_state, is_namespace_indent_item,
3165 def CheckSpacing(filename, clean_lines, linenum, nesting_state, error): argument
3205 not nesting_state.InNamespaceBody() and
[all …]
/external/libvpx/libvpx/tools/
Dcpplint.py2084 nesting_state, error): argument
2169 classinfo = nesting_state.InnermostClass()
2375 def CheckAccess(filename, clean_lines, linenum, nesting_state, error): argument
2393 if nesting_state.stack and isinstance(nesting_state.stack[-1], _ClassInfo):
2394 if nesting_state.stack[-1].access != 'private':
2532 def CheckSpacing(filename, clean_lines, linenum, nesting_state, error): argument
2568 if IsBlankLine(line) and not nesting_state.InNamespaceBody():
3348 def CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state, argument
3446 CheckAccess(filename, clean_lines, linenum, nesting_state, error)
3447 CheckSpacing(filename, clean_lines, linenum, nesting_state, error)
[all …]
/external/libaom/libaom/tools/
Dcpplint.py2084 nesting_state, error): argument
2169 classinfo = nesting_state.InnermostClass()
2375 def CheckAccess(filename, clean_lines, linenum, nesting_state, error): argument
2393 if nesting_state.stack and isinstance(nesting_state.stack[-1], _ClassInfo):
2394 if nesting_state.stack[-1].access != 'private':
2532 def CheckSpacing(filename, clean_lines, linenum, nesting_state, error): argument
2568 if IsBlankLine(line) and not nesting_state.InNamespaceBody():
3348 def CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state, argument
3446 CheckAccess(filename, clean_lines, linenum, nesting_state, error)
3447 CheckSpacing(filename, clean_lines, linenum, nesting_state, error)
[all …]
/external/compiler-rt/lib/sanitizer_common/scripts/
Dcpplint.py1751 nesting_state, error): argument
1836 classinfo = nesting_state.InnermostClass()
2041 def CheckAccess(filename, clean_lines, linenum, nesting_state, error): argument
2059 if nesting_state.stack and isinstance(nesting_state.stack[-1], _ClassInfo):
2060 if nesting_state.stack[-1].access != 'private':
2199 def CheckSpacing(filename, clean_lines, linenum, nesting_state, error): argument
2232 if IsBlankLine(line) and not nesting_state.InNamespaceBody():
2792 def CheckStyle(filename, clean_lines, linenum, file_extension, nesting_state, argument
2894 CheckAccess(filename, clean_lines, linenum, nesting_state, error)
2895 CheckSpacing(filename, clean_lines, linenum, nesting_state, error)
[all …]
/external/mksh/src/
Dsyn.c29 struct nesting_state { struct
60 static void nesting_push(struct nesting_state *, int);
61 static void nesting_pop(struct nesting_state *);
70 static struct nesting_state nesting; /* \n changed to ; */
240 struct nesting_state old_nesting; in nested()
273 struct nesting_state old_nesting; in get_command()
906 nesting_push(struct nesting_state *save, int tok) in nesting_push()
914 nesting_pop(struct nesting_state *saved) in nesting_pop()