Lines Matching full:matched

64    The define in the config header matched the one in Kconfig.
432 matched = get_matched_defconfig(line)
433 if not matched:
434 print >> sys.stderr, "warning: %s:%d: no defconfig matched '%s'" % \
437 defconfigs += matched
484 def extend_matched_lines(lines, matched, pre_patterns, post_patterns, extend_pre, argument
486 """Extend matched lines if desired patterns are found before/after already
487 matched lines.
491 matched: A list of line numbers that have been already matched.
493 pre_patterns: A list of regular expression that should be matched as
495 post_patterns: A list of regular expression that should be matched as
497 extend_pre: Add the line number of matched preamble to the matched list.
498 extend_post: Add the line number of matched postamble to the matched list.
502 j = matched[0]
504 for i in matched:
508 while j in matched:
517 # not matched
524 # not matched
532 matched += extended_matched
533 matched.sort()
550 """Clean regex-matched lines away from a file.
561 matched = []
563 if i - 1 in matched and lines[i - 1][-2:] == '\\\n':
564 matched.append(i)
568 matched.append(i)
571 if not matched:
581 old_matched = copy.copy(matched)
582 extend_matched_lines(lines, matched, [pattern_if],
584 extend_matched_lines(lines, matched, [pattern_elif],
586 extend_matched_lines(lines, matched, [pattern_if, pattern_elif],
588 extend_matched_lines(lines, matched, [pattern_blank],
590 extend_matched_lines(lines, matched, [pattern_blank],
592 if matched == old_matched:
597 for i in reversed(matched):
860 matched for the config.