Lines Matching refs:new

152       $$ = new EnumDef(std::move(*$2), $4);
164 $$ = new std::map<int, std::string>();
181 $$ = new std::pair($3, std::move(*$1));
196 decls->AddTypeDef(*$2, new ChecksumDef(*$2, *$5, $4));
204 decls->AddTypeDef(*$2, new CustomFieldDef(*$2, *$5, $4));
210 decls->AddTypeDef(*$2, new CustomFieldDef(*$2, *$3));
223 … auto struct_definition = new StructDef(std::move(struct_name), std::move(field_definition_list));
248 …auto struct_definition = new StructDef(std::move(struct_name), std::move(field_definition_list), (…
273 …auto struct_definition = new StructDef(std::move(struct_name), std::move(field_definition_list), (…
299 … auto packet_definition = new PacketDef(std::move(packet_name), std::move(field_definition_list));
321 …auto packet_definition = new PacketDef(std::move(packet_name), std::move(field_definition_list), p…
346 …auto packet_definition = new PacketDef(std::move(packet_name), std::move(field_definition_list), p…
368 $$ = new FieldList();
373 $$ = new FieldList();
471 expanded_fields = new std::list<PacketField*>(group->begin(), group->end());
472 $$ = new GroupField(LOC, expanded_fields);
483 std::list<PacketField*>* expanded_fields = new std::list<PacketField*>();
489 …expanded_fields->push_back(new FixedScalarField(field->GetSize().bits(), std::get<int64_t>(constra…
502 …expanded_fields->push_back(new FixedEnumField(enum_def, std::get<std::string>(constraint->second),…
515 $$ = new GroupField(LOC, expanded_fields);
531 $$ = new std::map<std::string, std::variant<int64_t, std::string>>();
541 $$ = new std::pair(*$1, std::variant<int64_t,std::string>($3));
548 $$ = new std::pair(*$1, std::variant<int64_t,std::string>(*$3));
570 $$ = new ScalarField(*$1, $3, LOC);
578 $$ = new BodyField(LOC);
585 $$ = new PayloadField(*$4, LOC);
591 $$ = new PayloadField("", LOC);
598 $$ = new ChecksumStartField(*$3, LOC);
606 $$ = new PaddingField($3, LOC);
613 $$ = new SizeField(*$3, $6, LOC);
619 $$ = new SizeField("payload", $6, LOC);
624 $$ = new SizeField("body", $6, LOC);
629 $$ = new CountField(*$3, $6, LOC);
637 $$ = new FixedScalarField($5, $3, LOC);
649 $$ = new FixedEnumField(enum_def, *$3, LOC);
662 $$ = new ReservedField($3, LOC);
669 $$ = new VectorField(*$1, $3, "", LOC);
676 $$ = new VectorField(*$1, $3, *$5, LOC);
684 $$ = new ArrayField(*$1, $3, $5, LOC);
691 $$ = new VectorField(*$1, type_def, "", LOC);
703 $$ = new VectorField(*$1, type_def, *$5, LOC);
716 $$ = new ArrayField(*$1, type_def, $5, LOC);