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

Side by Side Diff: source/i18n/unicode/uldnames.h

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/i18n/unicode/uformattable.h ('k') | source/i18n/unicode/ulocdata.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) 2010-2012, International Business Machines Corporation and * 3 * Copyright (C) 2010-2014, International Business Machines Corporation and *
4 * others. All Rights Reserved. * 4 * others. All Rights Reserved. *
5 ******************************************************************************* 5 *******************************************************************************
6 */ 6 */
7 7
8 #ifndef __ULDNAMES_H__ 8 #ifndef __ULDNAMES_H__
9 #define __ULDNAMES_H__ 9 #define __ULDNAMES_H__
10 10
11 /** 11 /**
12 * \file 12 * \file
13 * \brief C API: Provides display names of Locale ids and their components. 13 * \brief C API: Provides display names of Locale ids and their components.
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 * @stable ICU 4.4 259 * @stable ICU 4.4
260 */ 260 */
261 U_STABLE int32_t U_EXPORT2 261 U_STABLE int32_t U_EXPORT2
262 uldn_keyValueDisplayName(const ULocaleDisplayNames *ldn, 262 uldn_keyValueDisplayName(const ULocaleDisplayNames *ldn,
263 const char *key, 263 const char *key,
264 const char *value, 264 const char *value,
265 UChar *result, 265 UChar *result,
266 int32_t maxResultSize, 266 int32_t maxResultSize,
267 UErrorCode *pErrorCode); 267 UErrorCode *pErrorCode);
268 268
269 #ifndef U_HIDE_DRAFT_API
270 /** 269 /**
271 * Returns an instance of LocaleDisplayNames that returns names formatted 270 * Returns an instance of LocaleDisplayNames that returns names formatted
272 * for the provided locale, using the provided UDisplayContext settings. 271 * for the provided locale, using the provided UDisplayContext settings.
273 * 272 *
274 * @param locale The display locale 273 * @param locale The display locale
275 * @param contexts List of one or more context settings (e.g. for dialect 274 * @param contexts List of one or more context settings (e.g. for dialect
276 * handling, capitalization, etc. 275 * handling, capitalization, etc.
277 * @param length Number of items in the contexts list 276 * @param length Number of items in the contexts list
278 * @param pErrorCode Pointer to UErrorCode input/output status. If at entry this indicates 277 * @param pErrorCode Pointer to UErrorCode input/output status. If at entry this indicates
279 * a failure status, the function will do nothing; otherwise this w ill be 278 * a failure status, the function will do nothing; otherwise this w ill be
280 * updated with any new status from the function. 279 * updated with any new status from the function.
281 * @return a ULocaleDisplayNames instance 280 * @return a ULocaleDisplayNames instance
282 * @draft ICU 51 281 * @stable ICU 51
283 */ 282 */
284 U_DRAFT ULocaleDisplayNames * U_EXPORT2 283 U_STABLE ULocaleDisplayNames * U_EXPORT2
285 uldn_openForContext(const char * locale, UDisplayContext *contexts, 284 uldn_openForContext(const char * locale, UDisplayContext *contexts,
286 int32_t length, UErrorCode *pErrorCode); 285 int32_t length, UErrorCode *pErrorCode);
287 286
288 /** 287 /**
289 * Returns the UDisplayContext value for the specified UDisplayContextType. 288 * Returns the UDisplayContext value for the specified UDisplayContextType.
290 * @param ldn the ULocaleDisplayNames instance 289 * @param ldn the ULocaleDisplayNames instance
291 * @param type the UDisplayContextType whose value to return 290 * @param type the UDisplayContextType whose value to return
292 * @param pErrorCode Pointer to UErrorCode input/output status. If at entry this indicates 291 * @param pErrorCode Pointer to UErrorCode input/output status. If at entry this indicates
293 * a failure status, the function will do nothing; otherwise this w ill be 292 * a failure status, the function will do nothing; otherwise this w ill be
294 * updated with any new status from the function. 293 * updated with any new status from the function.
295 * @return the UDisplayContextValue for the specified type. 294 * @return the UDisplayContextValue for the specified type.
296 * @draft ICU 51 295 * @stable ICU 51
297 */ 296 */
298 U_DRAFT UDisplayContext U_EXPORT2 297 U_STABLE UDisplayContext U_EXPORT2
299 uldn_getContext(const ULocaleDisplayNames *ldn, UDisplayContextType type, 298 uldn_getContext(const ULocaleDisplayNames *ldn, UDisplayContextType type,
300 UErrorCode *pErrorCode); 299 UErrorCode *pErrorCode);
301 300
302 #endif /* U_HIDE_DRAFT_API */
303
304 #endif /* !UCONFIG_NO_FORMATTING */ 301 #endif /* !UCONFIG_NO_FORMATTING */
305 #endif /* __ULDNAMES_H__ */ 302 #endif /* __ULDNAMES_H__ */
OLDNEW
« no previous file with comments | « source/i18n/unicode/uformattable.h ('k') | source/i18n/unicode/ulocdata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698