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

Side by Side Diff: source/tools/gensprep/store.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/tools/gensprep/gensprep.vcxproj.filters ('k') | source/tools/gentest/gentest.vcxproj » ('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 * 3 *
4 * Copyright (C) 1999-2012, International Business Machines 4 * Copyright (C) 1999-2014, International Business Machines
5 * Corporation and others. All Rights Reserved. 5 * Corporation and others. All Rights Reserved.
6 * 6 *
7 ******************************************************************************* 7 *******************************************************************************
8 * file name: store.c 8 * file name: store.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: 2003-02-06 13 * created on: 2003-02-06
14 * created by: Ram Viswanadha 14 * created by: Ram Viswanadha
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 /* Callback for comparing two entries */ 230 /* Callback for comparing two entries */
231 static UBool U_CALLCONV compareEntries(const UHashTok p1, const UHashTok p2) { 231 static UBool U_CALLCONV compareEntries(const UHashTok p1, const UHashTok p2) {
232 return (UBool)(p1.integer != p2.integer); 232 return (UBool)(p1.integer != p2.integer);
233 } 233 }
234 234
235 235
236 static void 236 static void
237 storeMappingData(){ 237 storeMappingData(){
238 238
239 int32_t pos = -1; 239 int32_t pos = UHASH_FIRST;
240 const UHashElement* element = NULL; 240 const UHashElement* element = NULL;
241 ValueStruct* value = NULL; 241 ValueStruct* value = NULL;
242 int32_t codepoint = 0; 242 int32_t codepoint = 0;
243 int32_t elementCount = 0; 243 int32_t elementCount = 0;
244 int32_t writtenElementCount = 0; 244 int32_t writtenElementCount = 0;
245 int32_t mappingLength = 1; /* minimum mapping length */ 245 int32_t mappingLength = 1; /* minimum mapping length */
246 int32_t oldMappingLength = 0; 246 int32_t oldMappingLength = 0;
247 uint16_t trieWord =0; 247 uint16_t trieWord =0;
248 int32_t limitIndex = 0; 248 int32_t limitIndex = 0;
249 249
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 #endif /* #if !UCONFIG_NO_IDNA */ 638 #endif /* #if !UCONFIG_NO_IDNA */
639 639
640 /* 640 /*
641 * Hey, Emacs, please set the following: 641 * Hey, Emacs, please set the following:
642 * 642 *
643 * Local Variables: 643 * Local Variables:
644 * indent-tabs-mode: nil 644 * indent-tabs-mode: nil
645 * End: 645 * End:
646 * 646 *
647 */ 647 */
OLDNEW
« no previous file with comments | « source/tools/gensprep/gensprep.vcxproj.filters ('k') | source/tools/gentest/gentest.vcxproj » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698