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

◆ printDataArea()

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().

◆ printExistsMask()

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().

◆ printFunctions()

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

Definition at line 85 of file gendict.cxx.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

◆ printIncludes()

static void printIncludes ( FILE *  source_fp)
static

Definition at line 75 of file gendict.cxx.

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

◆ printIndex1()

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

Definition at line 190 of file gendict.cxx.

References charArray, count, i, and set().

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

◆ printIndex2()

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

Definition at line 219 of file gendict.cxx.

References charArray, i, n, and set().

Referenced by SAL_IMPLEMENT_MAIN_WITH_ARGS().

◆ printLenArray()

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()

SAL_IMPLEMENT_MAIN_WITH_ARGS ( argc  ,
argv   
)

◆ set_exists()

static void set_exists ( sal_uInt32  index)
static

Definition at line 70 of file gendict.cxx.

References exists, and index.

Referenced by printDataArea().

Variable Documentation

◆ charArray

sal_uInt32 charArray[0x10000]
static

Definition at line 68 of file gendict.cxx.

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

◆ exists

sal_uInt8 exists[0x2000]
static

Definition at line 67 of file gendict.cxx.

Referenced by printExistsMask(), and set_exists().