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
290bfa2f
Commit
290bfa2f
authored
Jan 17, 2024
by
v0-e
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "jer: Remove implicit variables in ASN_DEBUGs"
This reverts commit
818b21ba
.
parent
818b21ba
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
11 deletions
+12
-11
skeletons/constr_CHOICE_jer.c
skeletons/constr_CHOICE_jer.c
+4
-4
skeletons/constr_SEQUENCE_jer.c
skeletons/constr_SEQUENCE_jer.c
+2
-2
skeletons/constr_SET_OF_jer.c
skeletons/constr_SET_OF_jer.c
+4
-3
skeletons/constr_SET_jer.c
skeletons/constr_SET_jer.c
+2
-2
No files found.
skeletons/constr_CHOICE_jer.c
View file @
290bfa2f
...
...
@@ -140,12 +140,12 @@ CHOICE_decode_jer(const asn_codec_ctx_t *opt_codec_ctx,
}
scv
=
jer_check_sym
(
buf_ptr
,
ch_size
,
NULL
);
ASN_DEBUG
(
"JER/CHOICE checked [%c%c%c%c], scv=%d"
,
ASN_DEBUG
(
"JER/CHOICE checked [%c%c%c%c]
vs [%s]
, scv=%d"
,
ch_size
>
0
?
((
const
uint8_t
*
)
buf_ptr
)[
0
]
:
'?'
,
ch_size
>
1
?
((
const
uint8_t
*
)
buf_ptr
)[
1
]
:
'?'
,
ch_size
>
2
?
((
const
uint8_t
*
)
buf_ptr
)[
2
]
:
'?'
,
ch_size
>
3
?
((
const
uint8_t
*
)
buf_ptr
)[
3
]
:
'?'
,
scv
);
json_key
,
scv
);
/* Skip the extensions section */
if
(
ctx
->
phase
==
4
)
{
...
...
@@ -249,12 +249,12 @@ CHOICE_decode_jer(const asn_codec_ctx_t *opt_codec_ctx,
}
ASN_DEBUG
(
"Unexpected JSON key [%c%c%c%c] in CHOICE [%s]"
" (ph=%d)"
,
" (ph=%d
, key=%s
)"
,
ch_size
>
0
?
((
const
uint8_t
*
)
buf_ptr
)[
0
]
:
'?'
,
ch_size
>
1
?
((
const
uint8_t
*
)
buf_ptr
)[
1
]
:
'?'
,
ch_size
>
2
?
((
const
uint8_t
*
)
buf_ptr
)[
2
]
:
'?'
,
ch_size
>
3
?
((
const
uint8_t
*
)
buf_ptr
)[
3
]
:
'?'
,
td
->
name
,
ctx
->
phase
);
td
->
name
,
ctx
->
phase
,
json_key
);
break
;
}
...
...
skeletons/constr_SEQUENCE_jer.c
View file @
290bfa2f
...
...
@@ -145,8 +145,8 @@ SEQUENCE_decode_jer(const asn_codec_ctx_t *opt_codec_ctx,
}
scv
=
jer_check_sym
(
ptr
,
ch_size
,
NULL
);
ASN_DEBUG
(
"JER/SEQUENCE: scv = %d, ph=%d"
,
scv
,
ctx
->
phase
);
ASN_DEBUG
(
"JER/SEQUENCE: scv = %d, ph=%d
[%s]
"
,
scv
,
ctx
->
phase
,
json_key
);
/* Skip the extensions section */
...
...
skeletons/constr_SET_OF_jer.c
View file @
290bfa2f
...
...
@@ -79,7 +79,8 @@ SET_OF_decode_jer(const asn_codec_ctx_t *opt_codec_ctx,
asn_dec_rval_t
tmprval
=
{
RC_OK
,
0
};
/* Invoke the inner type decoder, m.b. multiple times */
ASN_DEBUG
(
"JER/SET OF element [%s]"
,
element
->
type
->
xml_tag
);
ASN_DEBUG
(
"JER/SET OF element [%s]"
,
elm_tag
(
*
element
->
name
)
?
element
->
name
:
element
->
type
->
xml_tag
);
tmprval
=
element
->
type
->
op
->
jer_decoder
(
opt_codec_ctx
,
element
->
type
,
&
ctx
->
ptr
,
...
...
@@ -123,8 +124,8 @@ SET_OF_decode_jer(const asn_codec_ctx_t *opt_codec_ctx,
}
scv
=
jer_check_sym
(
buf_ptr
,
ch_size
,
NULL
);
ASN_DEBUG
(
"JER/SET OF: scv = %d, ph=%d"
,
scv
,
ctx
->
phase
);
ASN_DEBUG
(
"JER/SET OF: scv = %d, ph=%d
t=%s
"
,
scv
,
ctx
->
phase
,
json_key
);
switch
(
scv
)
{
case
JCK_AEND
:
if
(
ctx
->
phase
==
0
)
break
;
...
...
skeletons/constr_SET_jer.c
View file @
290bfa2f
...
...
@@ -147,8 +147,8 @@ SET_decode_jer(const asn_codec_ctx_t *opt_codec_ctx,
}
scv
=
jer_check_sym
(
ptr
,
ch_size
,
NULL
);
ASN_DEBUG
(
"JER/SET: scv = %d, ph=%d"
,
scv
,
ctx
->
phase
);
ASN_DEBUG
(
"JER/SET: scv = %d, ph=%d
[%s]
"
,
scv
,
ctx
->
phase
,
json_key
);
/* Skip the extensions section */
...
...
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