LibreOffice Module i18npool (master)  1
Functions | Variables
gendict.cxx File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <sal/main.h>
#include <sal/types.h>
#include <rtl/ustring.hxx>
#include <osl/diagnose.h>
#include <vector>
Include dependency graph for gendict.cxx:

Go to the source code of this file.

Functions

static void set_exists (sal_uInt32 index)
 
static void printIncludes (FILE *source_fp)
 
static void printFunctions (FILE *source_fp, const char *lang)
 
static void printDataArea (FILE *dictionary_fp, FILE *source_fp, vector< sal_uInt32 > &lenArray)
 
static void printLenArray (FILE *source_fp, const vector< sal_uInt32 > &lenArray)
 
static void printIndex1 (FILE *source_fp, sal_Int16 *set)
 
static void printIndex2 (FILE *source_fp, sal_Int16 const *set)
 
static void printExistsMask (FILE *source_fp)
 
 SAL_IMPLEMENT_MAIN_WITH_ARGS (argc, argv)
 

Variables

static sal_uInt8 exists [0x2000]
 
static sal_uInt32 charArray [0x10000]
 

Function Documentation

static void printDataArea ( FILE *  dictionary_fp,
FILE *  source_fp,
vector< sal_uInt32 > &  lenArray 
)
static

Definition at line 107 of file gendict.cxx.

References charArray, i, set_exists(), and x.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

static void printExistsMask ( FILE *  source_fp)
static

Definition at line 257 of file gendict.cxx.

References exists, and i.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

static void printFunctions ( FILE *  source_fp,
const char *  lang 
)
static

Definition at line 85 of file gendict.cxx.

References void().

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

static void printIncludes ( FILE *  source_fp)
static

Definition at line 75 of file gendict.cxx.

References void().

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

static void printIndex1 ( FILE *  source_fp,
sal_Int16 *  set 
)
static

Definition at line 190 of file gendict.cxx.

References charArray, count, and i.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

static void printIndex2 ( FILE *  source_fp,
sal_Int16 const *  set 
)
static

Definition at line 219 of file gendict.cxx.

References charArray, i, and n.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

static void printLenArray ( FILE *  source_fp,
const vector< sal_uInt32 > &  lenArray 
)
static

Definition at line 160 of file gendict.cxx.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

SAL_IMPLEMENT_MAIN_WITH_ARGS ( argc  ,
argv   
)
static void set_exists ( sal_uInt32  index)
static

Definition at line 70 of file gendict.cxx.

References exists.

Referenced by printDataArea().

Variable Documentation

sal_uInt32 charArray[0x10000]
static

Definition at line 68 of file gendict.cxx.

Referenced by printDataArea(), printIndex1(), and printIndex2().

sal_uInt8 exists[0x2000]
static

Definition at line 67 of file gendict.cxx.

Referenced by printExistsMask(), and set_exists().