ITS
|
Go to the source code of this file.
Macros | |
#define | U8E_TRUNC -1 /* UTF-8 sequence truncated */ |
#define | U8E_ILLSTART -2 /* Illegal UTF-8 sequence start */ |
#define | U8E_NOTCONT -3 /* Continuation expectation failed */ |
#define | U8E_NOTMIN -4 /* Not minimal length encoding */ |
#define | U8E_EINVAL -5 /* Invalid arguments */ |
Functions | |
int | UTF8String_constraint (asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *ctfailcb, void *app_key) |
static ssize_t | UTF8String__process (const UTF8String_t *st, uint32_t *dst, size_t dstlen) |
ssize_t | UTF8String_length (const UTF8String_t *st) |
size_t | UTF8String_to_wcs (const UTF8String_t *st, uint32_t *dst, size_t dstlen) |
int | UTF8String_print (asn_TYPE_descriptor_t *td, const void *sptr, int ilevel, asn_app_consume_bytes_f *cb, void *app_key) |
Variables | |
static ber_tlv_tag_t | asn_DEF_UTF8String_tags [] |
asn_TYPE_descriptor_t | asn_DEF_UTF8String |
static int | UTF8String_ht [2][16] |
static int32_t | UTF8String_mv [7] |
#define U8E_EINVAL -5 /* Invalid arguments */ |
Definition at line 68 of file UTF8String.c.
Referenced by UTF8String_constraint(), and UTF8String_length().
#define U8E_ILLSTART -2 /* Illegal UTF-8 sequence start */ |
Definition at line 65 of file UTF8String.c.
Referenced by UTF8String__process(), and UTF8String_constraint().
#define U8E_NOTCONT -3 /* Continuation expectation failed */ |
Definition at line 66 of file UTF8String.c.
Referenced by UTF8String__process(), and UTF8String_constraint().
#define U8E_NOTMIN -4 /* Not minimal length encoding */ |
Definition at line 67 of file UTF8String.c.
Referenced by UTF8String__process(), and UTF8String_constraint().
#define U8E_TRUNC -1 /* UTF-8 sequence truncated */ |
Definition at line 64 of file UTF8String.c.
Referenced by UTF8String__process(), and UTF8String_constraint().
|
static |
Definition at line 104 of file UTF8String.c.
References OCTET_STRING::buf, OCTET_STRING::size, U8E_ILLSTART, U8E_NOTCONT, U8E_NOTMIN, U8E_TRUNC, UTF8String_ht, and UTF8String_mv.
Referenced by UTF8String_length(), and UTF8String_to_wcs().
int UTF8String_constraint | ( | asn_TYPE_descriptor_t * | td, |
const void * | sptr, | ||
asn_app_constraint_failed_f * | ctfailcb, | ||
void * | app_key | ||
) |
Definition at line 71 of file UTF8String.c.
References _ASN_CTFAIL, asn_TYPE_descriptor_s::name, U8E_EINVAL, U8E_ILLSTART, U8E_NOTCONT, U8E_NOTMIN, U8E_TRUNC, and UTF8String_length().
ssize_t UTF8String_length | ( | const UTF8String_t * | st | ) |
Definition at line 153 of file UTF8String.c.
References OCTET_STRING::buf, U8E_EINVAL, and UTF8String__process().
Referenced by memb_companyName_constraint_1(), and UTF8String_constraint().
int UTF8String_print | ( | asn_TYPE_descriptor_t * | td, |
const void * | sptr, | ||
int | ilevel, | ||
asn_app_consume_bytes_f * | cb, | ||
void * | app_key | ||
) |
Definition at line 172 of file UTF8String.c.
References OCTET_STRING::buf, and OCTET_STRING::size.
size_t UTF8String_to_wcs | ( | const UTF8String_t * | st, |
uint32_t * | dst, | ||
size_t | dstlen | ||
) |
Definition at line 162 of file UTF8String.c.
References OCTET_STRING::buf, and UTF8String__process().
asn_TYPE_descriptor_t asn_DEF_UTF8String |
Definition at line 16 of file UTF8String.c.
|
static |
Definition at line 12 of file UTF8String.c.
|
static |
Definition at line 44 of file UTF8String.c.
Referenced by UTF8String__process().
|
static |
Definition at line 55 of file UTF8String.c.
Referenced by UTF8String__process().