Lines Matching refs:dt_copy
2357 dt_copy = deepcopy(dt)
2358 assert dt_copy.filename == dt.filename
2361 root_copy = dt_copy.root
2364 assert root_copy.dt is dt_copy
2369 assert dt_copy.memreserves == [
2372 assert dt_copy.memreserves is not dt.memreserves
2391 assert dt_copy.has_node('/node@1234')
2392 node_copy = dt_copy.get_node('/node@1234')
2405 assert node_copy.dt is dt_copy
2413 assert 'rootprop_label' in dt_copy.label2prop
2414 assert dt_copy.label2prop['rootprop_label'] is rootprop_copy
2415 assert list(dt_copy.label2prop_offset.keys()) == ['prop_offset0',
2417 assert dt_copy.label2prop_offset['prop_offset4'][0] is rootprop_copy
2418 assert dt_copy.label2prop_offset['prop_offset4'][1] == 4
2423 copy = getattr(dt_copy, attr_name)
2435 assert list(dt_copy.alias2node.keys()) == ['foo']
2436 assert dt_copy.alias2node['foo'] is node_copy
2438 assert list(dt_copy.label2node.keys()) == ['nodelabel']
2439 assert dt_copy.label2node['nodelabel'] is node_copy
2441 assert dt_copy.phandle2node
2444 phandle2node_copy_values = set(dt_copy.phandle2node.values())