Lines Matching refs:stack
321 stack = status_lib.status_stack()
354 if stack.size() == 0:
356 # We have status lines left on the stack;
368 for i in reversed(xrange(stack.size())):
398 expected_indent = stack.size()
404 buffer, raw_line, stack.size() - 1, subdir_stack[-1],
415 stack.start()
421 min_stack_size = stack.size()
433 elif stack.size() == min_stack_size + 1 and not running_test:
466 if line.subdir and stack.size() > min_stack_size:
470 stack.update(line.status)
487 current_status = stack.current_status()
494 # Grab the current subdir off of the subdir stack, or, if this
498 min_stack_size = stack.size() - 1
504 if not subdir_stack[-1] and stack.size() > min_stack_size:
507 stack.update(line.status)
508 current_status = stack.end()
509 if stack.size() > min_stack_size:
510 stack.update(current_status)
511 current_status = stack.current_status()
524 if stack.size() <= min_stack_size: