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

Side by Side Diff: source/common/servlk.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/serv.cpp ('k') | source/common/servlkf.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 ******************************************************************************* 2 *******************************************************************************
3 * Copyright (C) 2001-2014, International Business Machines Corporation and * 3 * Copyright (C) 2001-2014, International Business Machines Corporation and *
4 * others. All Rights Reserved. * 4 * others. All Rights Reserved. *
5 ******************************************************************************* 5 *******************************************************************************
6 * 6 *
7 ******************************************************************************* 7 *******************************************************************************
8 */ 8 */
9 #include "unicode/utypes.h" 9 #include "unicode/utypes.h"
10 10
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 return temp.indexOf(_primaryID) == 0 && 151 return temp.indexOf(_primaryID) == 0 &&
152 (temp.length() == _primaryID.length() || 152 (temp.length() == _primaryID.length() ||
153 temp.charAt(_primaryID.length()) == UNDERSCORE_CHAR); 153 temp.charAt(_primaryID.length()) == UNDERSCORE_CHAR);
154 } 154 }
155 155
156 #ifdef SERVICE_DEBUG 156 #ifdef SERVICE_DEBUG
157 UnicodeString& 157 UnicodeString&
158 LocaleKey::debug(UnicodeString& result) const 158 LocaleKey::debug(UnicodeString& result) const
159 { 159 {
160 ICUServiceKey::debug(result); 160 ICUServiceKey::debug(result);
161 result.append(" kind: "); 161 result.append((UnicodeString)" kind: ");
162 result.append(_kind); 162 result.append(_kind);
163 result.append(" primaryID: "); 163 result.append((UnicodeString)" primaryID: ");
164 result.append(_primaryID); 164 result.append(_primaryID);
165 result.append(" fallbackID: "); 165 result.append((UnicodeString)" fallbackID: ");
166 result.append(_fallbackID); 166 result.append(_fallbackID);
167 result.append(" currentID: "); 167 result.append((UnicodeString)" currentID: ");
168 result.append(_currentID); 168 result.append(_currentID);
169 return result; 169 return result;
170 } 170 }
171 171
172 UnicodeString& 172 UnicodeString&
173 LocaleKey::debugClass(UnicodeString& result) const 173 LocaleKey::debugClass(UnicodeString& result) const
174 { 174 {
175 return result.append("LocaleKey "); 175 return result.append((UnicodeString)"LocaleKey ");
176 } 176 }
177 #endif 177 #endif
178 178
179 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(LocaleKey) 179 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(LocaleKey)
180 180
181 U_NAMESPACE_END 181 U_NAMESPACE_END
182 182
183 /* !UCONFIG_NO_SERVICE */ 183 /* !UCONFIG_NO_SERVICE */
184 #endif 184 #endif
185 185
186 186
OLDNEW
« no previous file with comments | « source/common/serv.cpp ('k') | source/common/servlkf.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698