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

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

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 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_cnv.h ('k') | source/common/ucnv_err.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) 2010-2012, International Business Machines 3 * Copyright (C) 2010-2014, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 * file name: ucnv_ct.c 6 * file name: ucnv_ct.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: 2010Dec09 11 * created on: 2010Dec09
12 * created by: Michael Ow 12 * created by: Michael Ow
13 */ 13 */
14 14
15 #include "unicode/utypes.h" 15 #include "unicode/utypes.h"
16 16
17 #if !UCONFIG_NO_CONVERSION && !UCONFIG_NO_LEGACY_CONVERSION && !UCONFIG_NO_NON_H TML5_CONVERSION 17 #if !UCONFIG_NO_CONVERSION && !UCONFIG_NO_LEGACY_CONVERSION
18 18
19 #include "unicode/ucnv.h" 19 #include "unicode/ucnv.h"
20 #include "unicode/uset.h" 20 #include "unicode/uset.h"
21 #include "unicode/ucnv_err.h" 21 #include "unicode/ucnv_err.h"
22 #include "unicode/ucnv_cb.h" 22 #include "unicode/ucnv_cb.h"
23 #include "unicode/utf16.h" 23 #include "unicode/utf16.h"
24 #include "ucnv_imp.h" 24 #include "ucnv_imp.h"
25 #include "ucnv_bld.h" 25 #include "ucnv_bld.h"
26 #include "ucnv_cnv.h" 26 #include "ucnv_cnv.h"
27 #include "ucnvmbcs.h" 27 #include "ucnvmbcs.h"
28 #include "cstring.h" 28 #include "cstring.h"
29 #include "cmemory.h" 29 #include "cmemory.h"
30 30
31 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
32
33 typedef enum { 31 typedef enum {
34 INVALID = -2, 32 INVALID = -2,
35 DO_SEARCH = -1, 33 DO_SEARCH = -1,
36 34
37 COMPOUND_TEXT_SINGLE_0 = 0, 35 COMPOUND_TEXT_SINGLE_0 = 0,
38 COMPOUND_TEXT_SINGLE_1 = 1, 36 COMPOUND_TEXT_SINGLE_1 = 1,
39 COMPOUND_TEXT_SINGLE_2 = 2, 37 COMPOUND_TEXT_SINGLE_2 = 2,
40 COMPOUND_TEXT_SINGLE_3 = 3, 38 COMPOUND_TEXT_SINGLE_3 = 3,
41 39
42 COMPOUND_TEXT_DOUBLE_1 = 4, 40 COMPOUND_TEXT_DOUBLE_1 = 4,
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 ~((uint32_t) 0), 634 ~((uint32_t) 0),
637 NULL, 635 NULL,
638 NULL, 636 NULL,
639 &_CompoundTextStaticData, 637 &_CompoundTextStaticData,
640 FALSE, 638 FALSE,
641 &_CompoundTextImpl, 639 &_CompoundTextImpl,
642 0 640 0
643 }; 641 };
644 642
645 #endif /* #if !UCONFIG_NO_LEGACY_CONVERSION */ 643 #endif /* #if !UCONFIG_NO_LEGACY_CONVERSION */
OLDNEW
« no previous file with comments | « source/common/ucnv_cnv.h ('k') | source/common/ucnv_err.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698