Lines Matching full:second
40 return const_cast<ark::pandasm::Function *>(&it->second); in GetFunction()
50 return &it->second; in GetRecord()
81 auto scalarValue = found->second.fieldList[i].metadata->GetValue(); in CheckAnnoDecl()
83 …CompareActualWithExpected(expectedAnnotations[i].second, &*scalarValue, found->second.fieldList[i]… in CheckAnnoDecl()
98 for (const auto &value : literalArray.second) { in CheckLiteralArrayTable()
100 … ASSERT_EQ(value, found->second.literals[i].value) << "Value mismatch for " + literalArray.first; in CheckLiteralArrayTable()
113 … CompareActualWithExpected(it->second, element.GetValue()->GetAsScalar(), element.GetName()); in CheckAnnotation()
127 auto annotations = found->second.metadata->GetAnnotations(); in CheckRecordAnnotations()
136 CheckAnnotation(expected.second, *it); in CheckRecordAnnotations()
148 auto annotations = found->second.metadata->GetAnnotations(); in CheckModuleAnnotation()
182 ASSERT_EQ(found->second.metadata->GetAnnotations().size(), 1); in CheckRecordWithoutAnnotations()
184 ASSERT(found->second.metadata->GetAnnotations().empty()); in CheckRecordWithoutAnnotations()
196 auto annotations = found->second.metadata->GetAnnotations(); in CheckFunctionAnnotations()
205 CheckAnnotation(expected.second, *it); in CheckFunctionAnnotations()
215 ASSERT(found->second.metadata->GetAnnotations().empty()); in CheckFunctionWithoutAnnotations()
225 ASSERT_LT(paramIndex, found->second.params.size()); in CheckFunctionParameterAnnotations()
228 … auto annotations = found->second.params.at(paramIndex).GetOrCreateMetadata().GetAnnotations(); in CheckFunctionParameterAnnotations()
238 CheckAnnotation(expected.second, *it); in CheckFunctionParameterAnnotations()
248 ASSERT_LT(paramIndex, found->second.params.size()); in CheckFunctionParameterWithoutAnnotations()
249 ASSERT(found->second.params.at(paramIndex).GetOrCreateMetadata().GetAnnotations().empty()); in CheckFunctionParameterWithoutAnnotations()
258 auto &filedList = found->second.fieldList; in CheckClassFieldAnnotations()
272 CheckAnnotation(expected.second, *it); in CheckClassFieldAnnotations()
282 auto &filedList = found->second.fieldList; in CheckClassFieldWithoutAnnotations()