Home
last modified time | relevance | path

Searched refs:index_name (Results 1 – 2 of 2) sorted by relevance

/test/vts/compilation_tools/vtsc/code_gen/profiler/
DHalHidlProfilerCodeGen.cpp67 std::string index_name = GetVarString(arg_name) + "_index"; in GenerateProfilerForVectorVariable() local
68 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() local
89 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()
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalHidlCodeGen.cpp838 std::string index_name = GetVarString(arg_name) + "_index"; in GenerateDriverImplForTypedVariable() local
839 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() local
853 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()