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

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

Issue 224943002: icu local change part1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: function indentation changed Created 6 years, 8 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 | « icu52/source/common/ucnv_bld.cpp ('k') | icu52/source/common/ucnv_u7.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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 _LMBCSData1,_LMBCSData2, _LMBCSData3, _LMBCSData4, _LMBCSData5, _LMBCSData6, 260 _LMBCSData1,_LMBCSData2, _LMBCSData3, _LMBCSData4, _LMBCSData5, _LMBCSData6,
261 _LMBCSData8,_LMBCSData11,_LMBCSData16,_LMBCSData17,_LMBCSData18,_LMBCSData19 , 261 _LMBCSData8,_LMBCSData11,_LMBCSData16,_LMBCSData17,_LMBCSData18,_LMBCSData19 ,
262 #if !UCONFIG_NO_NON_HTML5_CONVERSION
262 _HZData,_ISCIIData, _SCSUData, _ASCIIData, 263 _HZData,_ISCIIData, _SCSUData, _ASCIIData,
263 _UTF7Data, _Bocu1Data, _UTF16Data, _UTF32Data, _CESU8Data, _IMAPData, _Compo undTextData; 264 _UTF7Data, _Bocu1Data, _UTF16Data, _UTF32Data, _CESU8Data, _IMAPData, _Compo undTextData;
265 #else
266 _HZData, _ASCIIData,
267 _UTF16Data, _UTF32Data, _CompoundTextData;
268 #endif
264 269
265 U_CDECL_END 270 U_CDECL_END
266 271
267 /** Always use fallbacks from codepage to Unicode */ 272 /** Always use fallbacks from codepage to Unicode */
268 #define TO_U_USE_FALLBACK(useFallback) TRUE 273 #define TO_U_USE_FALLBACK(useFallback) TRUE
269 #define UCNV_TO_U_USE_FALLBACK(cnv) TRUE 274 #define UCNV_TO_U_USE_FALLBACK(cnv) TRUE
270 275
271 /** Use fallbacks from Unicode to codepage when cnv->useFallback or for private- use code points */ 276 /** Use fallbacks from Unicode to codepage when cnv->useFallback or for private- use code points */
272 #define IS_PRIVATE_USE(c) ((uint32_t)((c)-0xe000)<0x1900 || (uint32_t)((c)-0xf00 00)<0x20000) 277 #define IS_PRIVATE_USE(c) ((uint32_t)((c)-0xe000)<0x1900 || (uint32_t)((c)-0xf00 00)<0x20000)
273 #define FROM_U_USE_FALLBACK(useFallback, c) ((useFallback) || IS_PRIVATE_USE(c)) 278 #define FROM_U_USE_FALLBACK(useFallback, c) ((useFallback) || IS_PRIVATE_USE(c))
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 ucnv_toUWriteCodePoint(UConverter *cnv, 317 ucnv_toUWriteCodePoint(UConverter *cnv,
313 UChar32 c, 318 UChar32 c,
314 UChar **target, const UChar *targetLimit, 319 UChar **target, const UChar *targetLimit,
315 int32_t **offsets, 320 int32_t **offsets,
316 int32_t sourceIndex, 321 int32_t sourceIndex,
317 UErrorCode *pErrorCode); 322 UErrorCode *pErrorCode);
318 323
319 #endif 324 #endif
320 325
321 #endif /* UCNV_CNV */ 326 #endif /* UCNV_CNV */
OLDNEW
« no previous file with comments | « icu52/source/common/ucnv_bld.cpp ('k') | icu52/source/common/ucnv_u7.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698