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

Side by Side Diff: source/common/rbbistbl.cpp

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/common/rbbiscan.cpp ('k') | source/common/serv.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 // 1 //
2 // file: rbbistbl.cpp Implementation of the ICU RBBISymbolTable class 2 // file: rbbistbl.cpp Implementation of the ICU RBBISymbolTable class
3 // 3 //
4 /* 4 /*
5 *************************************************************************** 5 ***************************************************************************
6 * Copyright (C) 2002-2011 International Business Machines Corporation 6 * Copyright (C) 2002-2014 International Business Machines Corporation
7 * and others. All rights reserved. 7 * and others. All rights reserved.
8 *************************************************************************** 8 ***************************************************************************
9 */ 9 */
10 10
11 #include "unicode/utypes.h" 11 #include "unicode/utypes.h"
12 12
13 #if !UCONFIG_NO_BREAK_ITERATION 13 #if !UCONFIG_NO_BREAK_ITERATION
14 14
15 #include "unicode/unistr.h" 15 #include "unicode/unistr.h"
16 #include "unicode/uniset.h" 16 #include "unicode/uniset.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 // 224 //
225 // RBBISymbolTable::print Debugging function, dump out the symbol table cont ents. 225 // RBBISymbolTable::print Debugging function, dump out the symbol table cont ents.
226 // 226 //
227 #ifdef RBBI_DEBUG 227 #ifdef RBBI_DEBUG
228 void RBBISymbolTable::rbbiSymtablePrint() const { 228 void RBBISymbolTable::rbbiSymtablePrint() const {
229 RBBIDebugPrintf("Variable Definitions\n" 229 RBBIDebugPrintf("Variable Definitions\n"
230 "Name Node Val String Val\n" 230 "Name Node Val String Val\n"
231 "-------------------------------------------------------------------- --\n"); 231 "-------------------------------------------------------------------- --\n");
232 232
233 int32_t pos = -1; 233 int32_t pos = UHASH_FIRST;
234 const UHashElement *e = NULL; 234 const UHashElement *e = NULL;
235 for (;;) { 235 for (;;) {
236 e = uhash_nextElement(fHashTable, &pos); 236 e = uhash_nextElement(fHashTable, &pos);
237 if (e == NULL ) { 237 if (e == NULL ) {
238 break; 238 break;
239 } 239 }
240 RBBISymbolTableEntry *s = (RBBISymbolTableEntry *)e->value.pointer; 240 RBBISymbolTableEntry *s = (RBBISymbolTableEntry *)e->value.pointer;
241 241
242 RBBI_DEBUG_printUnicodeString(s->key, 15); 242 RBBI_DEBUG_printUnicodeString(s->key, 15);
243 RBBIDebugPrintf(" %8p ", (void *)s->val); 243 RBBIDebugPrintf(" %8p ", (void *)s->val);
(...skipping 16 matching lines...) Expand all
260 } 260 }
261 #endif 261 #endif
262 262
263 263
264 264
265 265
266 266
267 U_NAMESPACE_END 267 U_NAMESPACE_END
268 268
269 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */ 269 #endif /* #if !UCONFIG_NO_BREAK_ITERATION */
OLDNEW
« no previous file with comments | « source/common/rbbiscan.cpp ('k') | source/common/serv.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698