Lines Matching refs:DeviceTree
29 DeviceTree::DeviceTree(string name) in DeviceTree() function in DeviceTree
35 DeviceTree::~DeviceTree() { in ~DeviceTree()
37 for (std::map<string, DeviceTree*>::iterator itr = subdevices_.begin(); in ~DeviceTree()
53 DeviceTree *DeviceTree::FindInSubTree(string name) { in FindInSubTree()
54 DeviceTree *ret; in FindInSubTree()
63 DeviceTree *DeviceTree::UnlockedFindInSubTree(string name) { in UnlockedFindInSubTree()
64 std::map<string, DeviceTree*>::iterator itr = subdevices_.find(name); in UnlockedFindInSubTree()
69 for (std::map<string, DeviceTree*>::iterator itr = subdevices_.begin(); in UnlockedFindInSubTree()
72 DeviceTree *result = itr->second->UnlockedFindInSubTree(name); in UnlockedFindInSubTree()
81 void DeviceTree::AddErrorInstance(ErrorInstance *error_instance) { in AddErrorInstance()
88 DeviceTree *DeviceTree::FindOrAddDevice(string name) { in FindOrAddDevice()
97 void DeviceTree::PrettyPrint(string spacer) { in PrettyPrint()
98 for (std::map<string, DeviceTree*>::iterator itr = subdevices_.begin(); in PrettyPrint()
108 void DeviceTree::InsertSubDevice(string name) { in InsertSubDevice()
114 subdevices_[name] = new DeviceTree(name); in InsertSubDevice()
121 bool DeviceTree::KnownBad() { in KnownBad()
158 system_tree_root_ = new DeviceTree("system_root"); in InitializeDeviceTree()
167 DeviceTree *dimm_device = system_tree_root_->FindOrAddDevice(dimm_string); in AddCeccError()
179 DeviceTree *dimm_device = system_tree_root_->FindOrAddDevice(dimm_string); in AddUeccError()
191 DeviceTree *dimm_device = system_tree_root_->FindOrAddDevice(dimm_string); in AddMiscompareError()
233 DeviceTree *src_dimm_dev = system_tree_root_->FindOrAddDevice(src_dimm); in AddHDDMiscompareError()
243 DeviceTree *dst_dimm_dev = system_tree_root_->FindOrAddDevice(dst_dimm); in AddHDDMiscompareError()
253 DeviceTree *hdd_dev = system_tree_root_->FindOrAddDevice(devicename); in AddHDDMiscompareError()
287 DeviceTree *src_dimm_dev = system_tree_root_->FindOrAddDevice(src_dimm); in AddHDDSectorTagError()
297 DeviceTree *dst_dimm_dev = system_tree_root_->FindOrAddDevice(dst_dimm); in AddHDDSectorTagError()
307 DeviceTree *hdd_dev = system_tree_root_->FindOrAddDevice(devicename); in AddHDDSectorTagError()