Lines Matching refs:outf
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
296 outf.write(struct.pack('<IBBHIIIII', magic, version, arch_id, flags,
299 outf.write(pager_bin)
300 outf.write(pageable_bin[:init_bin_size])
301 outf.write(embdata_bin)
302 outf.write(pageable_bin[init_bin_size:])
305 def output_header_v2(elffile, outf): argument
321 outf.write(struct.pack('<IBBHI', magic, version, arch_id, flags,
323 outf.write(struct.pack('<IIII', init_load_addr[0], init_load_addr[1],
326 outf.write(struct.pack('<IIII', 0xffffffff, 0xffffffff, 1, paged_size))
329 def output_pager_v2(elffile, outf): argument
335 outf.write(pager_bin)
336 outf.write(pageable_bin[:init_bin_size])
337 outf.write(embdata_bin)
340 def output_pageable_v2(elffile, outf): argument
342 outf.write(get_pageable_bin(elffile)[init_bin_size:])