#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/iconv.h>
#include "iconv_converter_if.h"
Go to the source code of this file.
|
#define | C2I1(c) ((c) & 0x8000 ? ((c) & 0xff) | 0x100 : (c) & 0xff) |
|
#define | C2I2(c) ((c) & 0x8000 ? ((c) >> 8) & 0x7f : ((c) >> 8) & 0xff) |
|
|
| __FBSDID ("$BSDSUniX$") |
|
static int | iconv_xlat16_open (struct iconv_converter_class *dcp, struct iconv_cspair *csp, struct iconv_cspair *cspf, void **dpp) |
|
static int | iconv_xlat16_close (void *data) |
|
static int | iconv_xlat16_conv (void *d2p, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int convchar, int casetype) |
|
static const char * | iconv_xlat16_name (struct iconv_converter_class *dcp) |
|
static int | iconv_xlat16_tolower (void *d2p, register int c) |
|
static int | iconv_xlat16_toupper (void *d2p, register int c) |
|
| KICONV_CONVERTER (xlat16, sizeof(struct iconv_xlat16)) |
|
#define C2I1 |
( |
|
c | ) |
((c) & 0x8000 ? ((c) & 0xff) | 0x100 : (c) & 0xff) |
#define C2I2 |
( |
|
c | ) |
((c) & 0x8000 ? ((c) >> 8) & 0x7f : ((c) >> 8) & 0xff) |
__FBSDID |
( |
"$BSDSUniX$" |
| ) |
|
static int iconv_xlat16_close |
( |
void * |
data | ) |
|
|
static |
static int iconv_xlat16_conv |
( |
void * |
d2p, |
|
|
const char ** |
inbuf, |
|
|
size_t * |
inbytesleft, |
|
|
char ** |
outbuf, |
|
|
size_t * |
outbytesleft, |
|
|
int |
convchar, |
|
|
int |
casetype |
|
) |
| |
|
static |
Definition at line 111 of file iconv_xlat16.c.
References C2I1, C2I2, iconv_xlat16::d_table, iconv_xlat16::f_ctp, inbuf, inbytesleft, outbuf, outbytesleft, iconv_xlat16::t_ctp, towlower(), and towupper().
static const char* iconv_xlat16_name |
( |
struct iconv_converter_class * |
dcp | ) |
|
|
static |
static int iconv_xlat16_open |
( |
struct iconv_converter_class * |
dcp, |
|
|
struct iconv_cspair * |
csp, |
|
|
struct iconv_cspair * |
cspf, |
|
|
void ** |
dpp |
|
) |
| |
|
static |
static int iconv_xlat16_tolower |
( |
void * |
d2p, |
|
|
register int |
c |
|
) |
| |
|
static |
static int iconv_xlat16_toupper |
( |
void * |
d2p, |
|
|
register int |
c |
|
) |
| |
|
static |
kobj_method_t iconv_xlat16_methods[] |
|
static |
Initial value:= {
{0, 0}
}
static int iconv_xlat16_tolower(void *d2p, register int c)
static int iconv_xlat16_conv(void *d2p, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft, int convchar, int casetype)
static int iconv_xlat16_close(void *data)
static int iconv_xlat16_toupper(void *d2p, register int c)
static const char * iconv_xlat16_name(struct iconv_converter_class *dcp)
static int iconv_xlat16_open(struct iconv_converter_class *dcp, struct iconv_cspair *csp, struct iconv_cspair *cspf, void **dpp)
Definition at line 349 of file iconv_xlat16.c.