Lines Matching refs:strblock
233 strblock = parse_strings(strings)
236 return root, strblock
287 def compose_strings(strblock): argument
292 for s in strblock.values:
297 def write_fdt(root, strblock, fp): argument
315 strings = compose_strings(strblock)
352 def pretty_print_r(node, strblock, indent=0): argument
359 … print((spaces + ' %s = %s;' % (strblock[p.name].decode('utf-8'), prety_print_value(p.value))))
361 pretty_print_r(c, strblock, indent+1)
364 def pretty_print(node, strblock): argument
369 pretty_print_r(node, strblock, 0)
375 def manipulate(root, strblock): argument
404 return root, strblock
408 root, strblock = read_fdt(fp)
411 pretty_print(root, strblock)
413 root, strblock = manipulate(root, strblock)
415 pretty_print(root, strblock)
418 write_fdt(root, strblock, fp)