Lines Matching refs:nodes
114 std::vector<std::unique_ptr<Node>> nodes = ParseNodes(json_doc); in GetFromJSON() local
115 if (nodes.empty()) { in GetFromJSON()
120 HintManager::ParseActions(json_doc, nodes); in GetFromJSON()
127 sp<NodeLooperThread> nm = new NodeLooperThread(std::move(nodes)); in GetFromJSON()
149 Json::Value nodes = root["Nodes"]; in ParseNodes() local
150 for (Json::Value::ArrayIndex i = 0; i < nodes.size(); ++i) { in ParseNodes()
151 std::string name = nodes[i]["Name"].asString(); in ParseNodes()
167 std::string path = nodes[i]["Path"].asString(); in ParseNodes()
184 std::string node_type = nodes[i]["Type"].asString(); in ParseNodes()
202 Json::Value values = nodes[i]["Values"]; in ParseNodes()
227 if (nodes[i]["DefaultIndex"].empty() || in ParseNodes()
228 !nodes[i]["DefaultIndex"].isUInt64()) { in ParseNodes()
233 default_index = nodes[i]["DefaultIndex"].asUInt64(); in ParseNodes()
246 if (nodes[i]["ResetOnInit"].empty() || in ParseNodes()
247 !nodes[i]["ResetOnInit"].isBool()) { in ParseNodes()
251 reset = nodes[i]["ResetOnInit"].asBool(); in ParseNodes()
258 if (nodes[i]["HoldFd"].empty() || !nodes[i]["HoldFd"].isBool()) { in ParseNodes()
262 hold_fd = nodes[i]["HoldFd"].asBool(); in ParseNodes()
282 const std::vector<std::unique_ptr<Node>>& nodes) { in ParseActions() argument
297 for (std::size_t i = 0; i < nodes.size(); ++i) { in ParseActions()
298 nodes_index[nodes[i]->GetName()] = i; in ParseActions()
328 if (!nodes[node_index]->GetValueIndex(value_name, &value_index)) { in ParseActions()