mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 05:23:03 +01:00
CONST -> const
This commit is contained in:
parent
663c79acce
commit
ac645b0258
@ -26,7 +26,7 @@
|
|||||||
*
|
*
|
||||||
*____________________________________________________________
|
*____________________________________________________________
|
||||||
*
|
*
|
||||||
* $Id: gpre_meta.epp,v 1.15 2003-02-08 00:36:51 brodsom Exp $
|
* $Id: gpre_meta.epp,v 1.16 2003-02-13 09:58:18 dimitr Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "firebird.h"
|
#include "firebird.h"
|
||||||
@ -53,7 +53,7 @@ extern enum lang_t sw_language;
|
|||||||
extern USHORT sw_cstring;
|
extern USHORT sw_cstring;
|
||||||
extern DBB isc_databases;
|
extern DBB isc_databases;
|
||||||
|
|
||||||
static CONST UCHAR blr_bpb[] = { isc_bpb_version1,
|
static const UCHAR blr_bpb[] = { isc_bpb_version1,
|
||||||
isc_bpb_source_type, 1, BLOB_blr,
|
isc_bpb_source_type, 1, BLOB_blr,
|
||||||
isc_bpb_target_type, 1, BLOB_blr
|
isc_bpb_target_type, 1, BLOB_blr
|
||||||
};
|
};
|
||||||
@ -121,7 +121,7 @@ GPRE_FLD MET_context_field( GPRE_CTX context, char *string)
|
|||||||
BOOLEAN MET_database(DBB dbb, BOOLEAN print_version)
|
BOOLEAN MET_database(DBB dbb, BOOLEAN print_version)
|
||||||
{
|
{
|
||||||
SCHAR dpb[MAX_PASSWORD_LENGTH + MAX_USER_LENGTH + 5], *d, *p;
|
SCHAR dpb[MAX_PASSWORD_LENGTH + MAX_USER_LENGTH + 5], *d, *p;
|
||||||
static CONST UCHAR sql_version_info[] = { isc_info_base_level,
|
static const UCHAR sql_version_info[] = { isc_info_base_level,
|
||||||
isc_info_ods_version,
|
isc_info_ods_version,
|
||||||
isc_info_db_sql_dialect,
|
isc_info_db_sql_dialect,
|
||||||
isc_info_end
|
isc_info_end
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
*
|
*
|
||||||
*____________________________________________________________
|
*____________________________________________________________
|
||||||
*
|
*
|
||||||
* $Id: gpre_meta_boot.cpp,v 1.11 2003-02-08 00:36:51 brodsom Exp $
|
* $Id: gpre_meta_boot.cpp,v 1.12 2003-02-13 09:58:18 dimitr Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "firebird.h"
|
#include "firebird.h"
|
||||||
@ -52,7 +52,7 @@ extern enum lang_t sw_language;
|
|||||||
extern USHORT sw_cstring;
|
extern USHORT sw_cstring;
|
||||||
extern DBB isc_databases;
|
extern DBB isc_databases;
|
||||||
|
|
||||||
static CONST UCHAR blr_bpb[] = { isc_bpb_version1,
|
static const UCHAR blr_bpb[] = { isc_bpb_version1,
|
||||||
isc_bpb_source_type, 1, BLOB_blr,
|
isc_bpb_source_type, 1, BLOB_blr,
|
||||||
isc_bpb_target_type, 1, BLOB_blr
|
isc_bpb_target_type, 1, BLOB_blr
|
||||||
};
|
};
|
||||||
@ -123,7 +123,7 @@ BOOLEAN MET_database(DBB dbb, BOOLEAN print_version)
|
|||||||
SCHAR dpb[MAX_PASSWORD_LENGTH + MAX_USER_LENGTH + 5], *d, *p;
|
SCHAR dpb[MAX_PASSWORD_LENGTH + MAX_USER_LENGTH + 5], *d, *p;
|
||||||
SCHAR buffer[16], *data;
|
SCHAR buffer[16], *data;
|
||||||
SSHORT l;
|
SSHORT l;
|
||||||
static CONST UCHAR sql_version_info[] = { isc_info_base_level,
|
static const UCHAR sql_version_info[] = { isc_info_base_level,
|
||||||
isc_info_ods_version,
|
isc_info_ods_version,
|
||||||
isc_info_db_sql_dialect,
|
isc_info_db_sql_dialect,
|
||||||
isc_info_end
|
isc_info_end
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
//
|
//
|
||||||
//____________________________________________________________
|
//____________________________________________________________
|
||||||
//
|
//
|
||||||
// $Id: int.cpp,v 1.8 2003-02-08 00:36:51 brodsom Exp $
|
// $Id: int.cpp,v 1.9 2003-02-13 09:58:18 dimitr Exp $
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "firebird.h"
|
#include "firebird.h"
|
||||||
@ -506,7 +506,7 @@ static void gen_request( GPRE_REQ request)
|
|||||||
ib_fprintf(out_file, "static void\t*%s;\t/* request handle */\n",
|
ib_fprintf(out_file, "static void\t*%s;\t/* request handle */\n",
|
||||||
request->req_handle);
|
request->req_handle);
|
||||||
|
|
||||||
ib_fprintf(out_file, "static CONST UCHAR\tjrd_%d [%d] =",
|
ib_fprintf(out_file, "static const UCHAR\tjrd_%d [%d] =",
|
||||||
request->req_ident, request->req_length);
|
request->req_ident, request->req_length);
|
||||||
align(INDENT);
|
align(INDENT);
|
||||||
ib_fprintf(out_file, "{\t/* blr string */\n", request->req_ident);
|
ib_fprintf(out_file, "{\t/* blr string */\n", request->req_ident);
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
//
|
//
|
||||||
//____________________________________________________________
|
//____________________________________________________________
|
||||||
//
|
//
|
||||||
// $Id: int_cxx.cpp,v 1.7 2003-02-08 00:36:51 brodsom Exp $
|
// $Id: int_cxx.cpp,v 1.8 2003-02-13 09:58:19 dimitr Exp $
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "firebird.h"
|
#include "firebird.h"
|
||||||
@ -508,7 +508,7 @@ static void gen_request( GPRE_REQ request)
|
|||||||
ib_fprintf(out_file, "static void\t*%s;\t/* request handle */\n",
|
ib_fprintf(out_file, "static void\t*%s;\t/* request handle */\n",
|
||||||
request->req_handle);
|
request->req_handle);
|
||||||
|
|
||||||
ib_fprintf(out_file, "static CONST UCHAR\tjrd_%d [%d] =",
|
ib_fprintf(out_file, "static const UCHAR\tjrd_%d [%d] =",
|
||||||
request->req_ident, request->req_length);
|
request->req_ident, request->req_length);
|
||||||
align(INDENT);
|
align(INDENT);
|
||||||
ib_fprintf(out_file, "{\t/* blr string */\n", request->req_ident);
|
ib_fprintf(out_file, "{\t/* blr string */\n", request->req_ident);
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
//
|
//
|
||||||
//____________________________________________________________
|
//____________________________________________________________
|
||||||
//
|
//
|
||||||
// $Id: jrdmet.cpp,v 1.6 2002-11-30 17:40:24 hippoman Exp $
|
// $Id: jrdmet.cpp,v 1.7 2003-02-13 09:58:19 dimitr Exp $
|
||||||
//
|
//
|
||||||
|
|
||||||
#include "firebird.h"
|
#include "firebird.h"
|
||||||
@ -65,9 +65,9 @@ void JRDMET_init( DBB db)
|
|||||||
SYM symbol;
|
SYM symbol;
|
||||||
GPRE_FLD field;
|
GPRE_FLD field;
|
||||||
TYP type;
|
TYP type;
|
||||||
CONST RTYP *rtype;
|
const RTYP *rtype;
|
||||||
CONST UCHAR *relfld;
|
const UCHAR *relfld;
|
||||||
CONST UCHAR *fld;
|
const UCHAR *fld;
|
||||||
int n;
|
int n;
|
||||||
struct gfld *gfield;
|
struct gfld *gfield;
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
* Mark O'Donohue <mark.odonohue@ludwig.edu.au>
|
* Mark O'Donohue <mark.odonohue@ludwig.edu.au>
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $Id: fb_types.h,v 1.13 2003-02-12 12:45:43 brodsom Exp $
|
* $Id: fb_types.h,v 1.14 2003-02-13 09:55:51 dimitr Exp $
|
||||||
*
|
*
|
||||||
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "OS/2" port
|
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "OS/2" port
|
||||||
*
|
*
|
||||||
@ -38,11 +38,6 @@
|
|||||||
#define INCLUDE_FB_TYPES_H
|
#define INCLUDE_FB_TYPES_H
|
||||||
|
|
||||||
|
|
||||||
#ifndef CONST
|
|
||||||
# define CONST const
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
|
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
|
||||||
# define GDS_EXPORT __stdcall
|
# define GDS_EXPORT __stdcall
|
||||||
#else
|
#else
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
static CONST UCHAR blr_table4 [] = {
|
static const UCHAR blr_table4 [] = {
|
||||||
0, (UCHAR) nod_assignment, (UCHAR) nod_list, (UCHAR) nod_dcl_variable,
|
0, (UCHAR) nod_assignment, (UCHAR) nod_list, (UCHAR) nod_dcl_variable,
|
||||||
/* 4*/ (UCHAR) nod_message, (UCHAR) nod_erase, (UCHAR) nod_for,
|
/* 4*/ (UCHAR) nod_message, (UCHAR) nod_erase, (UCHAR) nod_for,
|
||||||
/* 7*/ (UCHAR) nod_for, (UCHAR) nod_if, (UCHAR) nod_loop,
|
/* 7*/ (UCHAR) nod_for, (UCHAR) nod_if, (UCHAR) nod_loop,
|
||||||
@ -53,7 +53,7 @@ static CONST UCHAR blr_table4 [] = {
|
|||||||
/*173*/ 0, (UCHAR) nod_current_role, 0, (UCHAR) nod_exec_sql,
|
/*173*/ 0, (UCHAR) nod_current_role, 0, (UCHAR) nod_exec_sql,
|
||||||
/*177*/ (UCHAR) nod_internal_info, 0, 0, (UCHAR) nod_user_savepoint,
|
/*177*/ (UCHAR) nod_internal_info, 0, 0, (UCHAR) nod_user_savepoint,
|
||||||
/*181*/ (UCHAR) nod_undo_savepoint, 0};
|
/*181*/ (UCHAR) nod_undo_savepoint, 0};
|
||||||
static CONST UCHAR blr_table [] = {
|
static const UCHAR blr_table [] = {
|
||||||
0, (UCHAR) nod_assignment, (UCHAR) nod_list, (UCHAR) nod_dcl_variable,
|
0, (UCHAR) nod_assignment, (UCHAR) nod_list, (UCHAR) nod_dcl_variable,
|
||||||
/* 4*/ (UCHAR) nod_message, (UCHAR) nod_erase, (UCHAR) nod_for,
|
/* 4*/ (UCHAR) nod_message, (UCHAR) nod_erase, (UCHAR) nod_for,
|
||||||
/* 7*/ (UCHAR) nod_for, (UCHAR) nod_if, (UCHAR) nod_loop,
|
/* 7*/ (UCHAR) nod_for, (UCHAR) nod_if, (UCHAR) nod_loop,
|
||||||
@ -108,7 +108,7 @@ static CONST UCHAR blr_table [] = {
|
|||||||
/*173*/ 0, (UCHAR) nod_current_role, 0, (UCHAR) nod_exec_sql,
|
/*173*/ 0, (UCHAR) nod_current_role, 0, (UCHAR) nod_exec_sql,
|
||||||
/*177*/ (UCHAR) nod_internal_info, 0, 0, (UCHAR) nod_user_savepoint,
|
/*177*/ (UCHAR) nod_internal_info, 0, 0, (UCHAR) nod_user_savepoint,
|
||||||
/*181*/ (UCHAR) nod_undo_savepoint, 0};
|
/*181*/ (UCHAR) nod_undo_savepoint, 0};
|
||||||
static CONST SCHAR length_table [] = {
|
static const SCHAR length_table [] = {
|
||||||
0, e_asgn_length, 0, e_dcl_length, 0, e_erase_length,
|
0, e_asgn_length, 0, e_dcl_length, 0, e_erase_length,
|
||||||
/* 6*/ e_for_length, e_for_length, e_if_length, 1, 0, 1, e_send_length,
|
/* 6*/ e_for_length, e_for_length, e_if_length, 1, 0, 1, e_send_length,
|
||||||
/* 13*/ 0, e_send_length, e_sto_length, 0, e_lbl_length, 1,
|
/* 13*/ 0, e_send_length, e_sto_length, 0, e_lbl_length, 1,
|
||||||
@ -134,7 +134,7 @@ static CONST SCHAR length_table [] = {
|
|||||||
/*162*/ e_current_time_length, 2, 0, 0, 0, 0, 0, 0, 0,
|
/*162*/ e_current_time_length, 2, 0, 0, 0, 0, 0, 0, 0,
|
||||||
/*171*/ 0, 0, 0, 1, 0, 1, 1, 0, 0, e_sav_length, e_sav_length,
|
/*171*/ 0, 0, 0, 1, 0, 1, 1, 0, 0, e_sav_length, e_sav_length,
|
||||||
/*182*/ 0};
|
/*182*/ 0};
|
||||||
static CONST SCHAR count_table [] = {
|
static const SCHAR count_table [] = {
|
||||||
0, 2, 0, 0, 0, 0, 3, 3, 3, 1, 0, 1, 1, 0, 1, e_sto_length - 1,
|
0, 2, 0, 0, 0, 0, 3, 3, 3, 1, 0, 1, 1, 0, 1, e_sto_length - 1,
|
||||||
/* 16*/ 0, 1, 0, e_sto_length - 1, 1, 0, 0, 0, 0, 0, 0, 2,
|
/* 16*/ 0, 1, 0, e_sto_length - 1, 1, 0, 0, 0, 0, 0, 0, 2,
|
||||||
/* 28*/ 1, 2, 2, 2, 0, 0, 2, 2, 2, 2, 1, 2, 3, 0, 2, 3, 0,
|
/* 28*/ 1, 2, 2, 2, 0, 0, 2, 2, 2, 2, 1, 2, 3, 0, 2, 3, 0,
|
||||||
@ -148,7 +148,7 @@ static CONST SCHAR count_table [] = {
|
|||||||
/*156*/ 2, 2, 1, e_extract_count, 0, 0, 0, 2, 0, 0, 0, 0,
|
/*156*/ 2, 2, 1, e_extract_count, 0, 0, 0, 2, 0, 0, 0, 0,
|
||||||
/*168*/ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0,
|
/*168*/ 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0,
|
||||||
/*182*/ 0};
|
/*182*/ 0};
|
||||||
static CONST SCHAR type_table [] = {
|
static const SCHAR type_table [] = {
|
||||||
0, STATEMENT, STATEMENT, STATEMENT, STATEMENT, STATEMENT,
|
0, STATEMENT, STATEMENT, STATEMENT, STATEMENT, STATEMENT,
|
||||||
/* 6*/ STATEMENT, STATEMENT, STATEMENT, STATEMENT, STATEMENT,
|
/* 6*/ STATEMENT, STATEMENT, STATEMENT, STATEMENT, STATEMENT,
|
||||||
/* 11*/ STATEMENT, STATEMENT, STATEMENT, STATEMENT, STATEMENT,
|
/* 11*/ STATEMENT, STATEMENT, STATEMENT, STATEMENT, STATEMENT,
|
||||||
@ -175,7 +175,7 @@ static CONST SCHAR type_table [] = {
|
|||||||
/*163*/ STATEMENT, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
/*163*/ STATEMENT, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
/*174*/ VALUE, 0, STATEMENT, VALUE, 0, 0, STATEMENT, STATEMENT,
|
/*174*/ VALUE, 0, STATEMENT, VALUE, 0, 0, STATEMENT, STATEMENT,
|
||||||
/*182*/ 0};
|
/*182*/ 0};
|
||||||
static CONST SCHAR sub_type_table [] = {
|
static const SCHAR sub_type_table [] = {
|
||||||
0, VALUE, STATEMENT, OTHER, OTHER, OTHER, STATEMENT,
|
0, VALUE, STATEMENT, OTHER, OTHER, OTHER, STATEMENT,
|
||||||
/* 7*/ STATEMENT, STATEMENT, STATEMENT, STATEMENT, OTHER,
|
/* 7*/ STATEMENT, STATEMENT, STATEMENT, STATEMENT, OTHER,
|
||||||
/* 12*/ STATEMENT, STATEMENT, STATEMENT, STATEMENT, 0, STATEMENT,
|
/* 12*/ STATEMENT, STATEMENT, STATEMENT, STATEMENT, 0, STATEMENT,
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
* *** WARNING *** - This file is automatically generated by codes.e - do not edit!
|
* *** WARNING *** - This file is automatically generated by codes.e - do not edit!
|
||||||
*
|
*
|
||||||
*)
|
*)
|
||||||
CONST
|
const
|
||||||
gds_facility = 20;
|
gds_facility = 20;
|
||||||
gds_err_base = 335544320;
|
gds_err_base = 335544320;
|
||||||
gds_err_factor = 1;
|
gds_err_factor = 1;
|
||||||
|
@ -37,7 +37,7 @@ struct _facilities {
|
|||||||
char *facility;
|
char *facility;
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct _facilities facilities[] = {
|
static const struct _facilities facilities[] = {
|
||||||
{0, "JRD "},
|
{0, "JRD "},
|
||||||
{3, "GFIX "},
|
{3, "GFIX "},
|
||||||
{7, "DSQL "},
|
{7, "DSQL "},
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
* *** WARNING *** - This file is automatically generated by codes.e - do not edit!
|
* *** WARNING *** - This file is automatically generated by codes.e - do not edit!
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
static CONST SSHORT FAR_VARIABLE gds__sql_code [] = {
|
static const SSHORT FAR_VARIABLE gds__sql_code [] = {
|
||||||
0 /* No Error */,
|
0 /* No Error */,
|
||||||
-802 /* 1 arith_except */,
|
-802 /* 1 arith_except */,
|
||||||
-901 /* 2 bad_dbkey */,
|
-901 /* 2 bad_dbkey */,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2604,7 +2604,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 2047 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 2047 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2092,7 +2092,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 1535 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 1535 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2092,7 +2092,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 1535 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 1535 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1836,7 +1836,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 1279 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 1279 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1836,7 +1836,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 1279 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 1279 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1580,7 +1580,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 1023 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 1023 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1836,7 +1836,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 1279 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 1279 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2348,7 +2348,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 1791 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 1791 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2604,7 +2604,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 2047 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 2047 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2860,7 +2860,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 2303 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 2303 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2604,7 +2604,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 2047 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 2047 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2348,7 +2348,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+FEFF */ CANT_MAP_CHARACTER, /* 1791 */
|
/* U+FEFF */ CANT_MAP_CHARACTER, /* 1791 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2604,7 +2604,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 2047 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 2047 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2092,7 +2092,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 1535 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 1535 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1836,7 +1836,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+25FF */ CANT_MAP_CHARACTER, /* 1279 */
|
/* U+25FF */ CANT_MAP_CHARACTER, /* 1279 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -105,7 +105,7 @@
|
|||||||
#endif
|
#endif
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static CONST USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
static const USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
@ -23148,7 +23148,7 @@ static CONST USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
|||||||
0xFFFD,
|
0xFFFD,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
256,
|
256,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -23408,7 +23408,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static CONST USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -49011,7 +49011,7 @@ static CONST USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
0,
|
0,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
256,
|
256,
|
||||||
0,
|
0,
|
||||||
512,
|
512,
|
||||||
|
@ -294,7 +294,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): ______________________________________.
|
* Contributor(s): ______________________________________.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */ ,
|
/* 00 */ 0x0000 /* NULL */ ,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */ ,
|
/* 01 */ 0x0001 /* START OF HEADING */ ,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */ ,
|
/* 02 */ 0x0002 /* START OF TEXT */ ,
|
||||||
@ -558,7 +558,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER,
|
/* U+XX00 */ CANT_MAP_CHARACTER,
|
||||||
/* 0 */
|
/* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER,
|
/* U+XX01 */ CANT_MAP_CHARACTER,
|
||||||
@ -2866,7 +2866,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* 1279 */
|
/* 1279 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -71,7 +71,7 @@
|
|||||||
#endif
|
#endif
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static CONST USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
static const USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
@ -21322,7 +21322,7 @@ static CONST USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
|||||||
0xFFFD,
|
0xFFFD,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
256,
|
256,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -21584,7 +21584,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
static CONST USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -46675,7 +46675,7 @@ static CONST USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
0,
|
0,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
256,
|
256,
|
||||||
512,
|
512,
|
||||||
768,
|
768,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1068,7 +1068,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+00FF */ 0xFF /* LATIN SMALL LETTER Y WITH DIAERESIS */,/* 511 */
|
/* U+00FF */ 0xFF /* LATIN SMALL LETTER Y WITH DIAERESIS */,/* 511 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1580,7 +1580,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+20FF */ CANT_MAP_CHARACTER, /* 1023 */
|
/* U+20FF */ CANT_MAP_CHARACTER, /* 1023 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1580,7 +1580,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+02FF */ CANT_MAP_CHARACTER, /* 1023 */
|
/* U+02FF */ CANT_MAP_CHARACTER, /* 1023 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1580,7 +1580,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+02FF */ CANT_MAP_CHARACTER, /* 1023 */
|
/* U+02FF */ CANT_MAP_CHARACTER, /* 1023 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1580,7 +1580,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+02FF */ CANT_MAP_CHARACTER, /* 1023 */
|
/* U+02FF */ CANT_MAP_CHARACTER, /* 1023 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1580,7 +1580,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+21FF */ CANT_MAP_CHARACTER, /* 1023 */
|
/* U+21FF */ CANT_MAP_CHARACTER, /* 1023 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1324,7 +1324,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+06FF */ CANT_MAP_CHARACTER, /* 767 */
|
/* U+06FF */ CANT_MAP_CHARACTER, /* 767 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1836,7 +1836,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+20FF */ CANT_MAP_CHARACTER, /* 1279 */
|
/* U+20FF */ CANT_MAP_CHARACTER, /* 1279 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 512,
|
/* U+02-- */ 512,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1580,7 +1580,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+20FF */ CANT_MAP_CHARACTER, /* 1023 */
|
/* U+20FF */ CANT_MAP_CHARACTER, /* 1023 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1324,7 +1324,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+01FF */ CANT_MAP_CHARACTER, /* 767 */
|
/* U+01FF */ CANT_MAP_CHARACTER, /* 767 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
#endif
|
#endif
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static CONST USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
static const USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
@ -20301,7 +20301,7 @@ static CONST USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
|||||||
0xFFFD,
|
0xFFFD,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
256,
|
256,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -20561,7 +20561,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static CONST USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -44628,7 +44628,7 @@ static CONST USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
0,
|
0,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
256,
|
256,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
#endif
|
#endif
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static CONST USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
static const USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
0xFFFD,
|
0xFFFD,
|
||||||
@ -32304,7 +32304,7 @@ static CONST USHORT FAR_VARIABLE to_unicode_mapping_array[] = {
|
|||||||
0xFFFD,
|
0xFFFD,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
256,
|
256,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -32568,7 +32568,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
|
|
||||||
#line 49617 "cs_ksc5601.h"
|
#line 49617 "cs_ksc5601.h"
|
||||||
|
|
||||||
static CONST USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
@ -69947,7 +69947,7 @@ static CONST USHORT FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
0,
|
0,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
256,
|
256,
|
||||||
512,
|
512,
|
||||||
768,
|
768,
|
||||||
|
@ -315,7 +315,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): ______________________________________.
|
* Contributor(s): ______________________________________.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */ ,
|
/* 00 */ 0x0000 /* NULL */ ,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */ ,
|
/* 01 */ 0x0001 /* START OF HEADING */ ,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */ ,
|
/* 02 */ 0x0002 /* START OF TEXT */ ,
|
||||||
@ -579,7 +579,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER,
|
/* U+XX00 */ CANT_MAP_CHARACTER,
|
||||||
/* 0 */
|
/* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER,
|
/* U+XX01 */ CANT_MAP_CHARACTER,
|
||||||
@ -3911,7 +3911,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* 1791 */
|
/* 1791 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -290,7 +290,7 @@
|
|||||||
#define UNICODE_REPLACEMENT_CHARACTER 0xFFFD
|
#define UNICODE_REPLACEMENT_CHARACTER 0xFFFD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST USHORT FAR_VARIABLE sjis_to_unicode_mapping_array[] = {
|
static const USHORT FAR_VARIABLE sjis_to_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ UNICODE_REPLACEMENT_CHARACTER,
|
/* U+XX00 */ UNICODE_REPLACEMENT_CHARACTER,
|
||||||
/* 0 */
|
/* 0 */
|
||||||
/* U+XX01 */ UNICODE_REPLACEMENT_CHARACTER,
|
/* U+XX01 */ UNICODE_REPLACEMENT_CHARACTER,
|
||||||
@ -1126,7 +1126,7 @@ static CONST USHORT FAR_VARIABLE sjis_to_unicode_mapping_array[] = {
|
|||||||
/* 511 */
|
/* 511 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT sjis_to_unicode_map[256] = {
|
static const USHORT sjis_to_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
@ -1390,7 +1390,7 @@ static CONST USHORT sjis_to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST USHORT FAR_VARIABLE sjis_from_unicode_mapping_array[] = {
|
static const USHORT FAR_VARIABLE sjis_from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER,
|
/* U+XX00 */ CANT_MAP_CHARACTER,
|
||||||
/* 0 */
|
/* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER,
|
/* U+XX01 */ CANT_MAP_CHARACTER,
|
||||||
@ -3250,7 +3250,7 @@ static CONST USHORT FAR_VARIABLE sjis_from_unicode_mapping_array[] = {
|
|||||||
/* 1023 */
|
/* 1023 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT sjis_from_unicode_map[256] = {
|
static const USHORT sjis_from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2092,7 +2092,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+21FF */ CANT_MAP_CHARACTER, /* 1535 */
|
/* U+21FF */ CANT_MAP_CHARACTER, /* 1535 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -1836,7 +1836,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+21FF */ CANT_MAP_CHARACTER, /* 1279 */
|
/* U+21FF */ CANT_MAP_CHARACTER, /* 1279 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 0,
|
/* U+01-- */ 0,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2092,7 +2092,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+21FF */ CANT_MAP_CHARACTER, /* 1535 */
|
/* U+21FF */ CANT_MAP_CHARACTER, /* 1535 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2092,7 +2092,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+21FF */ CANT_MAP_CHARACTER, /* 1535 */
|
/* U+21FF */ CANT_MAP_CHARACTER, /* 1535 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 0,
|
/* U+02-- */ 0,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2092,7 +2092,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+21FF */ CANT_MAP_CHARACTER, /* 1535 */
|
/* U+21FF */ CANT_MAP_CHARACTER, /* 1535 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2348,7 +2348,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+21FF */ CANT_MAP_CHARACTER, /* 1791 */
|
/* U+21FF */ CANT_MAP_CHARACTER, /* 1791 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2348,7 +2348,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+21FF */ CANT_MAP_CHARACTER, /* 1791 */
|
/* U+21FF */ CANT_MAP_CHARACTER, /* 1791 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -289,7 +289,7 @@
|
|||||||
* All Rights Reserved.
|
* All Rights Reserved.
|
||||||
* Contributor(s): Blas Rodriguez Somoza.
|
* Contributor(s): Blas Rodriguez Somoza.
|
||||||
-------------------------------------------- */
|
-------------------------------------------- */
|
||||||
static CONST USHORT to_unicode_map[256] = {
|
static const USHORT to_unicode_map[256] = {
|
||||||
/* 00 */ 0x0000 /* NULL */,
|
/* 00 */ 0x0000 /* NULL */,
|
||||||
/* 01 */ 0x0001 /* START OF HEADING */,
|
/* 01 */ 0x0001 /* START OF HEADING */,
|
||||||
/* 02 */ 0x0002 /* START OF TEXT */,
|
/* 02 */ 0x0002 /* START OF TEXT */,
|
||||||
@ -553,7 +553,7 @@ static CONST USHORT to_unicode_map[256] = {
|
|||||||
#define CANT_MAP_CHARACTER 0
|
#define CANT_MAP_CHARACTER 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
static const UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
||||||
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
/* U+XX00 */ CANT_MAP_CHARACTER, /* 0 */
|
||||||
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
/* U+XX01 */ CANT_MAP_CHARACTER, /* 1 */
|
||||||
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
/* U+XX02 */ CANT_MAP_CHARACTER, /* 2 */
|
||||||
@ -2092,7 +2092,7 @@ static CONST UCHAR FAR_VARIABLE from_unicode_mapping_array[] = {
|
|||||||
/* U+21FF */ CANT_MAP_CHARACTER, /* 1535 */
|
/* U+21FF */ CANT_MAP_CHARACTER, /* 1535 */
|
||||||
0 /* END OF MAP TABLE */
|
0 /* END OF MAP TABLE */
|
||||||
};
|
};
|
||||||
static CONST USHORT from_unicode_map[256] = {
|
static const USHORT from_unicode_map[256] = {
|
||||||
/* U+00-- */ 256,
|
/* U+00-- */ 256,
|
||||||
/* U+01-- */ 512,
|
/* U+01-- */ 512,
|
||||||
/* U+02-- */ 768,
|
/* U+02-- */ 768,
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{230, 97, 101}, /* æ -> ae */
|
{230, 97, 101}, /* æ -> ae */
|
||||||
{198, 65, 69}, /* Æ -> AE */
|
{198, 65, 69}, /* Æ -> AE */
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
{222, 84, 72}, /* Þ -> TH */
|
{222, 84, 72}, /* Þ -> TH */
|
||||||
{254, 116, 104}, /* þ -> th */
|
{254, 116, 104}, /* þ -> th */
|
||||||
@ -561,7 +561,7 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
|
|
||||||
{{65, 97},
|
{{65, 97},
|
||||||
{FIRST_PRIMARY + 39, FIRST_SECONDARY + 1, FIRST_TERTIARY + 0, 0, 0},
|
{FIRST_PRIMARY + 39, FIRST_SECONDARY + 1, FIRST_TERTIARY + 0, 0, 0},
|
||||||
@ -578,7 +578,7 @@ static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
|||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{230, 97, 101}, /* æ -> ae */
|
{230, 97, 101}, /* æ -> ae */
|
||||||
{198, 65, 69}, /* Æ -> AE */
|
{198, 65, 69}, /* Æ -> AE */
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{230, 97, 101}, /* æ -> ae */
|
{230, 97, 101}, /* æ -> ae */
|
||||||
{198, 65, 69}, /* Æ -> AE */
|
{198, 65, 69}, /* Æ -> AE */
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
@ -561,7 +561,7 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
|
|
||||||
{{99, 104},
|
{{99, 104},
|
||||||
{FIRST_PRIMARY + 14, FIRST_SECONDARY + 0, FIRST_TERTIARY + 0, 0, 0},
|
{FIRST_PRIMARY + 14, FIRST_SECONDARY + 0, FIRST_TERTIARY + 0, 0, 0},
|
||||||
@ -590,7 +590,7 @@ static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
|||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
{254, 116, 104}, /* þ -> th */
|
{254, 116, 104}, /* þ -> th */
|
||||||
{222, 84, 72}, /* Þ -> TH */
|
{222, 84, 72}, /* Þ -> TH */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{230, 97, 101}, /* æ -> ae */
|
{230, 97, 101}, /* æ -> ae */
|
||||||
{198, 65, 69}, /* Æ -> AE */
|
{198, 65, 69}, /* Æ -> AE */
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
{198, 65, 69}, /* Æ -> AE */
|
{198, 65, 69}, /* Æ -> AE */
|
||||||
{230, 97, 101}, /* æ -> ae */
|
{230, 97, 101}, /* æ -> ae */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{230, 97, 101}, /* æ -> ae */
|
{230, 97, 101}, /* æ -> ae */
|
||||||
{198, 65, 69}, /* Æ -> AE */
|
{198, 65, 69}, /* Æ -> AE */
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{230, 97, 101}, /* æ -> ae */
|
{230, 97, 101}, /* æ -> ae */
|
||||||
{198, 65, 69}, /* Æ -> AE */
|
{198, 65, 69}, /* Æ -> AE */
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
{254, 116, 104}, /* þ -> th */
|
{254, 116, 104}, /* þ -> th */
|
||||||
{222, 84, 72}, /* Þ -> TH */
|
{222, 84, 72}, /* Þ -> TH */
|
||||||
@ -561,7 +561,7 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
|
|
||||||
{{97, 97},
|
{{97, 97},
|
||||||
{FIRST_PRIMARY + 39, FIRST_SECONDARY + 1, FIRST_TERTIARY + 0, 0, 0},
|
{FIRST_PRIMARY + 39, FIRST_SECONDARY + 1, FIRST_TERTIARY + 0, 0, 0},
|
||||||
@ -578,7 +578,7 @@ static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
|||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{230, 97, 101}, /* æ -> ae */
|
{230, 97, 101}, /* æ -> ae */
|
||||||
{198, 65, 69}, /* Æ -> AE */
|
{198, 65, 69}, /* Æ -> AE */
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
{254, 116, 104}, /* þ -> th */
|
{254, 116, 104}, /* þ -> th */
|
||||||
{222, 84, 72}, /* Þ -> TH */
|
{222, 84, 72}, /* Þ -> TH */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{230, 97, 101}, /* æ -> ae */
|
{230, 97, 101}, /* æ -> ae */
|
||||||
{198, 65, 69}, /* Æ -> AE */
|
{198, 65, 69}, /* Æ -> AE */
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
89 /* 255 -> Y 89 */
|
89 /* 255 -> Y 89 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{198, 65, 69}, /* Æ -> AE */
|
{198, 65, 69}, /* Æ -> AE */
|
||||||
{230, 97, 101}, /* æ -> ae */
|
{230, 97, 101}, /* æ -> ae */
|
||||||
{223, 115, 115}, /* ß -> ss */
|
{223, 115, 115}, /* ß -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -294,7 +294,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -553,7 +553,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{241, 97, 101}, /* ñ -> ae */
|
{241, 97, 101}, /* ñ -> ae */
|
||||||
{225, 65, 69}, /* á -> AE */
|
{225, 65, 69}, /* á -> AE */
|
||||||
{174, 102, 105}, /* ® -> fi */
|
{174, 102, 105}, /* ® -> fi */
|
||||||
@ -566,11 +566,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{241, 97, 101}, /* ñ -> ae */
|
{241, 97, 101}, /* ñ -> ae */
|
||||||
{225, 65, 69}, /* á -> AE */
|
{225, 65, 69}, /* á -> AE */
|
||||||
{174, 102, 105}, /* ® -> fi */
|
{174, 102, 105}, /* ® -> fi */
|
||||||
@ -565,7 +565,7 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
|
|
||||||
{{99, 104},
|
{{99, 104},
|
||||||
{FIRST_PRIMARY + 14, FIRST_SECONDARY + 0, FIRST_TERTIARY + 0, 0, 0},
|
{FIRST_PRIMARY + 14, FIRST_SECONDARY + 0, FIRST_TERTIARY + 0, 0, 0},
|
||||||
@ -594,7 +594,7 @@ static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
|||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{241, 97, 101}, /* ñ -> ae */
|
{241, 97, 101}, /* ñ -> ae */
|
||||||
{225, 65, 69}, /* á -> AE */
|
{225, 65, 69}, /* á -> AE */
|
||||||
{174, 102, 105}, /* ® -> fi */
|
{174, 102, 105}, /* ® -> fi */
|
||||||
@ -565,11 +565,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{241, 97, 101}, /* ñ -> ae */
|
{241, 97, 101}, /* ñ -> ae */
|
||||||
{225, 65, 69}, /* á -> AE */
|
{225, 65, 69}, /* á -> AE */
|
||||||
{174, 102, 105}, /* ® -> fi */
|
{174, 102, 105}, /* ® -> fi */
|
||||||
@ -565,11 +565,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
{FIRST_IGNORE + 0, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 0 */
|
||||||
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
{FIRST_IGNORE + 1, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 1 */
|
||||||
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
{FIRST_IGNORE + 2, NULL_SECONDARY, NULL_TERTIARY, 1, 1}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{225, 65, 69}, /* á -> AE */
|
{225, 65, 69}, /* á -> AE */
|
||||||
{241, 97, 101}, /* ñ -> ae */
|
{241, 97, 101}, /* ñ -> ae */
|
||||||
{251, 115, 115}, /* û -> ss */
|
{251, 115, 115}, /* û -> ss */
|
||||||
@ -565,11 +565,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,16 +552,16 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,11 +552,11 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
|
|
||||||
{{67, 72},
|
{{67, 72},
|
||||||
{FIRST_PRIMARY + 16, FIRST_SECONDARY + 0, NULL_TERTIARY, 0, 0},
|
{FIRST_PRIMARY + 16, FIRST_SECONDARY + 0, NULL_TERTIARY, 0, 0},
|
||||||
@ -576,7 +576,7 @@ static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
|||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 85, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 85, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 86, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 86, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 87, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 87, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 83, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 83, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 84, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 84, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 80, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 80, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 80, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 80, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 80, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 80, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 83, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 83, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 84, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 84, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 80, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 80, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 80, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 80, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 6, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 6, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 7, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 7, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 8, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 8, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
@ -561,7 +561,7 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
|
|
||||||
{{99, 104},
|
{{99, 104},
|
||||||
{FIRST_PRIMARY + 14, FIRST_SECONDARY + 0, NULL_TERTIARY, 0, 0},
|
{FIRST_PRIMARY + 14, FIRST_SECONDARY + 0, NULL_TERTIARY, 0, 0},
|
||||||
@ -588,7 +588,7 @@ static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
|||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 40, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 40, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 41, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 41, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 42, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 42, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 37, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 37, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 38, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 38, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 39, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 39, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 37, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 37, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 38, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 38, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 39, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 39, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 37, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 37, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 38, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 38, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 39, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 39, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 3, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 3, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
{231, 116, 104}, /* ç -> th */
|
{231, 116, 104}, /* ç -> th */
|
||||||
{232, 84, 72}, /* è -> TH */
|
{232, 84, 72}, /* è -> TH */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 45, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 45, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 46, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 46, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 47, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 47, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 37, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 37, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 38, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 38, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 39, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 39, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
@ -561,11 +561,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,14 +552,14 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
|
|
||||||
{{99, 104},
|
{{99, 104},
|
||||||
{FIRST_PRIMARY + 10, FIRST_SECONDARY + 0, NULL_TERTIARY, 0, 0},
|
{FIRST_PRIMARY + 10, FIRST_SECONDARY + 0, NULL_TERTIARY, 0, 0},
|
||||||
@ -572,7 +572,7 @@ static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
|||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 122, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 122, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 123, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 123, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 124, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 124, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,18 +552,18 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 83, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 83, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 3, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 3, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 76, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 76, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 77, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 77, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 78, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 78, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 83, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 83, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 81, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 82, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 83, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 83, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,15 +552,15 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,7 +552,7 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{132, 97, 101}, /* „ -> ae */
|
{132, 97, 101}, /* „ -> ae */
|
||||||
{142, 65, 69}, /* Ž -> AE */
|
{142, 65, 69}, /* Ž -> AE */
|
||||||
{148, 111, 101}, /* ” -> oe */
|
{148, 111, 101}, /* ” -> oe */
|
||||||
@ -565,11 +565,11 @@ static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
|||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,18 +552,18 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
#define FIRST_TERTIARY 1
|
#define FIRST_TERTIARY 1
|
||||||
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
#define FIRST_SECONDARY (FIRST_TERTIARY+MAX_NCO_TERTIARY+1)
|
||||||
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
#define FIRST_PRIMARY (FIRST_SECONDARY+MAX_NCO_SECONDARY+1)
|
||||||
static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
static const BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -293,7 +293,7 @@ static CONST BYTE ToUpperConversionTbl[UPPERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
static const BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
||||||
0, /* 0 -> 0 */
|
0, /* 0 -> 0 */
|
||||||
1, /* 1 -> 1 */
|
1, /* 1 -> 1 */
|
||||||
2, /* 2 -> 2 */
|
2, /* 2 -> 2 */
|
||||||
@ -552,18 +552,18 @@ static CONST BYTE ToLowerConversionTbl[LOWERCASE_LEN] = {
|
|||||||
255 /* 255 -> 255 */
|
255 /* 255 -> 255 */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
static const struct ExpandChar ExpansionTbl[NUM_EXPAND_CHARS + 1] = {
|
||||||
{225, 115, 115}, /* á -> ss */
|
{225, 115, 115}, /* á -> ss */
|
||||||
{146, 65, 69}, /* ’ -> AE */
|
{146, 65, 69}, /* ’ -> AE */
|
||||||
{145, 97, 101}, /* ‘ -> ae */
|
{145, 97, 101}, /* ‘ -> ae */
|
||||||
{0, 0, 0} /* END OF TABLE */
|
{0, 0, 0} /* END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
static const struct CompressPair CompressTbl[NUM_COMPRESS_CHARS + 1] = {
|
||||||
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
{{0, 0}, {0, 0, 0, 0, 0}, {0, 0, 0, 0, 0}} /*END OF TABLE */
|
||||||
};
|
};
|
||||||
|
|
||||||
static CONST struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
static const struct SortOrderTblEntry NoCaseOrderTbl[NOCASESORT_LEN] = {
|
||||||
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
{FIRST_PRIMARY + 0, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 0 */
|
||||||
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
{FIRST_PRIMARY + 1, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 1 */
|
||||||
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
{FIRST_PRIMARY + 2, NULL_SECONDARY, NULL_TERTIARY, 0, 0}, /* 2 */
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user