Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
a7591b5c
Commit
a7591b5c
authored
Oct 12, 2014
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regenerated tests based on Wim L patch
parent
78d604fe
Changes
52
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
52 changed files
with
561 additions
and
560 deletions
+561
-560
ChangeLog
ChangeLog
+1
-0
skeletons/PrintableString.c
skeletons/PrintableString.c
+1
-1
tests/03-enum-OK.asn1.-Pfwide-types
tests/03-enum-OK.asn1.-Pfwide-types
+20
-20
tests/104-param-1-OK.asn1.-Pfwide-types
tests/104-param-1-OK.asn1.-Pfwide-types
+4
-4
tests/105-param-2-OK.asn1.-Pfwide-types
tests/105-param-2-OK.asn1.-Pfwide-types
+9
-9
tests/106-param-constr-OK.asn1.-P
tests/106-param-constr-OK.asn1.-P
+3
-3
tests/108-param-constr-3-OK.asn1.-Pfwide-types
tests/108-param-constr-3-OK.asn1.-Pfwide-types
+2
-2
tests/110-param-3-OK.asn1.-Pfwide-types
tests/110-param-3-OK.asn1.-Pfwide-types
+10
-10
tests/119-per-strings-OK.asn1.-Pgen-PER
tests/119-per-strings-OK.asn1.-Pgen-PER
+24
-24
tests/125-bitstring-constraint-OK.asn1.-P
tests/125-bitstring-constraint-OK.asn1.-P
+1
-1
tests/126-per-extensions-OK.asn1.-Pgen-PER
tests/126-per-extensions-OK.asn1.-Pgen-PER
+8
-8
tests/127-per-long-OK.asn1.-Pgen-PER
tests/127-per-long-OK.asn1.-Pgen-PER
+6
-6
tests/131-per-empty-OK.asn1.-Pgen-PER
tests/131-per-empty-OK.asn1.-Pgen-PER
+1
-1
tests/134-per-long-OK.asn1.-Pgen-PER
tests/134-per-long-OK.asn1.-Pgen-PER
+2
-2
tests/19-param-OK.asn1.-Pfwide-types
tests/19-param-OK.asn1.-Pfwide-types
+9
-9
tests/22-tags-OK.asn1.-Pfwide-types
tests/22-tags-OK.asn1.-Pfwide-types
+3
-3
tests/30-set-OK.asn1.-Pfwide-types
tests/30-set-OK.asn1.-Pfwide-types
+3
-3
tests/31-set-of-OK.asn1.-Pfwide-types
tests/31-set-of-OK.asn1.-Pfwide-types
+12
-12
tests/32-sequence-of-OK.asn1.-P
tests/32-sequence-of-OK.asn1.-P
+9
-9
tests/37-indirect-choice-OK.asn1.-Pfwide-types
tests/37-indirect-choice-OK.asn1.-Pfwide-types
+7
-7
tests/39-sequence-of-OK.asn1.-Pfwide-types
tests/39-sequence-of-OK.asn1.-Pfwide-types
+5
-5
tests/42-real-life-OK.asn1.-PR
tests/42-real-life-OK.asn1.-PR
+19
-19
tests/43-recursion-OK.asn1.-Pfwide-types
tests/43-recursion-OK.asn1.-Pfwide-types
+12
-12
tests/44-choice-in-sequence-OK.asn1.-P
tests/44-choice-in-sequence-OK.asn1.-P
+5
-5
tests/46-redefine-OK.asn1.-PR
tests/46-redefine-OK.asn1.-PR
+4
-4
tests/47-set-ext-OK.asn1.-Pfwide-types
tests/47-set-ext-OK.asn1.-Pfwide-types
+8
-8
tests/50-constraint-OK.asn1.-Pfwide-types
tests/50-constraint-OK.asn1.-Pfwide-types
+47
-47
tests/50-constraint-OK.asn1.-Pgen-PER
tests/50-constraint-OK.asn1.-Pgen-PER
+51
-51
tests/59-choice-extended-OK.asn1.-Pfwide-types
tests/59-choice-extended-OK.asn1.-Pfwide-types
+2
-2
tests/60-any-OK.asn1.-Pfwide-types
tests/60-any-OK.asn1.-Pfwide-types
+5
-5
tests/65-multi-tag-OK.asn1.-Pfnative-types
tests/65-multi-tag-OK.asn1.-Pfnative-types
+12
-12
tests/65-multi-tag-OK.asn1.-Pfwide-types
tests/65-multi-tag-OK.asn1.-Pfwide-types
+12
-12
tests/66-ref-simple-OK.asn1.-Pfwide-types
tests/66-ref-simple-OK.asn1.-Pfwide-types
+5
-5
tests/69-reserved-words-OK.asn1.-Pfwide-types
tests/69-reserved-words-OK.asn1.-Pfwide-types
+4
-4
tests/70-xer-test-OK.asn1.-Pfwide-types
tests/70-xer-test-OK.asn1.-Pfwide-types
+36
-36
tests/72-same-names-OK.asn1.-Pfwide-types
tests/72-same-names-OK.asn1.-Pfwide-types
+18
-18
tests/73-circular-OK.asn1.-Pfwide-types
tests/73-circular-OK.asn1.-Pfwide-types
+15
-15
tests/84-param-tags-OK.asn1.-Pfwide-types
tests/84-param-tags-OK.asn1.-Pfwide-types
+10
-10
tests/88-integer-enum-OK.asn1.-Pfwide-types
tests/88-integer-enum-OK.asn1.-Pfwide-types
+1
-1
tests/89-bit-string-enum-OK.asn1.-Pfcompound-names
tests/89-bit-string-enum-OK.asn1.-Pfcompound-names
+1
-1
tests/89-bit-string-enum-OK.asn1.-Pfwide-types
tests/89-bit-string-enum-OK.asn1.-Pfwide-types
+1
-1
tests/90-cond-int-type-OK.asn1.-P
tests/90-cond-int-type-OK.asn1.-P
+22
-22
tests/90-cond-int-type-OK.asn1.-Pfwide-types
tests/90-cond-int-type-OK.asn1.-Pfwide-types
+22
-22
tests/90-cond-int-type-OK.asn1.-Pgen-PER
tests/90-cond-int-type-OK.asn1.-Pgen-PER
+22
-22
tests/91-cond-int-blessSize-OK.asn1.-Pfbless-SIZE
tests/91-cond-int-blessSize-OK.asn1.-Pfbless-SIZE
+5
-5
tests/92-circular-loops-OK.asn1.-Pfindirect-choice
tests/92-circular-loops-OK.asn1.-Pfindirect-choice
+31
-31
tests/92-circular-loops-OK.asn1.-Pfwide-types
tests/92-circular-loops-OK.asn1.-Pfwide-types
+31
-31
tests/93-asn1c-controls-OK.asn1.-Pfwide-types
tests/93-asn1c-controls-OK.asn1.-Pfwide-types
+7
-7
tests/94-set-optionals-OK.asn1.-P
tests/94-set-optionals-OK.asn1.-P
+3
-3
tests/95-choice-per-order-OK.asn1.-Pfwide-types
tests/95-choice-per-order-OK.asn1.-Pfwide-types
+3
-3
tests/95-choice-per-order-OK.asn1.-Pgen-PER
tests/95-choice-per-order-OK.asn1.-Pgen-PER
+5
-5
tests/98-attribute-class-OK.asn1.-P
tests/98-attribute-class-OK.asn1.-P
+2
-2
No files found.
ChangeLog
View file @
a7591b5c
0.9.??:
* Merged constness patch by Wim L <wiml@omnigroup.com> (41bbf1c..78d604f).
0.9.27: 2014-Sep-17
* Build structure fixes for portability.
...
...
skeletons/PrintableString.c
View file @
a7591b5c
...
...
@@ -19,7 +19,7 @@ static const int _PrintableString_alphabet[256] = {
0
,
49
,
50
,
51
,
52
,
53
,
54
,
55
,
56
,
57
,
58
,
59
,
60
,
61
,
62
,
63
,
/* abcdefghijklmno */
64
,
65
,
66
,
67
,
68
,
69
,
70
,
71
,
72
,
73
,
74
,
0
,
0
,
0
,
0
,
0
,
/* pqrstuvwxyz */
};
static
const
int
_PrintableString_code2value
[
74
]
=
{
static
const
int
_PrintableString_code2value
[
74
]
=
{
32
,
39
,
40
,
41
,
43
,
44
,
45
,
46
,
47
,
48
,
49
,
50
,
51
,
52
,
53
,
54
,
55
,
56
,
57
,
58
,
61
,
63
,
65
,
66
,
67
,
68
,
69
,
70
,
71
,
72
,
73
,
74
,
75
,
76
,
77
,
78
,
79
,
80
,
81
,
82
,
83
,
84
,
85
,
86
,
87
,
88
,
89
,
90
,
...
...
tests/03-enum-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -109,21 +109,21 @@ Enum1_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [Enum1] >>> ***/
static asn_INTEGER_enum_map_t asn_MAP_Enum1_value2enum_1[] = {
static
const
asn_INTEGER_enum_map_t asn_MAP_Enum1_value2enum_1[] = {
{ 0, 3, "red" },
{ 1, 5, "green" },
{ 4, 4, "blue" },
{ 5, 5, "alpha" }
/* This list is extensible */
};
static unsigned int asn_MAP_Enum1_enum2value_1[] = {
static
const
unsigned int asn_MAP_Enum1_enum2value_1[] = {
3, /* alpha(5) */
2, /* blue(4) */
1, /* green(1) */
0 /* red(0) */
/* This list is extensible */
};
static asn_INTEGER_specifics_t asn_SPC_Enum1_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_Enum1_specs_1 = {
asn_MAP_Enum1_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Enum1_enum2value_1, /* N => "tag"; sorted by N */
4, /* Number of elements in the maps */
...
...
@@ -132,7 +132,7 @@ static asn_INTEGER_specifics_t asn_SPC_Enum1_specs_1 = {
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_Enum1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Enum1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Enum1 = {
...
...
@@ -272,7 +272,7 @@ Enum2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [Enum2] >>> ***/
static asn_INTEGER_enum_map_t asn_MAP_Enum2_value2enum_1[] = {
static
const
asn_INTEGER_enum_map_t asn_MAP_Enum2_value2enum_1[] = {
{ 0, 3, "red" },
{ 1, 5, "green" },
{ 12, 4, "beta" },
...
...
@@ -282,7 +282,7 @@ static asn_INTEGER_enum_map_t asn_MAP_Enum2_value2enum_1[] = {
{ 103, 5, "gamma" }
/* This list is extensible */
};
static unsigned int asn_MAP_Enum2_enum2value_1[] = {
static
const
unsigned int asn_MAP_Enum2_enum2value_1[] = {
5, /* alpha(46) */
2, /* beta(12) */
4, /* blue(45) */
...
...
@@ -292,7 +292,7 @@ static unsigned int asn_MAP_Enum2_enum2value_1[] = {
0 /* red(0) */
/* This list is extensible */
};
static asn_INTEGER_specifics_t asn_SPC_Enum2_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_Enum2_specs_1 = {
asn_MAP_Enum2_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Enum2_enum2value_1, /* N => "tag"; sorted by N */
7, /* Number of elements in the maps */
...
...
@@ -301,7 +301,7 @@ static asn_INTEGER_specifics_t asn_SPC_Enum2_specs_1 = {
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_Enum2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Enum2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Enum2 = {
...
...
@@ -437,19 +437,19 @@ Enum3_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [Enum3] >>> ***/
static asn_INTEGER_enum_map_t asn_MAP_Enum3_value2enum_1[] = {
static
const
asn_INTEGER_enum_map_t asn_MAP_Enum3_value2enum_1[] = {
{ 0, 1, "a" },
{ 1, 1, "c" },
{ 3, 1, "b" }
/* This list is extensible */
};
static unsigned int asn_MAP_Enum3_enum2value_1[] = {
static
const
unsigned int asn_MAP_Enum3_enum2value_1[] = {
0, /* a(0) */
2, /* b(3) */
1 /* c(1) */
/* This list is extensible */
};
static asn_INTEGER_specifics_t asn_SPC_Enum3_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_Enum3_specs_1 = {
asn_MAP_Enum3_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Enum3_enum2value_1, /* N => "tag"; sorted by N */
3, /* Number of elements in the maps */
...
...
@@ -458,7 +458,7 @@ static asn_INTEGER_specifics_t asn_SPC_Enum3_specs_1 = {
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_Enum3_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Enum3_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Enum3 = {
...
...
@@ -595,21 +595,21 @@ Enum4_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [Enum4] >>> ***/
static asn_INTEGER_enum_map_t asn_MAP_Enum4_value2enum_1[] = {
static
const
asn_INTEGER_enum_map_t asn_MAP_Enum4_value2enum_1[] = {
{ 0, 1, "a" },
{ 1, 1, "b" },
{ 3, 1, "c" },
{ 4, 1, "d" }
/* This list is extensible */
};
static unsigned int asn_MAP_Enum4_enum2value_1[] = {
static
const
unsigned int asn_MAP_Enum4_enum2value_1[] = {
0, /* a(0) */
1, /* b(1) */
2, /* c(3) */
3 /* d(4) */
/* This list is extensible */
};
static asn_INTEGER_specifics_t asn_SPC_Enum4_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_Enum4_specs_1 = {
asn_MAP_Enum4_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Enum4_enum2value_1, /* N => "tag"; sorted by N */
4, /* Number of elements in the maps */
...
...
@@ -618,7 +618,7 @@ static asn_INTEGER_specifics_t asn_SPC_Enum4_specs_1 = {
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_Enum4_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Enum4_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Enum4 = {
...
...
@@ -754,19 +754,19 @@ Enum5_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [Enum5] >>> ***/
static asn_INTEGER_enum_map_t asn_MAP_Enum5_value2enum_1[] = {
static
const
asn_INTEGER_enum_map_t asn_MAP_Enum5_value2enum_1[] = {
{ 0, 1, "a" },
{ 25, 1, "z" },
{ 26, 1, "d" }
/* This list is extensible */
};
static unsigned int asn_MAP_Enum5_enum2value_1[] = {
static
const
unsigned int asn_MAP_Enum5_enum2value_1[] = {
0, /* a(0) */
2, /* d(26) */
1 /* z(25) */
/* This list is extensible */
};
static asn_INTEGER_specifics_t asn_SPC_Enum5_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_Enum5_specs_1 = {
asn_MAP_Enum5_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_Enum5_enum2value_1, /* N => "tag"; sorted by N */
3, /* Number of elements in the maps */
...
...
@@ -775,7 +775,7 @@ static asn_INTEGER_specifics_t asn_SPC_Enum5_specs_1 = {
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_Enum5_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Enum5_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Enum5 = {
...
...
tests/104-param-1-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -39,7 +39,7 @@ static asn_TYPE_member_t asn_MBR_Collection_16P0_1[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Collection_16P0_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Collection_16P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_Collection_16P0_specs_1 = {
...
...
@@ -82,7 +82,7 @@ static asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_Collection_16P1_tags_3[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_Collection_16P1_specs_3 = {
...
...
@@ -156,10 +156,10 @@ static asn_TYPE_member_t asn_MBR_Bunch_1[] = {
.name = "field-IA5String"
},
};
static ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Bunch_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Bunch_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* field-REAL */
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, -1, 0 } /* field-IA5String */
};
...
...
tests/105-param-2-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -58,10 +58,10 @@ static asn_TYPE_member_t asn_MBR_SIGNED_16P0_1[] = {
.name = "signed"
},
};
static ber_tlv_tag_t asn_DEF_SIGNED_16P0_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_SIGNED_16P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_SIGNED_16P0_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_SIGNED_16P0_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 0, 0, 0 } /* signed */
};
static asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P0_specs_1 = {
...
...
@@ -108,13 +108,13 @@ static asn_TYPE_member_t asn_MBR_signed_4[] = {
.name = "a"
},
};
static ber_tlv_tag_t asn_DEF_signed_tags_4[] = {
static
const
ber_tlv_tag_t asn_DEF_signed_tags_4[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_signed_tag2el_4[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_signed_tag2el_4[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* a */
};
static uint8_t asn_MAP_signed_mmap_4[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_signed_mmap_4[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7)
};
static asn_SET_specifics_t asn_SPC_signed_specs_4 = {
...
...
@@ -164,10 +164,10 @@ static asn_TYPE_member_t asn_MBR_SIGNED_16P1_3[] = {
.name = "signed"
},
};
static ber_tlv_tag_t asn_DEF_SIGNED_16P1_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_SIGNED_16P1_tags_3[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_SIGNED_16P1_tag2el_3[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_SIGNED_16P1_tag2el_3[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* signed */
};
static asn_SEQUENCE_specifics_t asn_SPC_SIGNED_16P1_specs_3 = {
...
...
@@ -302,7 +302,7 @@ SignedREAL_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [SignedREAL] >>> ***/
static ber_tlv_tag_t asn_DEF_SignedREAL_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_SignedREAL_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_TYPE_descriptor_t asn_DEF_SignedREAL = {
...
...
@@ -427,7 +427,7 @@ SignedSET_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [SignedSET] >>> ***/
static ber_tlv_tag_t asn_DEF_SignedSET_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_SignedSET_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_TYPE_descriptor_t asn_DEF_SignedSET = {
...
...
tests/106-param-constr-OK.asn1.-P
View file @
a7591b5c
...
...
@@ -146,10 +146,10 @@ static asn_TYPE_member_t asn_MBR_Narrow_15P0_1[] = {
.name = "narrow3"
},
};
static ber_tlv_tag_t asn_DEF_Narrow_15P0_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Narrow_15P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Narrow_15P0_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Narrow_15P0_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* narrow1 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 }, /* narrow2 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 } /* narrow3 */
...
...
@@ -286,7 +286,7 @@ NarrowInteger_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NarrowInteger] >>> ***/
static ber_tlv_tag_t asn_DEF_NarrowInteger_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NarrowInteger_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NarrowInteger = {
...
...
tests/108-param-constr-3-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -120,7 +120,7 @@ MinMax_16P0_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [MinMax] >>> ***/
static ber_tlv_tag_t asn_DEF_MinMax_16P0_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_MinMax_16P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_MinMax_16P0 = {
...
...
@@ -268,7 +268,7 @@ ThreePlus_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [ThreePlus] >>> ***/
static ber_tlv_tag_t asn_DEF_ThreePlus_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_ThreePlus_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_ThreePlus = {
...
...
tests/110-param-3-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -149,10 +149,10 @@ static asn_TYPE_member_t asn_MBR_Flag_16P0_1[] = {
.name = "field"
},
};
static ber_tlv_tag_t asn_DEF_Flag_16P0_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Flag_16P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Flag_16P0_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Flag_16P0_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* field */
};
static asn_SEQUENCE_specifics_t asn_SPC_Flag_16P0_specs_1 = {
...
...
@@ -208,17 +208,17 @@ static int asn_DFL_7_set_5(int set_value, void **sptr) {
return (value == 5);
}
}
static asn_INTEGER_enum_map_t asn_MAP_field_value2enum_7[] = {
static
const
asn_INTEGER_enum_map_t asn_MAP_field_value2enum_7[] = {
{ 3, 3, "red" },
{ 4, 5, "green" },
{ 5, 4, "blue" }
};
static unsigned int asn_MAP_field_enum2value_7[] = {
static
const
unsigned int asn_MAP_field_enum2value_7[] = {
2, /* blue(5) */
1, /* green(4) */
0 /* red(3) */
};
static asn_INTEGER_specifics_t asn_SPC_field_specs_7 = {
static
const
asn_INTEGER_specifics_t asn_SPC_field_specs_7 = {
asn_MAP_field_value2enum_7, /* "tag" => N; sorted by tag */
asn_MAP_field_enum2value_7, /* N => "tag"; sorted by N */
3, /* Number of elements in the maps */
...
...
@@ -227,7 +227,7 @@ static asn_INTEGER_specifics_t asn_SPC_field_specs_7 = {
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_field_tags_7[] = {
static
const
ber_tlv_tag_t asn_DEF_field_tags_7[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
...
...
@@ -265,10 +265,10 @@ static asn_TYPE_member_t asn_MBR_Flag_16P1_6[] = {
.name = "field"
},
};
static ber_tlv_tag_t asn_DEF_Flag_16P1_tags_6[] = {
static
const
ber_tlv_tag_t asn_DEF_Flag_16P1_tags_6[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Flag_16P1_tag2el_6[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Flag_16P1_tag2el_6[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 } /* field */
};
static asn_SEQUENCE_specifics_t asn_SPC_Flag_16P1_specs_6 = {
...
...
@@ -403,7 +403,7 @@ IntegerColorFlag_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [IntegerColorFlag] >>> ***/
static ber_tlv_tag_t asn_DEF_IntegerColorFlag_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_IntegerColorFlag_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_TYPE_descriptor_t asn_DEF_IntegerColorFlag = {
...
...
@@ -528,7 +528,7 @@ EnumeratedColorFlag_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [EnumeratedColorFlag] >>> ***/
static ber_tlv_tag_t asn_DEF_EnumeratedColorFlag_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_EnumeratedColorFlag_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_TYPE_descriptor_t asn_DEF_EnumeratedColorFlag = {
...
...
tests/119-per-strings-OK.asn1.-Pgen-PER
View file @
a7591b5c
...
...
@@ -98,7 +98,7 @@ static int check_permitted_alphabet_6(const void *sptr) {
return 0;
}
static int permitted_alphabet_table_7[256] = {
static
const
int permitted_alphabet_table_7[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
...
...
@@ -106,12 +106,12 @@ static int permitted_alphabet_table_7[256] = {
0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* AB */
0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 5, 0, 0, 0, 0, 0, /* XYZ */
};
static int permitted_alphabet_code2value_7[5] = {
static
const
int permitted_alphabet_code2value_7[5] = {
65,66,88,89,90,};
static int check_permitted_alphabet_7(const void *sptr) {
int *table = permitted_alphabet_table_7;
const
int *table = permitted_alphabet_table_7;
/* The underlying type is IA5String */
const IA5String_t *st = (const IA5String_t *)sptr;
const uint8_t *ch = st->buf;
...
...
@@ -150,7 +150,7 @@ static int check_permitted_alphabet_10(const void *sptr) {
return 0;
}
static int permitted_alphabet_table_11[256] = {
static
const
int permitted_alphabet_table_11[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
...
...
@@ -158,12 +158,12 @@ static int permitted_alphabet_table_11[256] = {
0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* AB */
0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 5, 0, 0, 0, 0, 0, /* XYZ */
};
static int permitted_alphabet_code2value_11[5] = {
static
const
int permitted_alphabet_code2value_11[5] = {
65,66,88,89,90,};
static int check_permitted_alphabet_11(const void *sptr) {
int *table = permitted_alphabet_table_11;
const
int *table = permitted_alphabet_table_11;
/* The underlying type is VisibleString */
const VisibleString_t *st = (const VisibleString_t *)sptr;
const uint8_t *ch = st->buf;
...
...
@@ -189,7 +189,7 @@ static int check_permitted_alphabet_13(const void *sptr) {
return 0;
}
static int permitted_alphabet_table_14[256] = {
static
const
int permitted_alphabet_table_14[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
...
...
@@ -197,12 +197,12 @@ static int permitted_alphabet_table_14[256] = {
0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* AB */
0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 5, 0, 0, 0, 0, 0, /* XYZ */
};
static int permitted_alphabet_code2value_14[5] = {
static
const
int permitted_alphabet_code2value_14[5] = {
65,66,88,89,90,};
static int check_permitted_alphabet_14(const void *sptr) {
int *table = permitted_alphabet_table_14;
const
int *table = permitted_alphabet_table_14;
/* The underlying type is PrintableString */
const PrintableString_t *st = (const PrintableString_t *)sptr;
const uint8_t *ch = st->buf;
...
...
@@ -241,18 +241,18 @@ static int check_permitted_alphabet_17(const void *sptr) {
return 0;
}
static int permitted_alphabet_table_18[256] = {
static
const
int permitted_alphabet_table_18[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 1, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, /* 1 9 */
};
static int permitted_alphabet_code2value_18[2] = {
static
const
int permitted_alphabet_code2value_18[2] = {
49,57,};
static int check_permitted_alphabet_18(const void *sptr) {
int *table = permitted_alphabet_table_18;
const
int *table = permitted_alphabet_table_18;
/* The underlying type is NumericString */
const NumericString_t *st = (const NumericString_t *)sptr;
const uint8_t *ch = st->buf;
...
...
@@ -265,7 +265,7 @@ static int check_permitted_alphabet_18(const void *sptr) {
return 0;
}
static int permitted_alphabet_table_21[128] = {
static
const
int permitted_alphabet_table_21[128] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
...
...
@@ -275,7 +275,7 @@ static int permitted_alphabet_table_21[128] = {
};
static int check_permitted_alphabet_21(const void *sptr) {
int *table = permitted_alphabet_table_21;
const
int *table = permitted_alphabet_table_21;
/* The underlying type is UTF8String */
const UTF8String_t *st = (const UTF8String_t *)sptr;
const uint8_t *ch = st->buf;
...
...
@@ -334,7 +334,7 @@ static int check_permitted_alphabet_25(const void *sptr) {
return 0;
}
static int permitted_alphabet_table_26[256] = {
static
const
int permitted_alphabet_table_26[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
...
...
@@ -342,12 +342,12 @@ static int permitted_alphabet_table_26[256] = {
0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* AB */
0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 5, 0, 0, 0, 0, 0, /* XYZ */
};
static int permitted_alphabet_code2value_26[5] = {
static
const
int permitted_alphabet_code2value_26[5] = {
65,66,88,89,90,};
static int check_permitted_alphabet_26(const void *sptr) {
int *table = permitted_alphabet_table_26;
const
int *table = permitted_alphabet_table_26;
/* The underlying type is BMPString */
const BMPString_t *st = (const BMPString_t *)sptr;
const uint8_t *ch = st->buf;
...
...
@@ -414,7 +414,7 @@ static int check_permitted_alphabet_30(const void *sptr) {
return 0;
}
static int permitted_alphabet_table_31[256] = {
static
const
int permitted_alphabet_table_31[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
...
...
@@ -422,12 +422,12 @@ static int permitted_alphabet_table_31[256] = {
0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* AB */
0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 5, 0, 0, 0, 0, 0, /* XYZ */
};
static int permitted_alphabet_code2value_31[5] = {
static
const
int permitted_alphabet_code2value_31[5] = {
65,66,88,89,90,};
static int check_permitted_alphabet_31(const void *sptr) {
int *table = permitted_alphabet_table_31;
const
int *table = permitted_alphabet_table_31;
/* The underlying type is UniversalString */
const UniversalString_t *st = (const UniversalString_t *)sptr;
const uint8_t *ch = st->buf;
...
...
@@ -1192,7 +1192,7 @@ static asn_TYPE_member_t asn_MBR_many_2[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_many_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_many_tags_2[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
...
...
@@ -1508,11 +1508,11 @@ static asn_TYPE_member_t asn_MBR_PDU_1[] = {
.name = "oid"
},
};
static int asn_MAP_PDU_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 };
static ber_tlv_tag_t asn_DEF_PDU_tags_1[] = {
static
const
int asn_MAP_PDU_oms_1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 };
static
const
ber_tlv_tag_t asn_DEF_PDU_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_PDU_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_PDU_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* many */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ia5 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ia5-c */
...
...
tests/125-bitstring-constraint-OK.asn1.-P
View file @
a7591b5c
...
...
@@ -119,7 +119,7 @@ T_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T] >>> ***/
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (3 << 2))
};
asn_TYPE_descriptor_t asn_DEF_T = {
...
...
tests/126-per-extensions-OK.asn1.-Pgen-PER
View file @
a7591b5c
...
...
@@ -74,11 +74,11 @@ static asn_TYPE_member_t asn_MBR_PDU_1[] = {
.name = "pdu-2"
},
};
static int asn_MAP_PDU_oms_1[] = { 0, 1, 2, 3 };
static ber_tlv_tag_t asn_DEF_PDU_tags_1[] = {
static
const
int asn_MAP_PDU_oms_1[] = { 0, 1, 2, 3 };
static
const
ber_tlv_tag_t asn_DEF_PDU_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_PDU_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_PDU_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* str-o */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* str-m */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* singl */
...
...
@@ -177,11 +177,11 @@ static asn_TYPE_member_t asn_MBR_Singleton_1[] = {
.name = "opt-z"
},
};
static int asn_MAP_Singleton_oms_1[] = { 0 };
static ber_tlv_tag_t asn_DEF_Singleton_tags_1[] = {
static
const
int asn_MAP_Singleton_oms_1[] = { 0 };
static
const
ber_tlv_tag_t asn_DEF_Singleton_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Singleton_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Singleton_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* opt-z */
};
static asn_SEQUENCE_specifics_t asn_SPC_Singleton_specs_1 = {
...
...
@@ -296,8 +296,8 @@ static asn_TYPE_member_t asn_MBR_PDU_2_1[] = {
.name = "ext0"
},
};
static int asn_MAP_PDU_2_cmap_1[] = { 0, 2, 1 };
static asn_TYPE_tag2member_t asn_MAP_PDU_2_tag2el_1[] = {
static
const
int asn_MAP_PDU_2_cmap_1[] = { 0, 2, 1 };
static
const
asn_TYPE_tag2member_t asn_MAP_PDU_2_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* ext0 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ext1 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 0, 0, 0 } /* main */
...
...
tests/127-per-long-OK.asn1.-Pgen-PER
View file @
a7591b5c
...
...
@@ -354,12 +354,12 @@ static asn_per_constraints_t asn_PER_memb_unsplit32_constr_5 GCC_NOTUSED = {
/*** <<< STAT-DEFS [T] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_unsigned32_specs_4 = {
static
const
asn_INTEGER_specifics_t asn_SPC_unsigned32_specs_4 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_unsigned32_tags_4[] = {
static
const
ber_tlv_tag_t asn_DEF_unsigned32_tags_4[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
...
...
@@ -388,12 +388,12 @@ asn_TYPE_descriptor_t asn_DEF_unsigned32_4 = {
&asn_SPC_unsigned32_specs_4 /* Additional specs */
};
static asn_INTEGER_specifics_t asn_SPC_unsplit32_specs_5 = {
static
const
asn_INTEGER_specifics_t asn_SPC_unsplit32_specs_5 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_unsplit32_tags_5[] = {
static
const
ber_tlv_tag_t asn_DEF_unsplit32_tags_5[] = {
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
...
...
@@ -460,10 +460,10 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.name = "unsplit32"
},
};
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* small32range */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* full32range */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* unsigned32 */
...
...
tests/131-per-empty-OK.asn1.-Pgen-PER
View file @
a7591b5c
...
...
@@ -17,7 +17,7 @@ extern asn_TYPE_descriptor_t asn_DEF_T;
/*** <<< STAT-DEFS [T] >>> ***/
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SEQUENCE_specifics_t asn_SPC_T_specs_1 = {
...
...
tests/134-per-long-OK.asn1.-Pgen-PER
View file @
a7591b5c
...
...
@@ -210,10 +210,10 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.name = "signed33ext"
},
};
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* unsigned33 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* unsigned42 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* signed33 */
...
...
tests/19-param-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -94,10 +94,10 @@ static asn_TYPE_member_t asn_MBR_toBeSigned_2[] = {
.name = "issuer"
},
};
static ber_tlv_tag_t asn_DEF_toBeSigned_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_toBeSigned_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_toBeSigned_tag2el_2[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_toBeSigned_tag2el_2[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* version */
{ (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 1, 0, 0 }, /* signature */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, 0, 0 } /* issuer */
...
...
@@ -165,10 +165,10 @@ static asn_TYPE_member_t asn_MBR_SIGNED_15P0_1[] = {
.name = "signature"
},
};
static ber_tlv_tag_t asn_DEF_SIGNED_15P0_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_SIGNED_15P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_SIGNED_15P0_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_SIGNED_15P0_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 2, 0, 0 }, /* signature */
{ (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)), 1, 0, 0 }, /* algorithm */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* toBeSigned */
...
...
@@ -305,7 +305,7 @@ Certificate_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [Certificate] >>> ***/
static ber_tlv_tag_t asn_DEF_Certificate_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Certificate_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Certificate = {
...
...
@@ -371,7 +371,7 @@ static asn_TYPE_member_t asn_MBR_Name_1[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Name_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Name_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_Name_specs_1 = {
...
...
@@ -425,7 +425,7 @@ extern asn_TYPE_descriptor_t asn_DEF_RelativeDistinguishedName;
/*** <<< CTABLES [RelativeDistinguishedName] >>> ***/
static int permitted_alphabet_table_2[256] = {
static
const
int permitted_alphabet_table_2[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 0, /* ,-. */
...
...
@@ -437,7 +437,7 @@ static int permitted_alphabet_table_2[256] = {
};
static int check_permitted_alphabet_2(const void *sptr) {
int *table = permitted_alphabet_table_2;
const
int *table = permitted_alphabet_table_2;
/* The underlying type is IA5String */
const IA5String_t *st = (const IA5String_t *)sptr;
const uint8_t *ch = st->buf;
...
...
@@ -491,7 +491,7 @@ static asn_TYPE_member_t asn_MBR_RelativeDistinguishedName_1[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_RelativeDistinguishedName_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_RelativeDistinguishedName_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_RelativeDistinguishedName_specs_1 = {
...
...
tests/22-tags-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -61,7 +61,7 @@ static asn_TYPE_member_t asn_MBR_b_3[] = {
.name = "n"
},
};
static asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* i */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* n */
};
...
...
@@ -127,10 +127,10 @@ static asn_TYPE_member_t asn_MBR_T1_1[] = {
.name = "c"
},
};
static ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T1_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T1_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* c */
...
...
tests/30-set-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -72,15 +72,15 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), 1, 0, 0 }, /* s */
{ (ASN_TAG_CLASS_APPLICATION | (3 << 2)), 0, 0, 0 }, /* i */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* b */
};
static uint8_t asn_MAP_T_mmap_1[(3 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_T_mmap_1[(3 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7) | (1 << 6) | (0 << 5)
};
static asn_SET_specifics_t asn_SPC_T_specs_1 = {
...
...
tests/31-set-of-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -38,7 +38,7 @@ static asn_TYPE_member_t asn_MBR_Forest_1[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Forest_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Forest_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_Forest_specs_1 = {
...
...
@@ -112,10 +112,10 @@ static asn_TYPE_member_t asn_MBR_Tree_1[] = {
.name = "width"
},
};
static ber_tlv_tag_t asn_DEF_Tree_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Tree_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Tree_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Tree_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* height */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* width */
};
...
...
@@ -252,7 +252,7 @@ static asn_TYPE_member_t asn_MBR_trees_2[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_trees_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_trees_tags_2[] = {
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
...
...
@@ -297,10 +297,10 @@ static asn_TYPE_member_t asn_MBR_Member_5[] = {
.name = "cup-of-coffee"
},
};
static ber_tlv_tag_t asn_DEF_Member_tags_5[] = {
static
const
ber_tlv_tag_t asn_DEF_Member_tags_5[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Member_tag2el_5[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Member_tag2el_5[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 0, 0, 0 } /* cup-of-coffee */
};
static asn_SEQUENCE_specifics_t asn_SPC_Member_specs_5 = {
...
...
@@ -348,7 +348,7 @@ static asn_TYPE_member_t asn_MBR_anything_4[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_anything_tags_4[] = {
static
const
ber_tlv_tag_t asn_DEF_anything_tags_4[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
...
...
@@ -402,7 +402,7 @@ static asn_TYPE_member_t asn_MBR_other_9[] = {
.name = "b"
},
};
static asn_TYPE_tag2member_t asn_MAP_other_tag2el_9[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_other_tag2el_9[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 1, 0, 0 } /* b */
};
...
...
@@ -468,21 +468,21 @@ static asn_TYPE_member_t asn_MBR_Stuff_1[] = {
.name = "other"
},
};
static ber_tlv_tag_t asn_DEF_Stuff_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Stuff_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Stuff_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Stuff_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* trees */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* anything */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 } /* b */
};
static asn_TYPE_tag2member_t asn_MAP_Stuff_tag2el_cxer_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Stuff_tag2el_cxer_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* trees */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* anything */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 2, 0, 0 } /* a */
};
static uint8_t asn_MAP_Stuff_mmap_1[(3 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_Stuff_mmap_1[(3 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(0 << 7) | (0 << 6) | (0 << 5)
};
static asn_SET_specifics_t asn_SPC_Stuff_specs_1 = {
...
...
tests/32-sequence-of-OK.asn1.-P
View file @
a7591b5c
...
...
@@ -38,7 +38,7 @@ static asn_TYPE_member_t asn_MBR_Programming_1[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Programming_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Programming_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_Programming_specs_1 = {
...
...
@@ -110,7 +110,7 @@ static asn_TYPE_member_t asn_MBR_Fault_1[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Fault_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Fault_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_Fault_specs_1 = {
...
...
@@ -165,7 +165,7 @@ extern asn_TYPE_descriptor_t asn_DEF_Error;
/*** <<< STAT-DEFS [Error] >>> ***/
static ber_tlv_tag_t asn_DEF_Error_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Error_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SEQUENCE_specifics_t asn_SPC_Error_specs_1 = {
...
...
@@ -248,7 +248,7 @@ static asn_TYPE_member_t asn_MBR_seqOfMan_3[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_seqOfMan_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_seqOfMan_tags_3[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
...
...
@@ -302,10 +302,10 @@ static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = {
.name = "seqOfMan"
},
};
static ber_tlv_tag_t asn_DEF_SeqWithMandatory_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_SeqWithMandatory_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_SeqWithMandatory_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_SeqWithMandatory_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfMan */
};
...
...
@@ -390,7 +390,7 @@ static asn_TYPE_member_t asn_MBR_seqOfOpt_3[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_seqOfOpt_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_seqOfOpt_tags_3[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
...
...
@@ -444,10 +444,10 @@ static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = {
.name = "seqOfOpt"
},
};
static ber_tlv_tag_t asn_DEF_SeqWithOptional_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_SeqWithOptional_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_SeqWithOptional_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_SeqWithOptional_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 0, 0, 0 }, /* someString */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* seqOfOpt */
};
...
...
tests/37-indirect-choice-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -76,7 +76,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.name = "t-d"
},
};
static asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* t-a */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* t-b */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 2, 0, 0 }, /* t-c */
...
...
@@ -168,7 +168,7 @@ static asn_TYPE_member_t asn_MBR_Choice1_1[] = {
.name = "c-b"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* c-b */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 } /* c-a */
};
...
...
@@ -281,10 +281,10 @@ static asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.name = "c-e"
},
};
static ber_tlv_tag_t asn_DEF_Choice2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Choice2_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* c-b */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 0, 0, 0 }, /* c-a */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 }, /* c-d */
...
...
@@ -423,7 +423,7 @@ Choice3_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [Choice3] >>> ***/
static ber_tlv_tag_t asn_DEF_Choice3_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Choice3_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (2 << 2))
};
...
...
@@ -549,7 +549,7 @@ Choice4_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [Choice4] >>> ***/
static ber_tlv_tag_t asn_DEF_Choice4_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Choice4_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (2 << 2))
};
...
...
@@ -675,7 +675,7 @@ Choice5_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [Choice5] >>> ***/
static ber_tlv_tag_t asn_DEF_Choice5_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Choice5_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_Choice5 = {
...
...
tests/39-sequence-of-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -46,7 +46,7 @@ static asn_TYPE_member_t asn_MBR_collection_3[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_collection_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_collection_tags_3[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_collection_specs_3 = {
...
...
@@ -99,10 +99,10 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.name = "collection"
},
};
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* int */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* collection */
};
...
...
@@ -182,10 +182,10 @@ static asn_TYPE_member_t asn_MBR_T2_1[] = {
.name = "str"
},
};
static ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T2_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T2_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* flag */
{ (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)), 1, 0, 0 } /* str */
};
...
...
tests/42-real-life-OK.asn1.-PR
View file @
a7591b5c
...
...
@@ -79,7 +79,7 @@ static asn_TYPE_member_t asn_MBR_varsets_3[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_varsets_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_varsets_tags_3[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_varsets_specs_3 = {
...
...
@@ -132,10 +132,10 @@ static asn_TYPE_member_t asn_MBR_LogLine_1[] = {
.name = "varsets"
},
};
static ber_tlv_tag_t asn_DEF_LogLine_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_LogLine_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_LogLine_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_LogLine_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 }, /* varsets */
{ (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), 0, 0, 0 } /* line-digest */
};
...
...
@@ -246,7 +246,7 @@ static asn_TYPE_member_t asn_MBR_vparts_2[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_vparts_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_vparts_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_vparts_specs_2 = {
...
...
@@ -299,10 +299,10 @@ static asn_TYPE_member_t asn_MBR_VariablePartSet_1[] = {
.name = "resolution"
},
};
static ber_tlv_tag_t asn_DEF_VariablePartSet_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_VariablePartSet_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_VariablePartSet_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_VariablePartSet_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* vparts */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 0 } /* resolution */
};
...
...
@@ -436,7 +436,7 @@ static asn_TYPE_member_t asn_MBR_vset_2[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_vset_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_vset_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_vset_specs_2 = {
...
...
@@ -489,10 +489,10 @@ static asn_TYPE_member_t asn_MBR_vrange_4[] = {
.name = "to"
},
};
static ber_tlv_tag_t asn_DEF_vrange_tags_4[] = {
static
const
ber_tlv_tag_t asn_DEF_vrange_tags_4[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_vrange_tag2el_4[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_vrange_tag2el_4[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)), 0, 0, 1 }, /* from */
{ (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)), 1, -1, 0 } /* to */
};
...
...
@@ -550,7 +550,7 @@ static asn_TYPE_member_t asn_MBR_VariablePart_1[] = {
.name = "vrange"
},
};
static asn_TYPE_tag2member_t asn_MAP_VariablePart_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_VariablePart_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 }, /* vrange */
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* vset */
};
...
...
@@ -720,19 +720,19 @@ accept_as_2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [ActionItem] >>> ***/
static asn_INTEGER_enum_map_t asn_MAP_accept_as_value2enum_2[] = {
static
const
asn_INTEGER_enum_map_t asn_MAP_accept_as_value2enum_2[] = {
{ 0, 7, "unknown" },
{ 1, 4, "safe" },
{ 2, 6, "unsafe" }
/* This list is extensible */
};
static unsigned int asn_MAP_accept_as_enum2value_2[] = {
static
const
unsigned int asn_MAP_accept_as_enum2value_2[] = {
1, /* safe(1) */
0, /* unknown(0) */
2 /* unsafe(2) */
/* This list is extensible */
};
static asn_INTEGER_specifics_t asn_SPC_accept_as_specs_2 = {
static
const
asn_INTEGER_specifics_t asn_SPC_accept_as_specs_2 = {
asn_MAP_accept_as_value2enum_2, /* "tag" => N; sorted by tag */
asn_MAP_accept_as_enum2value_2, /* N => "tag"; sorted by N */
3, /* Number of elements in the maps */
...
...
@@ -741,7 +741,7 @@ static asn_INTEGER_specifics_t asn_SPC_accept_as_specs_2 = {
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_accept_as_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_accept_as_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
static /* Use -fall-defs-global to expose */
...
...
@@ -779,7 +779,7 @@ static asn_TYPE_member_t asn_MBR_email_9[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_email_tags_9[] = {
static
const
ber_tlv_tag_t asn_DEF_email_tags_9[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_email_specs_9 = {
...
...
@@ -832,10 +832,10 @@ static asn_TYPE_member_t asn_MBR_notify_7[] = {
.name = "email"
},
};
static ber_tlv_tag_t asn_DEF_notify_tags_7[] = {
static
const
ber_tlv_tag_t asn_DEF_notify_tags_7[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_notify_tag2el_7[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_notify_tag2el_7[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 }, /* critical */
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, 0, 0 } /* email */
};
...
...
@@ -893,10 +893,10 @@ static asn_TYPE_member_t asn_MBR_ActionItem_1[] = {
.name = "notify"
},
};
static ber_tlv_tag_t asn_DEF_ActionItem_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_ActionItem_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_ActionItem_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_ActionItem_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)), 0, 0, 0 }, /* accept-as */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 } /* notify */
};
...
...
tests/43-recursion-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -55,7 +55,7 @@ static asn_TYPE_member_t asn_MBR_t_member1_2[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_t_member1_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_t_member1_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_t_member1_specs_2 = {
...
...
@@ -99,7 +99,7 @@ static asn_TYPE_member_t asn_MBR_t_member2_4[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_t_member2_tags_4[] = {
static
const
ber_tlv_tag_t asn_DEF_t_member2_tags_4[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_t_member2_specs_4 = {
...
...
@@ -170,10 +170,10 @@ static asn_TYPE_member_t asn_MBR_Test_structure_1_1[] = {
.name = "t-member4"
},
};
static ber_tlv_tag_t asn_DEF_Test_structure_1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Test_structure_1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Test_structure_1_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Test_structure_1_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 3, 0, 0 }, /* t-member4 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 1 }, /* t-member2 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 2, -1, 0 }, /* t-member3 */
...
...
@@ -275,7 +275,7 @@ static asn_TYPE_member_t asn_MBR_or_3[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_or_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_or_tags_3[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
...
...
@@ -347,7 +347,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1_1[] = {
.name = "other"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice_1_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice_1_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* and */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* or */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 }, /* not */
...
...
@@ -438,13 +438,13 @@ static asn_TYPE_member_t asn_MBR_Test_structure_2_1[] = {
.name = "m1"
},
};
static ber_tlv_tag_t asn_DEF_Test_structure_2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Test_structure_2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Test_structure_2_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Test_structure_2_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* m1 */
};
static uint8_t asn_MAP_Test_structure_2_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_Test_structure_2_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(0 << 7)
};
static asn_SET_specifics_t asn_SPC_Test_structure_2_specs_1 = {
...
...
@@ -535,13 +535,13 @@ static asn_TYPE_member_t asn_MBR_Test_structure_3_1[] = {
.name = "m1"
},
};
static ber_tlv_tag_t asn_DEF_Test_structure_3_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Test_structure_3_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Test_structure_3_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Test_structure_3_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 0 } /* m1 */
};
static uint8_t asn_MAP_Test_structure_3_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_Test_structure_3_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(0 << 7)
};
static asn_SET_specifics_t asn_SPC_Test_structure_3_specs_1 = {
...
...
tests/44-choice-in-sequence-OK.asn1.-P
View file @
a7591b5c
...
...
@@ -90,7 +90,7 @@ static asn_TYPE_member_t asn_MBR_e_6[] = {
.name = "g"
},
};
static asn_TYPE_tag2member_t asn_MAP_e_tag2el_6[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_e_tag2el_6[] = {
{ (ASN_TAG_CLASS_PRIVATE | (7 << 2)), 0, 0, 0 }, /* f */
{ (ASN_TAG_CLASS_PRIVATE | (8 << 2)), 1, 0, 0 } /* g */
};
...
...
@@ -147,7 +147,7 @@ static asn_TYPE_member_t asn_MBR_h_9[] = {
.name = "j"
},
};
static asn_TYPE_tag2member_t asn_MAP_h_tag2el_9[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_h_tag2el_9[] = {
{ (ASN_TAG_CLASS_PRIVATE | (1 << 2)), 0, 0, 0 }, /* i */
{ (ASN_TAG_CLASS_PRIVATE | (2 << 2)), 1, 0, 0 } /* j */
};
...
...
@@ -222,7 +222,7 @@ static asn_TYPE_member_t asn_MBR_b_3[] = {
.name = "h"
},
};
static asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
{ (ASN_TAG_CLASS_PRIVATE | (5 << 2)), 0, 0, 0 }, /* c */
{ (ASN_TAG_CLASS_PRIVATE | (6 << 2)), 1, 0, 0 }, /* d */
{ (ASN_TAG_CLASS_PRIVATE | (7 << 2)), 2, 0, 0 }, /* f */
...
...
@@ -282,11 +282,11 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_PRIVATE | (1 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
{ (ASN_TAG_CLASS_PRIVATE | (2 << 2)), 0, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_PRIVATE | (5 << 2)), 1, 0, 0 }, /* c */
{ (ASN_TAG_CLASS_PRIVATE | (6 << 2)), 1, 0, 0 }, /* d */
...
...
tests/46-redefine-OK.asn1.-PR
View file @
a7591b5c
...
...
@@ -97,7 +97,7 @@ PrimitiveType_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [PrimitiveType] >>> ***/
static ber_tlv_tag_t asn_DEF_PrimitiveType_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_PrimitiveType_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))
};
asn_TYPE_descriptor_t asn_DEF_PrimitiveType = {
...
...
@@ -155,10 +155,10 @@ static asn_TYPE_member_t asn_MBR_ConstructedType_1[] = {
.name = "field"
},
};
static ber_tlv_tag_t asn_DEF_ConstructedType_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_ConstructedType_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_ConstructedType_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_ConstructedType_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (5 << 2)), 0, 0, 0 } /* field */
};
static asn_SEQUENCE_specifics_t asn_SPC_ConstructedType_specs_1 = {
...
...
@@ -293,7 +293,7 @@ T_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T] >>> ***/
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
...
...
tests/47-set-ext-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -48,13 +48,13 @@ static asn_TYPE_member_t asn_MBR_T1_1[] = {
.name = "i"
},
};
static ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T1_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T1_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
};
static uint8_t asn_MAP_T1_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_T1_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7)
};
static asn_SET_specifics_t asn_SPC_T1_specs_1 = {
...
...
@@ -142,13 +142,13 @@ static asn_TYPE_member_t asn_MBR_T2_1[] = {
.name = "i"
},
};
static ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T2_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T2_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
};
static uint8_t asn_MAP_T2_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_T2_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7)
};
static asn_SET_specifics_t asn_SPC_T2_specs_1 = {
...
...
@@ -234,7 +234,7 @@ static asn_TYPE_member_t asn_MBR_T3_1[] = {
.name = "i"
},
};
static asn_TYPE_tag2member_t asn_MAP_T3_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T3_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
};
static asn_CHOICE_specifics_t asn_SPC_T3_specs_1 = {
...
...
@@ -317,7 +317,7 @@ static asn_TYPE_member_t asn_MBR_T4_1[] = {
.name = "i"
},
};
static asn_TYPE_tag2member_t asn_MAP_T4_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T4_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
};
static asn_CHOICE_specifics_t asn_SPC_T4_specs_1 = {
...
...
tests/50-constraint-OK.asn1.-Pfwide-types
View file @
a7591b5c
This diff is collapsed.
Click to expand it.
tests/50-constraint-OK.asn1.-Pgen-PER
View file @
a7591b5c
This diff is collapsed.
Click to expand it.
tests/59-choice-extended-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -75,10 +75,10 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.name = "c"
},
};
static ber_tlv_tag_t asn_DEF_Choice_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Choice_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (123 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Choice_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* c */
...
...
tests/60-any-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -41,10 +41,10 @@ static asn_TYPE_member_t asn_MBR_T1_1[] = {
.name = "any"
},
};
static ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T1_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T1_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* i */
};
static asn_SEQUENCE_specifics_t asn_SPC_T1_specs_1 = {
...
...
@@ -123,10 +123,10 @@ static asn_TYPE_member_t asn_MBR_T2_1[] = {
.name = "any"
},
};
static ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T2_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T2_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* i */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* any */
};
...
...
@@ -205,7 +205,7 @@ static asn_TYPE_member_t asn_MBR_T3_1[] = {
.name = "any2"
},
};
static ber_tlv_tag_t asn_DEF_T3_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T3_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SEQUENCE_specifics_t asn_SPC_T3_specs_1 = {
...
...
tests/65-multi-tag-OK.asn1.-Pfnative-types
View file @
a7591b5c
...
...
@@ -97,13 +97,13 @@ T1_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T1] >>> ***/
static ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2))
};
static ber_tlv_tag_t asn_DEF_T1_all_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T1_all_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
...
...
@@ -233,12 +233,12 @@ T2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T2] >>> ***/
static ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2))
};
static ber_tlv_tag_t asn_DEF_T2_all_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T2_all_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
...
...
@@ -367,11 +367,11 @@ T3_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T3] >>> ***/
static ber_tlv_tag_t asn_DEF_T3_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T3_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2))
};
static ber_tlv_tag_t asn_DEF_T3_all_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T3_all_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
...
...
@@ -499,7 +499,7 @@ T4_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T4] >>> ***/
static ber_tlv_tag_t asn_DEF_T4_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T4_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
...
...
@@ -626,7 +626,7 @@ T5_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T5] >>> ***/
static ber_tlv_tag_t asn_DEF_T5_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T5_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
};
...
...
@@ -752,7 +752,7 @@ T6_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T6] >>> ***/
static ber_tlv_tag_t asn_DEF_T6_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T6_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
};
asn_TYPE_descriptor_t asn_DEF_T6 = {
...
...
@@ -877,7 +877,7 @@ T_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T] >>> ***/
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_CONTEXT | (123 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
...
...
@@ -958,11 +958,11 @@ static asn_TYPE_member_t asn_MBR_Ts_1[] = {
.name = "m3"
},
};
static ber_tlv_tag_t asn_DEF_Ts_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Ts_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (123 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Ts_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Ts_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* m1 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* m2 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 } /* m3 */
...
...
tests/65-multi-tag-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -97,13 +97,13 @@ T1_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T1] >>> ***/
static ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T1_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2))
};
static ber_tlv_tag_t asn_DEF_T1_all_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T1_all_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
...
...
@@ -233,12 +233,12 @@ T2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T2] >>> ***/
static ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T2_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2))
};
static ber_tlv_tag_t asn_DEF_T2_all_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T2_all_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (3 << 2)),
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
...
...
@@ -367,11 +367,11 @@ T3_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T3] >>> ***/
static ber_tlv_tag_t asn_DEF_T3_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T3_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2))
};
static ber_tlv_tag_t asn_DEF_T3_all_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T3_all_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (4 << 2)),
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
...
...
@@ -499,7 +499,7 @@ T4_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T4] >>> ***/
static ber_tlv_tag_t asn_DEF_T4_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T4_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (5 << 2)),
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
...
...
@@ -626,7 +626,7 @@ T5_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T5] >>> ***/
static ber_tlv_tag_t asn_DEF_T5_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T5_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (6 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
};
...
...
@@ -752,7 +752,7 @@ T6_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T6] >>> ***/
static ber_tlv_tag_t asn_DEF_T6_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T6_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (9 << 2))
};
asn_TYPE_descriptor_t asn_DEF_T6 = {
...
...
@@ -877,7 +877,7 @@ T_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T] >>> ***/
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_CONTEXT | (123 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
...
...
@@ -958,11 +958,11 @@ static asn_TYPE_member_t asn_MBR_Ts_1[] = {
.name = "m3"
},
};
static ber_tlv_tag_t asn_DEF_Ts_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Ts_tags_1[] = {
(ASN_TAG_CLASS_CONTEXT | (123 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Ts_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Ts_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 0, 0, 0 }, /* m1 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 1, 0, 0 }, /* m2 */
{ (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 2, 0, 0 } /* m3 */
...
...
tests/66-ref-simple-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -31,7 +31,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.name = "named"
},
};
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_T_specs_1 = {
...
...
@@ -170,17 +170,17 @@ SimpleType_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [SimpleType] >>> ***/
static asn_INTEGER_enum_map_t asn_MAP_SimpleType_value2enum_1[] = {
static
const
asn_INTEGER_enum_map_t asn_MAP_SimpleType_value2enum_1[] = {
{ 0, 3, "one" },
{ 1, 3, "two" },
{ 2, 5, "three" }
};
static unsigned int asn_MAP_SimpleType_enum2value_1[] = {
static
const
unsigned int asn_MAP_SimpleType_enum2value_1[] = {
0, /* one(0) */
2, /* three(2) */
1 /* two(1) */
};
static asn_INTEGER_specifics_t asn_SPC_SimpleType_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_SimpleType_specs_1 = {
asn_MAP_SimpleType_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_SimpleType_enum2value_1, /* N => "tag"; sorted by N */
3, /* Number of elements in the maps */
...
...
@@ -189,7 +189,7 @@ static asn_INTEGER_specifics_t asn_SPC_SimpleType_specs_1 = {
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_SimpleType_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_SimpleType_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_SimpleType = {
...
...
tests/69-reserved-words-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -75,10 +75,10 @@ memb_char_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
/*** <<< STAT-DEFS [T] >>> ***/
static ber_tlv_tag_t asn_DEF_class_tags_4[] = {
static
const
ber_tlv_tag_t asn_DEF_class_tags_4[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static uint8_t asn_MAP_class_mmap_4[(0 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_class_mmap_4[(0 + (8 * sizeof(unsigned int)) - 1) / 8] = {
0
};
static asn_SET_specifics_t asn_SPC_class_specs_4 = {
...
...
@@ -154,10 +154,10 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.name = "double"
},
};
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 }, /* int */
{ (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)), 1, 0, 0 }, /* char */
{ (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)), 3, 0, 0 }, /* double */
...
...
tests/70-xer-test-OK.asn1.-Pfwide-types
View file @
a7591b5c
This diff is collapsed.
Click to expand it.
tests/72-same-names-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -48,10 +48,10 @@ static asn_TYPE_member_t asn_MBR_Member_2[] = {
.name = "t2"
},
};
static ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 1 }, /* t1 */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, -1, 0 }, /* one-name */
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, 0, 0 } /* two-name */
...
...
@@ -101,7 +101,7 @@ static asn_TYPE_member_t asn_MBR_Type_1[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Type_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Type_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_Type_specs_1 = {
...
...
@@ -196,10 +196,10 @@ static asn_TYPE_member_t asn_MBR_another_name_3[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_another_name_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_another_name_tags_3[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_another_name_tag2el_3[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_another_name_tag2el_3[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 1 }, /* a */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, -1, 0 } /* b */
};
...
...
@@ -248,7 +248,7 @@ static asn_TYPE_member_t asn_MBR_one_name_2[] = {
.name = "another-name"
},
};
static asn_TYPE_tag2member_t asn_MAP_one_name_tag2el_2[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_one_name_tag2el_2[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* another-name */
};
static asn_CHOICE_specifics_t asn_SPC_one_name_specs_2 = {
...
...
@@ -295,10 +295,10 @@ static asn_TYPE_member_t asn_MBR_Type1_1[] = {
.name = "one-name"
},
};
static ber_tlv_tag_t asn_DEF_Type1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Type1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Type1_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Type1_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* another-name */
};
static asn_SEQUENCE_specifics_t asn_SPC_Type1_specs_1 = {
...
...
@@ -494,10 +494,10 @@ static asn_TYPE_member_t asn_MBR_another_name_3[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_another_name_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_another_name_tags_3[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_another_name_tag2el_3[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_another_name_tag2el_3[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* b */
{ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 0, 0, 0 } /* a */
};
...
...
@@ -546,10 +546,10 @@ static asn_TYPE_member_t asn_MBR_one_name_2[] = {
.name = "another-name"
},
};
static ber_tlv_tag_t asn_DEF_one_name_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_one_name_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_one_name_tag2el_2[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_one_name_tag2el_2[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* another-name */
};
static asn_SEQUENCE_specifics_t asn_SPC_one_name_specs_2 = {
...
...
@@ -606,10 +606,10 @@ static asn_TYPE_member_t asn_MBR_another_name_8[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_another_name_tags_8[] = {
static
const
ber_tlv_tag_t asn_DEF_another_name_tags_8[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_another_name_tag2el_8[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_another_name_tag2el_8[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* b */
{ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 0, 0, 0 } /* a */
};
...
...
@@ -658,13 +658,13 @@ static asn_TYPE_member_t asn_MBR_two_name_7[] = {
.name = "another-name"
},
};
static ber_tlv_tag_t asn_DEF_two_name_tags_7[] = {
static
const
ber_tlv_tag_t asn_DEF_two_name_tags_7[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_two_name_tag2el_7[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_two_name_tag2el_7[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* another-name */
};
static uint8_t asn_MAP_two_name_mmap_7[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_two_name_mmap_7[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7)
};
static asn_SET_specifics_t asn_SPC_two_name_specs_7 = {
...
...
@@ -723,7 +723,7 @@ static asn_TYPE_member_t asn_MBR_Type2_1[] = {
.name = "two-name"
},
};
static asn_TYPE_tag2member_t asn_MAP_Type2_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Type2_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* one-name */
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 1, 0, 0 } /* two-name */
};
...
...
tests/73-circular-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -44,7 +44,7 @@ static asn_TYPE_member_t asn_MBR_data_2[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_data_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_data_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_data_specs_2 = {
...
...
@@ -88,10 +88,10 @@ static asn_TYPE_member_t asn_MBR_Type_1[] = {
.name = "data"
},
};
static ber_tlv_tag_t asn_DEF_Type_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Type_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Type_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Type_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 } /* data */
};
static asn_SEQUENCE_specifics_t asn_SPC_Type_specs_1 = {
...
...
@@ -226,7 +226,7 @@ EpytRef_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [EpytRef] >>> ***/
static ber_tlv_tag_t asn_DEF_EpytRef_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_EpytRef_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_TYPE_descriptor_t asn_DEF_EpytRef = {
...
...
@@ -302,7 +302,7 @@ static asn_TYPE_member_t asn_MBR_stype_2[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_stype_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_stype_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_stype_specs_2 = {
...
...
@@ -364,10 +364,10 @@ static asn_TYPE_member_t asn_MBR_Epyt_1[] = {
.name = "ypet"
},
};
static ber_tlv_tag_t asn_DEF_Epyt_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Epyt_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Epyt_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Epyt_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 1, 0, 0 }, /* type */
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 0, 0, 1 }, /* stype */
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 2, -1, 0 } /* ypet */
...
...
@@ -576,7 +576,7 @@ static asn_TYPE_member_t asn_MBR_senums_4[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_senums_tags_4[] = {
static
const
ber_tlv_tag_t asn_DEF_senums_tags_4[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_senums_specs_4 = {
...
...
@@ -656,17 +656,17 @@ static asn_TYPE_member_t asn_MBR_Ypet_1[] = {
.name = "patest2"
},
};
static ber_tlv_tag_t asn_DEF_Ypet_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Ypet_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Ypet_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Ypet_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* plain */
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* epyt */
{ (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)), 2, 0, 0 }, /* senums */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 3, 0, 0 }, /* patest1 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 4, 0, 0 } /* patest2 */
};
static uint8_t asn_MAP_Ypet_mmap_1[(5 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_Ypet_mmap_1[(5 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7) | (0 << 6) | (1 << 5) | (1 << 4) | (1 << 3)
};
static asn_SET_specifics_t asn_SPC_Ypet_specs_1 = {
...
...
@@ -810,15 +810,15 @@ EnumType_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [EnumType] >>> ***/
static asn_INTEGER_enum_map_t asn_MAP_EnumType_value2enum_1[] = {
static
const
asn_INTEGER_enum_map_t asn_MAP_EnumType_value2enum_1[] = {
{ 0, 3, "one" },
{ 1, 3, "two" }
};
static unsigned int asn_MAP_EnumType_enum2value_1[] = {
static
const
unsigned int asn_MAP_EnumType_enum2value_1[] = {
0, /* one(0) */
1 /* two(1) */
};
static asn_INTEGER_specifics_t asn_SPC_EnumType_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_EnumType_specs_1 = {
asn_MAP_EnumType_value2enum_1, /* "tag" => N; sorted by tag */
asn_MAP_EnumType_enum2value_1, /* N => "tag"; sorted by N */
2, /* Number of elements in the maps */
...
...
@@ -827,7 +827,7 @@ static asn_INTEGER_specifics_t asn_SPC_EnumType_specs_1 = {
0, /* Native long size */
0
};
static ber_tlv_tag_t asn_DEF_EnumType_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_EnumType_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))
};
asn_TYPE_descriptor_t asn_DEF_EnumType = {
...
...
tests/84-param-tags-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -84,10 +84,10 @@ static asn_TYPE_member_t asn_MBR_TestType_16P0_1[] = {
.name = "common"
},
};
static ber_tlv_tag_t asn_DEF_TestType_16P0_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_TestType_16P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_TestType_16P0_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_TestType_16P0_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 0, 0, 0 } /* common */
};
static asn_SEQUENCE_specifics_t asn_SPC_TestType_16P0_specs_1 = {
...
...
@@ -152,10 +152,10 @@ static asn_TYPE_member_t asn_MBR_TestType_16P1_3[] = {
.name = "common"
},
};
static ber_tlv_tag_t asn_DEF_TestType_16P1_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_TestType_16P1_tags_3[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_TestType_16P1_tag2el_3[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_TestType_16P1_tag2el_3[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 0, 0, 0 } /* common */
};
static asn_SEQUENCE_specifics_t asn_SPC_TestType_16P1_specs_3 = {
...
...
@@ -244,7 +244,7 @@ static asn_TYPE_member_t asn_MBR_TestChoice_1[] = {
.name = "type2"
},
};
static asn_TYPE_tag2member_t asn_MAP_TestChoice_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_TestChoice_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)), 0, 0, 0 }, /* type1 */
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 1, 0, 0 } /* type2 */
};
...
...
@@ -373,10 +373,10 @@ static asn_TYPE_member_t asn_MBR_AutoType_34P0_1[] = {
.name = "common"
},
};
static ber_tlv_tag_t asn_DEF_AutoType_34P0_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_AutoType_34P0_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_AutoType_34P0_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_AutoType_34P0_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* common */
};
static asn_SEQUENCE_specifics_t asn_SPC_AutoType_34P0_specs_1 = {
...
...
@@ -423,10 +423,10 @@ static asn_TYPE_member_t asn_MBR_AutoType_34P1_3[] = {
.name = "common"
},
};
static ber_tlv_tag_t asn_DEF_AutoType_34P1_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_AutoType_34P1_tags_3[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_AutoType_34P1_tag2el_3[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_AutoType_34P1_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* common */
};
static asn_SEQUENCE_specifics_t asn_SPC_AutoType_34P1_specs_3 = {
...
...
@@ -515,7 +515,7 @@ static asn_TYPE_member_t asn_MBR_AutoChoice_1[] = {
.name = "type2"
},
};
static asn_TYPE_tag2member_t asn_MAP_AutoChoice_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_AutoChoice_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* type1 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* type2 */
};
...
...
tests/88-integer-enum-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -104,7 +104,7 @@ T_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [T] >>> ***/
static ber_tlv_tag_t asn_DEF_T_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_T_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_T = {
...
...
tests/89-bit-string-enum-OK.asn1.-Pfcompound-names
View file @
a7591b5c
...
...
@@ -44,7 +44,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.name = "bs"
},
};
static asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 0, 0, 0 } /* bs */
};
static asn_CHOICE_specifics_t asn_SPC_T_specs_1 = {
...
...
tests/89-bit-string-enum-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -44,7 +44,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.name = "bs"
},
};
static asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_T_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 0, 0, 0 } /* bs */
};
static asn_CHOICE_specifics_t asn_SPC_T_specs_1 = {
...
...
tests/90-cond-int-type-OK.asn1.-P
View file @
a7591b5c
...
...
@@ -97,7 +97,7 @@ CN_IntegerUnlimited_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [CN-IntegerUnlimited] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerUnlimited_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerUnlimited_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerUnlimited = {
...
...
@@ -235,7 +235,7 @@ CN_IntegerMinMax_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [CN-IntegerMinMax] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerMinMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerMinMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerMinMax = {
...
...
@@ -377,7 +377,7 @@ CN_IntegerMinLow_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [CN-IntegerMinLow] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerMinLow_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerMinLow_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerMinLow = {
...
...
@@ -525,7 +525,7 @@ NO_IntegerMinHigh_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerMinHigh] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerMinHigh_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerMinHigh_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerMinHigh = {
...
...
@@ -667,12 +667,12 @@ NO_IntegerLowHigh_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerLowHigh] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerLowHigh_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerLowHigh_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerLowHigh_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerLowHigh_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerLowHigh = {
...
...
@@ -814,7 +814,7 @@ CN_IntegerLowMax_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [CN-IntegerLowMax] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerLowMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerLowMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerLowMax = {
...
...
@@ -962,7 +962,7 @@ NO_IntegerHighMax_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerHighMax] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerHighMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerHighMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerHighMax = {
...
...
@@ -1110,7 +1110,7 @@ NO_IntegerLowestMax_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerLowestMax] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerLowestMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerLowestMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerLowestMax = {
...
...
@@ -1252,12 +1252,12 @@ NO_IntegerOutRange_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerOutRange] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutRange_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutRange_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerOutRange_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerOutRange_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerOutRange = {
...
...
@@ -1399,12 +1399,12 @@ NO_IntegerOutValue_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerOutValue] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutValue_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutValue_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerOutValue_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerOutValue_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerOutValue = {
...
...
@@ -1546,7 +1546,7 @@ OK_IntegerInRange1_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-IntegerInRange1] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange1 = {
...
...
@@ -1688,7 +1688,7 @@ OK_IntegerInRange2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-IntegerInRange2] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange2 = {
...
...
@@ -1830,7 +1830,7 @@ OK_IntegerInRange3_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-IntegerInRange3] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange3_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange3_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange3 = {
...
...
@@ -1972,7 +1972,7 @@ OK_IntegerInRange4_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-IntegerInRange4] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange4_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange4_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange4 = {
...
...
@@ -2114,7 +2114,7 @@ OK_IntegerInRange5_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-IntegerInRange5] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange5_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange5_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange5 = {
...
...
@@ -2247,12 +2247,12 @@ NO_IntegerInRange6_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerInRange6] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerInRange6_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerInRange6_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerInRange6_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerInRange6_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerInRange6 = {
...
...
@@ -2384,7 +2384,7 @@ CN_IntegerEnumerated1_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [CN-IntegerEnumerated1] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerEnumerated1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerEnumerated1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerEnumerated1 = {
...
...
@@ -2516,7 +2516,7 @@ NO_IntegerEnumerated2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerEnumerated2] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerEnumerated2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerEnumerated2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerEnumerated2 = {
...
...
tests/90-cond-int-type-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -97,7 +97,7 @@ CN_IntegerUnlimited_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [CN-IntegerUnlimited] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerUnlimited_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerUnlimited_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerUnlimited = {
...
...
@@ -236,7 +236,7 @@ CN_IntegerMinMax_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [CN-IntegerMinMax] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerMinMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerMinMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerMinMax = {
...
...
@@ -384,7 +384,7 @@ CN_IntegerMinLow_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [CN-IntegerMinLow] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerMinLow_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerMinLow_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerMinLow = {
...
...
@@ -532,7 +532,7 @@ NO_IntegerMinHigh_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerMinHigh] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerMinHigh_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerMinHigh_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerMinHigh = {
...
...
@@ -674,12 +674,12 @@ NO_IntegerLowHigh_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerLowHigh] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerLowHigh_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerLowHigh_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerLowHigh_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerLowHigh_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerLowHigh = {
...
...
@@ -827,7 +827,7 @@ CN_IntegerLowMax_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [CN-IntegerLowMax] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerLowMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerLowMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerLowMax = {
...
...
@@ -975,7 +975,7 @@ NO_IntegerHighMax_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerHighMax] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerHighMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerHighMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerHighMax = {
...
...
@@ -1123,7 +1123,7 @@ NO_IntegerLowestMax_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerLowestMax] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerLowestMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerLowestMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerLowestMax = {
...
...
@@ -1265,12 +1265,12 @@ NO_IntegerOutRange_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerOutRange] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutRange_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutRange_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerOutRange_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerOutRange_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerOutRange = {
...
...
@@ -1412,12 +1412,12 @@ NO_IntegerOutValue_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerOutValue] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutValue_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutValue_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerOutValue_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerOutValue_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerOutValue = {
...
...
@@ -1559,7 +1559,7 @@ OK_IntegerInRange1_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-IntegerInRange1] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange1 = {
...
...
@@ -1701,7 +1701,7 @@ OK_IntegerInRange2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-IntegerInRange2] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange2 = {
...
...
@@ -1843,7 +1843,7 @@ OK_IntegerInRange3_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-IntegerInRange3] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange3_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange3_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange3 = {
...
...
@@ -1985,7 +1985,7 @@ OK_IntegerInRange4_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-IntegerInRange4] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange4_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange4_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange4 = {
...
...
@@ -2133,7 +2133,7 @@ OK_IntegerInRange5_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-IntegerInRange5] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange5_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange5_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange5 = {
...
...
@@ -2266,12 +2266,12 @@ NO_IntegerInRange6_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerInRange6] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerInRange6_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerInRange6_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerInRange6_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerInRange6_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerInRange6 = {
...
...
@@ -2403,7 +2403,7 @@ CN_IntegerEnumerated1_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [CN-IntegerEnumerated1] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerEnumerated1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerEnumerated1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerEnumerated1 = {
...
...
@@ -2535,7 +2535,7 @@ NO_IntegerEnumerated2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-IntegerEnumerated2] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerEnumerated2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerEnumerated2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerEnumerated2 = {
...
...
tests/90-cond-int-type-OK.asn1.-Pgen-PER
View file @
a7591b5c
...
...
@@ -114,7 +114,7 @@ CN_IntegerUnlimited_encode_uper(asn_TYPE_descriptor_t *td,
/*** <<< STAT-DEFS [CN-IntegerUnlimited] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerUnlimited_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerUnlimited_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerUnlimited = {
...
...
@@ -278,7 +278,7 @@ static asn_per_constraints_t asn_PER_type_CN_IntegerMinMax_constr_1 GCC_NOTUSED
/*** <<< STAT-DEFS [CN-IntegerMinMax] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerMinMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerMinMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerMinMax = {
...
...
@@ -446,7 +446,7 @@ static asn_per_constraints_t asn_PER_type_CN_IntegerMinLow_constr_1 GCC_NOTUSED
/*** <<< STAT-DEFS [CN-IntegerMinLow] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerMinLow_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerMinLow_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerMinLow = {
...
...
@@ -620,7 +620,7 @@ static asn_per_constraints_t asn_PER_type_NO_IntegerMinHigh_constr_1 GCC_NOTUSED
/*** <<< STAT-DEFS [NO-IntegerMinHigh] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerMinHigh_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerMinHigh_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerMinHigh = {
...
...
@@ -788,12 +788,12 @@ static asn_per_constraints_t asn_PER_type_NO_IntegerLowHigh_constr_1 GCC_NOTUSED
/*** <<< STAT-DEFS [NO-IntegerLowHigh] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerLowHigh_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerLowHigh_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerLowHigh_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerLowHigh_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerLowHigh = {
...
...
@@ -961,7 +961,7 @@ static asn_per_constraints_t asn_PER_type_CN_IntegerLowMax_constr_1 GCC_NOTUSED
/*** <<< STAT-DEFS [CN-IntegerLowMax] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerLowMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerLowMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerLowMax = {
...
...
@@ -1135,7 +1135,7 @@ static asn_per_constraints_t asn_PER_type_NO_IntegerHighMax_constr_1 GCC_NOTUSED
/*** <<< STAT-DEFS [NO-IntegerHighMax] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerHighMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerHighMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerHighMax = {
...
...
@@ -1309,7 +1309,7 @@ static asn_per_constraints_t asn_PER_type_NO_IntegerLowestMax_constr_1 GCC_NOTUS
/*** <<< STAT-DEFS [NO-IntegerLowestMax] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerLowestMax_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerLowestMax_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerLowestMax = {
...
...
@@ -1477,12 +1477,12 @@ static asn_per_constraints_t asn_PER_type_NO_IntegerOutRange_constr_1 GCC_NOTUSE
/*** <<< STAT-DEFS [NO-IntegerOutRange] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutRange_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutRange_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerOutRange_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerOutRange_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerOutRange = {
...
...
@@ -1650,12 +1650,12 @@ static asn_per_constraints_t asn_PER_type_NO_IntegerOutValue_constr_1 GCC_NOTUSE
/*** <<< STAT-DEFS [NO-IntegerOutValue] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutValue_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerOutValue_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerOutValue_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerOutValue_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerOutValue = {
...
...
@@ -1823,7 +1823,7 @@ static asn_per_constraints_t asn_PER_type_OK_IntegerInRange1_constr_1 GCC_NOTUSE
/*** <<< STAT-DEFS [OK-IntegerInRange1] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange1 = {
...
...
@@ -1991,7 +1991,7 @@ static asn_per_constraints_t asn_PER_type_OK_IntegerInRange2_constr_1 GCC_NOTUSE
/*** <<< STAT-DEFS [OK-IntegerInRange2] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange2 = {
...
...
@@ -2159,7 +2159,7 @@ static asn_per_constraints_t asn_PER_type_OK_IntegerInRange3_constr_1 GCC_NOTUSE
/*** <<< STAT-DEFS [OK-IntegerInRange3] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange3_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange3_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange3 = {
...
...
@@ -2327,7 +2327,7 @@ static asn_per_constraints_t asn_PER_type_OK_IntegerInRange4_constr_1 GCC_NOTUSE
/*** <<< STAT-DEFS [OK-IntegerInRange4] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange4_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange4_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange4 = {
...
...
@@ -2495,7 +2495,7 @@ static asn_per_constraints_t asn_PER_type_OK_IntegerInRange5_constr_1 GCC_NOTUSE
/*** <<< STAT-DEFS [OK-IntegerInRange5] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_IntegerInRange5_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_IntegerInRange5_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_IntegerInRange5 = {
...
...
@@ -2654,12 +2654,12 @@ static asn_per_constraints_t asn_PER_type_NO_IntegerInRange6_constr_1 GCC_NOTUSE
/*** <<< STAT-DEFS [NO-IntegerInRange6] >>> ***/
static asn_INTEGER_specifics_t asn_SPC_NO_IntegerInRange6_specs_1 = {
static
const
asn_INTEGER_specifics_t asn_SPC_NO_IntegerInRange6_specs_1 = {
0, 0, 0, 0, 0,
0, /* Native long size */
1 /* Unsigned representation */
};
static ber_tlv_tag_t asn_DEF_NO_IntegerInRange6_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerInRange6_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerInRange6 = {
...
...
@@ -2809,7 +2809,7 @@ CN_IntegerEnumerated1_encode_uper(asn_TYPE_descriptor_t *td,
/*** <<< STAT-DEFS [CN-IntegerEnumerated1] >>> ***/
static ber_tlv_tag_t asn_DEF_CN_IntegerEnumerated1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_CN_IntegerEnumerated1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_CN_IntegerEnumerated1 = {
...
...
@@ -2959,7 +2959,7 @@ NO_IntegerEnumerated2_encode_uper(asn_TYPE_descriptor_t *td,
/*** <<< STAT-DEFS [NO-IntegerEnumerated2] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_IntegerEnumerated2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_IntegerEnumerated2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_IntegerEnumerated2 = {
...
...
tests/91-cond-int-blessSize-OK.asn1.-Pfbless-SIZE
View file @
a7591b5c
...
...
@@ -110,7 +110,7 @@ OK_Integer1_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-Integer1] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_Integer1_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_Integer1_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_Integer1 = {
...
...
@@ -248,7 +248,7 @@ OK_Integer2_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-Integer2] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_Integer2_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_Integer2_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_Integer2 = {
...
...
@@ -386,7 +386,7 @@ OK_Integer3_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-Integer3] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_Integer3_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_Integer3_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_Integer3 = {
...
...
@@ -524,7 +524,7 @@ OK_Integer4_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [OK-Integer4] >>> ***/
static ber_tlv_tag_t asn_DEF_OK_Integer4_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OK_Integer4_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_OK_Integer4 = {
...
...
@@ -662,7 +662,7 @@ NO_Integer5_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [NO-Integer5] >>> ***/
static ber_tlv_tag_t asn_DEF_NO_Integer5_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_NO_Integer5_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (2 << 2))
};
asn_TYPE_descriptor_t asn_DEF_NO_Integer5 = {
...
...
tests/92-circular-loops-OK.asn1.-Pfindirect-choice
View file @
a7591b5c
...
...
@@ -138,10 +138,10 @@ static asn_TYPE_member_t asn_MBR_Everything_1[] = {
.name = "to"
},
};
static ber_tlv_tag_t asn_DEF_Everything_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Everything_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Everything_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Everything_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ch1 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ch2 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ch3 */
...
...
@@ -251,7 +251,7 @@ static asn_TYPE_member_t asn_MBR_Choice1_1[] = {
.name = "some2"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* something */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some2 */
};
...
...
@@ -354,7 +354,7 @@ static asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.name = "some3"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* typeref */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some3 */
};
...
...
@@ -458,11 +458,11 @@ static asn_TYPE_member_t asn_MBR_a_2[] = {
.name = "aa"
},
};
static ber_tlv_tag_t asn_DEF_a_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_a_tags_2[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_a_tag2el_2[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_a_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* aa */
};
static asn_SEQUENCE_specifics_t asn_SPC_a_specs_2 = {
...
...
@@ -510,7 +510,7 @@ static asn_TYPE_member_t asn_MBR_c_5[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_c_tags_5[] = {
static
const
ber_tlv_tag_t asn_DEF_c_tags_5[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
...
...
@@ -573,7 +573,7 @@ static asn_TYPE_member_t asn_MBR_Choice3_1[] = {
.name = "c"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice3_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice3_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* c */
...
...
@@ -703,10 +703,10 @@ static asn_TYPE_member_t asn_MBR_Member_2[] = {
.name = "set3"
},
};
static ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* int */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* set */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* seq */
...
...
@@ -758,7 +758,7 @@ static asn_TYPE_member_t asn_MBR_Set_1[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_Set_specs_1 = {
...
...
@@ -866,10 +866,10 @@ static asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.name = "set"
},
};
static ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* seq */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* b */
...
...
@@ -1007,7 +1007,7 @@ TypeRef_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [TypeRef] >>> ***/
static ber_tlv_tag_t asn_DEF_TypeRef_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_TypeRef_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_TYPE_descriptor_t asn_DEF_TypeRef = {
...
...
@@ -1078,11 +1078,11 @@ static asn_TYPE_member_t asn_MBR_b_3[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_b_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_b_tags_3[] = {
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* b */
};
static asn_SEQUENCE_specifics_t asn_SPC_b_specs_3 = {
...
...
@@ -1139,10 +1139,10 @@ static asn_TYPE_member_t asn_MBR_Alpha_1[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_Alpha_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Alpha_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Alpha_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Alpha_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* b */
};
...
...
@@ -1230,10 +1230,10 @@ static asn_TYPE_member_t asn_MBR_Beta_1[] = {
.name = "g"
},
};
static ber_tlv_tag_t asn_DEF_Beta_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Beta_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Beta_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Beta_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* b */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
};
...
...
@@ -1333,10 +1333,10 @@ static asn_TYPE_member_t asn_MBR_Gamma_1[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_Gamma_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Gamma_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Gamma_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Gamma_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* o */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* b */
...
...
@@ -1427,13 +1427,13 @@ static asn_TYPE_member_t asn_MBR_OneTwo_1[] = {
.name = "m12"
},
};
static ber_tlv_tag_t asn_DEF_OneTwo_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OneTwo_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_OneTwo_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_OneTwo_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m12 */
};
static uint8_t asn_MAP_OneTwo_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_OneTwo_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7)
};
static asn_SET_specifics_t asn_SPC_OneTwo_specs_1 = {
...
...
@@ -1524,13 +1524,13 @@ static asn_TYPE_member_t asn_MBR_TwoThree_1[] = {
.name = "m23"
},
};
static ber_tlv_tag_t asn_DEF_TwoThree_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_TwoThree_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_TwoThree_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_TwoThree_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m23 */
};
static uint8_t asn_MAP_TwoThree_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_TwoThree_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7)
};
static asn_SET_specifics_t asn_SPC_TwoThree_specs_1 = {
...
...
@@ -1634,14 +1634,14 @@ static asn_TYPE_member_t asn_MBR_ThreeOne_1[] = {
.name = "g"
},
};
static ber_tlv_tag_t asn_DEF_ThreeOne_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_ThreeOne_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_ThreeOne_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_ThreeOne_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* m31 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
};
static uint8_t asn_MAP_ThreeOne_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_ThreeOne_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7) | (1 << 6)
};
static asn_SET_specifics_t asn_SPC_ThreeOne_specs_1 = {
...
...
tests/92-circular-loops-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -138,10 +138,10 @@ static asn_TYPE_member_t asn_MBR_Everything_1[] = {
.name = "to"
},
};
static ber_tlv_tag_t asn_DEF_Everything_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Everything_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Everything_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Everything_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ch1 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* ch2 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* ch3 */
...
...
@@ -251,7 +251,7 @@ static asn_TYPE_member_t asn_MBR_Choice1_1[] = {
.name = "some2"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice1_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* something */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some2 */
};
...
...
@@ -353,7 +353,7 @@ static asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.name = "some3"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* typeref */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* some3 */
};
...
...
@@ -457,11 +457,11 @@ static asn_TYPE_member_t asn_MBR_a_2[] = {
.name = "aa"
},
};
static ber_tlv_tag_t asn_DEF_a_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_a_tags_2[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_a_tag2el_2[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_a_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* aa */
};
static asn_SEQUENCE_specifics_t asn_SPC_a_specs_2 = {
...
...
@@ -509,7 +509,7 @@ static asn_TYPE_member_t asn_MBR_c_5[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_c_tags_5[] = {
static
const
ber_tlv_tag_t asn_DEF_c_tags_5[] = {
(ASN_TAG_CLASS_CONTEXT | (2 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
...
...
@@ -572,7 +572,7 @@ static asn_TYPE_member_t asn_MBR_Choice3_1[] = {
.name = "c"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice3_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice3_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* b */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* c */
...
...
@@ -702,10 +702,10 @@ static asn_TYPE_member_t asn_MBR_Member_2[] = {
.name = "set3"
},
};
static ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_Member_tags_2[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Member_tag2el_2[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* int */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* set */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* seq */
...
...
@@ -757,7 +757,7 @@ static asn_TYPE_member_t asn_MBR_Set_1[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_SET_OF_specifics_t asn_SPC_Set_specs_1 = {
...
...
@@ -865,10 +865,10 @@ static asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.name = "set"
},
};
static ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* seq */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* b */
...
...
@@ -1006,7 +1006,7 @@ TypeRef_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
/*** <<< STAT-DEFS [TypeRef] >>> ***/
static ber_tlv_tag_t asn_DEF_TypeRef_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_TypeRef_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
asn_TYPE_descriptor_t asn_DEF_TypeRef = {
...
...
@@ -1077,11 +1077,11 @@ static asn_TYPE_member_t asn_MBR_b_3[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_b_tags_3[] = {
static
const
ber_tlv_tag_t asn_DEF_b_tags_3[] = {
(ASN_TAG_CLASS_CONTEXT | (1 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_b_tag2el_3[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* b */
};
static asn_SEQUENCE_specifics_t asn_SPC_b_specs_3 = {
...
...
@@ -1138,10 +1138,10 @@ static asn_TYPE_member_t asn_MBR_Alpha_1[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_Alpha_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Alpha_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Alpha_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Alpha_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* b */
};
...
...
@@ -1229,10 +1229,10 @@ static asn_TYPE_member_t asn_MBR_Beta_1[] = {
.name = "g"
},
};
static ber_tlv_tag_t asn_DEF_Beta_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Beta_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Beta_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Beta_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* b */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
};
...
...
@@ -1332,10 +1332,10 @@ static asn_TYPE_member_t asn_MBR_Gamma_1[] = {
.name = "b"
},
};
static ber_tlv_tag_t asn_DEF_Gamma_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Gamma_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Gamma_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Gamma_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* o */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* a */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* b */
...
...
@@ -1426,13 +1426,13 @@ static asn_TYPE_member_t asn_MBR_OneTwo_1[] = {
.name = "m12"
},
};
static ber_tlv_tag_t asn_DEF_OneTwo_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_OneTwo_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_OneTwo_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_OneTwo_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m12 */
};
static uint8_t asn_MAP_OneTwo_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_OneTwo_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7)
};
static asn_SET_specifics_t asn_SPC_OneTwo_specs_1 = {
...
...
@@ -1523,13 +1523,13 @@ static asn_TYPE_member_t asn_MBR_TwoThree_1[] = {
.name = "m23"
},
};
static ber_tlv_tag_t asn_DEF_TwoThree_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_TwoThree_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_TwoThree_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_TwoThree_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 } /* m23 */
};
static uint8_t asn_MAP_TwoThree_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_TwoThree_mmap_1[(1 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7)
};
static asn_SET_specifics_t asn_SPC_TwoThree_specs_1 = {
...
...
@@ -1633,14 +1633,14 @@ static asn_TYPE_member_t asn_MBR_ThreeOne_1[] = {
.name = "g"
},
};
static ber_tlv_tag_t asn_DEF_ThreeOne_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_ThreeOne_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_ThreeOne_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_ThreeOne_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* m31 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* g */
};
static uint8_t asn_MAP_ThreeOne_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_ThreeOne_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7) | (1 << 6)
};
static asn_SET_specifics_t asn_SPC_ThreeOne_specs_1 = {
...
...
tests/93-asn1c-controls-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -40,10 +40,10 @@ static asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.name = "aptr"
},
};
static ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Sequence_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Sequence_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ainl */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* aptr */
};
...
...
@@ -145,14 +145,14 @@ static asn_TYPE_member_t asn_MBR_Set_1[] = {
.name = "aptr"
},
};
static ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Set_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Set_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Set_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* ainl */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* aptr */
};
static uint8_t asn_MAP_Set_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_Set_mmap_1[(2 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7) | (1 << 6)
};
static asn_SET_specifics_t asn_SPC_Set_specs_1 = {
...
...
@@ -252,7 +252,7 @@ static asn_TYPE_member_t asn_MBR_setof_2[] = {
.name = ""
},
};
static ber_tlv_tag_t asn_DEF_setof_tags_2[] = {
static
const
ber_tlv_tag_t asn_DEF_setof_tags_2[] = {
(ASN_TAG_CLASS_CONTEXT | (0 << 2)),
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
...
...
@@ -315,7 +315,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.name = "ainl"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* setof */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* aptr */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 } /* ainl */
...
...
tests/94-set-optionals-OK.asn1.-P
View file @
a7591b5c
...
...
@@ -147,10 +147,10 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.name = "m9"
},
};
static ber_tlv_tag_t asn_DEF_TestSet_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_TestSet_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (17 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_TestSet_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_TestSet_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* m0 */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* m1 */
{ (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* m2 */
...
...
@@ -162,7 +162,7 @@ static asn_TYPE_tag2member_t asn_MAP_TestSet_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0 }, /* m8 */
{ (ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0 } /* m9 */
};
static uint8_t asn_MAP_TestSet_mmap_1[(10 + (8 * sizeof(unsigned int)) - 1) / 8] = {
static
const
uint8_t asn_MAP_TestSet_mmap_1[(10 + (8 * sizeof(unsigned int)) - 1) / 8] = {
(1 << 7) | (0 << 6) | (1 << 5) | (1 << 4) | (0 << 3) | (1 << 2) | (1 << 1) | (1 << 0),
(0 << 7) | (1 << 6)
};
...
...
tests/95-choice-per-order-OK.asn1.-Pfwide-types
View file @
a7591b5c
...
...
@@ -78,7 +78,7 @@ static asn_TYPE_member_t asn_MBR_ch_4[] = {
.name = "int"
},
};
static asn_TYPE_tag2member_t asn_MAP_ch_tag2el_4[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_ch_tag2el_4[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* int */
{ (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)), 0, 0, 0 } /* null */
};
...
...
@@ -153,7 +153,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.name = "bool"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 3, 0, 0 }, /* bool */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, 0, 0 }, /* int */
{ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 1, 0, 0 }, /* bitstr */
...
...
@@ -246,7 +246,7 @@ static asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.name = "roid"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bitstr */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* roid */
};
...
...
tests/95-choice-per-order-OK.asn1.-Pgen-PER
View file @
a7591b5c
...
...
@@ -91,8 +91,8 @@ static asn_TYPE_member_t asn_MBR_ch_4[] = {
.name = "int"
},
};
static int asn_MAP_ch_cmap_4[] = { 1, 0 };
static asn_TYPE_tag2member_t asn_MAP_ch_tag2el_4[] = {
static
const
int asn_MAP_ch_cmap_4[] = { 1, 0 };
static
const
asn_TYPE_tag2member_t asn_MAP_ch_tag2el_4[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 1, 0, 0 }, /* int */
{ (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)), 0, 0, 0 } /* null */
};
...
...
@@ -168,8 +168,8 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.name = "bool"
},
};
static int asn_MAP_Choice_cmap_1[] = { 2, 1, 0, 3 };
static asn_TYPE_tag2member_t asn_MAP_Choice_tag2el_1[] = {
static
const
int asn_MAP_Choice_cmap_1[] = { 2, 1, 0, 3 };
static
const
asn_TYPE_tag2member_t asn_MAP_Choice_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)), 3, 0, 0 }, /* bool */
{ (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)), 2, 0, 0 }, /* int */
{ (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)), 1, 0, 0 }, /* bitstr */
...
...
@@ -271,7 +271,7 @@ static asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.name = "roid"
},
};
static asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Choice2_tag2el_1[] = {
{ (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* bitstr */
{ (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 } /* roid */
};
...
...
tests/98-attribute-class-OK.asn1.-P
View file @
a7591b5c
...
...
@@ -63,10 +63,10 @@ static asn_TYPE_member_t asn_MBR_Attribute_1[] = {
.name = "siAttributeValue"
},
};
static ber_tlv_tag_t asn_DEF_Attribute_tags_1[] = {
static
const
ber_tlv_tag_t asn_DEF_Attribute_tags_1[] = {
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
};
static asn_TYPE_tag2member_t asn_MAP_Attribute_tag2el_1[] = {
static
const
asn_TYPE_tag2member_t asn_MAP_Attribute_tag2el_1[] = {
{ (ASN_TAG_CLASS_UNIVERSAL | (13 << 2)), 0, 0, 0 }, /* identifier */
{ (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)), 1, 0, 0 } /* siAttributeValue */
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment