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

Side by Side Diff: icu46/source/common/ulocimp.h

Issue 5516007: Check in the pristine copy of ICU 4.6... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years 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 | Annotate | Revision Log
« no previous file with comments | « icu46/source/common/uloc_tag.c ('k') | icu46/source/common/umapfile.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 /*
2 **********************************************************************
3 * Copyright (C) 2004-2010, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 */
7
8 #ifndef ULOCIMP_H
9 #define ULOCIMP_H
10
11 #include "unicode/uloc.h"
12
13 /**
14 * Create an iterator over the specified keywords list
15 * @param keywordList double-null terminated list. Will be copied.
16 * @param keywordListSize size in bytes of keywordList
17 * @param status err code
18 * @return enumeration (owned by caller) of the keyword list.
19 * @internal ICU 3.0
20 */
21 U_CAPI UEnumeration* U_EXPORT2
22 uloc_openKeywordList(const char *keywordList, int32_t keywordListSize, UErrorCod e* status);
23
24 /**
25 * Look up a resource bundle table item with fallback on the table level.
26 * This is accessible so it can be called by C++ code.
27 */
28 U_CAPI const UChar * U_EXPORT2
29 uloc_getTableStringWithFallback(
30 const char *path,
31 const char *locale,
32 const char *tableKey,
33 const char *subTableKey,
34 const char *itemKey,
35 int32_t *pLength,
36 UErrorCode *pErrorCode);
37
38 /*returns TRUE if a is an ID separator FALSE otherwise*/
39 #define _isIDSeparator(a) (a == '_' || a == '-')
40
41 U_CFUNC const char*
42 uloc_getCurrentCountryID(const char* oldID);
43
44 U_CFUNC const char*
45 uloc_getCurrentLanguageID(const char* oldID);
46
47 U_CFUNC int32_t
48 ulocimp_getLanguage(const char *localeID,
49 char *language, int32_t languageCapacity,
50 const char **pEnd);
51
52 U_CFUNC int32_t
53 ulocimp_getScript(const char *localeID,
54 char *script, int32_t scriptCapacity,
55 const char **pEnd);
56
57 U_CFUNC int32_t
58 ulocimp_getCountry(const char *localeID,
59 char *country, int32_t countryCapacity,
60 const char **pEnd);
61
62 U_CAPI const char * U_EXPORT2
63 locale_getKeywordsStart(const char *localeID);
64
65 #endif
OLDNEW
« no previous file with comments | « icu46/source/common/uloc_tag.c ('k') | icu46/source/common/umapfile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698