Coverage Report

Created: 2026-07-14 06:05

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/open5gs/lib/asn1c/ngap/NGAP_RRCInactiveTransitionReportRequest.c
Line
Count
Source
1
/*
2
 * Generated by asn1c-v1.4-43-gb7926896-2026-05-03 (https://github.com/mouse07410/asn1c)
3
 * From ASN.1 module "NGAP-IEs"
4
 *  found in "../support/ngap-r19.2.0/38413-j20.asn"
5
 *  `asn1c -pdu=all -fprefix=NGAP_ -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-JER -no-gen-CBOR -no-gen-OER -no-gen-UPER`
6
 */
7
8
#include "NGAP_RRCInactiveTransitionReportRequest.h"
9
10
/*
11
 * This type is implemented using NativeEnumerated,
12
 * so here we adjust the DEF accordingly.
13
 */
14
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
15
asn_per_constraints_t asn_PER_type_NGAP_RRCInactiveTransitionReportRequest_constr_1 CC_NOTUSED = {
16
  { APC_CONSTRAINED | APC_EXTENSIBLE,  2,  2,  0,  2 }  /* (0..2,...) */,
17
  { APC_UNCONSTRAINED,  -1, -1,  0,  0 },
18
  0, 0  /* No PER value map */
19
};
20
#endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
21
static const asn_INTEGER_enum_map_t asn_MAP_NGAP_RRCInactiveTransitionReportRequest_value2enum_1[] = {
22
  { 0,  34, "subsequent-state-transition-report" },
23
  { 1,  33, "single-rrc-connected-state-report" },
24
  { 2,  13, "cancel-report" }
25
  /* This list is extensible */
26
};
27
static int asn_validate_NGAP_RRCInactiveTransitionReportRequest_1(const asn_TYPE_descriptor_t *td,
28
                       const void *sptr,
29
                       asn_app_constraint_failed_f *ctfailcb,
30
0
                       void* app_key) {
31
0
    if(! sptr) { return -1; }
32
0
    e_NGAP_RRCInactiveTransitionReportRequest value = *(e_NGAP_RRCInactiveTransitionReportRequest*)sptr;
33
0
    switch(value) {
34
0
    case NGAP_RRCInactiveTransitionReportRequest_subsequent_state_transition_report:
35
0
    case NGAP_RRCInactiveTransitionReportRequest_single_rrc_connected_state_report:
36
0
    case NGAP_RRCInactiveTransitionReportRequest_cancel_report:
37
0
        return 0;
38
0
    }
39
0
    return -1;
40
0
}
41
static const unsigned int asn_MAP_NGAP_RRCInactiveTransitionReportRequest_enum2value_1[] = {
42
  2,  /* cancel-report(2) */
43
  1,  /* single-rrc-connected-state-report(1) */
44
  0 /* subsequent-state-transition-report(0) */
45
  /* This list is extensible */
46
};
47
const asn_INTEGER_specifics_t asn_SPC_NGAP_RRCInactiveTransitionReportRequest_specs_1 = {
48
  asn_MAP_NGAP_RRCInactiveTransitionReportRequest_value2enum_1, /* "tag" => N; sorted by tag */
49
  asn_MAP_NGAP_RRCInactiveTransitionReportRequest_enum2value_1, /* N => "tag"; sorted by N */
50
  3,  /* Number of elements in the maps */
51
  4,  /* Extensions before this member */
52
  1,  /* Strict enumeration */
53
  0,  /* Native long size */
54
  0
55
};
56
static const ber_tlv_tag_t asn_DEF_NGAP_RRCInactiveTransitionReportRequest_tags_1[] = {
57
  (ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
58
};
59
asn_TYPE_descriptor_t asn_DEF_NGAP_RRCInactiveTransitionReportRequest = {
60
  "RRCInactiveTransitionReportRequest",
61
  "RRCInactiveTransitionReportRequest",
62
  &asn_OP_NativeEnumerated,
63
  asn_DEF_NGAP_RRCInactiveTransitionReportRequest_tags_1,
64
  sizeof(asn_DEF_NGAP_RRCInactiveTransitionReportRequest_tags_1)
65
    /sizeof(asn_DEF_NGAP_RRCInactiveTransitionReportRequest_tags_1[0]), /* 1 */
66
  asn_DEF_NGAP_RRCInactiveTransitionReportRequest_tags_1, /* Same as above */
67
  sizeof(asn_DEF_NGAP_RRCInactiveTransitionReportRequest_tags_1)
68
    /sizeof(asn_DEF_NGAP_RRCInactiveTransitionReportRequest_tags_1[0]), /* 1 */
69
  {
70
#if !defined(ASN_DISABLE_OER_SUPPORT)
71
    0,
72
#endif  /* !defined(ASN_DISABLE_OER_SUPPORT) */
73
#if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
74
    &asn_PER_type_NGAP_RRCInactiveTransitionReportRequest_constr_1,
75
#endif  /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
76
#if !defined(ASN_DISABLE_JER_SUPPORT)
77
    0,
78
#endif  /* !defined(ASN_DISABLE_JER_SUPPORT) */
79
    asn_validate_NGAP_RRCInactiveTransitionReportRequest_1
80
  },
81
  0, 0, /* Defined elsewhere */
82
  &asn_SPC_NGAP_RRCInactiveTransitionReportRequest_specs_1  /* Additional specs */
83
};
84