Lines Matching defs:index
248 // record index of inputted component
286 uint32_t index = (uint32_t)(rand()) % componentInfos.size();
287 DEBUG_LOG_STR("component input index (%d), NodeId (%d)", index,
288 wComponentInfos[index]->GetNodeId());
289 int actionType = JudgeComponentType(*(componentInfos[index].get()));
294 result = ComponentManager::GetInstance()->ComponentEventInput(*(componentInfos[index].get()), actionType);
297 treemanager->SetInputcomponentIndex(actionType, index);
302 componentInputMsg->componmentType_ = componentInfos[index]->GetComponentType();
332 uint32_t index = ChooseRightComponentIndex(componentInfos, wComponentInfos, shouldScreenCap);
333 DEBUG_LOG_STR("after ChooseRightComponentIndex (%d), comp cnt (%d)index (%d)",
334 componentInfos.size(), wComponentInfos.size(), index);
335 auto componentinfo = componentInfos[index];
336 DEBUG_LOG_STR("component input index (%d), NodeId (%d)", index,
337 wComponentInfos[index]->GetNodeId());
344 DEBUG_LOG_STR("after ChooseRightComponentIndex3 (%d), index (%d)", componentInfos.size(), index);
347 treemanager->SetInputcomponentIndex(actionType, index);
375 uint32_t index;
387 index = indexList[randIndex];
392 index = randIndex % componentInfos.size();
394 return index;