Functions | Variables
INTEGER.c File Reference
#include <etsi_its_spatem_ts_coding/asn_internal.h>
#include <etsi_its_spatem_ts_coding/INTEGER.h>
#include <errno.h>
#include <inttypes.h>
Include dependency graph for INTEGER.c:

Go to the source code of this file.

Functions

static intmax_t asn__integer_convert (const uint8_t *b, const uint8_t *end)
 
int asn_imax2INTEGER (INTEGER_t *st, intmax_t value)
 
int asn_int642INTEGER (INTEGER_t *st, int64_t value)
 
int asn_INTEGER2imax (const INTEGER_t *iptr, intmax_t *lptr)
 
int asn_INTEGER2int64 (const INTEGER_t *st, int64_t *value)
 
int asn_INTEGER2long (const INTEGER_t *iptr, long *l)
 
int asn_INTEGER2uint64 (const INTEGER_t *st, uint64_t *value)
 
int asn_INTEGER2ulong (const INTEGER_t *iptr, unsigned long *l)
 
int asn_INTEGER2umax (const INTEGER_t *iptr, uintmax_t *lptr)
 
int asn_long2INTEGER (INTEGER_t *st, long value)
 
enum asn_strtox_result_e asn_strtoimax_lim (const char *str, const char **end, intmax_t *intp)
 
enum asn_strtox_result_e asn_strtol_lim (const char *str, const char **end, long *lp)
 
enum asn_strtox_result_e asn_strtoul_lim (const char *str, const char **end, unsigned long *ulp)
 
enum asn_strtox_result_e asn_strtoumax_lim (const char *str, const char **end, uintmax_t *uintp)
 
int asn_uint642INTEGER (INTEGER_t *st, uint64_t value)
 
int asn_ulong2INTEGER (INTEGER_t *st, unsigned long value)
 
int asn_umax2INTEGER (INTEGER_t *st, uintmax_t value)
 
static int INTEGER__compar_value2enum (const void *kp, const void *am)
 
ssize_t INTEGER__dump (const asn_TYPE_descriptor_t *td, const INTEGER_t *st, asn_app_consume_bytes_f *cb, void *app_key, int plainOrXEROrJER)
 
int INTEGER_compare (const asn_TYPE_descriptor_t *td, const void *aptr, const void *bptr)
 
int INTEGER_copy (const asn_TYPE_descriptor_t *td, void **aptr, const void *bptr)
 
const asn_INTEGER_enum_map_tINTEGER_map_value2enum (const asn_INTEGER_specifics_t *specs, long value)
 

Variables

asn_TYPE_descriptor_t asn_DEF_INTEGER
 
static const ber_tlv_tag_t asn_DEF_INTEGER_tags []
 
asn_TYPE_operation_t asn_OP_INTEGER
 

Function Documentation

◆ asn__integer_convert()

static intmax_t asn__integer_convert ( const uint8_t *  b,
const uint8_t *  end 
)
static

Definition at line 199 of file INTEGER.c.

◆ asn_imax2INTEGER()

int asn_imax2INTEGER ( INTEGER_t st,
intmax_t  value 
)

Definition at line 329 of file INTEGER.c.

◆ asn_int642INTEGER()

int asn_int642INTEGER ( INTEGER_t st,
int64_t  value 
)

Definition at line 477 of file INTEGER.c.

◆ asn_INTEGER2imax()

int asn_INTEGER2imax ( const INTEGER_t iptr,
intmax_t *  lptr 
)

Definition at line 219 of file INTEGER.c.

◆ asn_INTEGER2int64()

int asn_INTEGER2int64 ( const INTEGER_t st,
int64_t *  value 
)

Definition at line 423 of file INTEGER.c.

◆ asn_INTEGER2long()

int asn_INTEGER2long ( const INTEGER_t iptr,
long *  l 
)

Definition at line 384 of file INTEGER.c.

◆ asn_INTEGER2uint64()

int asn_INTEGER2uint64 ( const INTEGER_t st,
uint64_t *  value 
)

Definition at line 437 of file INTEGER.c.

◆ asn_INTEGER2ulong()

int asn_INTEGER2ulong ( const INTEGER_t iptr,
unsigned long *  l 
)

Definition at line 399 of file INTEGER.c.

◆ asn_INTEGER2umax()

int asn_INTEGER2umax ( const INTEGER_t iptr,
uintmax_t *  lptr 
)

Definition at line 271 of file INTEGER.c.

◆ asn_long2INTEGER()

int asn_long2INTEGER ( INTEGER_t st,
long  value 
)

Definition at line 414 of file INTEGER.c.

◆ asn_strtoimax_lim()

enum asn_strtox_result_e asn_strtoimax_lim ( const char *  str,
const char **  end,
intmax_t *  intp 
)

Definition at line 538 of file INTEGER.c.

◆ asn_strtol_lim()

enum asn_strtox_result_e asn_strtol_lim ( const char *  str,
const char **  end,
long *  lp 
)

Definition at line 674 of file INTEGER.c.

◆ asn_strtoul_lim()

enum asn_strtox_result_e asn_strtoul_lim ( const char *  str,
const char **  end,
unsigned long *  ulp 
)

Definition at line 704 of file INTEGER.c.

◆ asn_strtoumax_lim()

enum asn_strtox_result_e asn_strtoumax_lim ( const char *  str,
const char **  end,
uintmax_t *  uintp 
)

Definition at line 613 of file INTEGER.c.

◆ asn_uint642INTEGER()

int asn_uint642INTEGER ( INTEGER_t st,
uint64_t  value 
)

Definition at line 452 of file INTEGER.c.

◆ asn_ulong2INTEGER()

int asn_ulong2INTEGER ( INTEGER_t st,
unsigned long  value 
)

Definition at line 419 of file INTEGER.c.

◆ asn_umax2INTEGER()

int asn_umax2INTEGER ( INTEGER_t st,
uintmax_t  value 
)

Definition at line 303 of file INTEGER.c.

◆ INTEGER__compar_value2enum()

static int INTEGER__compar_value2enum ( const void *  kp,
const void *  am 
)
static

Definition at line 180 of file INTEGER.c.

◆ INTEGER__dump()

ssize_t INTEGER__dump ( const asn_TYPE_descriptor_t td,
const INTEGER_t st,
asn_app_consume_bytes_f cb,
void *  app_key,
int  plainOrXEROrJER 
)

Definition at line 103 of file INTEGER.c.

◆ INTEGER_compare()

int INTEGER_compare ( const asn_TYPE_descriptor_t td,
const void *  aptr,
const void *  bptr 
)

Definition at line 734 of file INTEGER.c.

◆ INTEGER_copy()

int INTEGER_copy ( const asn_TYPE_descriptor_t td,
void **  aptr,
const void *  bptr 
)

Definition at line 777 of file INTEGER.c.

◆ INTEGER_map_value2enum()

const asn_INTEGER_enum_map_t* INTEGER_map_value2enum ( const asn_INTEGER_specifics_t specs,
long  value 
)

Definition at line 190 of file INTEGER.c.

Variable Documentation

◆ asn_DEF_INTEGER

asn_TYPE_descriptor_t asn_DEF_INTEGER
Initial value:
= {
"INTEGER",
"INTEGER",
{
0,
0,
0,
},
0, 0,
0
}

Definition at line 75 of file INTEGER.c.

◆ asn_DEF_INTEGER_tags

const ber_tlv_tag_t asn_DEF_INTEGER_tags[]
static
Initial value:
= {
}

Definition at line 14 of file INTEGER.c.

◆ asn_OP_INTEGER

asn_TYPE_operation_t asn_OP_INTEGER

Definition at line 17 of file INTEGER.c.

ASN_TAG_CLASS_UNIVERSAL
@ ASN_TAG_CLASS_UNIVERSAL
Definition: ber_tlv_tag.h:13
asn_OP_INTEGER
asn_TYPE_operation_t asn_OP_INTEGER
Definition: INTEGER.c:17
asn_generic_no_constraint
asn_constr_check_f asn_generic_no_constraint
Definition: constraints.h:51
asn_DEF_INTEGER_tags
static const ber_tlv_tag_t asn_DEF_INTEGER_tags[]
Definition: INTEGER.c:14


etsi_its_spatem_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:29:29