Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: icu46/source/tools/makeconv/ucnvstat.c

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « icu46/source/tools/makeconv/makeconv.vcxproj.filters ('k') | icu46/source/tools/memcheck/ICUMemCheck.pl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: icu46/source/tools/makeconv/ucnvstat.c
===================================================================
--- icu46/source/tools/makeconv/ucnvstat.c (revision 0)
+++ icu46/source/tools/makeconv/ucnvstat.c (revision 0)
@@ -0,0 +1,67 @@
+/*
+ ******************************************************************************
+ *
+ * Copyright (C) 1998-2006, International Business Machines
+ * Corporation and others. All Rights Reserved.
+ *
+ ******************************************************************************
+ *
+ *
+ * ucnvstat.c:
+ * UConverterStaticData prototypes for data based converters
+ */
+
+#include "unicode/utypes.h"
+#include "unicode/ucnv.h"
+#include "ucnv_bld.h"
+
+
+static const UConverterStaticData _SBCSStaticData={
+ sizeof(UConverterStaticData),
+ "SBCS",
+ 0, UCNV_IBM, UCNV_SBCS, 1, 1,
+ { 0x1a, 0, 0, 0 }, 1, FALSE, FALSE,
+ 0,
+ 0,
+ { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
+};
+
+
+static const UConverterStaticData _DBCSStaticData={
+ sizeof(UConverterStaticData),
+ "DBCS",
+ 0, UCNV_IBM, UCNV_DBCS, 2, 2,
+ { 0, 0, 0, 0 },0, FALSE, FALSE, /* subchar */
+ 0,
+ 0,
+ { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
+};
+
+static const UConverterStaticData _MBCSStaticData={
+ sizeof(UConverterStaticData),
+ "MBCS",
+ 0, UCNV_IBM, UCNV_MBCS, 1, 1,
+ { 0x1a, 0, 0, 0 }, 1, FALSE, FALSE,
+ 0,
+ 0,
+ { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
+};
+
+static const UConverterStaticData _EBCDICStatefulStaticData={
+ sizeof(UConverterStaticData),
+ "EBCDICStateful",
+ 0, UCNV_IBM, UCNV_EBCDIC_STATEFUL, 1, 1,
+ { 0, 0, 0, 0 },0, FALSE, FALSE,
+ 0,
+ 0,
+ { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
+};
+
+/* NULLs for algorithmic types, their tables live in ucnv_bld.c */
+const UConverterStaticData *ucnv_converterStaticData[UCNV_NUMBER_OF_SUPPORTED_CONVERTER_TYPES]={
+ &_SBCSStaticData, &_DBCSStaticData, &_MBCSStaticData, NULL/*Lat1*/,
+ NULL/*UTF8*/, NULL/*UTF16be*/, NULL/*UTF16LE*/, NULL/*UTF32be*/, NULL/*UTF32LE*/, &_EBCDICStatefulStaticData,
+ NULL/*ISO2022*/,
+ /* LMBCS */ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
+};
+
Property changes on: icu46/source/tools/makeconv/ucnvstat.c
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « icu46/source/tools/makeconv/makeconv.vcxproj.filters ('k') | icu46/source/tools/memcheck/ICUMemCheck.pl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698