Groonga 3.0.9 Source Code Document
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Enumerations | Functions | Variables
icudump.c File Reference
#include <stdio.h>
#include <getopt.h>
#include <unistd.h>
#include <string.h>
#include <unicode/utf.h>
#include <unicode/uchar.h>
#include <unicode/unorm.h>
#include <unicode/ustring.h>
Include dependency graph for icudump.c:

Go to the source code of this file.

Macros

#define MAX_UNICODE   0x110000
#define BUF_SIZE   0x100

Enumerations

enum  {
  ctype_null = 0, ctype_alpha, ctype_digit, ctype_symbol,
  ctype_hiragana, ctype_katakana, ctype_kanji, ctype_others
}

Functions

void blockcode (void)
int normalize (const char *str, char *res, UNormalizationMode mode)
void dump (UNormalizationMode mode)
void ccdump (void)
void gcdump (void)
int main (int argc, char **argv)

Variables

struct option options []

Macro Definition Documentation

#define BUF_SIZE   0x100

Definition at line 27 of file icudump.c.

#define MAX_UNICODE   0x110000

Definition at line 26 of file icudump.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
ctype_null 
ctype_alpha 
ctype_digit 
ctype_symbol 
ctype_hiragana 
ctype_katakana 
ctype_kanji 
ctype_others 

Definition at line 147 of file icudump.c.

Function Documentation

void blockcode ( void  )

Definition at line 64 of file icudump.c.

Here is the caller graph for this function:

void ccdump ( void  )

Definition at line 126 of file icudump.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void dump ( UNormalizationMode  mode)

Definition at line 108 of file icudump.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void gcdump ( void  )

Definition at line 170 of file icudump.c.

Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 265 of file icudump.c.

Here is the call graph for this function:

int normalize ( const char *  str,
char *  res,
UNormalizationMode  mode 
)

Definition at line 84 of file icudump.c.

Here is the caller graph for this function:

Variable Documentation

struct option options[]
Initial value:
{
{"bc", 0, NULL, 'b'},
{"nfd", 0, NULL, 'd'},
{"nfkd", 0, NULL, 'D'},
{"nfc", 0, NULL, 'c'},
{"nfkc", 0, NULL, 'C'},
{"cc", 0, NULL, 'o'},
{"gc", 0, NULL, 'g'},
}

Definition at line 254 of file icudump.c.