Searched refs:enum_field_ir (Results 1 – 4 of 4) sorted by relevance
357 const EnumFieldIR *enum_field_ir) { in SetIRToProtobufEnumField() argument361 enum_field_protobuf->set_name(enum_field_ir->GetName()); in SetIRToProtobufEnumField()362 enum_field_protobuf->set_enum_field_value(enum_field_ir->GetValue()); in SetIRToProtobufEnumField()
183 EnumFieldIR enum_field_ir(field.name(), field.enum_field_value()); in EnumFieldsProtobufToIR() local184 enum_type_fields_ir.emplace_back(std::move(enum_field_ir)); in EnumFieldsProtobufToIR()
208 static JsonObject ConvertEnumFieldIR(const EnumFieldIR *enum_field_ir) { in ConvertEnumFieldIR() argument210 enum_field.Set("name", enum_field_ir->GetName()); in ConvertEnumFieldIR()212 enum_field["enum_field_value"] = Json::Int64(enum_field_ir->GetValue()); in ConvertEnumFieldIR()
255 EnumFieldIR enum_field_ir(field.GetString("name"), in ReadEnumFields() local257 enum_ir->AddEnumField(std::move(enum_field_ir)); in ReadEnumFields()