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

Side by Side Diff: source/common/usc_impl.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/ureslocs.h ('k') | source/common/uscript.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-2009, International Business Machines 3 * Copyright (C) 1999-2014, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ********************************************************************** 5 **********************************************************************
6 * 6 *
7 * File USC_IMPL.C 7 * File USC_IMPL.C
8 * 8 *
9 * Modification History: 9 * Modification History:
10 * 10 *
11 * Date Name Description 11 * Date Name Description
12 * 07/08/2002 Eric Mader Creation. 12 * 07/08/2002 Eric Mader Creation.
13 ****************************************************************************** 13 ******************************************************************************
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 value >>= 4; 139 value >>= 4;
140 bit += 4; 140 bit += 4;
141 } 141 }
142 142
143 if (value >= 1 << 2) { 143 if (value >= 1 << 2) {
144 value >>= 2; 144 value >>= 2;
145 bit += 2; 145 bit += 2;
146 } 146 }
147 147
148 if (value >= 1 << 1) { 148 if (value >= 1 << 1) {
149 value >>= 1; 149 //value >>= 1;
150 bit += 1; 150 bit += 1;
151 } 151 }
152 152
153 return bit; 153 return bit;
154 } 154 }
155 155
156 static int32_t 156 static int32_t
157 getPairIndex(UChar32 ch) 157 getPairIndex(UChar32 ch)
158 { 158 {
159 int32_t pairedCharCount = ARRAY_SIZE(pairedChars); 159 int32_t pairedCharCount = ARRAY_SIZE(pairedChars);
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 if (pRunLimit != NULL) { 352 if (pRunLimit != NULL) {
353 *pRunLimit = scriptRun->scriptLimit; 353 *pRunLimit = scriptRun->scriptLimit;
354 } 354 }
355 355
356 if (pRunScript != NULL) { 356 if (pRunScript != NULL) {
357 *pRunScript = scriptRun->scriptCode; 357 *pRunScript = scriptRun->scriptCode;
358 } 358 }
359 359
360 return TRUE; 360 return TRUE;
361 } 361 }
OLDNEW
« no previous file with comments | « source/common/ureslocs.h ('k') | source/common/uscript.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698