Home | History | Annotate | Download | only in cli

Lines Matching refs:lines

51 def _at_least_one_line_matches(pattern, lines):
53 for i, line in enumerate(lines):
59 def _assert_at_least_one_line_matches(pattern, lines):
60 any_match, _ = _at_least_one_line_matches(pattern, lines)
63 "%s does not match any line in %s." % (pattern, str(lines)))
66 def _assert_no_lines_match(pattern, lines):
67 any_match, _ = _at_least_one_line_matches(pattern, lines)
70 "%s matched at least one line in %s." % (pattern, str(lines)))
80 prof_output = prof_analyzer.list_profile([]).lines
113 prof_output = prof_analyzer.list_profile([]).lines
143 prof_output = prof_analyzer.list_profile([]).lines
149 prof_output = prof_analyzer.list_profile(["-d", "deviceB"]).lines
167 prof_output = prof_analyzer.list_profile([]).lines
212 prof_output = prof_analyzer.list_profile([]).lines
215 prof_output = prof_analyzer.list_profile(["-r"]).lines
218 prof_output = prof_analyzer.list_profile(["-s", "node"]).lines
221 prof_output = prof_analyzer.list_profile(["-s", "op_time"]).lines
224 prof_output = prof_analyzer.list_profile(["-s", "exec_time"]).lines
227 prof_output = prof_analyzer.list_profile(["-s", "line"]).lines
264 prof_output = prof_analyzer.list_profile(["-n", "Add"]).lines
268 prof_output = prof_analyzer.list_profile(["-t", "mul"]).lines
272 prof_output = prof_analyzer.list_profile(["-f", ".*file2"]).lines
276 prof_output = prof_analyzer.list_profile(["-e", "[5, 10]"]).lines
280 prof_output = prof_analyzer.list_profile(["-o", ">=2"]).lines
318 prof_output = prof_analyzer.list_profile(["--time_unit", "ms"]).lines
356 prof_output.lines)
359 prof_output.lines)
362 prof_output.lines)
368 prof_output.lines)
386 prof_output.lines)
389 prof_output.lines)
392 prof_output.lines)
400 prof_output.lines)
403 prof_output.lines)
406 prof_output.lines)
409 prof_output.lines)
414 prof_output.lines)
432 prof_output.lines)
435 prof_output.lines)
438 prof_output.lines)
446 "previous Session run", prof_output.lines)
448 r".*--device_name_filter: foo_device", prof_output.lines)
454 "previous Session run", prof_output.lines)
460 self.loop_cond_lineno + 1, # The extra line is due to the head lines.