Home
last modified time | relevance | path

Searched refs:input_lines (Results 1 – 24 of 24) sorted by relevance

/external/toolchain-utils/afdo_redaction/
Dredact_profile_test.py19 def _redact(input_lines, summary_to=None): argument
20 if isinstance(input_lines, str):
21 input_lines = input_lines.splitlines()
28 profile_input_file=input_lines,
34 def _redact_with_summary(input_lines): argument
36 result = _redact(input_lines, summary_to=summary)
Dremove_indirect_calls_test.py17 def _run_test(input_lines): argument
18 input_buf = io.StringIO('\n'.join(input_lines))
Dremove_cold_functions_test.py84 def _run_test(input_lines, goal, cwp_file=None, benchmark_file=None): argument
85 input_buf = io.StringIO('\n'.join(input_lines))
/external/llvm-project/lldb/unittests/Editline/
DEditlineTest.cpp284 std::vector<std::string> input_lines; in TEST_F() local
285 input_lines.push_back("int foo()"); in TEST_F()
286 input_lines.push_back("{"); in TEST_F()
287 input_lines.push_back("printf(\"Hello, world\");"); in TEST_F()
288 input_lines.push_back("}"); in TEST_F()
289 input_lines.push_back(""); in TEST_F()
291 EXPECT_TRUE(GetEditlineAdapter().SendLines(input_lines)); in TEST_F()
307 EXPECT_THAT(reported_lines, testing::ContainerEq(input_lines)); in TEST_F()
/external/llvm-project/llvm/utils/
Dupdate_analyze_test_checks.py69 input_lines = [l.rstrip() for l in f]
71 first_line = input_lines[0] if input_lines else ""
81 run_lines = common.find_run_lines(test, input_lines)
136 for input_line in input_lines:
Dupdate_mir_test_checks.py284 input_lines = [l.rstrip() for l in fd]
287 first_line = input_lines[0] if input_lines else ""
298 triple_in_ir = find_triple_in_ir(input_lines, args.verbose)
299 run_lines = common.find_run_lines(test, input_lines)
302 simple_functions = find_functions_with_one_bb(input_lines, args.verbose)
338 for input_line in input_lines:
Dupdate_mca_test_checks.py434 def _write_output(test_path, input_lines, prefix_list, block_infos, # noqa argument
441 for input_line in input_lines:
522 if input_lines == output_lines:
547 input_lines = [l.rstrip() for l in f]
549 run_lines = common.find_run_lines(test_path, input_lines)
554 input_lines,
Dupdate_llc_test_checks.py46 for l in ti.input_lines:
/external/tensorflow/tensorflow/lite/micro/tools/make/
Dtransform_source.py109 def transform_arduino_sources(input_lines, flags): argument
122 for line in input_lines:
138 def transform_esp_sources(input_lines, flags): argument
149 for line in input_lines:
/external/llvm-project/llvm/utils/UpdateTestChecks/
Dcommon.py48 def __init__(self, test, parser, script_name, input_lines, args, argv, argument
55 self.input_lines = input_lines
56 self.run_lines = find_run_lines(test, self.input_lines)
68 for line_num, input_line in enumerate(self.input_lines):
96 input_lines = [l.rstrip() for l in f]
101 first_line = input_lines[0] if input_lines else ""
111 yield TestInfo(test, parser, script_name, input_lines, args, argv,
/external/llvm/utils/
Dupdate_llc_test_checks.py156 input_lines = [l.rstrip() for l in f]
159 for m in [RUN_LINE_RE.match(l) for l in input_lines] if m]
208 for input_line in input_lines:
Dupdate_test_checks.py293 input_lines = [l.rstrip() for l in f]
296 for m in [RUN_LINE_RE.match(l) for l in input_lines] if m]
346 for input_line in input_lines:
/external/XNNPACK/tools/
Dxngen.py59 input_lines = input_text.splitlines()
73 for i, input_line in enumerate(input_lines):
Dxngen59 input_lines = input_text.splitlines()
73 for i, input_line in enumerate(input_lines):
/external/llvm-project/mlir/utils/
Dgenerate-test-checks.py170 input_lines = [l.rstrip() for l in args.input]
196 for input_line in input_lines:
/external/protobuf/objectivec/DevTools/
Dpddm.py192 input_lines = a_file.read().splitlines()
193 self.ParseLines(input_lines)
195 def ParseLines(self, input_lines): argument
206 for line in input_lines:
/external/bcc/scripts/
Dgit-clang-format334 def create_tree(input_lines, mode): argument
345 for line in input_lines:
/external/clang/tools/clang-format/
Dgit-clang-format358 def create_tree(input_lines, mode): argument
369 for line in input_lines:
/external/llvm-project/clang/tools/clang-format/
Dgit-clang-format386 def create_tree(input_lines, mode): argument
397 for line in input_lines:
/external/llvm/utils/vim/
Dvimrc145 let l:input_lines = split(system(l:the_command, l:process_input), "\n")
148 for l:input_line in l:input_lines
/external/llvm-project/llvm/utils/vim/
Dvimrc145 let l:input_lines = split(system(l:the_command, l:process_input), "\n")
148 for l:input_line in l:input_lines
/external/python/cpython3/Doc/tools/extensions/
Dpyspecific.py383 source = self.state_machine.input_lines.source(
/external/python/cpython2/Lib/test/
Dtest_io.py2167 input_lines = [ "unix\n", "windows\r\n", "os9\r", "last\n", "nonl" ]
2171 [ '', input_lines ],
2186 data = bytes(''.join(input_lines).encode(encoding))
/external/python/cpython3/Lib/test/
Dtest_io.py2774 input_lines = [ "unix\n", "windows\r\n", "os9\r", "last\n", "nonl" ]
2778 [ '', input_lines ],
2793 data = bytes(''.join(input_lines).encode(encoding))