Home
last modified time | relevance | path

Searched refs:output_lines (Results 1 – 25 of 37) sorted by relevance

12

/external/llvm/utils/
Dupdate_test_checks.py178 output_lines = []
183 output_lines.append(line)
185 return output_lines
188 def add_checks(output_lines, prefix_list, func_dict, func_name, tool_basename): argument
207 output_lines.append(check_label_format % (checkprefix, func_name))
243 output_lines.append('; %s: %s' % (checkprefix, func_line))
245 output_lines.append('; %s-NEXT: %s' % (checkprefix, func_line))
250 output_lines.append(';')
252 return output_lines
343 output_lines = []
[all …]
Dupdate_llc_test_checks.py100 def add_checks(output_lines, prefix_list, func_dict, func_name): argument
110 output_lines.append(';')
112 output_lines.append('; %s-LABEL: %s:' % (checkprefix, func_name))
114 output_lines.append('; %s: %s' % (checkprefix, func_body[0]))
116 output_lines.append('; %s-NEXT: %s' % (checkprefix, func_line))
120 return output_lines
205 output_lines = []
206 output_lines.append(autogenerated_note)
215 output_lines.append(input_line)
219 output_lines = add_checks(output_lines, prefix_list, func_dict, name)
[all …]
/external/llvm-project/libcxx/utils/google-benchmark/tools/gbench/
Dreport.py294 output_lines = get_unique_benchmark_names(json)
296 print("\n".join(output_lines))
297 self.assertEqual(len(output_lines), len(expect_lines))
298 for i in range(0, len(output_lines)):
299 self.assertEqual(expect_lines[i], output_lines[i])
338 output_lines = output_lines_with_header[2:]
341 self.assertEqual(len(output_lines), len(expect_lines))
342 for i in range(0, len(output_lines)):
343 parts = [x for x in output_lines[i].split(' ') if x]
372 output_lines = output_lines_with_header[2:]
[all …]
/external/libcxx/utils/google-benchmark/tools/gbench/
Dreport.py294 output_lines = get_unique_benchmark_names(json)
296 print("\n".join(output_lines))
297 self.assertEqual(len(output_lines), len(expect_lines))
298 for i in range(0, len(output_lines)):
299 self.assertEqual(expect_lines[i], output_lines[i])
338 output_lines = output_lines_with_header[2:]
341 self.assertEqual(len(output_lines), len(expect_lines))
342 for i in range(0, len(output_lines)):
343 parts = [x for x in output_lines[i].split(' ') if x]
372 output_lines = output_lines_with_header[2:]
[all …]
/external/conscrypt/common/src/test/resources/crypto/
Dparse_records.py117 output_lines = []
121 output_lines.extend(format_records(record))
129 output_lines.extend(format_records(record))
130 if len(output_lines) > 0:
131 if output_lines[0].count(',') == 3:
134 elif output_lines[0].count(',') == 5:
137 for output_line in output_lines:
/external/llvm-project/llvm/utils/
Dupdate_mir_test_checks.py186 def add_checks_for_function(test, output_lines, run_list, func_dict, func_name, argument
200 add_check_lines(test, output_lines, prefix, func_name, single_bb,
203 return output_lines
206 def add_check_lines(test, output_lines, prefix, func_name, single_bb, argument
222 output_lines.append('{}-LABEL: name: {}'.format(check, func_name))
239 output_lines.append(check_line)
335 output_lines = []
336 output_lines.append(autogenerated_note)
349 output_lines.append(input_line)
359 output_lines.append(input_line)
[all …]
Dupdate_test_checks.py125 output_lines = []
140 common.dump_input_lines(output_lines, ti, prefix_set, ';')
143 common.add_checks_at_end(output_lines, prefix_list, func_order, ';',
152 for input_line_info in ti.iterlines(output_lines):
161 output_lines.append(input_line)
165 common.add_ir_checks(output_lines, ';', prefix_list, func_dict,
175 output_lines.append(input_line)
183 output_lines.append(input_line)
194 common.debug('Writing %d lines to %s...' % (len(output_lines), ti.path))
197 f.writelines(['{}\n'.format(l).encode('utf-8') for l in output_lines])
Dupdate_llc_test_checks.py126 output_lines = []
141 common.dump_input_lines(output_lines, ti, prefix_set, ';')
144 common.add_checks_at_end(output_lines, run_list, func_order,
151 for input_info in ti.iterlines(output_lines):
160 output_lines.append(input_line)
164 asm.add_asm_checks(output_lines, check_indent + ';', run_list, func_dict, func_name)
170 output_lines.append(input_line)
178 output_lines.append(input_line)
189 common.debug('Writing %d lines to %s...' % (len(output_lines), ti.path))
192 f.writelines(['{}\n'.format(l).encode('utf-8') for l in output_lines])
Dupdate_mca_test_checks.py440 output_lines = []
456 output_lines.append(input_line)
465 if input_line or output_lines[-1]:
466 output_lines.append(input_line)
471 if len(output_lines) > 0 and output_lines[-1]:
472 output_lines.append('')
515 output_lines.insert(0, ADVERT)
516 output_lines.extend(output_check_lines)
519 while len(output_lines) > 0 and output_lines[-1] == '':
520 output_lines.pop()
[all …]
Dupdate_analyze_test_checks.py133 output_lines = []
134 output_lines.append(autogenerated_note)
143 output_lines.append(input_line)
147 common.add_analyze_checks(output_lines, ';', prefix_list, func_dict, func_name)
155 output_lines.append(input_line)
167 output_lines.append(input_line)
178 common.debug('Writing %d lines to %s...' % (len(output_lines), test))
181 f.writelines(['{}\n'.format(l).encode('utf-8') for l in output_lines])
Dupdate_cc_test_checks.py272 output_lines = []
290 common.dump_input_lines(output_lines, ti, prefix_set, '//')
305 common.add_checks_at_end(output_lines, run_list, func_order, '//',
311 for line_info in ti.iterlines(output_lines):
330 last_line = output_lines[-1].strip()
334 output_lines.pop()
335 last_line = output_lines[-1].strip()
337 output_lines.append('//')
339 common.add_ir_checks(output_lines, '//', run_list, func_dict, mangled,
345 output_lines.append(line.rstrip('\n'))
[all …]
/external/google-benchmark/tools/gbench/
Dreport.py362 output_lines = get_unique_benchmark_names(json)
364 print("\n".join(output_lines))
365 self.assertEqual(len(output_lines), len(expect_lines))
366 for i in range(0, len(output_lines)):
367 self.assertEqual(expect_lines[i], output_lines[i])
410 output_lines = output_lines_with_header[2:]
413 self.assertEqual(len(output_lines), len(expect_lines))
414 for i in range(0, len(output_lines)):
415 parts = [x for x in output_lines[i].split(' ') if x]
531 output_lines = output_lines_with_header[2:]
[all …]
/external/llvm-project/llvm/utils/UpdateTestChecks/
Dcommon.py73 def iterlines(self, output_lines): argument
74 output_lines.append(self.test_autogenerated_note)
83 output_lines.append(input_line)
433 def add_checks(output_lines, comment_marker, prefix_list, func_dict, func_name, check_label_format,… argument
465 output_lines.append(comment_marker)
476 output_lines.append('%s %s: Function Attrs: %s' % (comment_marker, checkprefix, attrs))
480 output_lines.append(check_label_format % (checkprefix, func_name, ''))
481 output_lines.append('%s %s-SAME: %s' % (comment_marker, checkprefix, args_and_sig))
483 output_lines.append(check_label_format % (checkprefix, func_name, args_and_sig))
488 output_lines.append('%s %s: %s' % (comment_marker, checkprefix, func_body[0]))
[all …]
/external/llvm-project/llvm/utils/benchmark/tools/gbench/
Dreport.py164 output_lines = output_lines_with_header[2:]
166 self.assertEqual(len(output_lines), len(expect_lines))
167 for i in range(0, len(output_lines)):
168 parts = [x for x in output_lines[i].split(' ') if x]
193 output_lines = output_lines_with_header[2:]
196 self.assertEqual(len(output_lines), len(expect_lines))
197 for i in range(0, len(output_lines)):
198 parts = [x for x in output_lines[i].split(' ') if x]
/external/tensorflow/tensorflow/lite/micro/tools/make/
Dtransform_source.py121 output_lines = []
128 output_lines.append(line)
129 output_text = '\n'.join(output_lines)
148 output_lines = []
152 output_lines.append(line)
154 output_text = '\n'.join(output_lines)
Dtransform_arduino_source.py91 output_lines = []
98 output_lines.append(line)
99 output_text = '\n'.join(output_lines)
/external/grpc-grpc/src/objective-c/
Dchange-comments.py50 output_lines = [] variable
53 output_lines.append(line)
57 for line in output_lines:
/external/llvm-project/lldb/test/API/functionalities/tsan/cpp_global_location/
DTestTsanCPPGlobalLocation.py53 output_lines = self.res.GetOutput().split('\n')
54 json_line = '\n'.join(output_lines[2:])
/external/llvm-project/lldb/test/API/functionalities/tsan/global_location/
DTestTsanGlobalLocation.py53 output_lines = self.res.GetOutput().split('\n')
54 json_line = '\n'.join(output_lines[2:])
/external/llvm-project/lldb/test/API/functionalities/mtc/simple/
DTestMTCSimple.py57 output_lines = self.res.GetOutput().split('\n')
58 json_line = '\n'.join(output_lines[2:])
/external/llvm-project/lldb/test/API/functionalities/tsan/multiple/
DTestTsanMultiple.py68 output_lines = self.res.GetOutput().split('\n')
69 json_line = '\n'.join(output_lines[2:])
/external/llvm-project/lldb/test/API/functionalities/tsan/thread_numbers/
DTestTsanThreadNumbers.py60 output_lines = self.res.GetOutput().split('\n')
61 json_line = '\n'.join(output_lines[2:])
/external/llvm-project/lldb/test/API/functionalities/ubsan/basic/
DTestUbsanBasic.py81 output_lines = self.res.GetOutput().split('\n')
82 json_line = '\n'.join(output_lines[2:])
/external/llvm-project/lldb/test/API/functionalities/asan/
DTestReportData.py77 output_lines = self.res.GetOutput().split('\n')
78 json_line = '\n'.join(output_lines[2:])
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_errors.py164 output_lines = output.splitlines()
166 output_lines = output
167 segments.extend(' - %s\n' % line for line in output_lines)

12