FreeBASIC  0.91.0
dev_file_encod_read_core.c File Reference
#include "fb.h"
Include dependency graph for dev_file_encod_read_core.c:

Go to the source code of this file.

Functions

static ssize_t hReadUTF8ToChar (FILE *fp, char *dst, ssize_t max_chars)
 
static ssize_t hReadUTF16ToChar (FILE *fp, char *dst, ssize_t max_chars)
 
static ssize_t hReadUTF32ToChar (FILE *fp, char *dst, ssize_t max_chars)
 
ssize_t fb_hFileRead_UTFToChar (FILE *fp, FB_FILE_ENCOD encod, char *dst, ssize_t max_chars)
 
static ssize_t hUTF8ToUTF16 (FILE *fp, FB_WCHAR *dst, ssize_t max_chars)
 
static ssize_t hUTF8ToUTF32 (FILE *fp, FB_WCHAR *dst, ssize_t max_chars)
 
static ssize_t hReadUTF8ToWchar (FILE *fp, FB_WCHAR *dst, ssize_t max_chars)
 
static ssize_t hUTF16ToUTF32 (FILE *fp, FB_WCHAR *dst, ssize_t max_chars)
 
static ssize_t hReadUTF16ToWchar (FILE *fp, FB_WCHAR *dst, ssize_t max_chars)
 
static ssize_t hUTF32ToUTF16 (FILE *fp, FB_WCHAR *dst, ssize_t max_chars)
 
static ssize_t hReadUTF32ToWchar (FILE *fp, FB_WCHAR *dst, ssize_t max_chars)
 
ssize_t fb_hFileRead_UTFToWchar (FILE *fp, FB_FILE_ENCOD encod, FB_WCHAR *dst, ssize_t max_chars)
 

Variables

const char __fb_utf8_trailingTb [256]
 
const UTF_32 __fb_utf8_offsetsTb [6]
 

Function Documentation

ssize_t fb_hFileRead_UTFToChar ( FILE *  fp,
FB_FILE_ENCOD  encod,
char *  dst,
ssize_t  max_chars 
)

Definition at line 116 of file dev_file_encod_read_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

ssize_t fb_hFileRead_UTFToWchar ( FILE *  fp,
FB_FILE_ENCOD  encod,
FB_WCHAR dst,
ssize_t  max_chars 
)

Definition at line 378 of file dev_file_encod_read_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static ssize_t hReadUTF16ToChar ( FILE *  fp,
char *  dst,
ssize_t  max_chars 
)
static

Definition at line 67 of file dev_file_encod_read_core.c.

Here is the caller graph for this function:

static ssize_t hReadUTF16ToWchar ( FILE *  fp,
FB_WCHAR dst,
ssize_t  max_chars 
)
static

Definition at line 304 of file dev_file_encod_read_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static ssize_t hReadUTF32ToChar ( FILE *  fp,
char *  dst,
ssize_t  max_chars 
)
static

Definition at line 95 of file dev_file_encod_read_core.c.

Here is the caller graph for this function:

static ssize_t hReadUTF32ToWchar ( FILE *  fp,
FB_WCHAR dst,
ssize_t  max_chars 
)
static

Definition at line 356 of file dev_file_encod_read_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static ssize_t hReadUTF8ToChar ( FILE *  fp,
char *  dst,
ssize_t  max_chars 
)
static

Definition at line 14 of file dev_file_encod_read_core.c.

Here is the caller graph for this function:

static ssize_t hReadUTF8ToWchar ( FILE *  fp,
FB_WCHAR dst,
ssize_t  max_chars 
)
static

Definition at line 253 of file dev_file_encod_read_core.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static ssize_t hUTF16ToUTF32 ( FILE *  fp,
FB_WCHAR dst,
ssize_t  max_chars 
)
static

Definition at line 276 of file dev_file_encod_read_core.c.

Here is the caller graph for this function:

static ssize_t hUTF32ToUTF16 ( FILE *  fp,
FB_WCHAR dst,
ssize_t  max_chars 
)
static

Definition at line 327 of file dev_file_encod_read_core.c.

Here is the caller graph for this function:

static ssize_t hUTF8ToUTF16 ( FILE *  fp,
FB_WCHAR dst,
ssize_t  max_chars 
)
static

Definition at line 139 of file dev_file_encod_read_core.c.

Here is the caller graph for this function:

static ssize_t hUTF8ToUTF32 ( FILE *  fp,
FB_WCHAR dst,
ssize_t  max_chars 
)
static

Definition at line 203 of file dev_file_encod_read_core.c.

Here is the caller graph for this function:

Variable Documentation

const UTF_32 __fb_utf8_offsetsTb[6]

Definition at line 24 of file utf_core.c.

const char __fb_utf8_trailingTb[256]

Definition at line 12 of file utf_core.c.