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

Side by Side Diff: source/common/utrace.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/utext.cpp ('k') | source/common/utrie2.h » ('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) 2003-2008, International Business Machines 3 * Copyright (C) 2003-2014, International Business Machines
4 * Corporation and others. All Rights Reserved. 4 * Corporation and others. All Rights Reserved.
5 ******************************************************************************* 5 *******************************************************************************
6 * file name: utrace.c 6 * file name: utrace.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 11
12 #define UTRACE_IMPL 12 #define UTRACE_IMPL
13 #include "unicode/utrace.h" 13 #include "unicode/utrace.h"
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 460
461 static const char * const 461 static const char * const
462 trCollNames[] = { 462 trCollNames[] = {
463 "ucol_open", 463 "ucol_open",
464 "ucol_close", 464 "ucol_close",
465 "ucol_strcoll", 465 "ucol_strcoll",
466 "ucol_getSortKey", 466 "ucol_getSortKey",
467 "ucol_getLocale", 467 "ucol_getLocale",
468 "ucol_nextSortKeyPart", 468 "ucol_nextSortKeyPart",
469 "ucol_strcollIter", 469 "ucol_strcollIter",
470 "ucol_openFromShortString",
471 "ucol_strcollUTF8",
470 NULL 472 NULL
471 }; 473 };
472 474
473 475
474 U_CAPI const char * U_EXPORT2 476 U_CAPI const char * U_EXPORT2
475 utrace_functionName(int32_t fnNumber) { 477 utrace_functionName(int32_t fnNumber) {
476 if(UTRACE_FUNCTION_START <= fnNumber && fnNumber < UTRACE_FUNCTION_LIMIT) { 478 if(UTRACE_FUNCTION_START <= fnNumber && fnNumber < UTRACE_FUNCTION_LIMIT) {
477 return trFnName[fnNumber]; 479 return trFnName[fnNumber];
478 } else if(UTRACE_CONVERSION_START <= fnNumber && fnNumber < UTRACE_CONVERSIO N_LIMIT) { 480 } else if(UTRACE_CONVERSION_START <= fnNumber && fnNumber < UTRACE_CONVERSIO N_LIMIT) {
479 return trConvNames[fnNumber - UTRACE_CONVERSION_START]; 481 return trConvNames[fnNumber - UTRACE_CONVERSION_START];
480 } else if(UTRACE_COLLATION_START <= fnNumber && fnNumber < UTRACE_COLLATION_ LIMIT){ 482 } else if(UTRACE_COLLATION_START <= fnNumber && fnNumber < UTRACE_COLLATION_ LIMIT){
481 return trCollNames[fnNumber - UTRACE_COLLATION_START]; 483 return trCollNames[fnNumber - UTRACE_COLLATION_START];
482 } else { 484 } else {
483 return "[BOGUS Trace Function Number]"; 485 return "[BOGUS Trace Function Number]";
484 } 486 }
485 } 487 }
486 488
OLDNEW
« no previous file with comments | « source/common/utext.cpp ('k') | source/common/utrie2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698