/external/llvm/utils/ |
D | update_test_checks.py | 178 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 …]
|
D | update_llc_test_checks.py | 100 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/google-benchmark/tools/gbench/ |
D | report.py | 294 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/ |
D | report.py | 294 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/swiftshader/third_party/llvm-7.0/llvm/utils/ |
D | update_mir_test_checks.py | 197 def add_checks_for_function(test, output_lines, run_list, func_dict, func_name, argument 211 add_check_lines(test, output_lines, prefix, func_name, single_bb, 214 return output_lines 217 def add_check_lines(test, output_lines, prefix, func_name, single_bb, argument 233 output_lines.append('{}-LABEL: name: {}'.format(check, func_name)) 250 output_lines.append(check_line) 336 output_lines = [] 337 output_lines.append(autogenerated_note) 350 output_lines.append(input_line) 360 output_lines.append(input_line) [all …]
|
D | update_mca_test_checks.py | 384 output_lines = [] 400 output_lines.append(input_line) 409 if input_line or output_lines[-1]: 410 output_lines.append(input_line) 415 if len(output_lines) > 0 and output_lines[-1]: 416 output_lines.append('') 444 output_lines.insert(0, ADVERT) 445 output_lines.extend(output_check_lines) 448 while len(output_lines) > 0 and output_lines[-1] == '': 449 output_lines.pop() [all …]
|
D | update_test_checks.py | 135 output_lines = [] 136 output_lines.append(autogenerated_note) 145 output_lines.append(input_line) 149 common.add_ir_checks(output_lines, ';', prefix_list, func_dict, func_name) 157 output_lines.append(input_line) 169 output_lines.append(input_line) 181 print>>sys.stderr, 'Writing %d lines to %s...' % (len(output_lines), test) 184 f.writelines([l + '\n' for l in output_lines])
|
D | update_llc_test_checks.py | 126 output_lines = [] 127 output_lines.append(autogenerated_note) 136 output_lines.append(input_line) 140 asm.add_asm_checks(output_lines, ';', run_list, func_dict, func_name) 146 output_lines.append(input_line) 158 output_lines.append(input_line) 170 print>>sys.stderr, 'Writing %d lines to %s...' % (len(output_lines), test) 173 f.writelines([l + '\n' for l in output_lines])
|
D | update_analyze_test_checks.py | 138 output_lines = [] 139 output_lines.append(autogenerated_note) 148 output_lines.append(input_line) 152 common.add_analyze_checks(output_lines, ';', prefix_list, func_dict, func_name) 160 output_lines.append(input_line) 172 output_lines.append(input_line) 184 print>>sys.stderr, 'Writing %d lines to %s...' % (len(output_lines), test) 187 f.writelines([l + '\n' for l in output_lines])
|
D | update_cc_test_checks.py | 210 output_lines = [autogenerated_note] 227 output_lines.append('//') 229 common.add_ir_checks(output_lines, '//', run_list, func_dict, mangled) 230 output_lines.append(line.rstrip('\n')) 234 for line in output_lines:
|
/external/conscrypt/openjdk-integ-tests/src/test/resources/crypto/ |
D | parse_records.py | 117 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/swiftshader/third_party/llvm-7.0/llvm/utils/UpdateTestChecks/ |
D | common.py | 192 def add_checks(output_lines, comment_marker, prefix_list, func_dict, func_name, check_label_format,… argument 208 output_lines.append(comment_marker) 211 output_lines.append(check_label_format % (checkprefix, func_name)) 216 output_lines.append('%s %s: %s' % (comment_marker, checkprefix, func_body[0])) 218 output_lines.append('%s %s-NEXT: %s' % (comment_marker, checkprefix, func_line)) 247 output_lines.append('{} {}: {}'.format( 250 output_lines.append('{} {}-NEXT: {}'.format( 256 output_lines.append(comment_marker) 259 def add_ir_checks(output_lines, comment_marker, prefix_list, func_dict, func_name): argument 262 …add_checks(output_lines, comment_marker, prefix_list, func_dict, func_name, check_label_format, Fa… [all …]
|
D | asm.py | 256 def add_asm_checks(output_lines, comment_marker, prefix_list, func_dict, func_name): argument 259 …common.add_checks(output_lines, comment_marker, prefix_list, func_dict, func_name, check_label_for…
|
/external/u-boot/scripts/ |
D | mailmapper | 139 output_lines = [] variable 146 output_lines.append(line) 149 output_lines.append(line) 153 output_lines.append(name + ' ' + mail + '\n') 155 output_lines.sort() 157 sys.stdout.write(''.join(comment_block + output_lines))
|
/external/grpc-grpc/src/objective-c/ |
D | change-comments.py | 50 output_lines = [] variable 53 output_lines.append(line) 57 for line in output_lines:
|
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
D | gmock_class.py | 51 def _GenerateMethods(output_lines, source, class_node): argument 80 output_lines.append(indent + line) 117 output_lines.extend(['%s%s(%s,' % (indent, mock_method_macro, node.name),
|
/external/u-boot/tools/ |
D | genboardscfg.py | 396 output_lines = [] 402 output_lines.append(line.strip()) 405 output_lines.sort(key=str.lower) 408 f.write(COMMENT_BLOCK + '\n'.join(output_lines) + '\n')
|
/external/googletest/googlemock/scripts/generator/cpp/ |
D | gmock_class.py | 51 def _GenerateMethods(output_lines, source, class_node): argument 81 output_lines.append(indent + line) 122 output_lines.extend(['%s%s(%s,' % (indent, mock_method_macro, node.name),
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | device_errors.py | 128 output_lines = output.splitlines() 130 output_lines = output 131 segments.extend(' - %s\n' % line for line in output_lines)
|
/external/autotest/client/common_lib/cros/network/ |
D | iw_runner.py | 250 output_lines = output.splitlines() 251 for line_num, line in enumerate(output_lines): 254 output_lines[line_num + 1].startswith('user') and 255 output_lines[line_num + 2].startswith('sys')):
|
/external/python/apitools/apitools/scripts/ |
D | oauth2l_test.py | 112 output_lines = [l.strip() for l in output.splitlines()] 118 self.assertIn(line, output_lines)
|
/external/google-benchmark/tools/ |
D | compare.py | 240 output_lines = gbench.report.generate_difference_report( 244 for ln in output_lines:
|
/external/libcxx/utils/google-benchmark/tools/ |
D | compare.py | 240 output_lines = gbench.report.generate_difference_report( 244 for ln in output_lines:
|
/external/python/cpython3/Lib/test/ |
D | test_subprocess.py | 2458 output_lines = output.splitlines() 2459 self.assertEqual(len(output_lines), 2, 2461 opened_fds = set(map(int, output_lines[0].strip().split(b','))) 2462 remaining_fds = set(map(int, output_lines[1].strip().split(b',')))
|
/external/python/cpython3/Tools/clinic/ |
D | clinic.py | 1494 output_lines = output.splitlines(keepends=True) 1495 self.line_number -= len(output_lines) 1496 self.input.extend(reversed(output_lines))
|