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

Side by Side Diff: source/common/ucnv_cnv.h

Issue 587833004: Turn on UCONFIG_NO_NON_HTML5_CONVERTER to save 100kB (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/icu52/
Patch Set: more tests added to desc Created 6 years, 2 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/common/ucnv_bld.cpp ('k') | source/common/ucnv_ct.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ********************************************************************** 2 **********************************************************************
3 * Copyright (C) 1999-2011, International Business Machines 3 * Copyright (C) 1999-2011, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 * 6 *
7 * ucnv_cnv.h: 7 * ucnv_cnv.h:
8 * Definitions for converter implementations. 8 * Definitions for converter implementations.
9 * 9 *
10 * Modification History: 10 * Modification History:
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 UConverterSafeClone safeClone; 249 UConverterSafeClone safeClone;
250 UConverterGetUnicodeSet getUnicodeSet; 250 UConverterGetUnicodeSet getUnicodeSet;
251 251
252 UConverterConvert toUTF8; 252 UConverterConvert toUTF8;
253 UConverterConvert fromUTF8; 253 UConverterConvert fromUTF8;
254 }; 254 };
255 255
256 extern const UConverterSharedData 256 extern const UConverterSharedData
257 _MBCSData, _Latin1Data, 257 _MBCSData, _Latin1Data,
258 _UTF8Data, _UTF16BEData, _UTF16LEData, _UTF32BEData, _UTF32LEData, 258 _UTF8Data, _UTF16BEData, _UTF16LEData, _UTF32BEData, _UTF32LEData,
259 _ISO2022Data, 259 _ISO2022Data,
260 #if !UCONFIG_NO_NON_HTML5_CONVERSION
260 _LMBCSData1,_LMBCSData2, _LMBCSData3, _LMBCSData4, _LMBCSData5, _LMBCSData6, 261 _LMBCSData1,_LMBCSData2, _LMBCSData3, _LMBCSData4, _LMBCSData5, _LMBCSData6,
261 _LMBCSData8,_LMBCSData11,_LMBCSData16,_LMBCSData17,_LMBCSData18,_LMBCSData19 , 262 _LMBCSData8,_LMBCSData11,_LMBCSData16,_LMBCSData17,_LMBCSData18,_LMBCSData19 ,
262 #if !UCONFIG_NO_NON_HTML5_CONVERSION
263 _HZData,_ISCIIData, _SCSUData, _ASCIIData, 263 _HZData,_ISCIIData, _SCSUData, _ASCIIData,
264 _UTF7Data, _Bocu1Data, _UTF16Data, _UTF32Data, _CESU8Data, _IMAPData, _Compo undTextData; 264 _UTF7Data, _Bocu1Data, _UTF16Data, _UTF32Data, _CESU8Data, _IMAPData, _Compo undTextData;
265 #else 265 #else
266 _HZData, _ASCIIData, 266 _ASCIIData, _UTF16Data, _UTF32Data;
267 _UTF16Data, _UTF32Data, _CompoundTextData;
268 #endif 267 #endif
269 268
270 U_CDECL_END 269 U_CDECL_END
271 270
272 /** Always use fallbacks from codepage to Unicode */ 271 /** Always use fallbacks from codepage to Unicode */
273 #define TO_U_USE_FALLBACK(useFallback) TRUE 272 #define TO_U_USE_FALLBACK(useFallback) TRUE
274 #define UCNV_TO_U_USE_FALLBACK(cnv) TRUE 273 #define UCNV_TO_U_USE_FALLBACK(cnv) TRUE
275 274
276 /** Use fallbacks from Unicode to codepage when cnv->useFallback or for private- use code points */ 275 /** Use fallbacks from Unicode to codepage when cnv->useFallback or for private- use code points */
277 #define IS_PRIVATE_USE(c) ((uint32_t)((c)-0xe000)<0x1900 || (uint32_t)((c)-0xf00 00)<0x20000) 276 #define IS_PRIVATE_USE(c) ((uint32_t)((c)-0xe000)<0x1900 || (uint32_t)((c)-0xf00 00)<0x20000)
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 ucnv_toUWriteCodePoint(UConverter *cnv, 316 ucnv_toUWriteCodePoint(UConverter *cnv,
318 UChar32 c, 317 UChar32 c,
319 UChar **target, const UChar *targetLimit, 318 UChar **target, const UChar *targetLimit,
320 int32_t **offsets, 319 int32_t **offsets,
321 int32_t sourceIndex, 320 int32_t sourceIndex,
322 UErrorCode *pErrorCode); 321 UErrorCode *pErrorCode);
323 322
324 #endif 323 #endif
325 324
326 #endif /* UCNV_CNV */ 325 #endif /* UCNV_CNV */
OLDNEW
« no previous file with comments | « source/common/ucnv_bld.cpp ('k') | source/common/ucnv_ct.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698