Searched refs:outf (Results 1 – 4 of 4) sorted by relevance
| /optee_os/scripts/ |
| H A D | gen_stmm_hex.py | 29 outf = args.output 36 outf.write('/* Automatically generated, do no edit */\n') 37 outf.write('const unsigned char stmm_image[] = {\n') 41 outf.write('\t') 42 outf.write('0x{:02x},'.format(bytes[i])) 45 outf.write('\n') 47 outf.write(' ') 48 outf.write('};\n') 50 outf.write('const unsigned int stmm_image_size = sizeof(stmm_image);\n') 51 outf.write('const unsigned int stmm_image_uncompressed_size = ' [all …]
|
| H A D | gen_ldelf_hex.py | 38 def emit_load_segments(elffile, outf): argument 98 outf.write(b'const uint8_t ldelf_data[%d]' % round_up(load_size, 4096)) 99 outf.write(b' __aligned(4096) = {\n') 107 outf.write(b'\t') 108 outf.write(b'0x' + '{:02x}'.format(data[j]).encode('utf-8') 112 outf.write(b'\n') 114 outf.write(b' ') 116 outf.write(b'};\n') 118 outf.write(b'const unsigned int ldelf_code_size = %d;\n' % code_size) 119 outf.write(b'const unsigned int ldelf_data_size = %d;\n' % data_size) [all …]
|
| H A D | gen_tee_bin.py | 248 def output_pager_bin(elffile, outf): argument 249 outf.write(get_pager_bin(elffile)) 252 def output_pageable_bin(elffile, outf): argument 253 outf.write(get_pageable_bin(elffile)) 263 def output_raw_bin(elffile, outf): argument 269 outf.write(pager_bin) 270 outf.write(pageable_bin[:init_bin_size]) 271 outf.write(embdata_bin) 272 outf.write(pageable_bin[init_bin_size:]) 275 def output_header_v1(elffile, outf): argument [all …]
|
| H A D | sign_encrypt.py | 810 def write(self, outf): argument 811 with open(outf, 'wb') as f: 847 ta_image.write(args.outf) 858 image.write(args.outf) 874 ta_image.write(args.outf)
|