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
90bf7aef
Commit
90bf7aef
authored
Oct 20, 2004
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ber_dec_rval_t -> asn_dec_rval_t
parent
a460ba3f
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
19 additions
and
19 deletions
+19
-19
asn1c/tests/check-22.c
asn1c/tests/check-22.c
+1
-1
asn1c/tests/check-24.c
asn1c/tests/check-24.c
+1
-1
asn1c/tests/check-25.c
asn1c/tests/check-25.c
+2
-2
asn1c/tests/check-30.c
asn1c/tests/check-30.c
+2
-2
asn1c/tests/check-31.c
asn1c/tests/check-31.c
+2
-2
asn1c/tests/check-35.c
asn1c/tests/check-35.c
+3
-3
asn1c/tests/check-41.c
asn1c/tests/check-41.c
+2
-2
asn1c/tests/check-44.c
asn1c/tests/check-44.c
+1
-1
asn1c/tests/check-46.c
asn1c/tests/check-46.c
+1
-1
asn1c/tests/check-48.c
asn1c/tests/check-48.c
+1
-1
asn1c/tests/check-62.c
asn1c/tests/check-62.c
+1
-1
asn1c/tests/check-65.c
asn1c/tests/check-65.c
+2
-2
No files found.
asn1c/tests/check-22.c
View file @
90bf7aef
...
...
@@ -47,7 +47,7 @@ buf2_fill(const void *buffer, size_t size, void *app_key) {
static
void
check
(
int
is_ok
,
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
T1_t
t
,
*
tp
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
asn_enc_rval_t
erval
;
int
ret
;
int
i
;
...
...
asn1c/tests/check-24.c
View file @
90bf7aef
...
...
@@ -36,7 +36,7 @@ uint8_t buf1[] = {
static
void
check
(
int
is_ok
,
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
T_t
t
,
*
tp
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
tp
=
memset
(
&
t
,
0
,
sizeof
(
t
));
...
...
asn1c/tests/check-25.c
View file @
90bf7aef
...
...
@@ -89,7 +89,7 @@ uint8_t buf1[] = {
static
void
check
(
int
is_ok
,
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
T_t
t
,
*
tp
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
tp
=
memset
(
&
t
,
0
,
sizeof
(
t
));
...
...
@@ -173,7 +173,7 @@ try_corrupt(uint8_t *buf, int size, int allow_consume) {
static
void
partial_read
(
uint8_t
*
buf
,
size_t
size
)
{
T_t
t
,
*
tp
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
size_t
i1
,
i2
;
uint8_t
*
tbuf1
=
alloca
(
size
);
uint8_t
*
tbuf2
=
alloca
(
size
);
...
...
asn1c/tests/check-30.c
View file @
90bf7aef
...
...
@@ -144,7 +144,7 @@ uint8_t buf5[] = {
static
void
check
(
int
is_ok
,
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
T_t
t
,
*
tp
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
fprintf
(
stderr
,
"
\n
Must %s:
\n
"
,
is_ok
?
"suceed"
:
"fail"
);
...
...
@@ -195,7 +195,7 @@ xer_cb(const void *buffer, size_t size, void *key) {
static
void
check_xer
(
uint8_t
*
buf
,
uint8_t
size
,
char
*
xer_sample
)
{
T_t
*
tp
=
0
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
asn_enc_rval_t
er
;
int
xer_sample_len
=
strlen
(
xer_sample
);
...
...
asn1c/tests/check-31.c
View file @
90bf7aef
...
...
@@ -96,7 +96,7 @@ static int bytes_compare(const void *bufferp, size_t size, void *key) {
static
void
check
(
int
is_ok
,
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
Forest_t
t
,
*
tp
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
tp
=
memset
(
&
t
,
0
,
sizeof
(
t
));
...
...
@@ -156,7 +156,7 @@ xer_cb(const void *buffer, size_t size, void *key) {
static
void
check_xer
(
uint8_t
*
buf
,
uint8_t
size
,
char
*
xer_sample
)
{
Forest_t
*
tp
=
0
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
asn_enc_rval_t
er
;
int
xer_sample_len
=
strlen
(
xer_sample
);
...
...
asn1c/tests/check-35.c
View file @
90bf7aef
...
...
@@ -124,7 +124,7 @@ uint8_t buf2_reconstr[] = {
static
void
check
(
T_t
*
tp
,
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
tp
=
memset
(
tp
,
0
,
sizeof
(
*
tp
));
...
...
@@ -200,7 +200,7 @@ compare(T_t *tp, uint8_t *cmp_buf, int cmp_buf_size) {
static
void
partial_read
(
uint8_t
*
buf
,
size_t
size
)
{
T_t
t
,
*
tp
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
size_t
i1
,
i2
;
uint8_t
*
buf1
=
alloca
(
size
);
uint8_t
*
buf2
=
alloca
(
size
);
...
...
@@ -285,7 +285,7 @@ xer_cb(const void *buffer, size_t size, void *key) {
static
void
check_xer
(
uint8_t
*
buf
,
uint8_t
size
,
char
*
xer_sample
)
{
T_t
*
tp
=
0
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
asn_enc_rval_t
er
;
int
xer_sample_len
=
strlen
(
xer_sample
);
...
...
asn1c/tests/check-41.c
View file @
90bf7aef
...
...
@@ -131,7 +131,7 @@ uint8_t buf2_reconstr[] = {
static
void
check
(
T_t
*
tp
,
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
int
ret
;
tp
=
memset
(
tp
,
0
,
sizeof
(
*
tp
));
...
...
@@ -216,7 +216,7 @@ compare(T_t *tp, uint8_t *cmp_buf, int cmp_buf_size) {
static
void
partial_read
(
uint8_t
*
buf
,
size_t
size
)
{
T_t
t
,
*
tp
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
size_t
i1
,
i2
;
uint8_t
*
buf1
=
alloca
(
size
);
uint8_t
*
buf2
=
alloca
(
size
);
...
...
asn1c/tests/check-44.c
View file @
90bf7aef
...
...
@@ -30,7 +30,7 @@ uint8_t buf2[] = {
static
void
check
(
int
is_ok
,
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
T_t
t
,
*
tp
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
tp
=
memset
(
&
t
,
0
,
sizeof
(
t
));
...
...
asn1c/tests/check-46.c
View file @
90bf7aef
...
...
@@ -20,7 +20,7 @@ uint8_t buf1[] = {
static
void
check
(
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
T_t
t
,
*
tp
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
tp
=
memset
(
&
t
,
0
,
sizeof
(
t
));
...
...
asn1c/tests/check-48.c
View file @
90bf7aef
...
...
@@ -56,7 +56,7 @@ save_object(void *bs, asn_TYPE_descriptor_t *td) {
static
int
load_object
(
void
*
bs
,
asn_TYPE_descriptor_t
*
td
)
{
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
fprintf
(
stderr
,
"
\n
LOADING OBJECT OF SIZE %d
\n
"
,
buf_offset
);
...
...
asn1c/tests/check-62.c
View file @
90bf7aef
...
...
@@ -58,7 +58,7 @@ save_object(T_t *st) {
static
T_t
*
load_object
(
enum
expectation
expectation
,
char
*
fbuf
,
int
size
)
{
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
T_t
*
st
=
0
;
int
csize
;
...
...
asn1c/tests/check-65.c
View file @
90bf7aef
...
...
@@ -54,7 +54,7 @@ uint8_t buf2[] = {
static
void
check_1
(
int
is_ok
,
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
asn_TYPE_descriptor_t
*
td
=
&
asn_DEF_T1
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
T1_t
t
,
*
tp
;
tp
=
memset
(
&
t
,
0
,
sizeof
(
t
));
...
...
@@ -77,7 +77,7 @@ check_1(int is_ok, uint8_t *buf, int size, size_t consumed) {
static
void
check_2
(
int
is_ok
,
uint8_t
*
buf
,
int
size
,
size_t
consumed
)
{
asn_TYPE_descriptor_t
*
td
=
&
asn_DEF_T
;
ber
_dec_rval_t
rval
;
asn
_dec_rval_t
rval
;
T_t
t
,
*
tp
;
tp
=
memset
(
&
t
,
0
,
sizeof
(
t
));
...
...
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