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
67a30129
Commit
67a30129
authored
Aug 10, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regenerated
parent
9de6cd89
Changes
45
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
487 additions
and
31 deletions
+487
-31
tests/104-param-1-OK.asn1.-Pfwide-types
tests/104-param-1-OK.asn1.-Pfwide-types
+4
-0
tests/105-param-2-OK.asn1.-Pfwide-types
tests/105-param-2-OK.asn1.-Pfwide-types
+3
-0
tests/106-param-constr-OK.asn1.-P
tests/106-param-constr-OK.asn1.-P
+3
-0
tests/110-param-3-OK.asn1.-Pfwide-types
tests/110-param-3-OK.asn1.-Pfwide-types
+2
-0
tests/119-per-strings-OK.asn1.-Pgen-PER
tests/119-per-strings-OK.asn1.-Pgen-PER
+32
-0
tests/126-per-extensions-OK.asn1.-Pgen-PER
tests/126-per-extensions-OK.asn1.-Pgen-PER
+8
-0
tests/127-per-long-OK.asn1.-Pgen-PER
tests/127-per-long-OK.asn1.-Pgen-PER
+4
-0
tests/134-per-long-OK.asn1.-Pgen-PER
tests/134-per-long-OK.asn1.-Pgen-PER
+4
-0
tests/136-oer-long-OK.asn1.-Pgen-OER
tests/136-oer-long-OK.asn1.-Pgen-OER
+12
-0
tests/137-oer-string-OK.asn1.-Pgen-OER
tests/137-oer-string-OK.asn1.-Pgen-OER
+8
-0
tests/139-component-relation-OK.asn1.-P
tests/139-component-relation-OK.asn1.-P
+35
-11
tests/140-component-relation-OK.asn1.-P
tests/140-component-relation-OK.asn1.-P
+35
-11
tests/19-param-OK.asn1.-Pfwide-types
tests/19-param-OK.asn1.-Pfwide-types
+8
-0
tests/22-tags-OK.asn1.-Pfwide-types
tests/22-tags-OK.asn1.-Pfwide-types
+5
-0
tests/30-set-OK.asn1.-Pfwide-types
tests/30-set-OK.asn1.-Pfwide-types
+3
-0
tests/31-set-of-OK.asn1.-Pfwide-types
tests/31-set-of-OK.asn1.-Pfwide-types
+11
-0
tests/32-sequence-of-OK.asn1.-P
tests/32-sequence-of-OK.asn1.-P
+8
-0
tests/37-indirect-choice-OK.asn1.-Pfwide-types
tests/37-indirect-choice-OK.asn1.-Pfwide-types
+10
-0
tests/39-sequence-of-OK.asn1.-Pfwide-types
tests/39-sequence-of-OK.asn1.-Pfwide-types
+5
-0
tests/42-real-life-OK.asn1.-PR
tests/42-real-life-OK.asn1.-PR
+16
-0
tests/43-recursion-OK.asn1.-Pfwide-types
tests/43-recursion-OK.asn1.-Pfwide-types
+13
-0
tests/44-choice-in-sequence-OK.asn1.-P
tests/44-choice-in-sequence-OK.asn1.-P
+10
-0
tests/46-redefine-OK.asn1.-PR
tests/46-redefine-OK.asn1.-PR
+1
-0
tests/47-set-ext-OK.asn1.-Pfwide-types
tests/47-set-ext-OK.asn1.-Pfwide-types
+4
-0
tests/50-constraint-OK.asn1.-Pfwide-types
tests/50-constraint-OK.asn1.-Pfwide-types
+8
-0
tests/50-constraint-OK.asn1.-Pgen-PER
tests/50-constraint-OK.asn1.-Pgen-PER
+8
-0
tests/59-choice-extended-OK.asn1.-Pfwide-types
tests/59-choice-extended-OK.asn1.-Pfwide-types
+3
-0
tests/60-any-OK.asn1.-Pfwide-types
tests/60-any-OK.asn1.-Pfwide-types
+6
-0
tests/65-multi-tag-OK.asn1.-Pfnative-types
tests/65-multi-tag-OK.asn1.-Pfnative-types
+3
-0
tests/65-multi-tag-OK.asn1.-Pfwide-types
tests/65-multi-tag-OK.asn1.-Pfwide-types
+3
-0
tests/66-ref-simple-OK.asn1.-Pfwide-types
tests/66-ref-simple-OK.asn1.-Pfwide-types
+1
-0
tests/69-reserved-words-OK.asn1.-Pfwide-types
tests/69-reserved-words-OK.asn1.-Pfwide-types
+4
-0
tests/70-xer-test-OK.asn1.-Pfwide-types
tests/70-xer-test-OK.asn1.-Pfwide-types
+40
-0
tests/72-same-names-OK.asn1.-Pfwide-types
tests/72-same-names-OK.asn1.-Pfwide-types
+15
-0
tests/73-circular-OK.asn1.-Pfwide-types
tests/73-circular-OK.asn1.-Pfwide-types
+12
-0
tests/84-param-tags-OK.asn1.-Pfwide-types
tests/84-param-tags-OK.asn1.-Pfwide-types
+8
-0
tests/89-bit-string-enum-OK.asn1.-Pfcompound-names
tests/89-bit-string-enum-OK.asn1.-Pfcompound-names
+1
-0
tests/89-bit-string-enum-OK.asn1.-Pfwide-types
tests/89-bit-string-enum-OK.asn1.-Pfwide-types
+1
-0
tests/92-circular-loops-OK.asn1.-Pfindirect-choice
tests/92-circular-loops-OK.asn1.-Pfindirect-choice
+41
-0
tests/92-circular-loops-OK.asn1.-Pfwide-types
tests/92-circular-loops-OK.asn1.-Pfwide-types
+41
-0
tests/93-asn1c-controls-OK.asn1.-Pfwide-types
tests/93-asn1c-controls-OK.asn1.-Pfwide-types
+8
-0
tests/94-set-optionals-OK.asn1.-P
tests/94-set-optionals-OK.asn1.-P
+10
-0
tests/95-choice-per-order-OK.asn1.-Pfwide-types
tests/95-choice-per-order-OK.asn1.-Pfwide-types
+8
-0
tests/95-choice-per-order-OK.asn1.-Pgen-PER
tests/95-choice-per-order-OK.asn1.-Pgen-PER
+8
-0
tests/98-attribute-class-OK.asn1.-P
tests/98-attribute-class-OK.asn1.-P
+14
-9
No files found.
tests/104-param-1-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -37,6 +37,7 @@ asn_TYPE_member_t asn_MBR_Collection_16P0_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
.tag_mode = 0,
.type = &asn_DEF_REAL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -84,6 +85,7 @@ asn_TYPE_member_t asn_MBR_Collection_16P1_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
.tag_mode = 0,
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -153,6 +155,7 @@ static asn_TYPE_member_t asn_MBR_Bunch_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Collection_16P0,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -163,6 +166,7 @@ static asn_TYPE_member_t asn_MBR_Bunch_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Collection_16P1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/105-param-2-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -56,6 +56,7 @@ asn_TYPE_member_t asn_MBR_SIGNED_16P0_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
.tag_mode = 0,
.type = &asn_DEF_REAL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -110,6 +111,7 @@ static asn_TYPE_member_t asn_MBR_signed_4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -171,6 +173,7 @@ asn_TYPE_member_t asn_MBR_SIGNED_16P1_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_signed_4,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/106-param-constr-OK.asn1.-P
View file @
67a30129
...
...
@@ -124,6 +124,7 @@ asn_TYPE_member_t asn_MBR_Narrow_15P0_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_narrow1_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -134,6 +135,7 @@ asn_TYPE_member_t asn_MBR_Narrow_15P0_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_narrow2_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -144,6 +146,7 @@ asn_TYPE_member_t asn_MBR_Narrow_15P0_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_narrow3_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/110-param-3-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -77,6 +77,7 @@ asn_TYPE_member_t asn_MBR_Flag_16P0_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -200,6 +201,7 @@ asn_TYPE_member_t asn_MBR_Flag_16P1_6[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
.tag_mode = 0,
.type = &asn_DEF_field_7,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/119-per-strings-OK.asn1.-Pgen-PER
View file @
67a30129
This diff is collapsed.
Click to expand it.
tests/126-per-extensions-OK.asn1.-Pgen-PER
View file @
67a30129
...
...
@@ -41,6 +41,7 @@ static asn_TYPE_member_t asn_MBR_PDU_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -51,6 +52,7 @@ static asn_TYPE_member_t asn_MBR_PDU_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -61,6 +63,7 @@ static asn_TYPE_member_t asn_MBR_PDU_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_Singleton,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -71,6 +74,7 @@ static asn_TYPE_member_t asn_MBR_PDU_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_PDU_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -180,6 +184,7 @@ asn_TYPE_member_t asn_MBR_Singleton_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -288,6 +293,7 @@ asn_TYPE_member_t asn_MBR_PDU_2_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -298,6 +304,7 @@ asn_TYPE_member_t asn_MBR_PDU_2_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -308,6 +315,7 @@ asn_TYPE_member_t asn_MBR_PDU_2_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
tests/127-per-long-OK.asn1.-Pgen-PER
View file @
67a30129
...
...
@@ -279,6 +279,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_small32range_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_small32range_constr_2,
...
...
@@ -289,6 +290,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_full32range_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_full32range_constr_3,
...
...
@@ -299,6 +301,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_unsigned32_4,
.type_selector = 0,
.memb_constraints = memb_unsigned32_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_unsigned32_constr_4,
...
...
@@ -309,6 +312,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_unsplit32_5,
.type_selector = 0,
.memb_constraints = memb_unsplit32_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_unsplit32_constr_5,
...
...
tests/134-per-long-OK.asn1.-Pgen-PER
View file @
67a30129
...
...
@@ -177,6 +177,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = memb_unsigned33_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_unsigned33_constr_2,
...
...
@@ -187,6 +188,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = memb_unsigned42_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_unsigned42_constr_3,
...
...
@@ -197,6 +199,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = memb_signed33_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_signed33_constr_4,
...
...
@@ -207,6 +210,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = memb_signed33ext_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_signed33ext_constr_5,
...
...
tests/136-oer-long-OK.asn1.-Pgen-OER
View file @
67a30129
...
...
@@ -406,6 +406,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_unsigned8_constraint_1,
.oer_constraints = &asn_OER_memb_unsigned8_constr_2,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -416,6 +417,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_unsigned16_constraint_1,
.oer_constraints = &asn_OER_memb_unsigned16_constr_3,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -426,6 +428,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_unsigned16stack_constraint_1,
.oer_constraints = &asn_OER_memb_unsigned16stack_constr_4,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -436,6 +439,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (15 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_unsigned16stack_ext_constraint_1,
.oer_constraints = &asn_OER_memb_unsigned16stack_ext_constr_5,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -446,6 +450,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = memb_unsigned33_constraint_1,
.oer_constraints = &asn_OER_memb_unsigned33_constr_6,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -456,6 +461,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_minmax_constraint_1,
.oer_constraints = &asn_OER_memb_minmax_constr_7,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -466,6 +472,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (10 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_signed8_constraint_1,
.oer_constraints = &asn_OER_memb_signed8_constr_9,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -476,6 +483,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (11 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_signed16_constraint_1,
.oer_constraints = &asn_OER_memb_signed16_constr_10,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -486,6 +494,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (12 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_signed16stack_constraint_1,
.oer_constraints = &asn_OER_memb_signed16stack_constr_11,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -496,6 +505,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_signed16stack_ext_constraint_1,
.oer_constraints = &asn_OER_memb_signed16stack_ext_constr_12,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -506,6 +516,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_signed32_constraint_1,
.oer_constraints = &asn_OER_memb_signed32_constr_13,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -516,6 +527,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = memb_signed33ext_constraint_1,
.oer_constraints = &asn_OER_memb_signed33ext_constr_14,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/137-oer-string-OK.asn1.-Pgen-OER
View file @
67a30129
...
...
@@ -175,6 +175,7 @@ static asn_TYPE_member_t asn_MBR_unconstrained_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
.tag_mode = 0,
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* No OER visible constraints */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -185,6 +186,7 @@ static asn_TYPE_member_t asn_MBR_unconstrained_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
.tag_mode = 0,
.type = &asn_DEF_UTF8String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* No OER visible constraints */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -195,6 +197,7 @@ static asn_TYPE_member_t asn_MBR_unconstrained_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (28 << 2)),
.tag_mode = 0,
.type = &asn_DEF_UniversalString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* No OER visible constraints */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -253,6 +256,7 @@ static asn_TYPE_member_t asn_MBR_constrained_6[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
.tag_mode = 0,
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = memb_con_ia5_constraint_6,
.oer_constraints = &asn_OER_memb_con_ia5_constr_7,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -263,6 +267,7 @@ static asn_TYPE_member_t asn_MBR_constrained_6[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
.tag_mode = 0,
.type = &asn_DEF_UTF8String,
.type_selector = 0,
.memb_constraints = memb_con_utf8_constraint_6,
.oer_constraints = &asn_OER_memb_con_utf8_constr_8,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -273,6 +278,7 @@ static asn_TYPE_member_t asn_MBR_constrained_6[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (28 << 2)),
.tag_mode = 0,
.type = &asn_DEF_UniversalString,
.type_selector = 0,
.memb_constraints = memb_con_universal_constraint_6,
.oer_constraints = &asn_OER_memb_con_universal_constr_9,
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -331,6 +337,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_unconstrained_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* No OER visible constraints */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -341,6 +348,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_constrained_6,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* No OER visible constraints */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/139-component-relation-OK.asn1.-P
View file @
67a30129
...
...
@@ -26,6 +26,20 @@ typedef struct Frame {
extern asn_TYPE_descriptor_t asn_DEF_Frame;
/*** <<< IOC-TABLES [Frame] >>> ***/
static const long asn_VAL_basicMessage_0 = 1;
static const long asn_VAL_2_0 = 2;
static const asn_ioc_cell_t asn_IOS_FrameTypes_1_rows[] = {
{ "&id", aioc__value, &asn_DEF_NativeInteger, &asn_VAL_basicMessage_0 },
{ "&Type", aioc__type, &asn_DEF_PrimitiveMessage },
{ "&id", aioc__value, &asn_DEF_NativeInteger, &asn_VAL_2_0 },
{ "&Type", aioc__type, &asn_DEF_ComplexMessage }
};
static asn_ioc_set_t asn_IOS_FrameTypes_1[] = {
2, 2, asn_IOS_FrameTypes_1_rows
};
/*** <<< CODE [Frame] >>> ***/
static int
...
...
@@ -47,6 +61,25 @@ memb_ident_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
return td->check_constraints(td, sptr, ctfailcb, app_key);
}
static asn_TYPE_descriptor_t *
select_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
asn_ioc_set_t *itable = asn_IOS_FrameTypes_1;
size_t constraining_column = 0; /* &id */
size_t for_column = 1; /* &Type */
size_t row;
const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct Frame, ident));
for(row=0; row < itable->rows_count; row++) {
asn_ioc_cell_s *constraining_cell = itable->rows[row * itable->columns_count + constraining_column];
asn_ioc_cell_s *type_cell = itable->rows[row * itable->columns_count + for_column];
if(constraining_cell->type_descriptor->struct_compare(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) {
return type_cell->type_descriptor;
}
}
return NULL;
}
static int
memb_value_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
...
...
@@ -69,22 +102,12 @@ memb_value_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
/*** <<< STAT-DEFS [Frame] >>> ***/
static const long asn_VAL_basicMessage_0 = 1;
static const long asn_VAL_2_0 = 2;
static const asn_ioc_cell_t asn_IOS_FrameTypes_1_rows[] = {
{ "&id", aioc__value, &asn_DEF_NativeInteger, &asn_VAL_basicMessage_0 },
{ "&Type", aioc__type, &asn_DEF_PrimitiveMessage },
{ "&id", aioc__value, &asn_DEF_NativeInteger, &asn_VAL_2_0 },
{ "&Type", aioc__type, &asn_DEF_ComplexMessage }
};
static asn_ioc_set_t asn_IOS_FrameTypes_1[] = {
2, 2, asn_IOS_FrameTypes_1_rows
};
static asn_TYPE_member_t asn_MBR_Frame_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Frame, ident),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_ident_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -95,6 +118,7 @@ static asn_TYPE_member_t asn_MBR_Frame_1[] = {
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
.type = &asn_DEF_ANY,
.type_selector = select_value_type,
.memb_constraints = memb_value_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/140-component-relation-OK.asn1.-P
View file @
67a30129
...
...
@@ -26,6 +26,20 @@ typedef struct Frame {
extern asn_TYPE_descriptor_t asn_DEF_Frame;
/*** <<< IOC-TABLES [Frame] >>> ***/
static const long asn_VAL_basicMessage_0 = 1;
static const long asn_VAL_2_0 = 2;
static const asn_ioc_cell_t asn_IOS_FrameTypes_1_rows[] = {
{ "&id", aioc__value, &asn_DEF_NativeInteger, &asn_VAL_basicMessage_0 },
{ "&Type", aioc__type, &asn_DEF_PrimitiveMessage },
{ "&id", aioc__value, &asn_DEF_NativeInteger, &asn_VAL_2_0 },
{ "&Type", aioc__type, &asn_DEF_ComplexMessage }
};
static asn_ioc_set_t asn_IOS_FrameTypes_1[] = {
2, 2, asn_IOS_FrameTypes_1_rows
};
/*** <<< CODE [Frame] >>> ***/
static int
...
...
@@ -47,6 +61,25 @@ memb_ident_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
return td->check_constraints(td, sptr, ctfailcb, app_key);
}
static asn_TYPE_descriptor_t *
select_value_type(const asn_TYPE_descriptor_t *parent_type, const void *parent_sptr) {
asn_ioc_set_t *itable = asn_IOS_FrameTypes_1;
size_t constraining_column = 0; /* &id */
size_t for_column = 1; /* &Type */
size_t row;
const long *constraining_value = (const long *)((const char *)parent_sptr + offsetof(struct Frame, ident));
for(row=0; row < itable->rows_count; row++) {
asn_ioc_cell_s *constraining_cell = itable->rows[row * itable->columns_count + constraining_column];
asn_ioc_cell_s *type_cell = itable->rows[row * itable->columns_count + for_column];
if(constraining_cell->type_descriptor->struct_compare(constraining_cell->type_descriptor, constraining_value, constraining_cell->value_sptr) == 0) {
return type_cell->type_descriptor;
}
}
return NULL;
}
static int
memb_value_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb, void *app_key) {
...
...
@@ -69,22 +102,12 @@ memb_value_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
/*** <<< STAT-DEFS [Frame] >>> ***/
static const long asn_VAL_basicMessage_0 = 1;
static const long asn_VAL_2_0 = 2;
static const asn_ioc_cell_t asn_IOS_FrameTypes_1_rows[] = {
{ "&id", aioc__value, &asn_DEF_NativeInteger, &asn_VAL_basicMessage_0 },
{ "&Type", aioc__type, &asn_DEF_PrimitiveMessage },
{ "&id", aioc__value, &asn_DEF_NativeInteger, &asn_VAL_2_0 },
{ "&Type", aioc__type, &asn_DEF_ComplexMessage }
};
static asn_ioc_set_t asn_IOS_FrameTypes_1[] = {
2, 2, asn_IOS_FrameTypes_1_rows
};
static asn_TYPE_member_t asn_MBR_Frame_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Frame, ident),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_ident_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -95,6 +118,7 @@ static asn_TYPE_member_t asn_MBR_Frame_1[] = {
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
.type = &asn_DEF_ANY,
.type_selector = select_value_type,
.memb_constraints = memb_value_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/19-param-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -72,6 +72,7 @@ static asn_TYPE_member_t asn_MBR_toBeSigned_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -82,6 +83,7 @@ static asn_TYPE_member_t asn_MBR_toBeSigned_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
.tag_mode = 0,
.type = &asn_DEF_OBJECT_IDENTIFIER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -92,6 +94,7 @@ static asn_TYPE_member_t asn_MBR_toBeSigned_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Name,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -149,6 +152,7 @@ asn_TYPE_member_t asn_MBR_SIGNED_15P0_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_toBeSigned_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -159,6 +163,7 @@ asn_TYPE_member_t asn_MBR_SIGNED_15P0_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
.tag_mode = 0,
.type = &asn_DEF_OBJECT_IDENTIFIER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -169,6 +174,7 @@ asn_TYPE_member_t asn_MBR_SIGNED_15P0_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BIT_STRING,
.type_selector = 0,
.memb_constraints = memb_signature_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -315,6 +321,7 @@ asn_TYPE_member_t asn_MBR_Name_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_RelativeDistinguishedName,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -441,6 +448,7 @@ asn_TYPE_member_t asn_MBR_RelativeDistinguishedName_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
.tag_mode = 0,
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = memb_IA5String_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/22-tags-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -46,6 +46,7 @@ static asn_TYPE_member_t asn_MBR_b_3[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -56,6 +57,7 @@ static asn_TYPE_member_t asn_MBR_b_3[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -108,6 +110,7 @@ static asn_TYPE_member_t asn_MBR_T1_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -118,6 +121,7 @@ static asn_TYPE_member_t asn_MBR_T1_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_b_3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -128,6 +132,7 @@ static asn_TYPE_member_t asn_MBR_T1_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_UTF8String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/30-set-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -48,6 +48,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -58,6 +59,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
.tag_mode = 0,
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -68,6 +70,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/31-set-of-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -34,6 +34,7 @@ asn_TYPE_member_t asn_MBR_Forest_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Tree,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -105,6 +106,7 @@ asn_TYPE_member_t asn_MBR_Tree_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -115,6 +117,7 @@ asn_TYPE_member_t asn_MBR_Tree_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -263,6 +266,7 @@ static asn_TYPE_member_t asn_MBR_trees_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Forest,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -312,6 +316,7 @@ static asn_TYPE_member_t asn_MBR_Member_5[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BIT_STRING,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -367,6 +372,7 @@ static asn_TYPE_member_t asn_MBR_anything_4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Member_5,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -416,6 +422,7 @@ static asn_TYPE_member_t asn_MBR_other_9[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -426,6 +433,7 @@ static asn_TYPE_member_t asn_MBR_other_9[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -478,6 +486,7 @@ static asn_TYPE_member_t asn_MBR_Stuff_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = 0,
.type = &asn_DEF_trees_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -488,6 +497,7 @@ static asn_TYPE_member_t asn_MBR_Stuff_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_anything_4,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -498,6 +508,7 @@ static asn_TYPE_member_t asn_MBR_Stuff_1[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = &asn_DEF_other_9,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/32-sequence-of-OK.asn1.-P
View file @
67a30129
...
...
@@ -32,6 +32,7 @@ static asn_TYPE_member_t asn_MBR_Programming_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_Fault,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -110,6 +111,7 @@ asn_TYPE_member_t asn_MBR_Fault_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Error,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -256,6 +258,7 @@ static asn_TYPE_member_t asn_MBR_seqOfMan_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Error,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -305,6 +308,7 @@ static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
.tag_mode = 0,
.type = &asn_DEF_UTF8String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -315,6 +319,7 @@ static asn_TYPE_member_t asn_MBR_SeqWithMandatory_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = 0,
.type = &asn_DEF_seqOfMan_3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -407,6 +412,7 @@ static asn_TYPE_member_t asn_MBR_seqOfOpt_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Error,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -456,6 +462,7 @@ static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
.tag_mode = 0,
.type = &asn_DEF_UTF8String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -466,6 +473,7 @@ static asn_TYPE_member_t asn_MBR_SeqWithOptional_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = 0,
.type = &asn_DEF_seqOfOpt_3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/37-indirect-choice-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -43,6 +43,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -53,6 +54,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
.tag_mode = 0,
.type = &asn_DEF_OCTET_STRING,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -63,6 +65,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_Choice1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -73,6 +76,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_Choice2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -162,6 +166,7 @@ asn_TYPE_member_t asn_MBR_Choice1_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
.tag_mode = 0,
.type = &asn_DEF_OCTET_STRING,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -172,6 +177,7 @@ asn_TYPE_member_t asn_MBR_Choice1_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -264,6 +270,7 @@ asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
.tag_mode = 0,
.type = &asn_DEF_OCTET_STRING,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -274,6 +281,7 @@ asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -284,6 +292,7 @@ asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_Choice1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -294,6 +303,7 @@ asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_Choice1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/39-sequence-of-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -40,6 +40,7 @@ static asn_TYPE_member_t asn_MBR_collection_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_T2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -88,6 +89,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -98,6 +100,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_collection_3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -178,6 +181,7 @@ asn_TYPE_member_t asn_MBR_T2_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -188,6 +192,7 @@ asn_TYPE_member_t asn_MBR_T2_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
.tag_mode = 0,
.type = &asn_DEF_UTF8String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/42-real-life-OK.asn1.-PR
View file @
67a30129
...
...
@@ -73,6 +73,7 @@ static asn_TYPE_member_t asn_MBR_varsets_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_VariablePartSet,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -121,6 +122,7 @@ static asn_TYPE_member_t asn_MBR_LogLine_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
.tag_mode = 0,
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -131,6 +133,7 @@ static asn_TYPE_member_t asn_MBR_LogLine_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_varsets_3,
.type_selector = 0,
.memb_constraints = memb_varsets_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -251,6 +254,7 @@ static asn_TYPE_member_t asn_MBR_vparts_2[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = &asn_DEF_VariablePart,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -299,6 +303,7 @@ asn_TYPE_member_t asn_MBR_VariablePartSet_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_vparts_2,
.type_selector = 0,
.memb_constraints = memb_vparts_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -309,6 +314,7 @@ asn_TYPE_member_t asn_MBR_VariablePartSet_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_ActionItem,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -452,6 +458,7 @@ static asn_TYPE_member_t asn_MBR_vset_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)),
.tag_mode = 0,
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -500,6 +507,7 @@ static asn_TYPE_member_t asn_MBR_vrange_4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)),
.tag_mode = 0,
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -510,6 +518,7 @@ static asn_TYPE_member_t asn_MBR_vrange_4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)),
.tag_mode = 0,
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -566,6 +575,7 @@ asn_TYPE_member_t asn_MBR_VariablePart_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_vset_2,
.type_selector = 0,
.memb_constraints = memb_vset_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -576,6 +586,7 @@ asn_TYPE_member_t asn_MBR_VariablePart_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_vrange_4,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -744,6 +755,7 @@ static asn_TYPE_member_t asn_MBR_email_9[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)),
.tag_mode = 0,
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -792,6 +804,7 @@ static asn_TYPE_member_t asn_MBR_notify_7[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -802,6 +815,7 @@ static asn_TYPE_member_t asn_MBR_notify_7[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_email_9,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -858,6 +872,7 @@ asn_TYPE_member_t asn_MBR_ActionItem_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
.tag_mode = 0,
.type = &asn_DEF_accept_as_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -868,6 +883,7 @@ asn_TYPE_member_t asn_MBR_ActionItem_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_notify_7,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/43-recursion-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -51,6 +51,7 @@ static asn_TYPE_member_t asn_MBR_t_member1_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Test_structure_1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -99,6 +100,7 @@ static asn_TYPE_member_t asn_MBR_t_member2_4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Test_structure_1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -147,6 +149,7 @@ asn_TYPE_member_t asn_MBR_Test_structure_1_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_t_member1_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -157,6 +160,7 @@ asn_TYPE_member_t asn_MBR_Test_structure_1_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_t_member2_4,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -167,6 +171,7 @@ asn_TYPE_member_t asn_MBR_Test_structure_1_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Test_structure_1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -177,6 +182,7 @@ asn_TYPE_member_t asn_MBR_Test_structure_1_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -288,6 +294,7 @@ static asn_TYPE_member_t asn_MBR_or_3[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = &asn_DEF_Choice_1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -337,6 +344,7 @@ asn_TYPE_member_t asn_MBR_Choice_1_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_Choice_1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -347,6 +355,7 @@ asn_TYPE_member_t asn_MBR_Choice_1_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_or_3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -357,6 +366,7 @@ asn_TYPE_member_t asn_MBR_Choice_1_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_Choice_1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -367,6 +377,7 @@ asn_TYPE_member_t asn_MBR_Choice_1_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -464,6 +475,7 @@ asn_TYPE_member_t asn_MBR_Test_structure_2_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Test_structure_3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -567,6 +579,7 @@ asn_TYPE_member_t asn_MBR_Test_structure_3_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Test_structure_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/44-choice-in-sequence-OK.asn1.-P
View file @
67a30129
...
...
@@ -75,6 +75,7 @@ static asn_TYPE_member_t asn_MBR_e_6[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (7 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -85,6 +86,7 @@ static asn_TYPE_member_t asn_MBR_e_6[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (8 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -137,6 +139,7 @@ static asn_TYPE_member_t asn_MBR_h_9[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -147,6 +150,7 @@ static asn_TYPE_member_t asn_MBR_h_9[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -199,6 +203,7 @@ static asn_TYPE_member_t asn_MBR_b_3[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (5 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -209,6 +214,7 @@ static asn_TYPE_member_t asn_MBR_b_3[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (6 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -219,6 +225,7 @@ static asn_TYPE_member_t asn_MBR_b_3[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = &asn_DEF_e_6,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -229,6 +236,7 @@ static asn_TYPE_member_t asn_MBR_b_3[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (9 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_h_9,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -284,6 +292,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -294,6 +303,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = &asn_DEF_b_3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/46-redefine-OK.asn1.-PR
View file @
67a30129
...
...
@@ -84,6 +84,7 @@ asn_TYPE_member_t asn_MBR_ConstructedType_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_PrimitiveType,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/47-set-ext-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -42,6 +42,7 @@ static asn_TYPE_member_t asn_MBR_T1_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -141,6 +142,7 @@ static asn_TYPE_member_t asn_MBR_T2_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -238,6 +240,7 @@ static asn_TYPE_member_t asn_MBR_T3_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -325,6 +328,7 @@ static asn_TYPE_member_t asn_MBR_T4_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/50-constraint-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -2373,6 +2373,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Int1,
.type_selector = 0,
.memb_constraints = memb_int1_c_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -2383,6 +2384,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_Int4,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -2393,6 +2395,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Int4,
.type_selector = 0,
.memb_constraints = memb_int4_c_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -2403,6 +2406,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -2413,6 +2417,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
.tag_mode = 0,
.type = &asn_DEF_enum_c_6,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -2423,6 +2428,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
.tag_mode = 0,
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -2433,6 +2439,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Int5,
.type_selector = 0,
.memb_constraints = memb_int5_c_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -2522,6 +2529,7 @@ static asn_TYPE_member_t asn_MBR_SequenceOf_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Sequence,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/50-constraint-OK.asn1.-Pgen-PER
View file @
67a30129
...
...
@@ -2600,6 +2600,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Int1,
.type_selector = 0,
.memb_constraints = memb_int1_c_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_int1_c_constr_2,
...
...
@@ -2610,6 +2611,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_Int4,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -2620,6 +2622,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Int4,
.type_selector = 0,
.memb_constraints = memb_int4_c_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_int4_c_constr_4,
...
...
@@ -2630,6 +2633,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -2640,6 +2644,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
.tag_mode = 0,
.type = &asn_DEF_enum_c_6,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -2650,6 +2655,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
.tag_mode = 0,
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -2660,6 +2666,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Int5,
.type_selector = 0,
.memb_constraints = memb_int5_c_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = &asn_PER_memb_int5_c_constr_13,
...
...
@@ -2760,6 +2767,7 @@ static asn_TYPE_member_t asn_MBR_SequenceOf_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Sequence,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
tests/59-choice-extended-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -53,6 +53,7 @@ asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -63,6 +64,7 @@ asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -73,6 +75,7 @@ asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_Choice,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/60-any-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -26,6 +26,7 @@ static asn_TYPE_member_t asn_MBR_T1_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -36,6 +37,7 @@ static asn_TYPE_member_t asn_MBR_T1_1[] = {
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
.type = &asn_DEF_ANY,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -113,6 +115,7 @@ static asn_TYPE_member_t asn_MBR_T2_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -123,6 +126,7 @@ static asn_TYPE_member_t asn_MBR_T2_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_ANY,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -200,6 +204,7 @@ static asn_TYPE_member_t asn_MBR_T3_1[] = {
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
.type = &asn_DEF_ANY,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -210,6 +215,7 @@ static asn_TYPE_member_t asn_MBR_T3_1[] = {
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
.type = &asn_DEF_ANY,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/65-multi-tag-OK.asn1.-Pfnative-types
View file @
67a30129
...
...
@@ -468,6 +468,7 @@ asn_TYPE_member_t asn_MBR_Ts_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_T2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -478,6 +479,7 @@ asn_TYPE_member_t asn_MBR_Ts_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_T3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -488,6 +490,7 @@ asn_TYPE_member_t asn_MBR_Ts_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_T3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/65-multi-tag-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -468,6 +468,7 @@ asn_TYPE_member_t asn_MBR_Ts_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_T2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -478,6 +479,7 @@ asn_TYPE_member_t asn_MBR_Ts_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_T3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -488,6 +490,7 @@ asn_TYPE_member_t asn_MBR_Ts_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_T3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/66-ref-simple-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -25,6 +25,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
.tag_mode = 0,
.type = &asn_DEF_SimpleType,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/69-reserved-words-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -125,6 +125,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -135,6 +136,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
.tag_mode = 0,
.type = &asn_DEF_OCTET_STRING,
.type_selector = 0,
.memb_constraints = memb_char_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -145,6 +147,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_class_4,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -155,6 +158,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (9 << 2)),
.tag_mode = 0,
.type = &asn_DEF_REAL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/70-xer-test-OK.asn1.-Pfwide-types
View file @
67a30129
This diff is collapsed.
Click to expand it.
tests/72-same-names-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -37,6 +37,7 @@ static asn_TYPE_member_t asn_MBR_Member_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Type1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -47,6 +48,7 @@ static asn_TYPE_member_t asn_MBR_Member_2[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = &asn_DEF_Type2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -104,6 +106,7 @@ static asn_TYPE_member_t asn_MBR_Type_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Member_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -196,6 +199,7 @@ static asn_TYPE_member_t asn_MBR_another_name_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -206,6 +210,7 @@ static asn_TYPE_member_t asn_MBR_another_name_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -262,6 +267,7 @@ static asn_TYPE_member_t asn_MBR_one_name_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_another_name_3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -313,6 +319,7 @@ asn_TYPE_member_t asn_MBR_Type1_1[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = &asn_DEF_one_name_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -509,6 +516,7 @@ static asn_TYPE_member_t asn_MBR_another_name_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BIT_STRING,
.type_selector = 0,
.memb_constraints = memb_a_constraint_3,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -519,6 +527,7 @@ static asn_TYPE_member_t asn_MBR_another_name_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -575,6 +584,7 @@ static asn_TYPE_member_t asn_MBR_one_name_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_another_name_3,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -630,6 +640,7 @@ static asn_TYPE_member_t asn_MBR_another_name_8[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BIT_STRING,
.type_selector = 0,
.memb_constraints = memb_a_constraint_8,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -640,6 +651,7 @@ static asn_TYPE_member_t asn_MBR_another_name_8[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -696,6 +708,7 @@ static asn_TYPE_member_t asn_MBR_two_name_7[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_another_name_8,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -757,6 +770,7 @@ asn_TYPE_member_t asn_MBR_Type2_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_one_name_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -767,6 +781,7 @@ asn_TYPE_member_t asn_MBR_Type2_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_two_name_7,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/73-circular-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -40,6 +40,7 @@ static asn_TYPE_member_t asn_MBR_data_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_EpytRef,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -88,6 +89,7 @@ asn_TYPE_member_t asn_MBR_Type_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_data_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -242,6 +244,7 @@ static asn_TYPE_member_t asn_MBR_stype_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Type,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -290,6 +293,7 @@ asn_TYPE_member_t asn_MBR_Epyt_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_stype_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -300,6 +304,7 @@ asn_TYPE_member_t asn_MBR_Epyt_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Type,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -310,6 +315,7 @@ asn_TYPE_member_t asn_MBR_Epyt_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Ypet,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -528,6 +534,7 @@ static asn_TYPE_member_t asn_MBR_senums_4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
.tag_mode = 0,
.type = &asn_DEF_EnumType,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -576,6 +583,7 @@ asn_TYPE_member_t asn_MBR_Ypet_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_Epyt,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -586,6 +594,7 @@ asn_TYPE_member_t asn_MBR_Ypet_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -596,6 +605,7 @@ asn_TYPE_member_t asn_MBR_Ypet_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = &asn_DEF_senums_4,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -606,6 +616,7 @@ asn_TYPE_member_t asn_MBR_Ypet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = memb_patest1_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -616,6 +627,7 @@ asn_TYPE_member_t asn_MBR_Ypet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = memb_patest2_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/84-param-tags-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -82,6 +82,7 @@ asn_TYPE_member_t asn_MBR_TestType_16P0_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_common_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -154,6 +155,7 @@ asn_TYPE_member_t asn_MBR_TestType_16P1_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -241,6 +243,7 @@ static asn_TYPE_member_t asn_MBR_TestChoice_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = &asn_DEF_TestType_16P0,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -251,6 +254,7 @@ static asn_TYPE_member_t asn_MBR_TestChoice_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_TestType_16P1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -388,6 +392,7 @@ asn_TYPE_member_t asn_MBR_AutoType_34P0_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = memb_common_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -442,6 +447,7 @@ asn_TYPE_member_t asn_MBR_AutoType_34P1_3[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
.memb_constraints = memb_common_constraint_3,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -529,6 +535,7 @@ static asn_TYPE_member_t asn_MBR_AutoChoice_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_AutoType_34P0,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -539,6 +546,7 @@ static asn_TYPE_member_t asn_MBR_AutoChoice_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_AutoType_34P1,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/89-bit-string-enum-OK.asn1.-Pfcompound-names
View file @
67a30129
...
...
@@ -38,6 +38,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BIT_STRING,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/89-bit-string-enum-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -38,6 +38,7 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BIT_STRING,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/92-circular-loops-OK.asn1.-Pfindirect-choice
View file @
67a30129
This diff is collapsed.
Click to expand it.
tests/92-circular-loops-OK.asn1.-Pfwide-types
View file @
67a30129
This diff is collapsed.
Click to expand it.
tests/93-asn1c-controls-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -27,6 +27,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -37,6 +38,7 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -137,6 +139,7 @@ static asn_TYPE_member_t asn_MBR_Set_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_Sequence,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -147,6 +150,7 @@ static asn_TYPE_member_t asn_MBR_Set_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_Sequence,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -259,6 +263,7 @@ static asn_TYPE_member_t asn_MBR_setof_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -308,6 +313,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = 0,
.type = &asn_DEF_setof_2,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -318,6 +324,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_Sequence,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -328,6 +335,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_Sequence,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/94-set-optionals-OK.asn1.-P
View file @
67a30129
...
...
@@ -60,6 +60,7 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -70,6 +71,7 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -80,6 +82,7 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -90,6 +93,7 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -100,6 +104,7 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -110,6 +115,7 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -120,6 +126,7 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (6 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -130,6 +137,7 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (7 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -140,6 +148,7 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (8 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -150,6 +159,7 @@ static asn_TYPE_member_t asn_MBR_TestSet_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (9 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = &asn_DEF_VisibleString,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/95-choice-per-order-OK.asn1.-Pfwide-types
View file @
67a30129
...
...
@@ -63,6 +63,7 @@ static asn_TYPE_member_t asn_MBR_ch_4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
.tag_mode = 0,
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -73,6 +74,7 @@ static asn_TYPE_member_t asn_MBR_ch_4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_INTEGER,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -125,6 +127,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (13 << 2)),
.tag_mode = 0,
.type = &asn_DEF_RELATIVE_OID,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -135,6 +138,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BIT_STRING,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -145,6 +149,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = &asn_DEF_ch_4,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -155,6 +160,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -243,6 +249,7 @@ static asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_BIT_STRING,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -253,6 +260,7 @@ static asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_RELATIVE_OID,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
tests/95-choice-per-order-OK.asn1.-Pgen-PER
View file @
67a30129
...
...
@@ -76,6 +76,7 @@ static asn_TYPE_member_t asn_MBR_ch_4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (5 << 2)),
.tag_mode = 0,
.type = &asn_DEF_NULL,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -86,6 +87,7 @@ static asn_TYPE_member_t asn_MBR_ch_4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -140,6 +142,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (13 << 2)),
.tag_mode = 0,
.type = &asn_DEF_RELATIVE_OID,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -150,6 +153,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BIT_STRING,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -160,6 +164,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = &asn_DEF_ch_4,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -170,6 +175,7 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
.tag_mode = 0,
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -268,6 +274,7 @@ static asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_BIT_STRING,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
@@ -278,6 +285,7 @@ static asn_TYPE_member_t asn_MBR_Choice2_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = &asn_DEF_RELATIVE_OID,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* No PER visible constraints */
...
...
tests/98-attribute-class-OK.asn1.-P
View file @
67a30129
...
...
@@ -20,6 +20,18 @@ typedef struct Attribute {
extern asn_TYPE_descriptor_t asn_DEF_Attribute;
/*** <<< IOC-TABLES [Attribute] >>> ***/
static const RELATIVE_OID_t asn_VAL_raf_0 = { "not supported", 0 };
static const RELATIVE_OID_t asn_VAL_rcf_0 = { "not supported", 0 };
static const asn_ioc_cell_t asn_IOS_Attributes_1_rows[] = {
{ "&id", aioc__value, &asn_DEF_RELATIVE_OID, &asn_VAL_raf_0 },
{ "&id", aioc__value, &asn_DEF_RELATIVE_OID, &asn_VAL_rcf_0 }
};
static asn_ioc_set_t asn_IOS_Attributes_1[] = {
2, 1, asn_IOS_Attributes_1_rows
};
/*** <<< CODE [Attribute] >>> ***/
static int
...
...
@@ -44,20 +56,12 @@ memb_identifier_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
/*** <<< STAT-DEFS [Attribute] >>> ***/
static const RELATIVE_OID_t asn_VAL_raf_0 = { "not supported", 0 };
static const RELATIVE_OID_t asn_VAL_rcf_0 = { "not supported", 0 };
static const asn_ioc_cell_t asn_IOS_Attributes_1_rows[] = {
{ "&id", aioc__value, &asn_DEF_RELATIVE_OID, &asn_VAL_raf_0 },
{ "&id", aioc__value, &asn_DEF_RELATIVE_OID, &asn_VAL_rcf_0 }
};
static asn_ioc_set_t asn_IOS_Attributes_1[] = {
2, 1, asn_IOS_Attributes_1_rows
};
static asn_TYPE_member_t asn_MBR_Attribute_1[] = {
{ ATF_NOFLAGS, 0, offsetof(struct Attribute, identifier),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (13 << 2)),
.tag_mode = 0,
.type = &asn_DEF_RELATIVE_OID,
.type_selector = 0,
.memb_constraints = memb_identifier_constraint_1,
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
@@ -68,6 +72,7 @@ static asn_TYPE_member_t asn_MBR_Attribute_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
.tag_mode = 0,
.type = &asn_DEF_IA5String,
.type_selector = 0,
.memb_constraints = 0, /* Defer constraints checking to the member type */
.oer_constraints = 0, /* OER is not compiled, use -gen-OER */
.per_constraints = 0, /* PER is not compiled, use -gen-PER */
...
...
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