CUBRID Engine  latest
unicode_support.h File Reference
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <assert.h>
Include dependency graph for unicode_support.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef unsigned int uint32
 
typedef unsigned short int uint16
 
typedef unsigned char uchar
 

Functions

int unicode_process_alphabet (LOCALE_DATA *ld, bool is_verbose)
 
int unicode_process_normalization (LOCALE_DATA *ld, bool is_verbose)
 
void unicode_free_data (void)
 
bool unicode_string_need_compose (const char *str_in, const int size_in, int *size_out, const UNICODE_NORMALIZATION *norm)
 
void unicode_compose_string (const char *str_in, const int size_in, char *str_out, int *size_out, bool *is_composed, const UNICODE_NORMALIZATION *norm)
 
bool unicode_string_need_decompose (const char *str_in, const int size_in, int *decomp_size, const UNICODE_NORMALIZATION *norm)
 
void unicode_decompose_string (const char *str_in, const int size_in, char *str_out, int *size_out, const UNICODE_NORMALIZATION *norm)
 
int string_to_int_array (char *s, uint32 *cp_list, const int cp_list_size, const char *delims)
 

Typedef Documentation

typedef unsigned char uchar

Definition at line 36 of file unicode_support.h.

typedef unsigned short int uint16

Definition at line 35 of file unicode_support.h.

typedef unsigned int uint32

Definition at line 34 of file unicode_support.h.

Function Documentation

int string_to_int_array ( char *  s,
uint32 cp_list,
const int  cp_list_size,
const char *  delims 
)

Definition at line 661 of file unicode_support.c.

References assert, i, NULL, str_to_uint32(), and strlen.

Referenced by load_ducet(), and load_unicode_data().

Here is the caller graph for this function:

void unicode_decompose_string ( const char *  str_in,
const int  size_in,
char *  str_out,
int *  size_out,
const UNICODE_NORMALIZATION norm 
)
void unicode_free_data ( void  )

Definition at line 565 of file unicode_support.c.

References last_unicode_file, and NULL.

Referenced by load_unicode_data(), and locale_compile_locale().

Here is the caller graph for this function:

bool unicode_string_need_compose ( const char *  str_in,
const int  size_in,
int *  size_out,
const UNICODE_NORMALIZATION norm 
)

Definition at line 1128 of file unicode_support.c.

References assert, NULL, prm_get_bool_value(), and PRM_ID_UNICODE_INPUT_NORMALIZATION.

Referenced by csql_help_schema(), csql_help_trigger(), jsp_unpack_string_value(), and netval_to_dbval().

Here is the caller graph for this function:

bool unicode_string_need_decompose ( const char *  str_in,
const int  size_in,
int *  decomp_size,
const UNICODE_NORMALIZATION norm 
)