| /tools/ |
| A D | rmboard.py | 47 if not stdout: 49 fname = stdout.split(':')[0] 52 stdout = command.run_one('sed', '-i', rf'\|{path}|d', fname, 53 capture=True).stdout 55 stdout = command.output('git', 'add', fname) 69 stdout = command.output('git', 'grep', '-l', board) 72 for line in stdout.splitlines(): 109 stdout = command.output('find', path, raise_on_error=False) 110 for fname in stdout.splitlines(): 115 stdout = command.output('git', 'rm', '-r', *real) [all …]
|
| A D | imx8mimage.c | 386 fprintf(stdout, "header.tag: \t\t0x%x\n", in dump_header_v2() 390 fprintf(stdout, "header.version: \t0x%x\n", in dump_header_v2() 392 fprintf(stdout, "entry: \t\t\t0x%x\n", in dump_header_v2() 394 fprintf(stdout, "reserved1: \t\t0x%x\n", in dump_header_v2() 396 fprintf(stdout, "dcd_ptr: \t\t0x%x\n", in dump_header_v2() 400 fprintf(stdout, "self: \t\t\t0x%x\n", in dump_header_v2() 402 fprintf(stdout, "csf: \t\t\t0x%x\n", in dump_header_v2() 404 fprintf(stdout, "reserved2: \t\t0x%x\n", in dump_header_v2() 670 fprintf(stdout, "\nSIGNED HDMI FW:\n"); in build_image() 675 fprintf(stdout, "\nLoader IMAGE:\n"); in build_image() [all …]
|
| A D | imx8image.c | 185 fprintf(stdout, "New Container: \t%d\n", ++container); in parse_cfg_fld() 797 fprintf(stdout, "container flags: 0x%x\n", container->flags); in set_container() 896 fprintf(stdout, "CST: CONTAINER %d offset: 0x%x\n", in flatten_container_header() 967 fprintf(stdout, "Platform:\ti.MX8QXP B0\n"); in build_container() 969 fprintf(stdout, "Platform:\ti.MX8QM B0\n"); in build_container() 971 fprintf(stdout, "Platform:\ti.MX8ULP A0\n"); in build_container() 973 fprintf(stdout, "Platform:\ti.MX9\n"); in build_container() 979 fprintf(stdout, "container image offset (aligned):%x\n", file_off); in build_container() 1167 fprintf(stdout, "parsing %s\n", mparams->imagename); in imx8image_copy_image() 1175 fprintf(stdout, "CONTAINER Sector size:\t%08x\n", sector_size); in imx8image_copy_image() [all …]
|
| A D | aisimage.c | 127 fprintf(stdout, "Image Type: TI Davinci AIS Boot Image\n"); in aisimage_print_header() 128 fprintf(stdout, "AIS magic : %08x\n", ais_hdr->magic); in aisimage_print_header() 136 fprintf(stdout, "Image at : 0x%08x size 0x%08x\n", in aisimage_print_header() 148 fprintf(stdout, "AIS cmd : %s\n", in aisimage_print_header()
|
| A D | kwboot.c | 444 fflush(stdout); in kwboot_printv() 456 fputc(bs, stdout); in __spinner() 457 fputc(seq[state / div % sizeof(seq)], stdout); in __spinner() 458 fflush(stdout); in __spinner() 482 fputc(c, stdout); in __progress() 489 fputc(' ', stdout); in __progress() 490 fputs(nl, stdout); in __progress() 495 fflush(stdout); in __progress() 1223 fflush(stdout); in kwboot_baud_magic_handle() 1291 fflush(stdout); in kwboot_xm_recv_reply() [all …]
|
| /tools/u_boot_pylib/ |
| A D | command.py | 43 def __init__(self, stdout='', stderr='', combined='', return_code=0, argument 45 self.stdout = stdout 61 self.stdout = self.stdout.decode('utf-8') 113 kwargs['stdin'] = last_pipe.stdout 134 result.stdout, result.stderr, result.combined = ( 136 if result.stdout and oneline: 137 result.output = result.stdout.rstrip(b'\r\n') 155 return run_pipe([cmd], capture=True, **kwargs).stdout 172 raise_on_error=raise_on_error, **kwargs).stdout.strip() 188 return run_pipe([cmd], **kwargs).stdout [all …]
|
| A D | cros_subprocess.py | 76 if stdout == PIPE_PTY: 84 stdout=stdout, stderr=stderr, shell=shell, cwd=cwd, env=env, 162 stdout = None # Return 173 if self.stdout: 174 read_set.append(self.stdout) 175 stdout = bytearray() 205 if self.stdout in rlist: 213 self.stdout.close() 216 stdout += data 239 stdout = self.convert_data(stdout) [all …]
|
| A D | terminal.py | 221 return os.isatty(sys.stdout.fileno()) 244 os.isatty(sys.stdout.fileno()))) 310 old_out, old_err = sys.stdout, sys.stderr 313 sys.stdout, sys.stderr = capture_out, capture_err 316 sys.stdout, sys.stderr = old_out, old_err 319 sys.stdout.write(capture_out.getvalue()) 340 old_stdout = sys.stdout 341 sys.stdout = proc.stdin 345 sys.stdout = old_stdout
|
| A D | tout.py | 168 def init(_verbose=WARNING, stdout=sys.stdout, allow_colour=True): argument 181 _stdout = stdout 184 stdout_is_tty = hasattr(sys.stdout, 'isatty') and sys.stdout.isatty()
|
| A D | test_util.py | 75 stdout = command.output(covtool, 'report') 76 lines = stdout.splitlines() 86 print(stdout) 93 print(stdout) 102 for line in stdout.splitlines()] 193 stream=sys.stdout,
|
| A D | gitutil.py | 85 patch_count = len(result.stdout.splitlines()) 98 stdout = command.output_one_line('git', 'name-rev', commit_hash) 99 if not stdout: 103 name = stdout.split()[1].strip() 129 for line in result.stdout.splitlines()[1:]: 205 patch_count = len(result.stdout.splitlines()) 236 stdout = command.run_pipe(pipe, capture=True, oneline=True).stdout 237 patch_count = int(stdout) 377 stdout = command.run_list(cmd, cwd=cwd) 378 files = stdout.splitlines() [all …]
|
| A D | tools.py | 385 result.stderr or result.stdout)) 438 return result.stdout 604 sys.stdout.flush() 606 sys.stdout.flush()
|
| /tools/binman/ |
| A D | bintool_test.py | 58 with terminal.capture() as (stdout, _): 61 self.assertIn('-', stdout.getvalue()) 65 with terminal.capture() as (stdout, _): 67 self.assertIn('123', stdout.getvalue()) 95 return stdout.getvalue() 104 self.assertIn('my error', stdout) 112 self.assertIn('exc error', stdout) 121 self.assertIn('my error', stdout) 153 lines = stdout.getvalue().splitlines() 182 lines = stdout.getvalue().splitlines() [all …]
|
| A D | image_test.py | 32 with terminal.capture() as (stdout, stderr): 37 self.assertEqual('', stdout.getvalue())
|
| A D | cbfs_util_test.py | 318 with terminal.capture() as (stdout, _stderr): 320 self.assertIn('Relative offset seems wrong', stdout.getvalue()) 334 with terminal.capture() as (stdout, _stderr): 355 with terminal.capture() as (stdout, _stderr): 377 with terminal.capture() as (stdout, _stderr): 382 cbfs_util.FILE_HEADER_LEN, stdout.getvalue()) 393 with terminal.capture() as (stdout, _stderr): 396 stdout.getvalue()) 420 with terminal.capture() as (stdout, _stderr): 445 with terminal.capture() as (stdout, _stderr): [all …]
|
| A D | fip_util_test.py | 219 with terminal.capture() as (stdout, _): 223 stdout.getvalue()) 243 with terminal.capture() as (stdout, _): 245 self.assertIn('Needs update', stdout.getvalue()) 260 with terminal.capture() as (stdout, _): 262 self.assertIn('is up-to-date', stdout.getvalue())
|
| A D | bintool.py | 304 if not any([result.stdout, result.stderr, tools.tool_find(name)]): 311 result.stderr or result.stdout)) 312 if result.stdout: 313 tout.debug(result.stdout) 331 return result.stdout 516 out = result.stdout.strip()
|
| /tools/dtoc/ |
| A D | test_src_scan.py | 84 with terminal.capture() as (stdout, _): 86 self.assertRegex(stdout.getvalue(), 174 with terminal.capture() as (stdout, _): 193 with terminal.capture() as (stdout, _): 201 with terminal.capture() as (stdout, _): 383 with terminal.capture() as (stdout, _): 460 with terminal.capture() as (stdout, _): 464 stdout.getvalue().strip()) 481 with terminal.capture() as (stdout, _): 543 with terminal.capture() as (stdout, _): [all …]
|
| /tools/binman/etype/ |
| A D | gbb.py | 82 stdout = self.futility.gbb_create( 84 if stdout is not None: 85 stdout = self.futility.gbb_set( 93 if stdout is not None:
|
| A D | x509_cert.py | 88 stdout = None 90 stdout = self.openssl.x509_cert( 98 stdout = self.openssl.x509_cert_sysfw( 107 stdout = self.openssl.x509_cert_rom( 122 stdout = self.openssl.x509_cert_rom_combined( 148 if stdout is not None:
|
| A D | vblock.py | 72 stdout = self.futility.sign_firmware( 80 if stdout is not None:
|
| A D | xilinx_bootgen.py | 145 stdout = command.output(gcc, *args) 147 arch, _, _ = stdout.split('-')
|
| /tools/patman/ |
| A D | get_maintainer.py | 62 stdout = command.output(get_maintainer, *arguments, fname) 63 lines = stdout.splitlines()
|
| /tools/buildman/ |
| A D | builderthread.py | 455 result.stdout = config_out.getvalue() + result.stdout 507 result.stdout = '' 551 if result.stdout: 552 outf.write(result.stdout) 602 if nm_result.stdout: 606 print(nm_result.stdout, end=' ', file=outf) 614 if dump_result.stdout: 618 print(dump_result.stdout, end=' ', file=outf) 619 for line in dump_result.stdout.splitlines(): 629 if size_result.stdout: [all …]
|
| A D | func_test.py | 274 gothelp = result.stdout.replace(extra, '') 283 self.assertTrue(len(result.stdout) > 1000) 436 result.stdout = len(result.stdout.splitlines()) 673 with terminal.capture() as (stdout, stderr): 678 stdout.getvalue()) 811 with terminal.capture() as (stdout, stderr): 1035 with terminal.capture() as (stdout, stderr): 1042 with terminal.capture() as (stdout, stderr): 1044 self.assertEqual('arm-\n', stdout.getvalue()) 1086 with terminal.capture() as (stdout, stderr): [all …]
|