Lines Matching refs:it
42 for (const auto &it : *this) { in debugString()
53 if (it.second.find(&c2Value)) { in debugString()
57 s << "c2::i32 " << it.first << " = " << int32Value; in debugString()
61 s << "c2::u32 " << it.first << " = " << uint32Value; in debugString()
66 s << "c2::c32 " << it.first << " = " << uint32Value; in debugString()
70 s << "c2::i64 " << it.first << " = " << int64Value; in debugString()
74 s << "c2::u64 " << it.first << " = " << uint64Value; in debugString()
79 s << "c2::c64 " << it.first << " = " << uint64Value; in debugString()
83 s << "c2::float " << it.first << " = " << floatValue; in debugString()
87 s << "c2::unsupported " << it.first; in debugString()
89 } else if (it.second.find(&int32Value)) { in debugString()
90 s << "int32_t " << it.first << " = " << int32Value; in debugString()
91 } else if (it.second.find(&int64Value)) { in debugString()
92 s << "int64_t " << it.first << " = " << int64Value; in debugString()
93 } else if (it.second.find(&strValue)) { in debugString()
94 s << "string " << it.first << " = \"" << strValue.c_str() << "\""; in debugString()
95 } else if (it.second.find(&bufValue)) { in debugString()
96 s << "Buffer " << it.first << " = "; in debugString()
107 s << "unsupported " << it.first; in debugString()
148 for (auto it = structDesc.begin(); it != structDesc.end(); ++it) { in addParamStructDesc() local
149 C2String fieldName = path + "." + it->name(); in addParamStructDesc()
150 if (it->type() & C2FieldDescriptor::STRUCT_FLAG) { in addParamStructDesc()
151 if (reflector == nullptr || it->extent() != 1) { in addParamStructDesc()
156 C2Param::CoreIndex(it->type()).coreIndex()); in addParamStructDesc()
161 addParamStructDesc(desc, fieldName, offset + _C2ParamInspector::GetOffset(*it), in addParamStructDesc()
167 switch (it->type()) { in addParamStructDesc()
175 if (it->extent() != 1) { in addParamStructDesc()
195 it->type(), it->extent(), it->name(), in addParamStructDesc()
196 _C2ParamInspector::GetOffset(*it), in addParamStructDesc()
197 _C2ParamInspector::GetSize(*it)), in addParamStructDesc()
216 auto it = mWholeParams.find(paramName); in addParamDesc() local
217 if (it != mWholeParams.end() && it->second.coreIndex() == desc->index().coreIndex()) { in addParamDesc()
231 auto it = mParamNames.find(index); in getParamName() local
232 if (it != mParamNames.end()) { in getParamName()
233 return it->second; in getParamName()