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

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

Issue 2442923002: ICU update to 58 part 2 (Closed)
Patch Set: apply more patches and updates; almost ready to roll Created 4 years, 1 month 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_bld.cpp ('k') | source/common/udata.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (C) 2016 and later: Unicode, Inc. and others. 1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html 2 // License & terms of use: http://www.unicode.org/copyright.html
3 /* 3 /*
4 ********************************************************************** 4 **********************************************************************
5 * Copyright (C) 2002-2015, International Business Machines 5 * Copyright (C) 2002-2015, International Business Machines
6 * Corporation and others. All Rights Reserved. 6 * Corporation and others. All Rights Reserved.
7 ********************************************************************** 7 **********************************************************************
8 * file name: ucnv_u32.c 8 * file name: ucnv_u32.c
9 * encoding: US-ASCII 9 * encoding: US-ASCII
10 * tab size: 8 (not used) 10 * tab size: 8 (not used)
11 * indentation:4 11 * indentation:4
12 * 12 *
13 * created on: 2002jul01 13 * created on: 2002jul01
14 * created by: Markus W. Scherer 14 * created by: Markus W. Scherer
15 * 15 *
16 * UTF-32 converter implementation. Used to be in ucnv_utf.c. 16 * UTF-32 converter implementation. Used to be in ucnv_utf.c.
17 */ 17 */
18 18
19 #include "unicode/utypes.h" 19 #include "unicode/utypes.h"
20 20
21 #if !UCONFIG_NO_CONVERSION && !UCONFIG_ONLY_HTML_CONVERSION 21 #if !UCONFIG_NO_CONVERSION
22 22
23 #include "unicode/ucnv.h" 23 #include "unicode/ucnv.h"
24 #include "unicode/utf.h" 24 #include "unicode/utf.h"
25 #include "ucnv_bld.h" 25 #include "ucnv_bld.h"
26 #include "ucnv_cnv.h" 26 #include "ucnv_cnv.h"
27 #include "cmemory.h" 27 #include "cmemory.h"
28 28
29 #define MAXIMUM_UCS2 0x0000FFFF 29 #define MAXIMUM_UCS2 0x0000FFFF
30 #define MAXIMUM_UTF 0x0010FFFF 30 #define MAXIMUM_UTF 0x0010FFFF
31 #define HALF_SHIFT 10 31 #define HALF_SHIFT 10
(...skipping 1210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 FALSE, FALSE, 1242 FALSE, FALSE,
1243 0, 1243 0,
1244 0, 1244 0,
1245 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */ 1245 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
1246 }; 1246 };
1247 1247
1248 const UConverterSharedData _UTF32Data = 1248 const UConverterSharedData _UTF32Data =
1249 UCNV_IMMUTABLE_SHARED_DATA_INITIALIZER(&_UTF32StaticData, &_UTF32Impl); 1249 UCNV_IMMUTABLE_SHARED_DATA_INITIALIZER(&_UTF32StaticData, &_UTF32Impl);
1250 1250
1251 #endif 1251 #endif
OLDNEW
« no previous file with comments | « source/common/ucnv_bld.cpp ('k') | source/common/udata.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698