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
ba58e1b9
Commit
ba58e1b9
authored
Jan 17, 2005
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed comment wording
parent
fb857fdd
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
79 additions
and
79 deletions
+79
-79
tests/19-param-OK.asn1.-P
tests/19-param-OK.asn1.-P
+6
-6
tests/30-set-OK.asn1.-P
tests/30-set-OK.asn1.-P
+3
-3
tests/31-set-of-OK.asn1.-P
tests/31-set-of-OK.asn1.-P
+11
-11
tests/32-sequence-of-OK.asn1.-P
tests/32-sequence-of-OK.asn1.-P
+2
-2
tests/39-sequence-of-OK.asn1.-P
tests/39-sequence-of-OK.asn1.-P
+5
-5
tests/42-real-life-OK.asn1.-PR
tests/42-real-life-OK.asn1.-PR
+13
-13
tests/43-recursion-OK.asn1.-P
tests/43-recursion-OK.asn1.-P
+13
-13
tests/44-choice-in-sequence-OK.asn1.-P
tests/44-choice-in-sequence-OK.asn1.-P
+10
-10
tests/46-redefine-OK.asn1.-PR
tests/46-redefine-OK.asn1.-PR
+1
-1
tests/47-set-ext-OK.asn1.-P
tests/47-set-ext-OK.asn1.-P
+4
-4
tests/60-any-OK.asn1.-P
tests/60-any-OK.asn1.-P
+4
-4
tests/65-multi-tag-OK.asn1.-P
tests/65-multi-tag-OK.asn1.-P
+3
-3
tests/65-multi-tag-OK.asn1.-Pfnative-types
tests/65-multi-tag-OK.asn1.-Pfnative-types
+3
-3
tests/66-ref-simple-OK.asn1.-P
tests/66-ref-simple-OK.asn1.-P
+1
-1
No files found.
tests/19-param-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -71,21 +71,21 @@ static asn_TYPE_member_t asn_MBR_toBeSigned[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "version"
},
{ ATF_NOFLAGS, 0, offsetof(struct toBeSigned, signature),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_OBJECT_IDENTIFIER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "signature"
},
{ ATF_NOFLAGS, 0, offsetof(struct toBeSigned, issuer),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_Name,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "issuer"
},
};
...
...
@@ -133,14 +133,14 @@ static asn_TYPE_member_t asn_MBR_Certificate[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_toBeSigned,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "toBeSigned"
},
{ ATF_NOFLAGS, 0, offsetof(struct Certificate, algorithm),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (6 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_OBJECT_IDENTIFIER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "algorithm"
},
{ ATF_NOFLAGS, 0, offsetof(struct Certificate, signature),
...
...
@@ -217,7 +217,7 @@ static asn_TYPE_member_t asn_MBR_Name[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_RelativeDistinguishedName,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
tests/30-set-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -46,21 +46,21 @@ static asn_TYPE_member_t asn_MBR_T[] = {
.tag = (ASN_TAG_CLASS_APPLICATION | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "i"
},
{ ATF_NOFLAGS, 0, offsetof(struct T, s),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_IA5String,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "s"
},
{ ATF_POINTER, 0, offsetof(struct T, b),
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_BOOLEAN,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "b"
},
};
...
...
tests/31-set-of-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -26,7 +26,7 @@ static asn_TYPE_member_t asn_MBR_Forest[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_Tree,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -88,14 +88,14 @@ static asn_TYPE_member_t asn_MBR_Tree[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "height"
},
{ ATF_NOFLAGS, 0, offsetof(struct Tree, width),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "width"
},
};
...
...
@@ -221,7 +221,7 @@ static asn_TYPE_member_t asn_MBR_trees[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_Forest,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -262,7 +262,7 @@ static asn_TYPE_member_t asn_MBR_anything_member[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (3 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_BIT_STRING,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "cup-of-coffee"
},
};
...
...
@@ -308,7 +308,7 @@ static asn_TYPE_member_t asn_MBR_anything[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_anything_member,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -349,14 +349,14 @@ static asn_TYPE_member_t asn_MBR_other[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "a"
},
{ ATF_NOFLAGS, 0, offsetof(struct other, choice.b),
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "b"
},
};
...
...
@@ -399,21 +399,21 @@ static asn_TYPE_member_t asn_MBR_Stuff[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_trees,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "trees"
},
{ ATF_POINTER, 2, offsetof(struct Stuff, anything),
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_anything,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "anything"
},
{ ATF_POINTER, 0, offsetof(struct Stuff, other),
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = (void *)&asn_DEF_other,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "other"
},
};
...
...
tests/32-sequence-of-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -26,7 +26,7 @@ static asn_TYPE_member_t asn_MBR_Programming[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_Fault,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -88,7 +88,7 @@ static asn_TYPE_member_t asn_MBR_Fault[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_Error,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
tests/39-sequence-of-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -34,7 +34,7 @@ static asn_TYPE_member_t asn_MBR_collection[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_T2,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -74,14 +74,14 @@ static asn_TYPE_member_t asn_MBR_T[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "int"
},
{ ATF_NOFLAGS, 0, offsetof(struct T, collection),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_collection,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "collection"
},
};
...
...
@@ -151,14 +151,14 @@ static asn_TYPE_member_t asn_MBR_T2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_BOOLEAN,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "flag"
},
{ ATF_NOFLAGS, 0, offsetof(struct T2, str),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (12 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_UTF8String,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "str"
},
};
...
...
tests/42-real-life-OK.asn1.-PR
View file @
ba58e1b9
...
...
@@ -70,7 +70,7 @@ static asn_TYPE_member_t asn_MBR_varsets[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_VariablePartSet,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -110,7 +110,7 @@ static asn_TYPE_member_t asn_MBR_LogLine[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (22 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_IA5String,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "line-digest"
},
{ ATF_NOFLAGS, 0, offsetof(struct LogLine, varsets),
...
...
@@ -220,7 +220,7 @@ static asn_TYPE_member_t asn_MBR_vparts[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = (void *)&asn_DEF_VariablePart,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -267,7 +267,7 @@ static asn_TYPE_member_t asn_MBR_VariablePartSet[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_ActionItem,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "resolution"
},
};
...
...
@@ -399,7 +399,7 @@ static asn_TYPE_member_t asn_MBR_vset[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_VisibleString,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -439,14 +439,14 @@ static asn_TYPE_member_t asn_MBR_vrange[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_VisibleString,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "from"
},
{ ATF_NOFLAGS, 0, offsetof(struct vrange, to),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_VisibleString,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "to"
},
};
...
...
@@ -500,7 +500,7 @@ static asn_TYPE_member_t asn_MBR_VariablePart[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_vrange,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "vrange"
},
};
...
...
@@ -596,7 +596,7 @@ static asn_TYPE_member_t asn_MBR_email[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (26 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_VisibleString,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -636,14 +636,14 @@ static asn_TYPE_member_t asn_MBR_notify[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (1 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_BOOLEAN,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "critical"
},
{ ATF_NOFLAGS, 0, offsetof(struct notify, email),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_email,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "email"
},
};
...
...
@@ -690,14 +690,14 @@ static asn_TYPE_member_t asn_MBR_ActionItem[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_ENUMERATED,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "accept-as"
},
{ ATF_POINTER, 1, offsetof(struct ActionItem, notify),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_notify,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "notify"
},
};
...
...
tests/43-recursion-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -45,7 +45,7 @@ static asn_TYPE_member_t asn_MBR_t_member1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_Test_structure_1,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -85,7 +85,7 @@ static asn_TYPE_member_t asn_MBR_t_member2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_Test_structure_1,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -125,28 +125,28 @@ static asn_TYPE_member_t asn_MBR_Test_structure_1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_t_member1,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "t-member1"
},
{ ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member2),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_t_member2,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "t-member2"
},
{ ATF_POINTER, 1, offsetof(struct Test_structure_1, t_member3),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (16 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_Test_structure_1,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "t-member3"
},
{ ATF_NOFLAGS, 0, offsetof(struct Test_structure_1, t_member4),
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "t-member4"
},
};
...
...
@@ -241,7 +241,7 @@ static asn_TYPE_member_t asn_MBR_or[] = {
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = (void *)&asn_DEF_Choice_1,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
@@ -282,28 +282,28 @@ static asn_TYPE_member_t asn_MBR_Choice_1[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = (void *)&asn_DEF_Choice_1,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "and"
},
{ ATF_NOFLAGS, 0, offsetof(struct Choice_1, choice.or),
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_or,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "or"
},
{ ATF_POINTER, 0, offsetof(struct Choice_1, choice.not),
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = (void *)&asn_DEF_Choice_1,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "not"
},
{ ATF_NOFLAGS, 0, offsetof(struct Choice_1, choice.other),
.tag = (ASN_TAG_CLASS_CONTEXT | (4 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "other"
},
};
...
...
@@ -382,7 +382,7 @@ static asn_TYPE_member_t asn_MBR_Test_structure_2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_Test_structure_3,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "m1"
},
};
...
...
@@ -468,7 +468,7 @@ static asn_TYPE_member_t asn_MBR_Test_structure_3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (17 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_Test_structure_2,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "m1"
},
};
...
...
tests/44-choice-in-sequence-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -73,14 +73,14 @@ static asn_TYPE_member_t asn_MBR_e[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (7 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_NULL,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "f"
},
{ ATF_NOFLAGS, 0, offsetof(struct e, choice.g),
.tag = (ASN_TAG_CLASS_PRIVATE | (8 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_NULL,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "g"
},
};
...
...
@@ -123,14 +123,14 @@ static asn_TYPE_member_t asn_MBR_h[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_NULL,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "i"
},
{ ATF_NOFLAGS, 0, offsetof(struct h, choice.j),
.tag = (ASN_TAG_CLASS_PRIVATE | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_NULL,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "j"
},
};
...
...
@@ -173,28 +173,28 @@ static asn_TYPE_member_t asn_MBR_b[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (5 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_NULL,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "c"
},
{ ATF_NOFLAGS, 0, offsetof(struct b, choice.d),
.tag = (ASN_TAG_CLASS_PRIVATE | (6 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_NULL,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "d"
},
{ ATF_NOFLAGS, 0, offsetof(struct b, choice.e),
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = (void *)&asn_DEF_e,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "e"
},
{ ATF_NOFLAGS, 0, offsetof(struct b, choice.h),
.tag = (ASN_TAG_CLASS_PRIVATE | (9 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = (void *)&asn_DEF_h,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "h"
},
};
...
...
@@ -240,14 +240,14 @@ static asn_TYPE_member_t asn_MBR_T[] = {
.tag = (ASN_TAG_CLASS_PRIVATE | (2 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_NULL,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "a"
},
{ ATF_NOFLAGS, 0, offsetof(struct T, b),
.tag = -1 /* Ambiguous tag (CHOICE?) */,
.tag_mode = 0,
.type = (void *)&asn_DEF_b,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "b"
},
};
...
...
tests/46-redefine-OK.asn1.-PR
View file @
ba58e1b9
...
...
@@ -44,7 +44,7 @@ static asn_TYPE_member_t asn_MBR_ConstructedType[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (5 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_PrimitiveType,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "field"
},
};
...
...
tests/47-set-ext-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -40,7 +40,7 @@ static asn_TYPE_member_t asn_MBR_T1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "i"
},
};
...
...
@@ -128,7 +128,7 @@ static asn_TYPE_member_t asn_MBR_T2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "i"
},
};
...
...
@@ -213,7 +213,7 @@ static asn_TYPE_member_t asn_MBR_T3[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "i"
},
};
...
...
@@ -288,7 +288,7 @@ static asn_TYPE_member_t asn_MBR_T4[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "i"
},
};
...
...
tests/60-any-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -27,14 +27,14 @@ static asn_TYPE_member_t asn_MBR_T1[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "i"
},
{ ATF_OPEN_TYPE | ATF_NOFLAGS, 0, offsetof(struct T1, any),
.tag = -1 /* Ambiguous tag (ANY?) */,
.tag_mode = 0,
.type = (void *)&asn_DEF_ANY,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "any"
},
};
...
...
@@ -103,14 +103,14 @@ static asn_TYPE_member_t asn_MBR_T2[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (2 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_INTEGER,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "i"
},
{ ATF_POINTER, 1, offsetof(struct T2, any),
.tag = (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = (void *)&asn_DEF_ANY,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "any"
},
};
...
...
tests/65-multi-tag-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -793,21 +793,21 @@ static asn_TYPE_member_t asn_MBR_Ts[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_T2,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "m1"
},
{ ATF_POINTER, 1, offsetof(struct Ts, m2),
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = (void *)&asn_DEF_T3,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "m2"
},
{ ATF_NOFLAGS, 0, offsetof(struct Ts, m3),
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_T3,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "m3"
},
};
...
...
tests/65-multi-tag-OK.asn1.-Pfnative-types
View file @
ba58e1b9
...
...
@@ -793,21 +793,21 @@ static asn_TYPE_member_t asn_MBR_Ts[] = {
.tag = (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_T2,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "m1"
},
{ ATF_POINTER, 1, offsetof(struct Ts, m2),
.tag = (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
.tag_mode = +1, /* EXPLICIT tag at current level */
.type = (void *)&asn_DEF_T3,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "m2"
},
{ ATF_NOFLAGS, 0, offsetof(struct Ts, m3),
.tag = (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
.tag_mode = -1, /* IMPLICIT tag at current level */
.type = (void *)&asn_DEF_T3,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = "m3"
},
};
...
...
tests/66-ref-simple-OK.asn1.-P
View file @
ba58e1b9
...
...
@@ -26,7 +26,7 @@ static asn_TYPE_member_t asn_MBR_T[] = {
.tag = (ASN_TAG_CLASS_UNIVERSAL | (10 << 2)),
.tag_mode = 0,
.type = (void *)&asn_DEF_SimpleType,
.memb_constraints = 0, /* Defer
to actual
type */
.memb_constraints = 0, /* Defer
constraints checking to the member
type */
.name = ""
},
};
...
...
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