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

Side by Side Diff: source/common/ucnv_lmb.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_err.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) 2000-2011, International Business Machines 3 * Copyright (C) 2000-2014, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 * file name: ucnv_lmb.cpp 6 * file name: ucnv_lmb.cpp
7 * encoding: US-ASCII 7 * encoding: US-ASCII
8 * tab size: 4 (not used) 8 * tab size: 4 (not used)
9 * indentation:4 9 * indentation:4
10 * 10 *
11 * created on: 2000feb09 11 * created on: 2000feb09
12 * created by: Brendan Murray 12 * created by: Brendan Murray
13 * extensively hacked up by: Jim Snyder-Grant 13 * extensively hacked up by: Jim Snyder-Grant
14 * 14 *
15 * Modification History: 15 * Modification History:
16 * 16 *
17 * Date Name Description 17 * Date Name Description
18 * 18 *
19 * 06/20/2000 helena OS/400 port changes; mostly typecast. 19 * 06/20/2000 helena OS/400 port changes; mostly typecast.
20 * 06/27/2000 Jim Snyder-Grant Deal with partial characters and small buffers. 20 * 06/27/2000 Jim Snyder-Grant Deal with partial characters and small buffers.
21 * Add comments to document LMBCS format and imple mentation 21 * Add comments to document LMBCS format and imple mentation
22 * restructured order & breakdown of functions 22 * restructured order & breakdown of functions
23 * 06/28/2000 helena Major rewrite for the callback API changes. 23 * 06/28/2000 helena Major rewrite for the callback API changes.
24 */ 24 */
25 25
26 #include "unicode/utypes.h" 26 #include "unicode/utypes.h"
27 27
28 #if !UCONFIG_NO_CONVERSION && !UCONFIG_NO_LEGACY_CONVERSION && !UCONFIG_NO_NON_H TML5_CONVERSION 28 #if !UCONFIG_NO_CONVERSION && !UCONFIG_NO_LEGACY_CONVERSION
29 29
30 #include "unicode/ucnv_err.h" 30 #include "unicode/ucnv_err.h"
31 #include "unicode/ucnv.h" 31 #include "unicode/ucnv.h"
32 #include "unicode/uset.h" 32 #include "unicode/uset.h"
33 #include "cmemory.h" 33 #include "cmemory.h"
34 #include "cstring.h" 34 #include "cstring.h"
35 #include "uassert.h" 35 #include "uassert.h"
36 #include "ucnv_imp.h" 36 #include "ucnv_imp.h"
37 #include "ucnv_bld.h" 37 #include "ucnv_bld.h"
38 #include "ucnv_cnv.h" 38 #include "ucnv_cnv.h"
39 39
40 #ifdef EBCDIC_RTL 40 #ifdef EBCDIC_RTL
41 #include "ascii_a.h" 41 #include "ascii_a.h"
42 #endif 42 #endif
43 43
44 #define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0]))
45
46 /* 44 /*
47 LMBCS 45 LMBCS
48 46
49 (Lotus Multi-Byte Character Set) 47 (Lotus Multi-Byte Character Set)
50 48
51 LMBCS was invented in the late 1980's and is primarily used in Lotus Notes 49 LMBCS was invented in the late 1980's and is primarily used in Lotus Notes
52 databases and in Lotus 1-2-3 files. Programmers who work with the APIs 50 databases and in Lotus 1-2-3 files. Programmers who work with the APIs
53 into these products will sometimes need to deal with strings in this format. 51 into these products will sometimes need to deal with strings in this format.
54 52
55 The code in this file provides an implementation for an ICU converter of 53 The code in this file provides an implementation for an ICU converter of
(...skipping 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after
1368 DECLARE_LMBCS_DATA(5) 1366 DECLARE_LMBCS_DATA(5)
1369 DECLARE_LMBCS_DATA(6) 1367 DECLARE_LMBCS_DATA(6)
1370 DECLARE_LMBCS_DATA(8) 1368 DECLARE_LMBCS_DATA(8)
1371 DECLARE_LMBCS_DATA(11) 1369 DECLARE_LMBCS_DATA(11)
1372 DECLARE_LMBCS_DATA(16) 1370 DECLARE_LMBCS_DATA(16)
1373 DECLARE_LMBCS_DATA(17) 1371 DECLARE_LMBCS_DATA(17)
1374 DECLARE_LMBCS_DATA(18) 1372 DECLARE_LMBCS_DATA(18)
1375 DECLARE_LMBCS_DATA(19) 1373 DECLARE_LMBCS_DATA(19)
1376 1374
1377 #endif /* #if !UCONFIG_NO_LEGACY_CONVERSION */ 1375 #endif /* #if !UCONFIG_NO_LEGACY_CONVERSION */
OLDNEW
« no previous file with comments | « source/common/ucnv_err.c ('k') | source/common/ucnv_u7.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698