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

Side by Side Diff: source/common/ucnv_u32.c

Issue 1621843002: ICU 56 update step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@561
Patch Set: Created 4 years, 11 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
« no previous file with comments | « source/common/ucnv_lmb.c ('k') | 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) 2002-2011, International Business Machines 3 * Copyright (C) 2002-2015, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 * file name: ucnv_u32.c 6 * file name: ucnv_u32.c
7 * encoding: US-ASCII 7 * encoding: US-ASCII
8 * tab size: 8 (not used) 8 * tab size: 8 (not used)
9 * indentation:4 9 * indentation:4
10 * 10 *
11 * created on: 2002jul01 11 * created on: 2002jul01
12 * created by: Markus W. Scherer 12 * created by: Markus W. Scherer
13 * 13 *
14 * UTF-32 converter implementation. Used to be in ucnv_utf.c. 14 * UTF-32 converter implementation. Used to be in ucnv_utf.c.
15 */ 15 */
16 16
17 #include "unicode/utypes.h" 17 #include "unicode/utypes.h"
18 18
19 #if !UCONFIG_NO_CONVERSION 19 #if !UCONFIG_NO_CONVERSION && !UCONFIG_ONLY_HTML_CONVERSION
20 20
21 #include "unicode/ucnv.h" 21 #include "unicode/ucnv.h"
22 #include "unicode/utf.h" 22 #include "unicode/utf.h"
23 #include "ucnv_bld.h" 23 #include "ucnv_bld.h"
24 #include "ucnv_cnv.h" 24 #include "ucnv_cnv.h"
25 #include "cmemory.h" 25 #include "cmemory.h"
26 26
27 #define MAXIMUM_UCS2 0x0000FFFF 27 #define MAXIMUM_UCS2 0x0000FFFF
28 #define MAXIMUM_UTF 0x0010FFFF 28 #define MAXIMUM_UTF 0x0010FFFF
29 #define HALF_SHIFT 10 29 #define HALF_SHIFT 10
(...skipping 1201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 FALSE, FALSE, 1231 FALSE, FALSE,
1232 0, 1232 0,
1233 0, 1233 0,
1234 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */ 1234 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
1235 }; 1235 };
1236 1236
1237 const UConverterSharedData _UTF32Data = 1237 const UConverterSharedData _UTF32Data =
1238 UCNV_IMMUTABLE_SHARED_DATA_INITIALIZER(&_UTF32StaticData, &_UTF32Impl); 1238 UCNV_IMMUTABLE_SHARED_DATA_INITIALIZER(&_UTF32StaticData, &_UTF32Impl);
1239 1239
1240 #endif 1240 #endif
OLDNEW
« no previous file with comments | « source/common/ucnv_lmb.c ('k') | source/common/ucnv_u7.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698