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
b37ee639
Commit
b37ee639
authored
Oct 18, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regenerated
parent
1bde6d4d
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
28 deletions
+28
-28
tests/tests-asn1c-compiler/106-param-constr-OK.asn1.-P
tests/tests-asn1c-compiler/106-param-constr-OK.asn1.-P
+2
-2
tests/tests-asn1c-compiler/110-param-3-OK.asn1.-Pfcompound-names
...ests-asn1c-compiler/110-param-3-OK.asn1.-Pfcompound-names
+4
-4
tests/tests-asn1c-compiler/126-per-extensions-OK.asn1.-Pgen-PER
...tests-asn1c-compiler/126-per-extensions-OK.asn1.-Pgen-PER
+6
-6
tests/tests-asn1c-compiler/136-oer-long-OK.asn1.-Pgen-OER
tests/tests-asn1c-compiler/136-oer-long-OK.asn1.-Pgen-OER
+2
-2
tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pfwide-types
.../tests-asn1c-compiler/50-constraint-OK.asn1.-Pfwide-types
+4
-4
tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pgen-PER
tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pgen-PER
+4
-4
tests/tests-asn1c-compiler/73-circular-OK.asn1.-Pfwide-types
tests/tests-asn1c-compiler/73-circular-OK.asn1.-Pfwide-types
+2
-2
tests/tests-asn1c-compiler/84-param-tags-OK.asn1.-Pfwide-types
.../tests-asn1c-compiler/84-param-tags-OK.asn1.-Pfwide-types
+4
-4
No files found.
tests/tests-asn1c-compiler/106-param-constr-OK.asn1.-P
View file @
b37ee639
...
...
@@ -130,8 +130,8 @@ asn_TYPE_member_t asn_MBR_Narrow_15P0_1[] = {
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_narrow1_constraint_1 },
.default_value_cmp = asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
.default_value_set = asn_DFL_2_set_3, /* Set DEFAULT 3 */
.default_value_cmp =
&
asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
.default_value_set =
&
asn_DFL_2_set_3, /* Set DEFAULT 3 */
.name = "narrow1"
},
{ ATF_NOFLAGS, 0, offsetof(struct Narrow_15P0, narrow2),
...
...
tests/tests-asn1c-compiler/110-param-3-OK.asn1.-Pfcompound-names
View file @
b37ee639
...
...
@@ -81,8 +81,8 @@ asn_TYPE_member_t asn_MBR_Flag_15P0_1[] = {
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_2_cmp_5, /* Compare DEFAULT 5 */
.default_value_set = asn_DFL_2_set_5, /* Set DEFAULT 5 */
.default_value_cmp =
&
asn_DFL_2_cmp_5, /* Compare DEFAULT 5 */
.default_value_set =
&
asn_DFL_2_set_5, /* Set DEFAULT 5 */
.name = "field"
},
};
...
...
@@ -184,8 +184,8 @@ asn_TYPE_member_t asn_MBR_Flag_15P1_6[] = {
.type = &asn_DEF_field_7,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_7_cmp_5, /* Compare DEFAULT 5 */
.default_value_set = asn_DFL_7_set_5, /* Set DEFAULT 5 */
.default_value_cmp =
&
asn_DFL_7_cmp_5, /* Compare DEFAULT 5 */
.default_value_set =
&
asn_DFL_7_set_5, /* Set DEFAULT 5 */
.name = "field"
},
};
...
...
tests/tests-asn1c-compiler/126-per-extensions-OK.asn1.-Pgen-PER
View file @
b37ee639
...
...
@@ -134,7 +134,7 @@ extern asn_TYPE_member_t asn_MBR_Singleton_1[1];
/*** <<< STAT-DEFS [Singleton] >>> ***/
static int asn_DFL_2_cmp(const void *sptr) {
static uint8_t defv[] = "z";
static
const
uint8_t defv[] = "z";
const IA5String_t *st = sptr;
if(!st) {
...
...
@@ -147,18 +147,18 @@ static int asn_DFL_2_cmp(const void *sptr) {
return 1;
}
static int asn_DFL_2_set(void **sptr) {
static uint8_t defv[] = "z";
static
const
uint8_t defv[] = "z";
IA5String_t *st = *sptr;
uint8_t *nstr = MALLOC(sizeof(defv));
if(!nstr) return -1;
memcpy(nstr, defv, sizeof(defv));
if(
(st = *sptr)
) {
if(
st
) {
FREEMEM(st->buf);
} else {
st = (*sptr = CALLOC(1, sizeof(*st)));
if(!st) { FREEMEM(n
p
tr); return -1; }
if(!st) { FREEMEM(n
s
tr); return -1; }
}
st->buf = nstr;
st->size = sizeof(defv) - 1;
...
...
@@ -172,8 +172,8 @@ asn_TYPE_member_t asn_MBR_Singleton_1[] = {
.type = &asn_DEF_IA5String,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_2_cmp, /* Compare DEFAULT "z" */
.default_value_set = asn_DFL_2_set, /* Set DEFAULT "z" */
.default_value_cmp =
&
asn_DFL_2_cmp, /* Compare DEFAULT "z" */
.default_value_set =
&
asn_DFL_2_set, /* Set DEFAULT "z" */
.name = "opt-z"
},
};
...
...
tests/tests-asn1c-compiler/136-oer-long-OK.asn1.-Pgen-OER
View file @
b37ee639
...
...
@@ -466,8 +466,8 @@ static asn_TYPE_member_t asn_MBR_T_1[] = {
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
{ .oer_constraints = &asn_OER_memb_signed8_constr_9, .per_constraints = 0, .general_constraints = memb_signed8_constraint_1 },
.default_value_cmp = asn_DFL_9_cmp_3, /* Compare DEFAULT 3 */
.default_value_set = asn_DFL_9_set_3, /* Set DEFAULT 3 */
.default_value_cmp =
&
asn_DFL_9_cmp_3, /* Compare DEFAULT 3 */
.default_value_set =
&
asn_DFL_9_set_3, /* Set DEFAULT 3 */
.name = "signed8"
},
{ ATF_POINTER, 5, offsetof(struct T, signed16),
...
...
tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pfwide-types
View file @
b37ee639
...
...
@@ -2119,8 +2119,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.type = &asn_DEF_Int1,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_int1_c_constraint_1 },
.default_value_cmp = asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
.default_value_set = asn_DFL_2_set_3, /* Set DEFAULT 3 */
.default_value_cmp =
&
asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
.default_value_set =
&
asn_DFL_2_set_3, /* Set DEFAULT 3 */
.name = "int1-c"
},
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, int4),
...
...
@@ -2147,8 +2147,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */
.default_value_set = asn_DFL_5_set_1, /* Set DEFAULT 1 */
.default_value_cmp =
&
asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */
.default_value_set =
&
asn_DFL_5_set_1, /* Set DEFAULT 1 */
.name = "bool"
},
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, enum_c),
...
...
tests/tests-asn1c-compiler/50-constraint-OK.asn1.-Pgen-PER
View file @
b37ee639
...
...
@@ -2350,8 +2350,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.type = &asn_DEF_Int1,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = &asn_PER_memb_int1_c_constr_2, .general_constraints = memb_int1_c_constraint_1 },
.default_value_cmp = asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
.default_value_set = asn_DFL_2_set_3, /* Set DEFAULT 3 */
.default_value_cmp =
&
asn_DFL_2_cmp_3, /* Compare DEFAULT 3 */
.default_value_set =
&
asn_DFL_2_set_3, /* Set DEFAULT 3 */
.name = "int1-c"
},
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, int4),
...
...
@@ -2378,8 +2378,8 @@ asn_TYPE_member_t asn_MBR_Sequence_1[] = {
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */
.default_value_set = asn_DFL_5_set_1, /* Set DEFAULT 1 */
.default_value_cmp =
&
asn_DFL_5_cmp_1, /* Compare DEFAULT 1 */
.default_value_set =
&
asn_DFL_5_set_1, /* Set DEFAULT 1 */
.name = "bool"
},
{ ATF_NOFLAGS, 0, offsetof(struct Sequence, enum_c),
...
...
tests/tests-asn1c-compiler/73-circular-OK.asn1.-Pfwide-types
View file @
b37ee639
...
...
@@ -518,8 +518,8 @@ asn_TYPE_member_t asn_MBR_Ypet_1[] = {
.type = &asn_DEF_INTEGER,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_3_cmp_7, /* Compare DEFAULT 7 */
.default_value_set = asn_DFL_3_set_7, /* Set DEFAULT 7 */
.default_value_cmp =
&
asn_DFL_3_cmp_7, /* Compare DEFAULT 7 */
.default_value_set =
&
asn_DFL_3_set_7, /* Set DEFAULT 7 */
.name = "plain"
},
{ ATF_NOFLAGS, 0, offsetof(struct Ypet, senums),
...
...
tests/tests-asn1c-compiler/84-param-tags-OK.asn1.-Pfwide-types
View file @
b37ee639
...
...
@@ -88,8 +88,8 @@ asn_TYPE_member_t asn_MBR_TestType_16P0_1[] = {
.type = &asn_DEF_NativeInteger,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = memb_common_constraint_1 },
.default_value_cmp = asn_DFL_2_cmp_0, /* Compare DEFAULT 0 */
.default_value_set = asn_DFL_2_set_0, /* Set DEFAULT 0 */
.default_value_cmp =
&
asn_DFL_2_cmp_0, /* Compare DEFAULT 0 */
.default_value_set =
&
asn_DFL_2_set_0, /* Set DEFAULT 0 */
.name = "common"
},
};
...
...
@@ -153,8 +153,8 @@ asn_TYPE_member_t asn_MBR_TestType_16P1_3[] = {
.type = &asn_DEF_BOOLEAN,
.type_selector = 0,
{ .oer_constraints = 0, .per_constraints = 0, .general_constraints = 0 },
.default_value_cmp = asn_DFL_4_cmp_0, /* Compare DEFAULT 0 */
.default_value_set = asn_DFL_4_set_0, /* Set DEFAULT 0 */
.default_value_cmp =
&
asn_DFL_4_cmp_0, /* Compare DEFAULT 0 */
.default_value_set =
&
asn_DFL_4_set_0, /* Set DEFAULT 0 */
.name = "common"
},
};
...
...
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