Commit 7dabd4bd authored by Raphael Defosseux's avatar Raphael Defosseux

CLANG-FORMAT: format modified files

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent ad52fef5
...@@ -47,8 +47,8 @@ typedef struct Ngap_AssociatedQosFlowItem { ...@@ -47,8 +47,8 @@ typedef struct Ngap_AssociatedQosFlowItem {
} Ngap_AssociatedQosFlowItem_t; } Ngap_AssociatedQosFlowItem_t;
/* Implementation */ /* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_Ngap_qosFlowMappingIndication_3; // /* extern asn_TYPE_descriptor_t asn_DEF_Ngap_qosFlowMappingIndication_3;
* (Use -fall-defs-global to expose) */ * // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_Ngap_AssociatedQosFlowItem; extern asn_TYPE_descriptor_t asn_DEF_Ngap_AssociatedQosFlowItem;
extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_AssociatedQosFlowItem_specs_1; extern asn_SEQUENCE_specifics_t asn_SPC_Ngap_AssociatedQosFlowItem_specs_1;
extern asn_TYPE_member_t asn_MBR_Ngap_AssociatedQosFlowItem_1[3]; extern asn_TYPE_member_t asn_MBR_Ngap_AssociatedQosFlowItem_1[3];
......
...@@ -44,30 +44,27 @@ asn_SET_OF_specifics_t ...@@ -44,30 +44,27 @@ asn_SET_OF_specifics_t
struct Ngap_PDUSessionResourceFailedToSetupListCxtFail, _asn_ctx), struct Ngap_PDUSessionResourceFailedToSetupListCxtFail, _asn_ctx),
0, /* XER encoding is XMLDelimitedItemList */ 0, /* XER encoding is XMLDelimitedItemList */
}; };
asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail = asn_TYPE_descriptor_t asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail = {
{ "PDUSessionResourceFailedToSetupListCxtFail",
"PDUSessionResourceFailedToSetupListCxtFail", "PDUSessionResourceFailedToSetupListCxtFail",
"PDUSessionResourceFailedToSetupListCxtFail", &asn_OP_SEQUENCE_OF,
&asn_OP_SEQUENCE_OF, asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1,
asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1, sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1) /
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1) / sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1
sizeof( [0]), /* 1 */
asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1 asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1, /* Same
[0]), /* 1 */ as
asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1, /* Same above
as */
above sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1) /
*/ sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1
sizeof(asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1) / [0]), /* 1 */
sizeof( {&asn_OER_type_Ngap_PDUSessionResourceFailedToSetupListCxtFail_constr_1,
asn_DEF_Ngap_PDUSessionResourceFailedToSetupListCxtFail_tags_1 &asn_PER_type_Ngap_PDUSessionResourceFailedToSetupListCxtFail_constr_1,
[0]), /* 1 */ SEQUENCE_OF_constraint},
{&asn_OER_type_Ngap_PDUSessionResourceFailedToSetupListCxtFail_constr_1, asn_MBR_Ngap_PDUSessionResourceFailedToSetupListCxtFail_1,
&asn_PER_type_Ngap_PDUSessionResourceFailedToSetupListCxtFail_constr_1, 1, /* Single element */
SEQUENCE_OF_constraint}, &asn_SPC_Ngap_PDUSessionResourceFailedToSetupListCxtFail_specs_1 /* Additional
asn_MBR_Ngap_PDUSessionResourceFailedToSetupListCxtFail_1, specs
1, /* Single element */ */
&asn_SPC_Ngap_PDUSessionResourceFailedToSetupListCxtFail_specs_1 /* Additional
specs
*/
}; };
...@@ -118,7 +118,7 @@ static const asn_ioc_cell_t ...@@ -118,7 +118,7 @@ static const asn_ioc_cell_t
//"&criticality", aioc__value, &asn_DEF_Ngap_Criticality, //"&criticality", aioc__value, &asn_DEF_Ngap_Criticality,
//&asn_VAL_9_Ngap_reject }, { "&Value", aioc__type, //&asn_VAL_9_Ngap_reject }, { "&Value", aioc__type,
//&asn_DEF_Ngap_UPTransportLayerInformation }, { "&presence", //&asn_DEF_Ngap_UPTransportLayerInformation }, { "&presence",
//aioc__value, &asn_DEF_Ngap_Presence, &asn_VAL_9_Ngap_optional }, // aioc__value, &asn_DEF_Ngap_Presence, &asn_VAL_9_Ngap_optional },
{"&id", aioc__value, &asn_DEF_Ngap_ProtocolIE_ID, {"&id", aioc__value, &asn_DEF_Ngap_ProtocolIE_ID,
&asn_VAL_10_Ngap_id_DataForwardingNotPossible}, &asn_VAL_10_Ngap_id_DataForwardingNotPossible},
{"&criticality", aioc__value, &asn_DEF_Ngap_Criticality, {"&criticality", aioc__value, &asn_DEF_Ngap_Criticality,
...@@ -58,8 +58,7 @@ void PlmnId::setMccMnc(const std::string mcc, const std::string mnc) { ...@@ -58,8 +58,7 @@ void PlmnId::setMccMnc(const std::string mcc, const std::string mnc) {
int mncValue = fromString<int>(mnc); int mncValue = fromString<int>(mnc);
mcc_digit1 = mccValue / 100; mcc_digit1 = mccValue / 100;
mcc_digit2 = (mccValue - mcc_digit1 * 100) / mcc_digit2 = (mccValue - mcc_digit1 * 100) / 10;
10;
mcc_digit3 = mccValue % 10; mcc_digit3 = mccValue % 10;
if (mncValue > 99) { if (mncValue > 99) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment