Searched refs:devices_ (Results 1 – 3 of 3) sorted by relevance
93 devices_.push_back(new_dev); in Add()94 return devices_.size() - 1; in Add()98 if (dev_index >= devices_.size()) { in Del()102 devices_.erase(devices_.begin() + dev_index); in Del()118 if (dev_index >= devices_.size()) { in AddDeviceToPhy()126 std::shared_ptr<Device> dev = devices_[dev_index]; in AddDeviceToPhy()132 if (dev_index >= devices_.size()) { in DelDeviceFromPhy()185 for (size_t dev = 0; dev < devices_.size(); dev++) { in List()187 list_string_ += devices_[dev]->ToString() + " \r\n"; in List()198 for (size_t dev = 0; dev < devices_.size(); dev++) { in TimerTick()[all …]
83 std::vector<std::shared_ptr<Device>> devices_; variable
50 auto part_it = devices_[slot].find(partition_name); in GetPartitionDevice()51 if (part_it == devices_[slot].end()) in GetPartitionDevice()89 devices_.resize(num_slots_); in SetNumSlots()98 devices_[slot][partition_name] = device; in SetPartitionDevice()111 std::vector<std::map<std::string, std::string>> devices_; variable