Searched refs:index_name (Results 1 – 2 of 2) sorted by relevance
67 std::string index_name = GetVarString(arg_name) + "_index"; in GenerateProfilerForVectorVariable() local68 out << "for (int " << index_name << " = 0; " << index_name << " < (int)" in GenerateProfilerForVectorVariable()69 << arg_value << ".size(); " << index_name << "++) {\n"; in GenerateProfilerForVectorVariable()72 GetVarString(arg_name) + "_vector_" + index_name; in GenerateProfilerForVectorVariable()78 arg_value + "[" + index_name + "]"); in GenerateProfilerForVectorVariable()88 std::string index_name = GetVarString(arg_name) + "_index"; in GenerateProfilerForArrayVariable() local89 out << "for (int " << index_name << " = 0; " << index_name << " < " in GenerateProfilerForArrayVariable()90 << val.vector_size() << "; " << index_name << "++) {\n"; in GenerateProfilerForArrayVariable()93 GetVarString(arg_name) + "_array_" + index_name; in GenerateProfilerForArrayVariable()98 arg_value + "[" + index_name + "]"); in GenerateProfilerForArrayVariable()
838 std::string index_name = GetVarString(arg_name) + "_index"; in GenerateDriverImplForTypedVariable() local839 out << "for (int " << index_name << " = 0; " << index_name << " < " in GenerateDriverImplForTypedVariable()840 << arg_value_name << ".vector_value_size(); " << index_name in GenerateDriverImplForTypedVariable()844 out, val.vector_value(0), arg_name + "[" + index_name + "]", in GenerateDriverImplForTypedVariable()845 arg_value_name + ".vector_value(" + index_name + ")"); in GenerateDriverImplForTypedVariable()852 std::string index_name = GetVarString(arg_name) + "_index"; in GenerateDriverImplForTypedVariable() local853 out << "for (int " << index_name << " = 0; " << index_name << " < " in GenerateDriverImplForTypedVariable()854 << arg_value_name << ".vector_value_size(); " << index_name in GenerateDriverImplForTypedVariable()858 out, val.vector_value(0), arg_name + "[" + index_name + "]", in GenerateDriverImplForTypedVariable()859 arg_value_name + ".vector_value(" + index_name + ")"); in GenerateDriverImplForTypedVariable()