Home
last modified time | relevance | path

Searched refs:IndexUtil (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/global/i18n/frameworks/intl/src/
H A Dindex_util.cpp27 IndexUtil::IndexUtil(const std::string &localeTag) in IndexUtil() function in OHOS::Global::I18n::IndexUtil
42 IndexUtil::~IndexUtil() in ~IndexUtil()
46 std::vector<std::string> IndexUtil::GetIndexList() in GetIndexList()
65 void IndexUtil::AddLocale(const std::string &localeTag) in AddLocale()
74 std::string IndexUtil::GetIndex(const std::string &String) in GetIndex()
/ohos5.0/base/global/i18n/frameworks/intl/include/
H A Dindex_util.h27 class IndexUtil {
29 explicit IndexUtil(const std::string &localeTag);
30 ~IndexUtil();
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-global.md74 | ohos.i18n | IndexUtil | getIndex(text: string): string; | 新增 |
75 | ohos.i18n | IndexUtil | addLocale(locale: string): void; | 新增 |
76 | ohos.i18n | IndexUtil | getIndexList(): Array\<string>; | 新增 |
77 | ohos.i18n | i18n | getInstance(locale?:string): IndexUtil; | 新增 |
/ohos5.0/docs/en/application-dev/internationalization/
H A Di18n-sorting-index.md9 For details about how to use related APIs, see [IndexUtil](../reference/apis-localization-kit/js-ap…
16 2. Create an **IndexUtil** object.
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-global.md74 | ohos.i18n | IndexUtil | getIndex(text: string): string; | Added|
75 | ohos.i18n | IndexUtil | addLocale(locale: string): void; | Added|
76 | ohos.i18n | IndexUtil | getIndexList(): Array\<string>; | Added|
77 | ohos.i18n | i18n | getInstance(locale?:string): IndexUtil; | Added|
/ohos5.0/base/global/i18n/frameworks/intl/test/fuzztest/indexutil_fuzzer/
H A Dindexutil_fuzzer.cpp29 IndexUtil indexUtil(input); in DoSomethingInterestingWithMyAPI()
/ohos5.0/docs/zh-cn/application-dev/internationalization/
H A Di18n-sorting-index.md9 接口具体使用方法和说明请参考[IndexUtil](../reference/apis-localization-kit/js-apis-i18n.md#indexutil8)的API接口文档。
/ohos5.0/docs/zh-cn/application-dev/reference/apis-localization-kit/
H A Djs-apis-i18n.md1187 getInstance(locale?:string): IndexUtil
1189 创建并返回IndexUtil对象。
1205 | [IndexUtil](#indexutil8) | locale对应的IndexUtil对象。 |
1209 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");
1213 ## IndexUtil<sup>8+</sup>
1235 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");
1260 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");
1288 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");
/ohos5.0/base/global/i18n/interfaces/js/kits/include/
H A Di18n_addon.h107 std::unique_ptr<IndexUtil> indexUtil_ = nullptr;
/ohos5.0/base/global/i18n/frameworks/intl/test/unittest/
H A Dintl_test_extent.cpp212 IndexUtil *indexUtil = new IndexUtil("zh-CN");
218 IndexUtil *indexUtil2 = new IndexUtil("");
219 IndexUtil *idxUtil = new IndexUtil("@@#");
226 IndexUtil indexUtil3("");
/ohos5.0/docs/en/application-dev/reference/apis-localization-kit/
H A Djs-apis-i18n.md1187 getInstance(locale?:string): IndexUtil
1189 Creates an **IndexUtil** object.
1205 | [IndexUtil](#indexutil8) | **IndexUtil** object mapping to the **locale** object.|
1209 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");
1213 ## IndexUtil<sup>8+</sup>
1235 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");
1260 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");
1288 let indexUtil: i18n.IndexUtil = i18n.getInstance("zh-CN");
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-beta/
H A Djs-apidiff-v3.1-beta.md179 | 全球化-I18N | getInstance(locale?:string): IndexUtil;<br/>getIndexList(): Array\<string>; | 新增 | 新增获…
/ohos5.0/base/global/i18n/interfaces/js/kits/src/
H A Di18n_addon.cpp1404 indexUtil_ = std::make_unique<IndexUtil>(localeTag); in InitIndexUtilContext()
/ohos5.0/docs/en/release-notes/api-diff/v3.1-beta/
H A Djs-apidiff-v3.1-beta.md179 | Globalization - I18N| getInstance(locale?:string): IndexUtil;<br>getIndexList(): Array\<string>; …