Lines Matching refs:second

109     if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM ||  in generate_cpp_headers_one_file()
110 c.second->GetDefinitionType() == TypeDef::Type::CHECKSUM) { in generate_cpp_headers_one_file()
111 ((CustomFieldDef*)c.second)->GenInclude(out_file); in generate_cpp_headers_one_file()
122 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM || in generate_cpp_headers_one_file()
123 c.second->GetDefinitionType() == TypeDef::Type::CHECKSUM) { in generate_cpp_headers_one_file()
124 ((CustomFieldDef*)c.second)->GenUsing(out_file); in generate_cpp_headers_one_file()
149 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_cpp_headers_one_file()
150 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file()
157 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_cpp_headers_one_file()
158 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_cpp_headers_one_file()
165 if (ch.second->GetDefinitionType() == TypeDef::Type::CHECKSUM) { in generate_cpp_headers_one_file()
166 const auto* checksum_def = static_cast<const ChecksumDef*>(ch.second); in generate_cpp_headers_one_file()
173 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM) { in generate_cpp_headers_one_file()
174 if (c.second->size_ == -1 /* Variable Size */) { in generate_cpp_headers_one_file()
175 const auto* custom_field_def = static_cast<const CustomFieldDef*>(c.second); in generate_cpp_headers_one_file()
178 const auto* custom_field_def = static_cast<const CustomFieldDef*>(c.second); in generate_cpp_headers_one_file()
186 if (s.second->GetDefinitionType() == TypeDef::Type::STRUCT) { in generate_cpp_headers_one_file()
187 const auto* struct_def = static_cast<const StructDef*>(s.second); in generate_cpp_headers_one_file()
200 packet_def.second->GenParserDefinition(out_file); in generate_cpp_headers_one_file()
205 packet_def.second->GenBuilderDefinition(out_file); in generate_cpp_headers_one_file()
214 auto packet = packet_def.second; in generate_cpp_headers_one_file()
222 out_file << "case " << std::get<std::string>(constraint->second) << ":"; in generate_cpp_headers_one_file()
223 op_codes.erase(std::get<std::string>(constraint->second)); in generate_cpp_headers_one_file()
226 op_codes.erase(std::get<std::string>(constraint->second)); in generate_cpp_headers_one_file()
229 op_codes.insert(std::get<std::string>(op_constraint->second)); in generate_cpp_headers_one_file()
295 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM) { in generate_pybind11_sources_one_file()
296 const auto* custom_def = static_cast<const CustomFieldDef*>(c.second); in generate_pybind11_sources_one_file()
307 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM || in generate_pybind11_sources_one_file()
308 c.second->GetDefinitionType() == TypeDef::Type::CHECKSUM) { in generate_pybind11_sources_one_file()
309 const auto* custom_def = static_cast<const CustomFieldDef*>(c.second); in generate_pybind11_sources_one_file()
335 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_pybind11_sources_one_file()
337 } else if (e.second->GetDefinitionType() == TypeDef::Type::STRUCT) { in generate_pybind11_sources_one_file()
346 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_pybind11_sources_one_file()
347 const auto* enum_def = static_cast<const EnumDef*>(e.second); in generate_pybind11_sources_one_file()
357 if (s.second->GetDefinitionType() == TypeDef::Type::STRUCT) { in generate_pybind11_sources_one_file()
358 const auto* struct_def = static_cast<const StructDef*>(s.second); in generate_pybind11_sources_one_file()
368 packet_def.second->GenParserDefinitionPybind11(out_file); in generate_pybind11_sources_one_file()
375 p.second->GenBuilderDefinitionPybind11(out_file); in generate_pybind11_sources_one_file()